3 ms·
> I’m not sure if there’s a more recent version somewhere, but I couldn’t find it? It’s in the HTML spec now, https://html.spec.whatwg.org/multipage/rendering.
by chrismorgan 4y ago
> I’m not sure if there’s a more recent version somewhere, but I couldn’t find it?
It’s in the HTML spec now, https://html.spec.whatwg.org/multipage/rendering.html https://html.spec.whatwg.org/multipage/rendering.html, broken up into smaller pieces, and with more prose around it.
There’s a lot more of it than the old one, partly due to newer stuff, partly due to CSS being able to express things that it couldn’t in the past, and partly due to covering stuff that was just missing back when it was part of the CSS spec (e.g. nobr clearly and obviously implies white-space: nowrap, but that was missing from the old user-agent stylesheet).
Some parts end up prose descriptions instead of simple rules, too, as is seen in the titular body margin, which is described in <https://html.spec.whatwg.org/multipage/rendering.html#the-page https://html.spec.whatwg.org/multipage/rendering.html#the-pa...> as coming from several attributes, with 8px being a fallback.