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

Side by Side Diff: third_party/WebKit/LayoutTests/hittesting/culled-inline-crash.html

Issue 1630793002: Stop hit testing culled inlines when a match is found (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simpler approach, but duplicated code Created 4 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/HitTestResult.h » ('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 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <style>
5 * {
6 line-height: 12px;
7 }
8 li {
9 position: relative;
10 padding-top: 0.3px;
11 }
12 </style>
13 <div id="container">
14 <ul>
15 <li><a href="#">HoverHoverHoverHover</a></li>
16 <li><a href="#">HoverHoverHoverHover</a></li>
17 <li><a href="#">HoverHoverHoverHover</a></li>
18 <li><a href="#">HoverHoverHoverHover</a></li>
19 <li><a href="#">HoverHoverHoverHover</a></li>
20 <li><a href="#">HoverHoverHoverHover</a></li>
21 <li><a href="#">HoverHoverHoverHover</a></li>
22 <li><a href="#">HoverHoverHoverHover</a></li>
23 </ul>
24 </div>
25 <div id="log"></div>
26 <script>
27 test(function(t)
28 {
29 assert_equals(document.elementFromPoint(139, 49).tagName, 'A');
30 }, "This test passes if it does not crash.");
31 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/layout/HitTestResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698