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

Side by Side Diff: LayoutTests/fast/repaint/vertical-scrollbar-shrink-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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <p>Test decreasing the width of the containing block of a scrollable container w ith percent width.</p>
3 <p>One vertical scrollbar should be seen below.</p>
4 <div id="target" style="width:700px;">
5 <div style="width:50%; height:400px; overflow-y:scroll;"></div>
6 </div>
7 <script src="resources/display-then-call.js"></script>
8 <script>
9 function changeSize() {
10 document.getElementById('target').style.width = '300px';
11 }
12 displayThenCall(changeSize);
13 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698