mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision fb15e14b52049f952612623ee0d7fb7a620a57c9
This commit is contained in:
parent
200cc8aa6b
commit
4a942c982f
141 changed files with 2563 additions and 1589 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue