mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix Document.Element(s)FromPoint
This commit is contained in:
parent
47872cdaa3
commit
8641866a50
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,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 None;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue