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

Side by Side Diff: third_party/WebKit/LayoutTests/hittesting/border-hittest.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 img{ 6 img{
7 background-color:red; 7 background-color:red;
8 border-radius: 50px; 8 border-radius: 50px;
9 } 9 }
10 </style> 10 </style>
11 </head> 11 </head>
12 <body> 12 <body>
13 <img src="./resources/mask.png" width="100px" height="100px" /> 13 <img src="../fast/borders/resources/mask.png" width="100px" height="100px" />
14 <div id="console"></div> 14 <div id="console"></div>
15 </body> 15 </body>
16 <script> 16 <script>
17 description('If this test passes, area outside is body element.'); 17 description('If this test passes, area outside is body element.');
18 var element = document.elementFromPoint(100, 100); 18 var element = document.elementFromPoint(100, 100);
19 shouldBe('element.nodeName', '"BODY"'); 19 shouldBe('element.nodeName', '"BODY"');
20 </script> 20 </script>
21 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698