Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/testing/web-platform/tests/svg/text/parsing/text-decoration-fill-invalid.svg
<?xml version="1.0" encoding="UTF-8"?>
width="800px" height="800px">
<title>SVG Text: parsing text-decoration-fill with invalid values</title>
<metadata>
<h:meta name="assert" content="text-decoration-fill supports only the paint grammar 'none | color | url [none | color]? | context-fill | context-stroke'."/>
</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_invalid_value("text-decoration-fill", "auto");
test_invalid_value("text-decoration-fill", "none red");
test_invalid_value("text-decoration-fill", 'none url("https://example.com/")');
test_invalid_value("text-decoration-fill", 'red url("https://example.com/")');
test_invalid_value("text-decoration-fill", 'url("https://example.com/") none red');
]]></script>
</svg>