Index: third_party/WebKit/LayoutTests/css3/flexbox/overflow-auto-dynamic-changes.html |
diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/overflow-auto-dynamic-changes.html b/third_party/WebKit/LayoutTests/css3/flexbox/overflow-auto-dynamic-changes.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4b7beee3aba664bf489e53f631982ce35eeee877 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/css3/flexbox/overflow-auto-dynamic-changes.html |
@@ -0,0 +1,48 @@ |
+<!DOCTYPE html> |
+<title>This test should not have a horizontal scrollbar</title> |
mstensho (USE GERRIT)
2016/03/17 19:57:06
I think we usually put the pass condition as reada
|
+<html> |
mstensho (USE GERRIT)
2016/03/17 19:57:06
Wrong order. HTML should contain TITLE.
But bette
|
+ |
+<style> |
+ body { |
+ width: 400px; |
+ height: 300px; |
+ } |
+ |
+ .flexbox { |
+ display: flex; |
+ } |
+ |
+ .column { |
+ flex-direction: column; |
+ } |
+ |
+ .flex11a { |
+ flex: 1 1 auto; |
+ } |
+ |
+ .root { |
+ height: 100px; |
+ overflow-y: auto; |
+ } |
+</style> |
+</head> |
+<body class="flexbox column"> |
+ |
+<div class="flexbox"> |
+ <div class="flex11a"> |
+ <div id="root" class="root"> |
+ <div id="history"></div> |
+ </div> |
+ </div> |
+</div> |
+ |
+<script> |
+onload = function() { |
+ var historyEl = document.getElementById('history'); |
+ historyEl.offsetWidth; |
+ historyEl.innerText = '\n\n\n\n\n\n\n\n'; |
+}; |
+</script> |
+ |
+</body> |
+</html> |