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

Side by Side Diff: LayoutTests/fast/dom/nodesFromRect/nodesFromRect-culled-inlines-between-silblings-bidi.html

Issue 947793002: Reland "We need to account for culled inline parents of hit-tested nodes" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 8 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
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style type="text/css">
3 body { font-size: 20px; }
4 </style>
5 <div>
6 <font dir="rtl"><a href="#">12 <b id="test">34 </b><b>56 </b><span><a href=" #">78 </a></span></font>
7 </div>
8 <script src="../../../resources/js-test.js"></script>
9 <script src="resources/nodesFromRect.js"></script>
10 <script type="text/javascript">
11 description('Test to get the node as a result of hit-tests from culled inlin es between siblings');
12
13 if (window.internals) {
14 var test = document.getElementById('test');
15
16 checkRect(test.offsetLeft - 8, test.offsetTop + 4, 2, 2, "'56 '");
17 checkRect(test.offsetLeft + 8, test.offsetTop + 4, 2, 2, "'34 '");
18 checkRect(test.offsetLeft + test.offsetWidth + 8, test.offsetTop + 4, 2, 2, "'12 '");
19 }
20 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698