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

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

Issue 1114373002: De-flake svg/as-object/nested-embedded-svg-size-change-no-layout-triggers-1.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 <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/text-based-repaint.js"></script>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 window.testIsAsync = true; // The sub-document will call finishRepaintTest() of this window.
6 function repaintTest() { 5 function repaintTest() {
7 var object1 = document.getElementsByTagName("object")[0]; 6 document.getElementsByTagName("object")[0].setAttribute("style", "border: 1p x red solid");
8 object1.setAttribute("data", "resources/embedded-svg-size-changes-no-layout- triggers.svg");
9 object1.setAttribute("style", "border: 1px red solid");
10 } 7 }
11 </script> 8 </script>
12 </head> 9 </head>
13 <body onload="runRepaintAndPixelTest()" style="margin: 0px"> 10 <body onload="runRepaintAndPixelTest()" style="margin: 0px">
14 11
15 <!-- This test is the same as 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 embedded-svg-size-changes.html but doesn't do any query of the computed style to avoid triggering any layouts -->
16 <object></object> 13 <object data="resources/embedded-svg-size-changes-no-layout-triggers.svg"></obje ct>
17 </body> 14 </body>
18 </html> 15 </html>
OLDNEW
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/svg/as-object/embedded-svg-size-changes-no-layout-triggers-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698