necolas / normalize.css

A modern alternative to CSS resets
http://necolas.github.io/normalize.css/
MIT License
52.28k stars 10.67k forks source link

Video captions to match body font family #870

Closed chrislachance closed 2 years ago

chrislachance commented 2 years ago

By default, web captions use a sans-serif font (which is industry standard). ::cue{font-family:inherit} will allow captions to inherit the default base font-family instead, normalizing the typeface to expected brand readability defaults.

chrislachance commented 2 years ago

Need to do more exploration here. Only Firefox respects this. MacOS Safari & Chromium ignore 'inherit'.

chrislachance commented 2 years ago

The only way to make this uniform is to set ::cue to a specific font value, which probably should be set along with :root. This will need to be a manual dev/designer choice.

All browsers besides Firefox break the spec and ignore 'inherit'.