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

Unified Diff: LayoutTests/fast/regions/changing-writing-mode.html

Issue 18374008: Propagate writing-mode from the first region to the flow thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address minor issues raised together with the LGTM. Created 7 years, 4 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 | LayoutTests/fast/regions/changing-writing-mode-2.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/regions/changing-writing-mode.html
diff --git a/LayoutTests/fast/regions/changing-writing-mode.html b/LayoutTests/fast/regions/changing-writing-mode.html
new file mode 100644
index 0000000000000000000000000000000000000000..9f4b950d39bfaed459739f59e90d53135d946828
--- /dev/null
+++ b/LayoutTests/fast/regions/changing-writing-mode.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Changing writing mode on the first region</title>
+ </head>
+ <body style="color:black; background:white;">
+ <p>Below you should see the word 'PASS' on a lime background.</p>
+ <div id="container" style="width:20em; height:20em; line-height:2em;">
+ <div style="-webkit-flow-into:thread;">
+ <br>
+ <div style="-webkit-region-break-after:always;"></div>
+ <div style="-webkit-writing-mode:horizontal-tb;">PASS</div>
+ </div>
+ <div style="-webkit-flow-from:thread; background:black;"></div>
+ <div style="-webkit-flow-from:thread; background:lime;"></div>
+ </div>
+ <script>
+ document.getElementById('container').offsetLeft; // Make sure we have laid out.
+ document.getElementById('container').style.WebkitWritingMode = 'vertical-rl';
+ </script>
+ </body>
+</html>
« no previous file with comments | « no previous file | LayoutTests/fast/regions/changing-writing-mode-2.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698