Update web-platform-tests to revision e87f38097902e16348d4e17f4fe3bc2d0112bff1

This commit is contained in:
WPT Sync Bot 2018-03-17 21:12:30 -04:00
parent 2f8fa32e91
commit db5631a086
381 changed files with 11610 additions and 4232 deletions

View file

@ -0,0 +1,20 @@
<!doctype html>
<title>CSS Scoping Module Level 1 - Dynamic fallback content</title>
<link rel="author" href="mailto:emilio@crisal.io">
<link rel="help" href="https://drafts.csswg.org/css-scoping/#selectors-data-model">
<link rel="match" href="reference/green-box.html"/>
<p>Test passes if you see a single 100px by 100px green box below.</p>
<div id="host">
<div slot="myslot" style="width: 100px; height: 100px; background: green"></div>
</div>
<script>
let root = host.attachShadow({ mode: "open" });
root.innerHTML = `
<slot name="myslot"></slot>
<slot name="myotherslot">
FAIL
</slot>
`;
document.body.offsetTop;
host.firstElementChild.setAttribute("slot", "myotherslot");
</script>