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

Side by Side Diff: LayoutTests/fast/writing-mode/vertical-inline-block-hittest.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body style="margin: 0px"> 3 <body style="margin: 0px">
4 <div id="target" style="-webkit-writing-mode: vertical-rl; border: solid 1px bla ck; font-family: Ahem"> 4 <div id="target" style="-webkit-writing-mode: vertical-rl; border: solid 1px bla ck; font-family: Ahem">
5 <br /> 5 <br />
6 <span style="display: inline-block"><a>b</a></span> 6 <span style="display: inline-block"><a>b</a></span>
7 </div> 7 </div>
8 <p id="description"></p> 8 <p id="description"></p>
9 <div id="console"></div> 9 <div id="console"></div>
10 <script src='../js/resources/js-test-pre.js'></script> 10 <script src='../../resources/js-test.js'></script>
11 <script> 11 <script>
12 function runTests() { 12 function runTests() {
13 description("Test that we can click 2nd line inside inline-block in vertical writing mode."); 13 description("Test that we can click 2nd line inside inline-block in vertical writing mode.");
14 elementInsideInlineBlockInSecondLine = document.querySelector("a"); 14 elementInsideInlineBlockInSecondLine = document.querySelector("a");
15 shouldBe("document.elementFromPoint(5, 5)", "elementInsideInlineBlockInSecon dLine"); 15 shouldBe("document.elementFromPoint(5, 5)", "elementInsideInlineBlockInSecon dLine");
16 document.getElementById("target").style.display = "none"; 16 document.getElementById("target").style.display = "none";
17 } 17 }
18 runTests(); 18 runTests();
19 </script> 19 </script>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698