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

Unified Diff: third_party/WebKit/LayoutTests/css3/flexbox/overflow-auto-dynamic-changes.html

Issue 1811753003: Set m_{width,height}AvailableToChildrenChanged when scrollbars appear (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comment Created 4 years, 9 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/css3/flexbox/overflow-auto-dynamic-changes-abspos.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..851ef3b1ebbb9907d270e8b33c59e3755103d178
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/flexbox/overflow-auto-dynamic-changes.html
@@ -0,0 +1,47 @@
+<!DOCTYPE html>
+
+<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>
+
+
+<p>This test should not have a horizontal scrollbar</p>
+
+<div class="flexbox column">
+ <div class="flexbox">
+ <div class="flex11a">
+ <div class="root">
+ <div id="history"></div>
+ </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>
+
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/css3/flexbox/overflow-auto-dynamic-changes-abspos.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698