1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 14:45:07 +00:00
serenity/Userland/Libraries/LibWeb/CSS/Parser
Lenny Maiorani f912a48315 Userland: Change static const variables to static constexpr
`static const` variables can be computed and initialized at run-time
during initialization or the first time a function is called. Change
them to `static constexpr` to ensure they are computed at
compile-time.

This allows some removal of `strlen` because the length of the
`StringView` can be used which is pre-computed at compile-time.
2022-03-18 19:58:57 +01:00
..
DeclarationOrAtRule.h LibWeb: Add accessors to CSS::DeclarationOrAtRule 2021-07-11 23:19:56 +02:00
Parser.cpp LibWeb: Add parsing support for the remaining transform functions 2022-03-18 18:51:42 +01:00
Parser.h LibWeb: Combine identical relative/regular selector parsing functions 2022-03-18 11:34:02 +01:00
StyleBlockRule.h LibWeb: Make StyleBlockRule more accessible to outsiders 2021-12-09 21:30:31 +01:00
StyleComponentValueRule.h LibWeb: Implement StyleComponentValueRule::to_string() 2021-11-24 22:57:46 +01:00
StyleDeclarationRule.h LibWeb: Add an enum for !important 2022-02-12 16:13:27 +00:00
StyleFunctionRule.h LibWeb: Parse and resolve UnresolvedStyleValues 2021-12-09 21:30:31 +01:00
StyleRule.h LibWeb: Ignore malformed at-rules in CSS parser 2022-02-12 11:24:17 +01:00
StyleRules.cpp Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
Token.cpp LibWeb: Implement CSS::Token::to_string() 2021-11-24 22:57:46 +01:00
Token.h LibWeb: Implement CSS::Token::to_string() 2021-11-24 22:57:46 +01:00
Tokenizer.cpp Userland: Change static const variables to static constexpr 2022-03-18 19:58:57 +01:00
Tokenizer.h LibWeb: Pass correct values to would_start_an_identifier() 2021-12-27 22:56:08 +01:00