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

Side by Side Diff: third_party/WebKit/LayoutTests/hittesting/border-hittest-inlineFlowBox.html

Issue 1513663002: Include inner border radius in block hit testing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Create hittesting directory for tests Created 5 years 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
1 <!doctype html> 1 <!doctype html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 <style> 5 <style>
6 span { 6 span {
7 background-color: lightgray; 7 background-color: lightgray;
8 border-radius: 2em; 8 border-radius: 2em;
9 padding: 1em; 9 padding: 1em;
10 line-height: 4em; 10 line-height: 4em;
11 } 11 }
12 12
13 label { 13 label {
14 padding: 2em; 14 padding: 2em;
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 rect = document.getElementById('D').getBoundingClientRect(); 55 rect = document.getElementById('D').getBoundingClientRect();
56 elementInTopLeftCorner = document.elementFromPoint(rect.left, rect.top); 56 elementInTopLeftCorner = document.elementFromPoint(rect.left, rect.top);
57 shouldBeEqualToString('elementInTopLeftCorner.nodeName', 'BODY'); 57 shouldBeEqualToString('elementInTopLeftCorner.nodeName', 'BODY');
58 58
59 rect = document.getElementById('E').getBoundingClientRect(); 59 rect = document.getElementById('E').getBoundingClientRect();
60 elementInTopLeftCorner = document.elementFromPoint(rect.left, rect.top); 60 elementInTopLeftCorner = document.elementFromPoint(rect.left, rect.top);
61 shouldBeEqualToString('elementInTopLeftCorner.nodeName', 'SPAN'); 61 shouldBeEqualToString('elementInTopLeftCorner.nodeName', 'SPAN');
62 </script> 62 </script>
63 </html> 63 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698