blob: fd11ed8ca68d6294459376f81d20a2ba4f277d6f [file] [log] [blame]
<!DOCTYPE html>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<style>
.a + .b { color: pink }
</style>
<div id="host"></div>
<script>
test(() => {
var root = host.attachShadow({mode:"open"});
root.innerHTML = "<span></span><span></span>";
var span = root.firstChild;
document.documentElement.offsetTop;
span.setAttribute("class", "a");
span.remove();
}, `Scheduling a sibling invalidation set on shadow root before remove()
should not cause a DCHECK failure`);
</script>