Fix Document.Element(s)FromPoint

This commit is contained in:
Fernando Jiménez Moreno 2019-02-14 15:47:02 +01:00
parent 47872cdaa3
commit 8641866a50

View file

@ -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;
}