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

Side by Side Diff: LayoutTests/svg/custom/svg-percent-scale-expected.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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../fast/repaint/resources/repaint.js"></script> 4 <script src="../../fast/repaint/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 <svg width="200" height="150" xmlns="http://www.w3.org/2000/svg"> 9 <svg width="200" height="150" xmlns="http://www.w3.org/2000/svg">
10 <rect fill="green" width="100%" height="100%"/> 10 <rect fill="green" width="100%" height="100%"/>
11 </svg> 11 </svg>
12 </div> 12 </div>
13 13
14 <script> 14 <script>
15 function repaintTest() { 15 function repaintTest() {
16 window.resizeTo(window.innerWidth / 2, window.innerHeight / 2); 16 window.resizeTo(window.innerWidth / 2, window.innerHeight / 2);
17 } 17 }
18 </script> 18 </script>
19 </body> 19 </body>
20 </html> 20 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/svg-percent-scale.html ('k') | LayoutTests/svg/custom/svg-percent-scale-vonly.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698