mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 07:22:21 +00:00
LibWeb/CSS: Disallow third argument in 2D scale functions
This commit is contained in:
parent
e7906f4332
commit
a3f6e71e33
Notes:
github-actions[bot]
2025-06-15 13:59:55 +00:00
Author: https://github.com/tcl3
Commit: a3f6e71e33
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5093
5 changed files with 73 additions and 6 deletions
|
@ -116,7 +116,7 @@ static RefPtr<CSSStyleValue const> interpolate_scale(DOM::Element& element, Calc
|
|||
|
||||
return TransformationStyleValue::create(
|
||||
PropertyID::Scale,
|
||||
TransformFunction::Scale,
|
||||
new_values.size() == 3 ? TransformFunction::Scale3d : TransformFunction::Scale,
|
||||
move(new_values));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue