mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Retarget result of shadowRoot.element(s)FromPoint
This commit is contained in:
parent
8641866a50
commit
07e2f41c34
3 changed files with 30 additions and 10 deletions
|
@ -155,7 +155,7 @@ impl DocumentOrShadowRoot {
|
|||
let point = &Point2D::new(x, y);
|
||||
let viewport = self.window.window_size().initial_viewport;
|
||||
|
||||
if has_browsing_context {
|
||||
if !has_browsing_context {
|
||||
return vec![];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue