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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/vertical-lr/offset-top-and-left-nested.html

Issue 2344813003: Correct flowThreadTranslationAtOffset() for vertical-rl writing mode. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/vertical-rl/offset-top-and-left-nested.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/multicol/vertical-lr/offset-top-and-left-nested.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/vertical-lr/offset-top-and-left-nested.html b/third_party/WebKit/LayoutTests/fast/multicol/vertical-lr/offset-top-and-left-nested.html
new file mode 100644
index 0000000000000000000000000000000000000000..320a78397b5a1b007b352e168c882c2931926fb4
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/vertical-lr/offset-top-and-left-nested.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script src="../../../resources/testharness.js"></script>
+<script src="../../../resources/testharnessreport.js"></script>
+<div style="position:relative; writing-mode:vertical-lr; columns:3; column-fill:auto; column-gap:10px; width:100px; height:350px;">
+ <div style="columns:2; column-fill:auto; column-gap:10px; width:200px;">
+ <div style="width:250px;"></div>
+ <div id="in-second-row" style="width:20px;"></div>
+ </div>
+</div>
+
+<script>
+ test(function() {
+ assert_equals(document.getElementById('in-second-row').offsetLeft, 50);
+ assert_equals(document.getElementById('in-second-row').offsetTop, 120);
+ }, "offsetLeft and offsetTop in vertical-lr in nested multicol");
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/multicol/vertical-rl/offset-top-and-left-nested.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698