Re: header/footer in header/footer

Hi Matjas, sorry for the tardy reply,

Your example looks like a reasonable use case.

I found a bug related to this and have re-opened
https://www.w3.org/Bugs/Public/show_bug.cgi?id=19054

feel free to add comment there, will look into it more next month

--

Regards

SteveF
HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>


On 17 June 2013 16:51, Niels Matthijs
<niels.matthijs@internetarchitects.be>wrote:

> Hi guys,****
>
> ** **
>
> After validating my html I noticed that it was not allowed to nest
> headers/footers in headers/footers. ****
>
> I was wondering why this restriction was set. Even though it might not be
> a very common depending on your style of html, it created quite a lot of
> errors for me.****
>
> ** **
>
> A simple use case: list of news items in a fat footer:****
>
> ** **
>
> <footer>****
>
>                 <section class=”list news”>****
>
>                                <div class=”main”>****
>
>                                                <article class=”newsItem”>*
> ***
>
>                                                                <header>***
> *
>
>
>                 <h1>news heading</h1>****
>
>
> <div class=”meta”>[fe date]</div>****
>
>
> <div class=”image”>...</div>****
>
>                                                                </header>**
> **
>
>                                                                <div
> class=”main”>****
>
>
> <div class=”abstract”>....</div>****
>
>                                                                </div>****
>
>                                                </article>****
>
>                                                .....****
>
>                                </div>****
>
>                                <footer><div class=”more”><a href=”#”>read
> all</a></div></footer>****
>
>                 </section>****
>
> </footer>****
>
> ** **
>
> Might be overkill for some people, but I like the consistency of the code
> + its future-proofness. Anyway, I don’t see much use constricting the use
> of header/footer this harshly. Any input?****
>
> ** **
>
> Greets,****
>
> ** **
>
> *Niels Matthijs* - Front-End Developer
> niels.matthijs@internetarchitects.be ****
>
> [image: Internet Architects]****
>
> Internet Architects
> Your strategic online partner ****
>
> Koningin Astridplein 41 - 2018 Antwerpen
> +32 3 234 34 74 - website <http://www.internetarchitects.be> - facebook<http://www.facebook.com/pages/Internet-Architects/81743786433>
> ****
>
> ** **
>
> ** **
>

Received on Thursday, 25 July 2013 07:19:07 UTC