Status: FAIL | Duration: 51ms | Subtests: 1/3 | 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 |
|---|---|---|
| e.style['image-rendering'] = "auto" should set the property value | PASS | |
| e.style['image-rendering'] = "optimizequality" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
| e.style['image-rendering'] = "optimizespeed" should set the property value | FAIL | assert_not_equals: property should be set got disallowed value "" |
/svg/painting/parsing/image-rendering-valid.svg
<?xml version="1.0" encoding="UTF-8"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml" width="800px" height="800px"> <title>SVG Painting: parsing image-rendering with valid values</title> <metadata> <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/painting.html#ImageRenderingProperty"/> <h:meta name="assert" content="image-rendering supports the full grammar 'auto | optimizeQuality | optimizeSpeed'."/> </metadata> <g id="target"></g> <h:script src="/resources/testharness.js"/> <h:script src="/resources/testharnessreport.js"/> <h:script src="/css/support/parsing-testcommon.js"/> <script><![CDATA[ test_valid_value("image-rendering", "auto"); test_valid_value("image-rendering", "optimizequality"); test_valid_value("image-rendering", "optimizespeed"); ]]></script> </svg>