mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
b50a39c2d3
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
16 lines
291 B
HTML
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>
|