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

Unified Diff: LayoutTests/fast/repaint/vertical-scrollbar-grow-container-width.html

Issue 942963002: Need to invalidate scrollbars in case they get repositioned. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: code review - override final Created 5 years, 10 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
Index: LayoutTests/fast/repaint/vertical-scrollbar-grow-container-width.html
diff --git a/LayoutTests/fast/repaint/vertical-scrollbar-grow-container-width.html b/LayoutTests/fast/repaint/vertical-scrollbar-grow-container-width.html
new file mode 100644
index 0000000000000000000000000000000000000000..5f94a93775831fa1518c40c10bc1d90e56fd7e82
--- /dev/null
+++ b/LayoutTests/fast/repaint/vertical-scrollbar-grow-container-width.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<p>Test increasing the width of the containing block of a scrollable container with percent width.</p>
+<p>One vertical scrollbar should be seen below.</p>
+<div id="target" style="width:300px;">
+ <div style="width:50%; height:400px; overflow-y:scroll;"></div>
+</div>
+<script src="resources/display-then-call.js"></script>
+<script>
+ function changeSize() {
+ document.getElementById('target').style.width = '700px';
+ }
+ displayThenCall(changeSize);
+</script>

Powered by Google App Engine
This is Rietveld 408576698