named-slots icon indicating copy to clipboard operation
named-slots copied to clipboard

Should polyfill host property on shadow root and not expose parentNode

Open lukebatchelor opened this issue 8 years ago • 0 comments

To match the native implementations, shadowRoots should not expose their parentNode property (should return null) but they should expose a host property which would point to the non-polyfilled parentNode.

Native

screenshot from Chrome 53 (native v1 support)

Polyfill

screenshot from firefox using polyfill

lukebatchelor avatar Sep 29 '16 06:09 lukebatchelor