gecko-dev/layout/style/crashtests/1639533.html
Emilio Cobos Álvarez b50a39c2d3 Bug 1639533 - Fix a no-longer valid assumption in pseudo-element matching / invalidation code. r=heycam
After bug 1632647, we can have pseudo-classes inside :not / :is /
:where, which the invalidation and matching code weren't handling.

Add a few tests for this stuff working as expected.

Differential Revision: https://phabricator.services.mozilla.com/D76160
2020-05-20 23:53:34 +00:00

16 lines
291 B
HTML

<!doctype html>
<style>
.tweak ::-moz-range-thumb:is(:hover) {
background: red;
}
</style>
<div>
<input type=range>
</div>
<script>
onload = function() {
document.querySelector("div").getBoundingClientRect();
document.querySelector("div").classList.add("tweak");
}
</script>