Does not work with ShadowDom/ShadowRoot.
blahblehblah opened this issue · comments
Use case: description, code
Expected behavior
Actual behavior (stack traces, console logs etc)
Library version
Browsers
- Chrome 49+
- Firefox 45+
Managed to repro with v2.13.1 - https://jsfiddle.net/k7dfx3hy/1/. Doesn't throw an error but doesn't work either.
There's a nice example of shadow DOM in relative-time
tags over at https://github.github.io/relative-time-element/examples/.
This library clones the fallback but picks up styles like width
and height
for the rendered shadow root.