Retarget result of shadowRoot.element(s)FromPoint

This commit is contained in:
Fernando Jiménez Moreno 2019-02-14 18:19:06 +01:00
parent 8641866a50
commit 07e2f41c34
3 changed files with 30 additions and 10 deletions

View file

@ -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![];
}