Re: [csswg-drafts] CSS Regex Selector

@notoriousb1t I don't disagree that heading elements are useful, but 
the paradigm of...
 ```
<section>
    <h1></h1>
    <section>
        <h1></h1>
    </section>
</section>
```
...makes having numbered heading elements redundant for anything other
 than subheadings since the heading level can be inferred from the 
number of sections in which a heading element is nested. In those 
cases, `h1` might as well be `h`; the element is only numbered for 
historical reasons.

In modern HTML, the only in case where numbered headings are useful 
are in `hgroup` elements where `h2` et al can be used to mark 
subheadings. In practice, subheadings are limited to one to two 
levels, and styling `h4`/`h5`/`h6` elements will be superfluous.

And even the latter case I think shouldn't exist. It'd be better to 
infer subheadings via element nesting by doing something like 
repurposing the `hgroup` element:
```
<hgroup>
    <h1></h1>
    <hgroup>
        <h1></h1>
    </hgroup>
<hgroup>
```

-- 
GitHub Notification of comment by patrickdark
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/1010#issuecomment-279701640
 using your GitHub account

Received on Tuesday, 14 February 2017 13:04:24 UTC