Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / repaint / tspan-pattern-update.html
blobeda7577ac1032d8585a98dd24f5ddca1a12ca0e3
1 <!DOCTYPE html>
2 <script src=../../fast/repaint/resources/text-based-repaint.js></script>
3 <script src=../../resources/ahem.js></script>
4 <svg>
5 <pattern id="pat" patternUnits="userSpaceOnUse" width="200" height="200">
6 <rect width="200" height="100" fill="red"/>
7 <rect y="100" width="200" height="100" fill="green"/>
8 </pattern>
9 <text y="80" fill="green" font-size="100" font-family="Ahem">X<tspan fill="url(#pat)">Y</tspan>Z</text>
10 </svg>
11 <script>
12 function repaintTest() {
13 var pattern = document.querySelector('pattern');
14 pattern.setAttribute('y', 100);
16 onload = runRepaintTest;
17 </script>