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

Side by Side Diff: LayoutTests/svg/custom/svg-percent-scale-vonly.html

Issue 262963003: Output repaint rects for svg repaint tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 7 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Test for https://bugs.webkit.org/show_bug.cgi?id=79490</title> 4 <title>Test for https://bugs.webkit.org/show_bug.cgi?id=79490</title>
5 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 5 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
6 <script> 6 <script>
7 window.outputRepaintRects = false;
7 function repaintTest() 8 function repaintTest()
8 { 9 {
9 document.getElementById('resize-target').style.height = '200px'; 10 document.getElementById('resize-target').style.height = '200px';
10 } 11 }
11 </script> 12 </script>
12 </head> 13 </head>
13 14
14 <body style="margin: 0; padding: 0; overflow: hidden;" onload="runRepaintAndPixe lTest()"> 15 <body style="margin: 0; padding: 0; overflow: hidden;" onload="runRepaintAndPixe lTest()">
15 <div id="resize-target" style="width: 400px; height: 400px; position: absolute ;"> 16 <div id="resize-target" style="width: 400px; height: 400px; position: absolute ;">
16 <!-- After vertical window resizing, this SVG element should not be visible --> 17 <!-- After vertical window resizing, this SVG element should not be visible -->
17 <svg width="25%" height="50%" xmlns="http://www.w3.org/2000/svg"> 18 <svg width="25%" height="50%" xmlns="http://www.w3.org/2000/svg">
18 <rect fill="red" width="100%" height="100%"></rect> 19 <rect fill="red" width="100%" height="100%"></rect>
19 </svg> 20 </svg>
20 21
21 <!-- force an anonymous block creation to exercise the percent-height descen dants map --> 22 <!-- force an anonymous block creation to exercise the percent-height descen dants map -->
22 <div></div> 23 <div></div>
23 </div> 24 </div>
24 25
25 <div style="width: 100px; height: 100px; position: absolute; background-color: green;"></div> 26 <div style="width: 100px; height: 100px; position: absolute; background-color: green;"></div>
26 </body> 27 </body>
27 </html> 28 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/svg-percent-scale-block.html ('k') | LayoutTests/svg/custom/use-elementInstance-methods.svg » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698