diff options
author | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-02-14 15:47:02 +0100 |
---|---|---|
committer | Fernando Jiménez Moreno <ferjmoreno@gmail.com> | 2019-04-26 10:17:47 +0200 |
commit | 8641866a505733686e24d588ae8d5c9e86e2bcfe (patch) | |
tree | 6f1123028aac4546fecf09248682db4fdd952d38 /components/script/dom/documentorshadowroot.rs | |
parent | 47872cdaa38792f0bb04fe368e8463924fd3284a (diff) | |
download | servo-8641866a505733686e24d588ae8d5c9e86e2bcfe.tar.gz servo-8641866a505733686e24d588ae8d5c9e86e2bcfe.zip |
Fix Document.Element(s)FromPoint
Diffstat (limited to 'components/script/dom/documentorshadowroot.rs')
-rw-r--r-- | components/script/dom/documentorshadowroot.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/documentorshadowroot.rs b/components/script/dom/documentorshadowroot.rs index 70e49ca5ad5..eda3432dc5a 100644 --- a/components/script/dom/documentorshadowroot.rs +++ b/components/script/dom/documentorshadowroot.rs @@ -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; } |