Open romancow opened 7 years ago
We could check for support of the shadow DOM and provide an option to create/attach a DimDom element as that instead of as a document fragment.
Would using two different possible implementation like this cause other complications?
Would definitely need to make this optional, even if the browser supports a shadow DOM, because I'm pretty sure it would break SVG. Maybe I way to even set shadow/fragment per namespace?
We could check for support of the shadow DOM and provide an option to create/attach a DimDom element as that instead of as a document fragment.
Would using two different possible implementation like this cause other complications?