Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/testing/web-platform/tests/svg/text/parsing/text-decoration-fill-valid.svg
<?xml version="1.0" encoding="UTF-8"?>
width="800px" height="800px">
<title>SVG Text: parsing text-decoration-fill with valid values</title>
<metadata>
<h:meta name="assert" content="text-decoration-fill supports the full 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_valid_value("text-decoration-fill", "none");
test_valid_value("text-decoration-fill", "context-fill");
test_valid_value("text-decoration-fill", "context-stroke");
test_valid_value("text-decoration-fill", "rgb(12, 34, 56)");
test_valid_value("text-decoration-fill", 'url("https://example.com/")');
test_valid_value("text-decoration-fill", 'url("https://example.com/") none');
test_valid_value("text-decoration-fill", 'url("https://example.com/") rgb(12, 34, 56)');
]]></script>
</svg>