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

Side by Side Diff: LayoutTests/inspector/elements/styles/resources/inject-stylesheet-iframe-data.html

Issue 1058723002: Remove testRunner.injectStyleSheet usage from layout tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update baseline Created 5 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 <html> 1 <html>
2 <head> 2 <head>
3 <style type="text/css" media="screen"> 3 <style type="text/css" media="screen">
4 body { background:green; } 4 body { background:green; }
5 </style> 5 </style>
6 <script> 6 <script>
7 function iframeOnload() 7 function iframeOnload()
8 { 8 {
9 window.parent.injectStyleSheet(window);
9 console.log("iframe loaded"); 10 console.log("iframe loaded");
10 } 11 }
11 </script> 12 </script>
12 </head> 13 </head>
13 14
14 <body onload="iframeOnload()" id="iframeBody"> 15 <body onload="iframeOnload()" id="iframeBody">
15 </body> 16 </body>
16 17
17 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698