Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / scroll-hit-test.xhtml
blob908cd9d67536a0b3d27f60f31d0dff8b49b1d2f1
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
4 </head>
5 <body style="margin: 0" onload="runRepaintAndPixelTest()">
6 <div id="div" style="width:100px; height:100px; overflow:hidden">
7 <svg id="svg" width="200px" height="200px" xmlns="http://www.w3.org/2000/svg">
8 <rect fill="orange" width="100px" height="100px" />
9 <rect id="rect" onclick="clicked()" fill="green" y="100px" x="100px" width="100px" height="100px" />
10 </svg>
11 </div>
12 <script>
13 <![CDATA[
14 function clicked() {
15 document.getElementById("rect").style.fill = "green";
16 if (window.testRunner)
17 testRunner.notifyDone();
20 function repaintTest() {
21 var div = document.getElementById("div");
22 div.scrollTop = 100;
23 div.scrollLeft = 100;
24 if (window.eventSender) {
25 testRunner.waitUntilDone();
26 eventSender.mouseMoveTo(50, 50);
27 eventSender.mouseDown();
28 eventSender.mouseUp();
31 ]]>
32 </script>
33 </body>
34 </html>