web-platform-tests/wpt

Test if alternative stylesheet is blocking scripts

Open

#4,948 opened on Feb 21, 2017

View on GitHub
 (4 comments) (0 reactions) (0 assignees)HTML (4,581 stars) (2,898 forks)batch import
good first issuehtmltype:missing-coverage

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>

Contributor guide

Test if alternative stylesheet is blocking scripts · web-platform-tests/wpt#4948 | Good First Issue