Index: third_party/WebKit/LayoutTests/fast/block/available-width-changes-vertical.html |
diff --git a/third_party/WebKit/LayoutTests/fast/block/available-width-changes-vertical.html b/third_party/WebKit/LayoutTests/fast/block/available-width-changes-vertical.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4051ccb3ffa199c79d67ff25af5fdfcbfb8c2dd4 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/block/available-width-changes-vertical.html |
@@ -0,0 +1,11 @@ |
+<!DOCTYPE html> |
+<p>crbug.com/561612: There should be a blue <em>square</em> below.</p> |
+<div id="container" style="height:100px; box-sizing:border-box;"> |
+ <div id="child" style="-webkit-writing-mode:vertical-rl; width:40px; height:100%; background:blue;" data-expected-height=40></div> |
+</div> |
+<script src="../../resources/check-layout.js"></script> |
+<script> |
+document.body.offsetTop; |
+document.getElementById("container").style.paddingBottom = '60px'; |
+checkLayout('#child'); |
+</script> |