LibWeb: Use the globals from HTML::AttributeNames in style resolution

Using these avoids the FlyString lookups, so we should basically always
prefer them over string literal attribute names.
This commit is contained in:
Andreas Kling 2020-05-30 13:06:26 +02:00
commit 7f22e2a3c4
Notes: sideshowbarker 2024-07-19 05:57:16 +09:00
4 changed files with 9 additions and 3 deletions

View file

@ -37,6 +37,8 @@ void initialize();
extern FlyString id;
extern FlyString class_;
extern FlyString type;
extern FlyString href;
extern FlyString style;
}
}