mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-29 12:49:05 +00:00
LibWeb: Apply the CSS transform-origin property
We don't have transform-box yet, so this applies to the border-box for now. This also makes us pass a couple Web Platform Tests as well :^) For example: https://wpt.live/css/css-transforms/css3-transform-scale-002.html
This commit is contained in:
parent
63055ff5ad
commit
145efbe07a
Notes:
sideshowbarker
2024-07-17 16:58:22 +09:00
Author: https://github.com/skyrising
Commit: 145efbe07a
Pull-request: https://github.com/SerenityOS/serenity/pull/13181
6 changed files with 46 additions and 4 deletions
|
@ -77,6 +77,7 @@ public:
|
|||
Variant<CSS::VerticalAlign, CSS::LengthPercentage> vertical_align() const;
|
||||
|
||||
Vector<CSS::Transformation> transformations() const;
|
||||
CSS::TransformOrigin transform_origin() const;
|
||||
|
||||
Gfx::Font const& computed_font() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue