Open Bug 1445227 Opened 2 years ago Updated 19 days ago
Pointer Interactable Paint Tree does not return elements in a shadow DOM
When looking at shadow dom support in Marionette we are not doing the right things to spot elements in the shadow dom. 1) https://searchfox.org/mozilla-central/source/testing/marionette/element.js#1193-1197 we are using shadowRoot as setter when its only a getter 2)https://github.com/w3c/csswg-drafts/issues/556 says elements from point should return elements in the shadow dom but should return the host instead
Initial changes were added in bug 1359054
I don’t think we should assume that this is a regression, considering that test_shadow_dom.py was disabled due to https://bugzilla.mozilla.org/show_bug.cgi?id=1293844 and https://bugzilla.mozilla.org/show_bug.cgi?id=1387678. I think it is likely that this is a case of the Shadow DOM implementation in Gecko diverging from the earlier support for it in Marionette and a lack of test coverage/continued support for Shadow DOM in Marionette.
You need to log in before you can comment on or make changes to this bug.