ladybird/Userland/Libraries/LibWeb/CSS/Parser
Ali Mohammad Pur e90752cc21 LibWeb: Add preliminary support for CSS animations
This partially implements CSS-Animations-1 (though there are references
to CSS-Animations-2).
Current limitations:
- Multi-selector keyframes are not supported.
- Most animation properties are ignored.
- Timing functions are not applied.
- Non-absolute values are not interpolated unless the target is also of
  the same non-absolute type (e.g. 10% -> 25%, but not 10% -> 20px).
- The JavaScript interface is left as an exercise for the next poor soul
  looking at this code.

With those said, this commit implements:
- Interpolation for most common types
- Proper keyframe resolution (including the synthetic from-keyframe
  containing the initial state)
- Properly driven animations, and proper style invalidation

Co-Authored-By: Andreas Kling <kling@serenityos.org>
2023-05-29 05:35:41 +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: Add preliminary support for CSS animations 2023-05-29 05:35:41 +02:00
Parser.h LibWeb: Add basic parsing of grid shorthand CSS property 2023-05-27 05:47:14 +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