layout/reftests/svg/svg-in-foreignObject-01.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/svg-in-foreignObject-01.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,27 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.7 +-->
     1.8 +<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
     1.9 +
    1.10 +  <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=411146 -->
    1.11 +
    1.12 +  <title>Test percentages dimensions for SVG inside a foreignObject</title>
    1.13 +
    1.14 +  <foreignObject width="50%" height="50%">
    1.15 +    <svg xmlns="http://www.w3.org/2000/svg" style="width: 50%; height: 50%">
    1.16 +      <ellipse cx="50%" cy="50%" rx="50%" ry="50%" fill="blue"/>
    1.17 +    </svg>
    1.18 +  </foreignObject>
    1.19 +
    1.20 +  <svg x="25%" width="25%" height="25%">
    1.21 +    <ellipse cx="50%" cy="50%" rx="50%" ry="50%" fill="blue"/>
    1.22 +  </svg>
    1.23 +  <svg y="25%" width="25%" height="25%">
    1.24 +    <ellipse cx="50%" cy="50%" rx="50%" ry="50%" fill="blue"/>
    1.25 +  </svg>
    1.26 +  <svg x="25%" y="25%" width="25%" height="25%">
    1.27 +    <ellipse cx="50%" cy="50%" rx="50%" ry="50%" fill="blue"/>
    1.28 +  </svg>
    1.29 +
    1.30 +</svg>

mercurial