mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 15:24:57 +00:00

Before this change we were ignoring nested paintables inside inline paintable during hit-testing, but now we recurse into subtree. Fixes https://github.com/SerenityOS/serenity/issues/22927
15 lines
431 B
HTML
15 lines
431 B
HTML
<script src="../include.js"></script>
|
|
<body>
|
|
<span id="outer">
|
|
<span id="inner">
|
|
<span id="name">lang</span>
|
|
<span id="value">"en"</span>
|
|
</span>
|
|
</span>
|
|
<script type="text/javascript">
|
|
test(() => {
|
|
printElement(internals.hitTest(10, 10).node.parentNode);
|
|
printElement(internals.hitTest(50, 10).node.parentNode);
|
|
});
|
|
</script>
|
|
</body>
|