Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / repaint / text-pattern-update.html
blobbf22fec603ba3f54a69b8fd26cd963b97075e468
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="url(#pat)" font-size="100" font-family="Ahem">X</text>
10 </svg>
11 <script>
12 function repaintTest() {
13 var pattern = document.querySelector('pattern');
14 pattern.setAttribute('y', 100);
16 onload = runRepaintTest;
17 </script>