[whatwg] Tag Soup: Blocks-in-inlines

Ian Hickson ian at hixie.ch
Wed Jan 25 17:38:40 PST 2006


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.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list