You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, thanks for opening an issue. It’s possible (though unlikely) that something may exist outside the body, so I’ve been in the habit of always addressing both:
<!-- … --></head><pre>Error: something might show up here</pre><body><h1>Hello, world</h1><!-- … -->
It’s also more relevant in this project since the font-feature-settings styles might not cascade as expected.
If it’s causing problems for you, please let me know and I’d be happy to address it!
@kennethormandy You first example is invalid HTML. Why would you want to target such invalid use cases? If someone writes such markup they don’t deserve to be blessed with opentype features. :-)
Why do you address both the
html
and thebody
element for the root styles? Shouldn’t it be sufficient specifying just one of them?The text was updated successfully, but these errors were encountered: