Update web-platform-tests to revision 386d27678c48bf468b8d374e2ba718e32185a5b7

This commit is contained in:
WPT Sync Bot 2019-04-11 22:38:06 -04:00
parent c24420ddbe
commit dd79cdc697
32 changed files with 336 additions and 167 deletions

View file

@ -0,0 +1,3 @@
<!doctype html>
<title>CSS Test: Reference</title>
<p style="color:green">This text should be green.</p>

View file

@ -0,0 +1,17 @@
<!doctype html>
<html class="reftest-wait">
<title>CSS Test: Re-slotted text node inheritance</title>
<link rel="help" href="https://drafts.csswg.org/css-scoping/#slotted-pseudo">
<link rel="match" href="reference/green-text.html">
<script src="/common/reftest-wait.js"></script>
<p id="host">This text should be green.</p>
<script>
const root = host.attachShadow({mode:"open"});
root.innerHTML = `
<slot style="color:green" name="no-match"></slot>
<slot style="color:red"></slot>
`;
host.offsetTop;
root.querySelector("slot").removeAttribute("name");
takeScreenshot();
</script>