web-platform-tests/wpt

Test if alternative stylesheet is blocking scripts

Open

#4.948 aberto em 21 de fev. de 2017

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)HTML (2.898 forks)batch import
good first issuehtmltype:missing-coverage

Métricas do repositório

Stars
 (4.581 stars)
Métricas de merge de PR
 (Mesclagem média 5d 23h) (682 fundiu PRs em 30d)

Description

See https://github.com/w3c/web-platform-tests/pull/4828

https://html.spec.whatwg.org/#interactions-of-styling-and-scripting

Something like

<link rel="alternate stylesheet" title="x" href="foo.css?pipe=trickle(d2)">
<script>
assert_equals(document.querySelector('link').sheet.cssRules[0].zIndex, 10);
</script>

Guia do colaborador