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

Side by Side Diff: LayoutTests/svg/custom/object-sizing-no-width-height-change-content-box-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, 8 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 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xh tml-basic/xhtml-basic11.dtd"> 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.1//EN" "http://www.w3.org/TR/xh tml-basic/xhtml-basic11.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head> 4 <head>
5 <script src="../../fast/repaint/resources/repaint.js"></script> 5 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
6 <style> 6 <style>
7 object { 7 object {
8 background: red; 8 background: red;
9 } 9 }
10 </style> 10 </style>
11 </head> 11 </head>
12 <body onload="runRepaintTest()"> 12 <body onload="runRepaintAndPixelTest()">
13 <!-- No red should be visible after the resizing --> 13 <!-- No red should be visible after the resizing -->
14 <div id="contentBox" style="width: 200px; height: 400px; border: 1px solid r ed;"> 14 <div id="contentBox" style="width: 200px; height: 400px; border: 1px solid r ed;">
15 <object data="resources/embedded.svg" width="100%" height="100%" type="i mage/svg+xml"/> 15 <object data="resources/embedded.svg" width="100%" height="100%" type="i mage/svg+xml"/>
16 </div> 16 </div>
17 17
18 <script> 18 <script>
19 function repaintTest() { 19 function repaintTest() {
20 document.getElementById("contentBox").style.setProperty("width", "40 0px"); 20 document.getElementById("contentBox").style.setProperty("width", "40 0px");
21 } 21 }
22 </script> 22 </script>
23 </body> 23 </body>
24 </html> 24 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/mask-invalidation.svg ('k') | LayoutTests/svg/custom/pending-resource-after-removal.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698