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

[whatwg] Tag Soup: Blocks-in-inlines

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 26 Jan 2006 01:38:40 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0601260136340.2856@dhalsim.dreamhost.com>
On Wed, 25 Jan 2006, liorean wrote:
> 
> [...]

Interesting summary of the possibilities.


> Well, the obvious problems with [not caring about creating duplicate IDs 
> in the face of misnested tags] are for things like ::before in CSS or 
> getElementById in the DOM. We have two different #Y elements, not a 
> single one.

I actually don't think that's a big deal. In practice both Safari and 
Mozilla do this and it hasn't been a big problem.


> Anyway, what I'm saying here is that there are a lot of different ways 
> to tackle this, and none of them does the right thing in all situations. 
> Particularly the DOM is hard to get a good representation of, because 
> the source breaks the single parent relation. I don't know which one 
> would be best from a backwards compatibility perspective, but I'd like 
> to see as simple a solution as possible.

Agreed.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 25 January 2006 17:38:40 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:44 UTC