Status: PASS | Duration: 76ms | Subtests: 4/4 | 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['text-rendering'] = "auto" should set the property value | PASS | |
| e.style['text-rendering'] = "optimizespeed" should set the property value | PASS | |
| e.style['text-rendering'] = "optimizelegibility" should set the property value | PASS | |
| e.style['text-rendering'] = "geometricprecision" should set the property value | PASS |
/svg/painting/parsing/text-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 text-rendering with valid values</title> <metadata> <h:link rel="help" href="https://w3c.github.io/svgwg/svg2-draft/painting.html#TextRenderingProperty"/> <h:meta name="assert" content="text-rendering supports the full grammar 'auto | optimizeSpeed | optimizeLegibility | geometricPrecision'."/> </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("text-rendering", "auto"); test_valid_value("text-rendering", "optimizespeed"); test_valid_value("text-rendering", "optimizelegibility"); test_valid_value("text-rendering", "geometricprecision"); ]]></script> </svg>