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

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

Issue 2718273002: Resolve background image's url if absolute url is empty (Closed)
Patch Set: Created 3 years, 9 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 function makeIframe() {
6 var iframe = document.getElementById('iframe');
7 iframe.contentDocument.body.innerHTML = `
8 <style>
9 .bg-img {
10 background: #00FF01;
11 width: 24px;
12 height:24px;
13 }
14 </style>
15 <div class='bg-img'></div>`;
16 }
17 </script>
18 </head>
19 <body onload="makeIframe()">
20 <iframe id="iframe"></iframe>
21 </body>
rune 2017/02/28 09:29:05 If you set the background on the iframe body in th
22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698