summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-svgglyphs/svg-glyph-cachedopacity.svg
blob: 60b11344c8489a04f66cc98e9ca726e6c20d00b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<svg xmlns="http://www.w3.org/2000/svg">
  <style type="text/css"><![CDATA[
    @font-face {
      font-family : svgwoff;
      src : url(resources/svg.woff);
    }
    text {
      font-family : svgwoff;
      font-size : 200px;
      fill-opacity : 0.5;
      stroke-opacity : 0.5;
    }
  ]]></style>

  <!--
        Test for a bug where cached fill-opacity and stroke-opacity values were
      being destroyed
  -->
  <text x="0" y="200" stroke="black">Y</text>
</svg>