You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When there is no <content> in the template, _useContent is false, so the light-dom children are ignored. Then the stamped DOM is combined with whatever was in light-dom, causing the annotation data to be incorrect.
Seems like we dealt with a flavor of this before, so I'm not sure if this came up anew because of changes around projection?
As I recall, the 'combining' of stamped and light-dom was an experimental concept. ShadowDOM proper does not work this way of course. For conformance we can replace instead of combine, or alternatively light DOM needs to be snarfed up any time there is a template.
We now create a localDom (shadyRoot) whenever localDom is created. This should that light dom nodes are properly accounted for in composition, and as a side effect of this, they should not get in the way of the annotator.
http://jsbin.com/nulupa/1/edit?html,output
If there's a newline between the opening and closing tags, I get an exception. Otherwise, there is no error.
The text was updated successfully, but these errors were encountered: