mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 20:29:18 +00:00
LibWeb/CSS: Merge RotationStyleValue into TransformationStyleValue
Same again, although rotation is more complicated: `rotate` is "equivalent to" multiple different transform function depending on its arguments. So we can parse as one of those instead of the full `rotate3d()`, but then need to handle this when serializing.
This commit is contained in:
parent
03a4ecce19
commit
b3b9eea986
Notes:
github-actions[bot]
2025-01-17 09:15:17 +00:00
Author: https://github.com/AtkinsSJ
Commit: b3b9eea986
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3263
12 changed files with 69 additions and 166 deletions
|
@ -166,7 +166,7 @@ public:
|
|||
Vector<CSS::Transformation> transformations() const;
|
||||
Optional<CSS::TransformBox> transform_box() const;
|
||||
CSS::TransformOrigin transform_origin() const;
|
||||
Optional<CSS::Transformation> rotate(Layout::Node const&) const;
|
||||
Optional<CSS::Transformation> rotate() const;
|
||||
Optional<CSS::Transformation> translate() const;
|
||||
Optional<CSS::Transformation> scale() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue