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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/backgrounds/background-image-relative-url-in-iframe.html

Issue 2808013003: Deflake background-image-relative-url-in-iframe.html (Closed)
Patch Set: Created 3 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
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <iframe id="iframe"></iframe> 2 <iframe id="iframe"></iframe>
3 <script> 3 <script>
4 var iframe = document.getElementById('iframe'); 4 var iframe = document.getElementById('iframe');
5 iframe.contentDocument.body.innerHTML = ` 5 iframe.contentDocument.body.innerHTML = `
6 <link rel='preload' href='./resources/green-24x24.png' as='image'>
rune 2017/04/11 07:43:26 Will rel=preload guarantee that the resource will
suzyh_UTC10 (ex-contributor) 2017/04/12 05:16:26 The preload spec says "The preload link element mu
6 <style> 7 <style>
7 .bg-img { 8 .bg-img {
8 background: url('./resources/green-24x24.png') no-repeat; 9 background: url('./resources/green-24x24.png') no-repeat;
9 width: 24px; 10 width: 24px;
10 height:24px; 11 height:24px;
11 } 12 }
12 </style> 13 </style>
13 <div class='bg-img'></div>`; 14 <div class='bg-img'></div>`;
14 </script> 15 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698