LibWeb: Parse the transform-origin z-value

This commit is contained in:
Tim Ledbetter
2025-06-14 00:52:42 +01:00
committed by Alexander Kalenik
parent a8d5758777
commit 68d3ddb1a7
Notes: github-actions[bot] 2025-06-15 14:02:53 +00:00
10 changed files with 88 additions and 77 deletions

View File

@@ -2,13 +2,12 @@ Harness status: OK
Found 10 tests
8 Pass
2 Fail
10 Pass
Pass e.style['transform-origin'] = "1px 2px 3%" should not set the property value
Pass e.style['transform-origin'] = "1px 2px left" should not set the property value
Pass e.style['transform-origin'] = "1px 2px 3px 4px" should not set the property value
Fail e.style['transform-origin'] = "1px left" should not set the property value
Fail e.style['transform-origin'] = "top 1px" should not set the property value
Pass e.style['transform-origin'] = "1px left" should not set the property value
Pass e.style['transform-origin'] = "top 1px" should not set the property value
Pass e.style['transform-origin'] = "right left" should not set the property value
Pass e.style['transform-origin'] = "top bottom" should not set the property value
Pass e.style['transform-origin'] = "bottom 10% right 20%" should not set the property value

View File

@@ -2,8 +2,7 @@ Harness status: OK
Found 16 tests
12 Pass
4 Fail
16 Pass
Pass e.style['transform-origin'] = "left" should set the property value
Pass e.style['transform-origin'] = "center" should set the property value
Pass e.style['transform-origin'] = "right" should set the property value
@@ -15,8 +14,8 @@ Pass e.style['transform-origin'] = "-4%" should set the property value
Pass e.style['transform-origin'] = "left center" should set the property value
Pass e.style['transform-origin'] = "center top" should set the property value
Pass e.style['transform-origin'] = "right -4%" should set the property value
Fail e.style['transform-origin'] = "-1px bottom 5px" should set the property value
Fail e.style['transform-origin'] = "center left 6px" should set the property value
Pass e.style['transform-origin'] = "-1px bottom 5px" should set the property value
Pass e.style['transform-origin'] = "center left 6px" should set the property value
Pass e.style['transform-origin'] = "top center" should set the property value
Fail e.style['transform-origin'] = "bottom right 7px" should set the property value
Fail e.style['transform-origin'] = "-1px -2px -3px" should set the property value
Pass e.style['transform-origin'] = "bottom right 7px" should set the property value
Pass e.style['transform-origin'] = "-1px -2px -3px" should set the property value