Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: LayoutTests/svg/hittest/svg-root-display-block.html

Issue 318663002: Allow hitting the SVG root when its display-type is 'block' (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/svg/hittest/svg-root-display-block-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <title>SVG root 'display: block' hit test</title>
3 <style>
4 html, body {
5 padding: 0;
6 margin: 0;
7 }
8 svg {
9 display: block;
10 background-color: blue;
11 }
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();
19
20 var svgRoot = document.querySelector('svg');
21 var result = (svgRoot === document.elementFromPoint(100, 100));
22 document.write(result ? 'PASS' : 'FAIL');
23 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/hittest/svg-root-display-block-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698