Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / resource-client-removal.svg
blob339fa42d85ede748df96e305ee21e55f2ad8cebb
1 <svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="runRepaintAndPixelTest()">
2 <script xlink:href="../../resources/run-after-layout-and-paint.js"/>
3 <script xlink:href="../../fast/repaint/resources/text-based-repaint.js"/>
4 <script>
5 <![CDATA[
6 window.testIsAsync = true;
7 function repaintTest() {
8 container = document.getElementById("inneruse");
9 stop = document.getElementById("offset");
10 runAfterLayoutAndPaint(offset);
12 var turns = 5;
13 function offset(){
14 container.setAttribute ("transform", "");
15 stop.setAttribute ("offset", "1.0");
16 turns--;
17 if (turns > 0)
18 runAfterLayoutAndPaint(offset);
19 else
20 finishRepaintTest();
22 ]]>
23 </script>
24 <defs>
25 <linearGradient id="grad">
26 <stop offset="0" style="stop-color: green"/>
27 <stop id="offset" offset="1" style="stop-color: green"/>
28 </linearGradient>
29 <path id="hp" d="M 0 0 L 100 0 L 100 100 L 0 100" />
30 </defs>
31 <g id="inneruse">
32 <use xlink:href="#hp" style="fill:url(#grad)"/>
33 </g>
34 <use xlink:href="#inneruse" style="fill:url(#grad)"/>
35 </svg>