Update web-platform-tests to revision fb15e14b52049f952612623ee0d7fb7a620a57c9

This commit is contained in:
WPT Sync Bot 2018-11-01 21:34:37 -04:00
parent 200cc8aa6b
commit 4a942c982f
141 changed files with 2563 additions and 1589 deletions

View file

@ -7,6 +7,7 @@
<div id="host1"><span></span></div>
<div id="host2"><span></span></div>
<div id="host3"><span></span></div>
<div id="host4"><span></span></div>
<style>
#host3 > span::before { content: "PASS" }
</style>
@ -19,4 +20,12 @@
attachShadowWithSlottedStyle(host1, "::slotted(span)::before { content: 'PASS' }");
attachShadowWithSlottedStyle(host2, "::slotted(span)::after { content: 'PASS' }");
attachShadowWithSlottedStyle(host3, "::slotted(span)::before { content: 'FAIL'; color: green }");
attachShadowWithSlottedStyle(host4, `
::slotted(span)::before { content: 'PASS'; color: red }
::slotted(.foo)::before { color: green }
`);
onload = function() {
host4.offsetTop;
host4.firstElementChild.classList.add("foo");
}
</script>