Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / hittest / svg-root-display-block.html
blobfc08021cc2ebf8daf37d1b7d8acf4f4e9020aac6
1 <!DOCTYPE html>
2 <title>SVG root 'display: block' hit test</title>
3 <style>
4 html, body {
5 padding: 0;
6 margin: 0;
8 svg {
9 display: block;
10 background-color: blue;
12 </style>
13 <body>
14 <svg width="200" height="200"></svg>
15 <p>SVG root with 'display: block' gets intersected.</p>
16 <script>
17 if (window.testRunner)
18 testRunner.dumpAsText();
20 var svgRoot = document.querySelector('svg');
21 var result = (svgRoot === document.elementFromPoint(100, 100));
22 document.write(result ? 'PASS' : 'FAIL');
23 </script>