[whatwg] Should default styles for h1-h6 match the outlining algorithm?

L. David Baron dbaron at dbaron.org
Thu Apr 29 17:55:39 PDT 2010


On Thursday 2010-04-29 17:37 -0700, Tab Atkins Jr. wrote:
> Hmm?  Yes it does.  It's not in the initial block, but in the next one
> down, because it has to explain what it means to have the "x" selector
> there.  It similarly defines the margins for <h1>s based on nesting
> depth in the appropriate section.

Ah, thanks.  Not sure how I missed that.  The "x" selector is easy to
implement with :-moz-any() [ http://dbaron.org/log/20100424-any ].

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/


More information about the whatwg mailing list