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

Side by Side Diff: LayoutTests/fast/css/resolve-inline-style-url-on-adopt.html

Issue 164803002: Handle CSSImageValue URLs in inline styles in templates correctly (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Removed template usage Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | LayoutTests/fast/css/resolve-inline-style-url-on-adopt-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <body>
3 <p>All four boxes below should be green</p>
4 <template><div style="background-image: url(resources/greenbox.png); width: 100p x; height: 100px; border: 1px solid black"></div><br></template>
5 <script>
6 var template = document.querySelector('template');
7 document.body.appendChild(template.content.cloneNode(true));
8 document.body.appendChild(document.importNode(template.content, true));
9
10 // Give templateDiv its own ElementData
11 var templateDiv = template.content.firstChild;
12 templateDiv.style.width = '99px';
13 templateDiv.style.width = '100px';
14
15 document.body.appendChild(template.content.cloneNode(true));
16 document.body.appendChild(document.importNode(template.content, true));
17 </script>
18 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/resolve-inline-style-url-on-adopt-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698