mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-13 14:42:51 +00:00
Passing a value of a type different than number or length-percentage to transform-origin returned a null pointer, and we didn't take care of that path before. This patch fixes a crash caused by an incorrect CSS declaration, such as `transform-origin: "center"`. Fixes #21609
7 lines
137 B
Text
7 lines
137 B
Text
center => 50% 50%
|
|
10px => 10px 50%
|
|
25% => 25% 50%
|
|
left 20% => 0% 20%
|
|
20px bottom => 20px 100%
|
|
top right => 100% 0%
|
|
"center" => (invalid)
|