1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 03:15:08 +00:00
serenity/Userland/Libraries/LibWeb/CSS/Parser
Sam Atkins 1f2629f132 LibWeb: Bounds-check parsed CSS types
This reintroduces bounds-checking for the CSS `<angle>`, `<frequency>`,
`<integer>`, `<length>`, `<number>`, `<percentage>`, `<resolution>`,
and `<time>` types.

I regressed this around 6b8f484114 when
changing how we parsed StyleValues.

This is an improvement from before though, since we now allow the bounds
of a dimension type to have units.

Added a test to make sure we don't regress this again. :^)
2023-06-02 17:46:35 +02:00
..
Block.cpp LibWeb: Port CSS::Parser::Block to new Strings 2023-02-15 12:48:26 -05:00
Block.h LibWeb: Port CSS::Parser::Block to new Strings 2023-02-15 12:48:26 -05:00
ComponentValue.cpp LibWeb: Port CSS::Parser::ComponentValue to new Strings 2023-02-15 12:48:26 -05:00
ComponentValue.h LibWeb+LibIDL: Fix (or paper over) various const-correctness issues 2023-02-21 00:54:04 +01:00
Declaration.cpp LibWeb: Port CSS/Serialize.{h,cpp} to new Strings, and propagate errors 2023-02-15 12:48:26 -05:00
Declaration.h LibWeb: Port CSS::Parser::Declaration to new Strings 2023-02-15 12:48:26 -05:00
DeclarationOrAtRule.cpp LibWeb: Port CSS::Parser::Rule to new Strings 2023-02-15 12:48:26 -05:00
DeclarationOrAtRule.h LibWeb: Port CSS::Parser::Rule to new Strings 2023-02-15 12:48:26 -05:00
Function.cpp LibWeb: Port CSS/Serialize.{h,cpp} to new Strings, and propagate errors 2023-02-15 12:48:26 -05:00
Function.h LibWeb: Port CSS::Parser::Function to new Strings 2023-02-15 12:48:26 -05:00
Parser.cpp LibWeb: Bounds-check parsed CSS types 2023-06-02 17:46:35 +02:00
Parser.h LibWeb: Parse clamp() css math function 2023-06-02 05:22:12 +02:00
Rule.cpp LibWeb: Port CSS::Parser::Rule to new Strings 2023-02-15 12:48:26 -05:00
Rule.h LibWeb: Port CSS::Parser::Rule to new Strings 2023-02-15 12:48:26 -05:00
Token.cpp Everywhere: Use _{short_,}string to create Strings from literals 2023-02-25 20:51:49 +01:00
Token.h LibWeb: Store the original representation of CSS tokens 2023-03-22 19:45:40 +01:00
Tokenizer.cpp LibWeb: Store the original representation of CSS tokens 2023-03-22 19:45:40 +01:00
Tokenizer.h LibWeb: Store the original representation of CSS tokens 2023-03-22 19:45:40 +01:00
TokenStream.h LibWeb: Add preliminary support for CSS animations 2023-05-29 05:35:41 +02:00