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/layout/reftests/svg/polygon-points-negative-01.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<title>Testing for x-y |points| attribute</title>
<rect fill="lime" height="100%" width="100%"/>
<rect width="100" height="100" fill="red"/>
<!-- this should render -->
<polygon points="-10-110 -10-10 -110-10 -110-110" fill="lime"
transform="translate(110,110)"/>
<!-- this should not -->
<polygon fill="red" transform="translate(110,110)"
points="-110-10-110-110-10-110-10-10"/>
</svg>