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

Side by Side Diff: LayoutTests/fast/repaint/percent-minheight-resize.html

Issue 9617034: Merge 109104 - Percent width/height SVG not always scaled on window resize (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 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 unified diff | Download patch
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/fast/repaint/percent-minheight-resize-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/repaint.js"></script> 4 <script src="resources/repaint.js"></script>
5 </head> 5 </head>
6 6
7 <body style="margin: 0; padding: 0; overflow: hidden;" onload="runRepaintTest()" > 7 <body style="margin: 0; padding: 0; overflow: hidden;" onload="runRepaintTest()" >
8 <div style="width: 100%; height: 100%; position: absolute;"> 8 <div style="width: 100%; height: 100%; position: absolute;">
9 <!-- After window resizing, this DIV element should not be visible --> 9 <!-- After window resizing, this DIV element should not be visible -->
10 <div style="width: 100px; min-height: 33%; background-color: red; display: inl ine-block;"></div> 10 <div style="width: 100px; min-height: 33%; background-color: red; display: inl ine-block;"></div>
11 </div> 11 </div>
12 12
13 <div style="width: 100px; height: 100px; background-color: green; position: abso lute;"></div> 13 <div style="width: 100px; height: 100px; background-color: green; position: abso lute;"></div>
14 14
15 <script> 15 <script>
16 function repaintTest() { 16 function repaintTest() {
17 window.resizeBy(0, -window.innerHeight / 2); 17 window.resizeBy(0, -window.innerHeight / 2);
18 } 18 }
19 </script> 19 </script>
20 </body> 20 </body>
21 </html> 21 </html>
OLDNEW
« no previous file with comments | « LayoutTests/ChangeLog ('k') | LayoutTests/fast/repaint/percent-minheight-resize-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698