Chromium Code Reviews| 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..f424b42c84b2c35ff288109ec8f044a8e9e31f0b |
| --- /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> |
| + container.offsetLeft; // Make sure we have laid out. |
|
esprehn
2013/08/08 03:10:39
Please don't access vars like this:
var container
mstensho (USE GERRIT)
2013/08/08 06:51:50
I did "document.getElementById('container').offset
|
| + container.style.WebkitWritingMode = 'vertical-rl'; |
| + </script> |
| + </body> |
| +</html> |