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

Unified Diff: third_party/WebKit/LayoutTests/fast/writing-mode/flipped-blocks-hit-test-overflow.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, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/writing-mode/flipped-blocks-hit-test-overflow.html
diff --git a/third_party/WebKit/LayoutTests/fast/writing-mode/flipped-blocks-hit-test-overflow.html b/third_party/WebKit/LayoutTests/fast/writing-mode/flipped-blocks-hit-test-overflow.html
index f05412f4ceadab31d370e0b1ac10bc3f6ab4d976..b5a6885a4fe130397d46adde251240ec4da902f3 100644
--- a/third_party/WebKit/LayoutTests/fast/writing-mode/flipped-blocks-hit-test-overflow.html
+++ b/third_party/WebKit/LayoutTests/fast/writing-mode/flipped-blocks-hit-test-overflow.html
@@ -2,9 +2,9 @@
#target { background-color: red; }
#target:hover { background-color: green; }
</style>
-<div style="margin: 100px 0 0 92px; -webkit-writing-mode: horizontal-bt; height: 100px; width: 100px;">
- <div style="height: 100px;"></div>
- <div id="target" style="height: 50px;"></div>
+<div style="margin: 92px 100px 0 100px; writing-mode: vertical-rl; height: 100px; width: 100px;">
+ <div style="width: 100px;"></div>
+ <div id="target" style="width: 50px;"></div>
</div>
<p>
This tests hit-testing in the overflow area of flipped-blocks writing mode
@@ -17,7 +17,7 @@
</p>
<script>
var target = document.getElementById("target");
- var result = document.elementFromPoint(150, 75);
+ var result = document.elementFromPoint(75, 150);
if (window.testRunner)
testRunner.dumpAsText();

Powered by Google App Engine
This is Rietveld 408576698