W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2007

[whatwg] <div> as a wrapper for inline content

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 04 Jan 2007 02:14:03 +0100
Message-ID: <op.tllu1ppl64w2qv@id-c0020>
On Thu, 04 Jan 2007 01:58:34 +0100, Ian Hickson <ian at hixie.ch> wrote:
> It depends if by "early adopters" you mean people who just change the
> DOCTYPE, or people who actually switch to using the new elements. We have
> to balance making life easier for early adopters with making life better
> on the long run.
>
> What's the use case for <div> elements containing inlines?

It seems to be mostly used for constructs HTML5 solves by having a native  
element for it, like:

   <div class="date">01-01-2007</div>

   <div><a href="..."><img src="..." alt="..."></a></div>

   ...

Early adopters, however, can't really use the new elements due to crazy  
parsing.


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Wednesday, 3 January 2007 17:14:03 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:31 UTC