mnater / Hyphenopoly

Hyphenation for node and Polyfill for client-side hyphenation.
http://mnater.github.io/Hyphenopoly/
MIT License
694 stars 44 forks source link

feat: add support for shadowDOM #131

Closed mnater closed 4 years ago

mnater commented 4 years ago

Problem: querySelectorAll doesn't find elements in shadowDOM.

Solution: Implement option "processShadows" (default false) and search elements in shadowRoot if set to true.

Notes: Fixes #130, [skip travis-ci]