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

Side by Side Diff: LayoutTests/svg/custom/svg-image-resize.html

Issue 205263004: Convert svg repaint tests to pixel test only repaint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove fixedpos Created 6 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../fast/repaint/resources/repaint.js" type="text/javascript"></s cript> 4 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/java script"></script>
5 <script> 5 <script>
6 function repaintTest() { 6 function repaintTest() {
7 var wrapper = document.getElementById('wrapper'); 7 var wrapper = document.getElementById('wrapper');
8 wrapper.style.height = '200px'; 8 wrapper.style.height = '200px';
9 } 9 }
10 </script> 10 </script>
11 </head> 11 </head>
12 12
13 <body onload="runRepaintTest();"> 13 <body onload="runRepaintAndPixelTest();">
14 <!-- http://crbug.com/313083 14 <!-- http://crbug.com/313083
15 The red div should be obscured by SVG content after re-layout --> 15 The red div should be obscured by SVG content after re-layout -->
16 <div style="position: absolute; top: 100px; width: 100px; height: 100px; backg round-color: red;"></div> 16 <div style="position: absolute; top: 100px; width: 100px; height: 100px; backg round-color: red;"></div>
17 17
18 <div id="wrapper" style="position: absolute; top: 0px; width: 100px; height: 1 00px;"> 18 <div id="wrapper" style="position: absolute; top: 0px; width: 100px; height: 1 00px;">
19 <img style="width: 100%; height: 100%;" src="data:image/svg+xml;utf8, 19 <img style="width: 100%; height: 100%;" src="data:image/svg+xml;utf8,
20 <svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox = ' 0 0 10 10' preserveAspectRatio='xMaxYMax'> 20 <svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox = ' 0 0 10 10' preserveAspectRatio='xMaxYMax'>
21 <rect width='10' height='10' fill='green'/> 21 <rect width='10' height='10' fill='green'/>
22 </svg>"> 22 </svg>">
23 </div> 23 </div>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/svg-absolute-children.svg ('k') | LayoutTests/svg/custom/svg-image-resize-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698