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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/as-object/nested-embedded-svg-size-changes-no-layout-triggers-1.html

Issue 1972273002: Let repaint tests test pixels by default (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
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/text-based-repaint.js"></script> 3 <script src="../../fast/repaint/resources/repaint.js"></script>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 function repaintTest() { 5 function repaintTest() {
6 document.getElementsByTagName("object")[0].setAttribute("style", "border: 1p x red solid; width: 400px; height: 200px"); 6 document.getElementsByTagName("object")[0].setAttribute("style", "border: 1p x red solid; width: 400px; height: 200px");
7 } 7 }
8 </script> 8 </script>
9 </head> 9 </head>
10 <body onload="runRepaintAndPixelTest()" style="margin: 0px"> 10 <body onload="runRepaintTest()" style="margin: 0px">
11 11
12 <!-- This test is the same as nested-embedded-svg-size-changes.html but doesn't do any query of the computed style to avoid triggering any layouts --> 12 <!-- This test is the same as nested-embedded-svg-size-changes.html but doesn't do any query of the computed style to avoid triggering any layouts -->
13 <object data="resources/nested-embedded-svg-size-changes-target-no-layout-trigge rs-1.html"></object> 13 <object data="resources/nested-embedded-svg-size-changes-target-no-layout-trigge rs-1.html"></object>
14 14
15 </body> 15 </body>
16 </html> 16 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698