mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 15:17:36 +00:00
LibWeb: Do paint-order traversal in Document::element_from_point()
Specify callback for hit-test function to identify closest DOM element, excluding text nodes. Add a previously failing test case.
This commit is contained in:
parent
9d2809146f
commit
88ad871e2b
3 changed files with 48 additions and 4 deletions
1
Tests/LibWeb/Text/expected/DOM/Element-from-point-2.txt
Normal file
1
Tests/LibWeb/Text/expected/DOM/Element-from-point-2.txt
Normal file
|
@ -0,0 +1 @@
|
|||
hello <DIV id="c" >
|
Loading…
Add table
Add a link
Reference in a new issue