Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<title>Invalidation works properly across siblings on different slots</title>
<link rel="match" href="invalidate-sibling-different-slots-ref.html">
<style>
.x { display: table-header-group; }
.x + * { color: green }
</style>
<details open="">
<summary id="a">Main summary</summary>
<summary>Should be green</summary>
</details>
<script>
onload = function() {
let a = document.getElementById("a");
a.getBoundingClientRect();
a.setAttribute("class", "x")
a.getBoundingClientRect();
};
</script>