Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / repaint-shadow.svg
blob4e5d80c3d712e24630ec24bbbcca7c49b44c92ed
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
3 <style type="text/css">
4 @font-face {
5 font-family: "Ahem";
6 src: url(../../resources/Ahem.ttf);
8 </style>
9 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
10 <text x="20" y="60" font-family="Ahem" font-size="50px" style="text-shadow: 200px 200px 5px red">X</text>
11 <text x="170" y="60" font-family="Ahem" font-size="50px" style="text-shadow: 200px 200px 5px red">X</text>
13 <script>
14 function repaintTest() {
15 document.getElementsByTagName('text')[1].setAttribute("x", 171);
16 if (window.testRunner)
17 testRunner.notifyDone();
19 if (window.testRunner)
20 testRunner.waitUntilDone();
21 document.fonts.ready.then(runRepaintAndPixelTest);
22 </script>
23 </svg>