Open isellsoap opened 10 years ago
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 Wouldn't html
capture both in that situation? Why address the two?
@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?