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

Side by Side Diff: LayoutTests/svg/as-image/svg-image-change-content-size.xhtml

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 <html xmlns="http://www.w3.org/1999/xhtml"> 1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head> 2 <head>
3 <script src="../../fast/repaint/resources/repaint.js" type="text/javascript"></s cript> 3 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/java script"></script>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 function repaintTest() { 5 function repaintTest() {
6 document.getElementById("contentBox").style.setProperty("width", "600px"); 6 document.getElementById("contentBox").style.setProperty("width", "600px");
7 } 7 }
8 </script> 8 </script>
9 <style> 9 <style>
10 img, div { 10 img, div {
11 width: 420px; 11 width: 420px;
12 height: 420px; 12 height: 420px;
13 } 13 }
14 div { 14 div {
15 border: red 1px solid; 15 border: red 1px solid;
16 } 16 }
17 </style> 17 </style>
18 </head> 18 </head>
19 <body onload="runRepaintTest()"> 19 <body onload="runRepaintAndPixelTest()">
20 <p>The svg image contained in the div element (red box) should not change it s appearance when width is resized to be larger</p> 20 <p>The svg image contained in the div element (red box) should not change it s appearance when width is resized to be larger</p>
21 <div id="contentBox"> 21 <div id="contentBox">
22 <img src="../as-background-image/resources/butterfly.svg"/> 22 <img src="../as-background-image/resources/butterfly.svg"/>
23 </div> 23 </div>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698