mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 22:38:13 +00:00
LibWeb: Parse the CSS transform-origin property
This is almost a PositionStyleValue, but it's serialized differently, so let's use a StyleValueList with 2 length-percentage values.
This commit is contained in:
parent
1ad0e05ea1
commit
63055ff5ad
3 changed files with 136 additions and 0 deletions
|
@ -298,6 +298,7 @@ private:
|
|||
RefPtr<StyleValue> parse_overflow_value(Vector<StyleComponentValueRule> const&);
|
||||
RefPtr<StyleValue> parse_text_decoration_value(Vector<StyleComponentValueRule> const&);
|
||||
RefPtr<StyleValue> parse_transform_value(Vector<StyleComponentValueRule> const&);
|
||||
RefPtr<StyleValue> parse_transform_origin_value(Vector<StyleComponentValueRule> const&);
|
||||
|
||||
// calc() parsing, according to https://www.w3.org/TR/css-values-3/#calc-syntax
|
||||
OwnPtr<CalculatedStyleValue::CalcSum> parse_calc_sum(TokenStream<StyleComponentValueRule>&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue