Status: FAIL | Duration: 92ms | Subtests: 0/41 | 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 |
|---|---|---|
| alignment-baseline presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute alignment-baseline="middle" should be supported on rect element expected true got false |
| baseline-shift presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute baseline-shift="1" should be supported on rect element expected true got false |
| clip-path presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute clip-path="url(#e)" should be supported on linearGradient element expected true got false |
| color presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute color="blue" should be supported on image element expected true got false |
| cursor presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute cursor="pointer" should be supported on defs element expected true got false |
| direction presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute direction="rtl" should be supported on rect element expected true got false |
| display presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute display="block" should be supported on linearGradient element expected true got false |
| fill presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute fill="blue" should be supported on image element expected true got false |
| fill-opacity presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute fill-opacity="0.5" should be supported on image element expected true got false |
| fill-rule presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute fill-rule="evenodd" should be supported on image element expected true got false |
| filter presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute filter="url(#e)" should be supported on linearGradient element expected true got false |
| font-family presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute font-family="Test Family" should be supported on rect element expected true got false |
| font-size presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute font-size="50" should be supported on rect element expected true got false |
| font-size-adjust presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute font-size-adjust="0.5" should be supported on rect element expected true got false |
| font-stretch presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute font-stretch="expanded" should be supported on rect element expected true got false |
| font-style presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute font-style="italic" should be supported on rect element expected true got false |
| font-variant presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute font-variant="small-caps" should be supported on rect element expected true got false |
| font-weight presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute font-weight="900" should be supported on rect element expected true got false |
| image-rendering presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute image-rendering="optimizeSpeed | pixelated" should be supported on path element expected true got false |
| letter-spacing presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute letter-spacing="1px" should be supported on rect element expected true got false |
| mask-type presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute mask-type="alpha" should be supported on rect element expected true got false |
| mask presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute mask="url(#e)" should be supported on linearGradient element expected true got false |
| opacity presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute opacity="0.5" should be supported on linearGradient element expected true got false |
| overflow presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute overflow="scroll" should be supported on rect element expected true got false |
| pointer-events presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute pointer-events="none" should be supported on linearGradient element expected true got false |
| stroke presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute stroke="blue" should be supported on image element expected true got false |
| stroke-dasharray presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute stroke-dasharray="1 1" should be supported on image element expected true got false |
| stroke-dashoffset presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute stroke-dashoffset="1" should be supported on image element expected true got false |
| stroke-linecap presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute stroke-linecap="round" should be supported on image element expected true got false |
| stroke-linejoin presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute stroke-linejoin="round" should be supported on image element expected true got false |
| stroke-miterlimit presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute stroke-miterlimit="1" should be supported on image element expected true got false |
| stroke-opacity presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute stroke-opacity="0.5" should be supported on image element expected true got false |
| stroke-width presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute stroke-width="2" should be supported on image element expected true got false |
| text-decoration presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute text-decoration="underline" should be supported on rect element expected true got false |
| text-overflow presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute text-overflow="ellipsis" should be supported on rect element expected true got false |
| text-rendering presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute text-rendering="geometricPrecision" should be supported on rect element expected true got false |
| transform-origin presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute transform-origin="1px 1px" should be supported on linearGradient element expected true got false |
| unicode-bidi presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute unicode-bidi="embed" should be supported on rect element expected true got false |
| visibility presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute visibility="hidden" should be supported on linearGradient element expected true got false |
| white-space presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute white-space="pre" should be supported on rect element expected true got false |
| word-spacing presentation attribute supported on an irrelevant element | FAIL | assert_true: Presentation attribute word-spacing="1" should be supported on rect element expected true got false |
/svg/styling/presentation-attributes-irrelevant.html
<!DOCTYPE html> <meta charset="utf-8"> <title>SVG presentation attributes - on irrelevant elements</title> <link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/styling.html#PresentationAttributes"> <script src="/resources/testharness.js"></script> <script src="/resources/testharnessreport.js"></script> <script src="presentation-attributes.js"></script> <svg id="svg"></svg> <script> // Test that all of the presentation attributes with no special rules are // also supported on elements that the corresponding property does not // apply to. for (let p in PROPERTIES) { if (CSS.supports(p, "initial") && PROPERTIES[p].irrelevantElement) { test(function() { assertPresentationAttributeIsSupported(PROPERTIES[p].irrelevantElement, p, PROPERTIES[p].value, p); }, `${p} presentation attribute supported on an irrelevant element`); } } </script>