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/painting/parsing/marker-shorthand.svg
width="800px" height="800px">
<title>SVG Painting: marker sets longhands</title>
<metadata>
<h:meta name="assert" content="marker supports the full paint grammar 'none | marker-ref'."/>
</metadata>
<g id="target"></g>
<h:script src="/resources/testharness.js"/>
<h:script src="/resources/testharnessreport.js"/>
<h:script src="/css/support/shorthand-testcommon.js"/>
<script><![CDATA[
test_shorthand_value('marker', 'none', {
'marker-start': 'none',
'marker-mid': 'none',
'marker-end': 'none'
});
test_shorthand_value('marker', 'url("https://example.com/")', {
'marker-start': 'url("https://example.com/")',
'marker-mid': 'url("https://example.com/")',
'marker-end': 'url("https://example.com/")'
});
]]></script>
</svg>