LibWeb: Only resolve transform-origin keywords for the computed value

Previously, we were resolving these keywords at parse time, which gave
an incorrect serialization of the specified value.
This commit is contained in:
Tim Ledbetter
2025-06-14 00:47:59 +01:00
committed by Alexander Kalenik
parent a3f6e71e33
commit a8d5758777
Notes: github-actions[bot] 2025-06-15 14:02:58 +00:00
7 changed files with 131 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
center => 50% 50%
10px => 10px 50%
25% => 25% 50%
left 20% => 0% 20%
20px bottom => 20px 100%
top right => 100% 0%
center => center center
10px => 10px center
25% => 25% center
left 20% => left 20%
20px bottom => 20px bottom
top right => right top
"center" => (invalid)