| Index: LayoutTests/fast/css/resolve-inline-style-url-on-adopt.html
|
| diff --git a/LayoutTests/fast/css/resolve-inline-style-url-on-adopt.html b/LayoutTests/fast/css/resolve-inline-style-url-on-adopt.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1f8dc173880b9cb6b5fadeb534ca2d4ec2fdb9fb
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/css/resolve-inline-style-url-on-adopt.html
|
| @@ -0,0 +1,18 @@
|
| +<!DOCTYPE html>
|
| +<body>
|
| +<p>All four boxes below should be green</p>
|
| +<template><div style="background-image: url(resources/greenbox.png); width: 100px; height: 100px; border: 1px solid black"></div><br></template>
|
| +<script>
|
| +var template = document.querySelector('template');
|
| +document.body.appendChild(template.content.cloneNode(true));
|
| +document.body.appendChild(document.importNode(template.content, true));
|
| +
|
| +// Give templateDiv its own ElementData
|
| +var templateDiv = template.content.firstChild;
|
| +templateDiv.style.width = '99px';
|
| +templateDiv.style.width = '100px';
|
| +
|
| +document.body.appendChild(template.content.cloneNode(true));
|
| +document.body.appendChild(document.importNode(template.content, true));
|
| +</script>
|
| +</body>
|
|
|