mfreed7 / declarative-shadow-dom

Declarative Shadow DOM feature development
192 stars 9 forks source link

Typos in # Feature Detection and Polyfilling #21

Closed estherbrunner closed 1 year ago

estherbrunner commented 1 year ago

template.hasOwnProperty('shadowRootMode') needs to be camelCase, otherwise it is not recognized in Chrome and Safari which do support the feature already. See: https://developer.chrome.com/articles/declarative-shadow-dom/

Missing ending ');'