jsxtools / cqfill

Polyfill for CSS Container Queries
402 stars 4 forks source link

Lacking CH unit support #6

Open chrislachance opened 2 years ago

chrislachance commented 2 years ago

Just a quick heads up, looks like the polyfill may be lacking the CH unit's support. I typically use this for max character length legibility (https://www.w3.org/TR/WCAG21/#visual-presentation), and noticed it wasn't supported currently. Falling back to REM for now is sufficient (but not exact - https://chrislachance.com/respecting-font-preferences-rem-isnt-the-answer). Figured I'd raise the issue any ways.

chrislachance commented 2 years ago

By the way, I am so stoked for this polyfill. I'm sure these things can be pretty thankless to maintain. Thanks so much regardless of response!