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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/writing-mode/table-hit-test.html

Issue 1419813004: Remove the "horizontal-bt" value from -webkit-writing-mode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add static_assert to ensure TransformedWritingMode matches to WritingMode Created 5 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
OLDNEW
1 <style> 1 <style>
2 body { margin: 0; } 2 body { margin: 0; }
3 caption div { width: 50px; height: 50px; } 3 caption div { width: 50px; height: 50px; }
4 td { width: 50px; height: 25px; } 4 td { width: 50px; height: 25px; }
5 #console { margin: 8px; } 5 #console { margin: 8px; }
6 </style> 6 </style>
7 <table cellpadding="0" cellspacing="0" id="table"> 7 <table cellpadding="0" cellspacing="0" id="table">
8 <tbody> 8 <tbody>
9 <tr> 9 <tr>
10 <td id="1-1-1"></td> 10 <td id="1-1-1"></td>
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 checkElementAtPoint(1, 51, "1-1-1"); 53 checkElementAtPoint(1, 51, "1-1-1");
54 checkElementAtPoint(51, 51, "1-1-2"); 54 checkElementAtPoint(51, 51, "1-1-2");
55 checkElementAtPoint(101, 51, "1-1-3"); 55 checkElementAtPoint(101, 51, "1-1-3");
56 checkElementAtPoint(1, 76, "1-2-1"); 56 checkElementAtPoint(1, 76, "1-2-1");
57 checkElementAtPoint(51, 76, "1-2-2"); 57 checkElementAtPoint(51, 76, "1-2-2");
58 checkElementAtPoint(101, 76, "1-2-3"); 58 checkElementAtPoint(101, 76, "1-2-3");
59 checkElementAtPoint(1, 101, "2-1-1"); 59 checkElementAtPoint(1, 101, "2-1-1");
60 checkElementAtPoint(51, 101, "2-1-2"); 60 checkElementAtPoint(51, 101, "2-1-2");
61 checkElementAtPoint(101, 101, "2-1-3"); 61 checkElementAtPoint(101, 101, "2-1-3");
62 62
63 log("\nTesting horizontal-bt:");
64 style.webkitWritingMode = "horizontal-bt";
65 checkElementAtPoint(1, 101, "c");
66 checkElementAtPoint(1, 51, "1-1-1");
67 checkElementAtPoint(51, 51, "1-1-2");
68 checkElementAtPoint(101, 51, "1-1-3");
69 checkElementAtPoint(1, 26, "1-2-1");
70 checkElementAtPoint(51, 26, "1-2-2");
71 checkElementAtPoint(101, 26, "1-2-3");
72 checkElementAtPoint(1, 1, "2-1-1");
73 checkElementAtPoint(51, 1, "2-1-2");
74 checkElementAtPoint(101, 1, "2-1-3");
75
76 log("\nTesting vertical-lr:"); 63 log("\nTesting vertical-lr:");
77 style.webkitWritingMode = "vertical-lr"; 64 style.webkitWritingMode = "vertical-lr";
78 checkElementAtPoint(1, 1, "c"); 65 checkElementAtPoint(1, 1, "c");
79 checkElementAtPoint(51, 1, "1-1-1"); 66 checkElementAtPoint(51, 1, "1-1-1");
80 checkElementAtPoint(51, 26, "1-1-2"); 67 checkElementAtPoint(51, 26, "1-1-2");
81 checkElementAtPoint(51, 51, "1-1-3"); 68 checkElementAtPoint(51, 51, "1-1-3");
82 checkElementAtPoint(101, 1, "1-2-1"); 69 checkElementAtPoint(101, 1, "1-2-1");
83 checkElementAtPoint(101, 26, "1-2-2"); 70 checkElementAtPoint(101, 26, "1-2-2");
84 checkElementAtPoint(101, 51, "1-2-3"); 71 checkElementAtPoint(101, 51, "1-2-3");
85 checkElementAtPoint(151, 1, "2-1-1"); 72 checkElementAtPoint(151, 1, "2-1-1");
86 checkElementAtPoint(151, 26, "2-1-2"); 73 checkElementAtPoint(151, 26, "2-1-2");
87 checkElementAtPoint(151, 51, "2-1-3"); 74 checkElementAtPoint(151, 51, "2-1-3");
88 75
89 log("\nTesting vertical-rl:"); 76 log("\nTesting vertical-rl:");
90 style.webkitWritingMode = "vertical-rl"; 77 style.webkitWritingMode = "vertical-rl";
91 checkElementAtPoint(151, 1, "c"); 78 checkElementAtPoint(151, 1, "c");
92 checkElementAtPoint(101, 1, "1-1-1"); 79 checkElementAtPoint(101, 1, "1-1-1");
93 checkElementAtPoint(101, 26, "1-1-2"); 80 checkElementAtPoint(101, 26, "1-1-2");
94 checkElementAtPoint(101, 51, "1-1-3"); 81 checkElementAtPoint(101, 51, "1-1-3");
95 checkElementAtPoint(51, 1, "1-2-1"); 82 checkElementAtPoint(51, 1, "1-2-1");
96 checkElementAtPoint(51, 26, "1-2-2"); 83 checkElementAtPoint(51, 26, "1-2-2");
97 checkElementAtPoint(51, 51, "1-2-3"); 84 checkElementAtPoint(51, 51, "1-2-3");
98 checkElementAtPoint(1, 1, "2-1-1"); 85 checkElementAtPoint(1, 1, "2-1-1");
99 checkElementAtPoint(1, 26, "2-1-2"); 86 checkElementAtPoint(1, 26, "2-1-2");
100 checkElementAtPoint(1, 51, "2-1-3"); 87 checkElementAtPoint(1, 51, "2-1-3");
101 </script> 88 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698