Status: FAIL | Duration: 59ms | Subtests: 0/2 | Open test on wpt.live | wpt.fyi
Data from commit:
a50cb89 wpt: run reference-named files which are themselves tests (#836) (2026-09-03)
| Subtest | Status | Message |
|---|---|---|
| <g> element has transform presentation style from being an SVGGraphicsElement | FAIL | assert_equals: expected "matrix(1, 0, 0, 1, 200, 0)" but got "none" |
| <symbol> element has transform presentation style from being an SVGGraphicsElement | FAIL | assert_equals: expected "matrix(1, 0, 0, 1, 100, 0)" but got "none" |
/svg/styling/symbol-g-graphics-element.html
<!DOCTYPE html> <title>SVG Test: <g> and <symbol> are SVGGraphicsElements</title> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <svg> <g transform="translate(200, 0)"> <rect width="100" height="100"></rect> </g> <symbol transform="translate(100, 0)"> <rect width="100" height="100"></rect> </symbol> </svg> <script> const g = document.querySelector("g"); const symbol = document.querySelector("symbol"); test(() => { assert_equals(getComputedStyle(g).transform, "matrix(1, 0, 0, 1, 200, 0)"); }, "<g> element has transform presentation style from being an SVGGraphicsElement"); test(() => { assert_equals(getComputedStyle(symbol).transform, "matrix(1, 0, 0, 1, 100, 0)"); }, "<symbol> element has transform presentation style from being an SVGGraphicsElement"); </script>