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

Unified Diff: third_party/WebKit/LayoutTests/fast/writing-mode/flipped-blocks-hit-test-overflow-scroll.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-scroll.html
diff --git a/third_party/WebKit/LayoutTests/fast/writing-mode/flipped-blocks-hit-test-overflow-scroll.html b/third_party/WebKit/LayoutTests/fast/writing-mode/flipped-blocks-hit-test-overflow-scroll.html
index 764c518395ffb0e7eaa6423d3151b8d668c1ceb8..5a6326ff1e7bdfbc9cfb5f4558817bff17c78ef4 100644
--- a/third_party/WebKit/LayoutTests/fast/writing-mode/flipped-blocks-hit-test-overflow-scroll.html
+++ b/third_party/WebKit/LayoutTests/fast/writing-mode/flipped-blocks-hit-test-overflow-scroll.html
@@ -1,6 +1,6 @@
<!DOCTYPE html>
-<div style="-webkit-writing-mode: horizontal-bt;">
- <div id="scrollable" style="height: 100px; overflow: hidden;">
+<div style="writing-mode: vertical-rl;">
+ <div id="scrollable" style="width: 100px; overflow: hidden;">
<div style="height: 100px; width: 100px; background-color: silver;"></div>
<div id="target" style="height: 100px; width: 100px; background-color: blue;"></div>
</div>
@@ -13,8 +13,8 @@
testRunner.dumpAsText();
var scrollable = document.getElementById("scrollable");
- scrollable.scrollTop = 40;
+ scrollable.scrollLeft = 40;
var target = document.getElementById("target");
- var hitContainer = document.caretRangeFromPoint(208, 58).startContainer;
+ var hitContainer = document.caretRangeFromPoint(58, 100).startContainer;
document.getElementById("result").innerText = hitContainer === target ? "PASS" : "FAIL";
</script>

Powered by Google App Engine
This is Rietveld 408576698