Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / hittest / svg-inside-table.xhtml
blobd360697c375121f7d392b60a7112ae98f27bef22
1 <html xmlns='http://www.w3.org/1999/xhtml'>
2 <head>
3 <style>
4 body {
5 margin: 0px;
6 padding: 0px;
7 border: 1px solid black;
9 #square {
10 fill: blue;
12 #square:hover {
13 fill: green;
15 </style>
16 </head>
17 <body>
18 <table><tr><td>
19 <svg width='100px' height='100px' xmlns='http://www.w3.org/2000/svg'>
20 <svg>
21 <rect id='square' width='100' height='100' onclick='alert("You clicked the square! It worked!")'/>
22 </svg>
23 </svg>
24 </td></tr></table>
25 <script><![CDATA[
26 if (window.testRunner) {
27 testRunner.dumpAsText();
29 var hitElement = document.elementFromPoint(50, 50);
30 var hitSuccess = hitElement && hitElement == document.getElementById("square");
31 document.body.innerHTML = hitSuccess ? "PASSED" : "FAIL, hit " + hitElement + " @ 50, 50";
32 ]]></script>
33 </body>
34 </html>