Status: FAIL | Duration: 80ms | Subtests: 32/42 | Open test on wpt.live | wpt.fyi
Data from commit:
7727414 ci: report WPT subtest changes in the PR description (#826) (2026-09-02)
| Subtest | Status | Message |
|---|---|---|
| e.style['transform'] = "none" should set the property value | PASS | |
| e.style['transform'] = "matrix(1, 0, 0, 1, 0, 0)" should set the property value | PASS | |
| e.style['transform'] = "matrix(1, 2, 3, 4, 5, 6)" should set the property value | PASS | |
| e.style['transform'] = "matrix(-0.1, -0.2, -0.3, -0.4, -0.5, -0.6)" should set the property value | PASS | |
| e.style['transform'] = "translate(1px)" should set the property value | PASS | |
| e.style['transform'] = "translate(1px, 0%)" should set the property value | PASS | |
| e.style['transform'] = "translate(2%, -3%)" should set the property value | PASS | |
| e.style['transform'] = "translateX(-4px)" should set the property value | PASS | |
| e.style['transform'] = "translateY(5%)" should set the property value | PASS | |
| e.style['transform'] = "scale(2)" should set the property value | PASS | |
| e.style['transform'] = "scale(3, 4)" should set the property value | PASS | |
| e.style['transform'] = "scale(-2)" should set the property value | PASS | |
| e.style['transform'] = "scale(-5, -6)" should set the property value | PASS | |
| e.style['transform'] = "scale(250%)" should set the property value | PASS | |
| e.style['transform'] = "scale(325%, 475%)" should set the property value | PASS | |
| e.style['transform'] = "scale(1, 200%)" should set the property value | PASS | |
| e.style['transform'] = "scale(-250%)" should set the property value | PASS | |
| e.style['transform'] = "scale(-500%, -620%)" should set the property value | PASS | |
| e.style['transform'] = "scaleX(7)" should set the property value | FAIL | assert_equals: serialization should be canonical expected "scalex(7)" but got "scaleX(7)" |
| e.style['transform'] = "scaleX(720%)" should set the property value | FAIL | assert_equals: serialization should be canonical expected "scalex(7.2)" but got "scaleX(7.2)" |
| e.style['transform'] = "scaleY(-8)" should set the property value | FAIL | assert_equals: serialization should be canonical expected "scaley(-8)" but got "scaleY(-8)" |
| e.style['transform'] = "scaleY(-85%)" should set the property value | FAIL | assert_equals: serialization should be canonical expected "scaley(-0.85)" but got "scaleY(-0.85)" |
| e.style['transform'] = "scaleZ(4)" should set the property value | FAIL | assert_equals: serialization should be canonical expected "scalez(4)" but got "scaleZ(4)" |
| e.style['transform'] = "scaleZ(25%)" should set the property value | FAIL | assert_equals: serialization should be canonical expected "scalez(0.25)" but got "scaleZ(0.25)" |
| e.style['transform'] = "scale3d(0.5, 2.5, 3)" should set the property value | PASS | |
| e.style['transform'] = "scale3d(50%, 250%, 300%)" should set the property value | PASS | |
| e.style['transform'] = "scale3d(-0.5, 2.5, -3)" should set the property value | PASS | |
| e.style['transform'] = "scale3d(-50%, 250%, -300%)" should set the property value | PASS | |
| e.style['transform'] = "scale3d(1, 200%, 3)" should set the property value | PASS | |
| e.style['transform'] = "rotate(0)" should set the property value | PASS | |
| e.style['transform'] = "rotate(90deg)" should set the property value | PASS | |
| e.style['transform'] = "skew(0)" should set the property value | PASS | |
| e.style['transform'] = "skew(90deg)" should set the property value | PASS | |
| e.style['transform'] = "skew(0, -90deg)" should set the property value | PASS | |
| e.style['transform'] = "skew(90deg, 0)" should set the property value | PASS | |
| e.style['transform'] = "skewX(0)" should set the property value | FAIL | assert_equals: serialization should be canonical expected "skewx(0deg)" but got "skewX(0deg)" |
| e.style['transform'] = "skewX(90deg)" should set the property value | FAIL | assert_equals: serialization should be canonical expected "skewx(90deg)" but got "skewX(90deg)" |
| e.style['transform'] = "skewY(0)" should set the property value | FAIL | assert_equals: serialization should be canonical expected "skewy(0deg)" but got "skewY(0deg)" |
| e.style['transform'] = "skewY(-90deg)" should set the property value | FAIL | assert_equals: serialization should be canonical expected "skewy(-90deg)" but got "skewY(-90deg)" |
| e.style['transform'] = "perspective(10px)" should set the property value | PASS | |
| e.style['transform'] = "perspective(none)" should set the property value | PASS | |
| e.style['transform'] = "translate(1px, 2%) scale(3, 4) rotate(-90deg)" should set the property value | PASS |
/css/css-transforms/parsing/transform-valid.html
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>CSS Transform Module Level 2: parsing transform with valid values</title> <link rel="help" href="https://drafts.csswg.org/css-transforms-2/#transform-property"> <meta name="assert" content="transform supports the full grammar 'none | <transform-list>'."> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="/css/support/parsing-testcommon.js"></script> </head> <body> <script> test_valid_value("transform", "none"); test_valid_value("transform", "matrix(1, 0, 0, 1, 0, 0)"); test_valid_value("transform", "matrix(1, 2, 3, 4, 5, 6)"); test_valid_value("transform", "matrix(-0.1, -0.2, -0.3, -0.4, -0.5, -0.6)"); test_valid_value("transform", "translate(1px)"); test_valid_value("transform", "translate(1px, 0%)"); test_valid_value("transform", "translate(2%, -3%)"); test_valid_value("transform", "translateX(-4px)"); test_valid_value("transform", "translateY(5%)"); test_valid_value("transform", "scale(2)"); test_valid_value("transform", "scale(3, 4)"); test_valid_value("transform", "scale(-2)"); test_valid_value("transform", "scale(-5, -6)"); test_valid_value("transform", "scale(250%)", "scale(2.5)"); test_valid_value("transform", "scale(325%, 475%)", "scale(3.25, 4.75)"); test_valid_value("transform", "scale(1, 200%)", "scale(1, 2)"); test_valid_value("transform", "scale(-250%)", "scale(-2.5)"); test_valid_value("transform", "scale(-500%, -620%)", "scale(-5, -6.2)"); test_valid_value("transform", "scaleX(7)", "scalex(7)"); test_valid_value("transform", "scaleX(720%)", "scalex(7.2)"); test_valid_value("transform", "scaleY(-8)", "scaley(-8)"); test_valid_value("transform", "scaleY(-85%)", "scaley(-0.85)"); test_valid_value("transform", "scaleZ(4)", "scalez(4)"); test_valid_value("transform", "scaleZ(25%)", "scalez(0.25)"); test_valid_value("transform", "scale3d(0.5, 2.5, 3)"); test_valid_value("transform", "scale3d(50%, 250%, 300%)", "scale3d(0.5, 2.5, 3)"); test_valid_value("transform", "scale3d(-0.5, 2.5, -3)"); test_valid_value("transform", "scale3d(-50%, 250%, -300%)", "scale3d(-0.5, 2.5, -3)"); test_valid_value("transform", "scale3d(1, 200%, 3)", "scale3d(1, 2, 3)"); test_valid_value("transform", "rotate(0)", "rotate(0deg)"); test_valid_value("transform", "rotate(90deg)"); test_valid_value("transform", "skew(0)", "skew(0deg)"); test_valid_value("transform", "skew(90deg)"); test_valid_value("transform", "skew(0, -90deg)", "skew(0deg, -90deg)"); test_valid_value("transform", "skew(90deg, 0)", ["skew(90deg)", "skew(90deg, 0deg)"]); test_valid_value("transform", "skewX(0)", "skewx(0deg)"); test_valid_value("transform", "skewX(90deg)", "skewx(90deg)"); test_valid_value("transform", "skewY(0)", "skewy(0deg)"); test_valid_value("transform", "skewY(-90deg)", "skewy(-90deg)"); test_valid_value("transform", "perspective(10px)"); test_valid_value("transform", "perspective(none)"); test_valid_value("transform", "translate(1px, 2%) scale(3, 4) rotate(-90deg)"); </script> </body> </html>