[whatwg] Experiments in end-tag attributes

Ian Hickson ian at hixie.ch
Sun Oct 11 18:13:40 PDT 2009


On Tue, 6 Oct 2009, Schuyler Duveen wrote:
>
> The html-parsing section of the spec and the browsers I've tested [1] 
> seem to be doing the right thing, however I'd love if this was noted as 
> a conforming pattern.  Probably more testing is prudent.
> 
> PROBLEM:
> <p id="something-here">
>   [ massive bloviation and many inner tags
>   <p>including
> Not-well indented p-tags
> </p>
>    </p> <!-- ad hoc solution! comment: id="something-here" -->
> 
> MORE ELEGANT ALTERNATIVE:
> <p id="something-here">
>  ....
> </p id="something-here">
> 
> If it was noted as specifically conformant, this could possibly help
> parsers in some cases, including the human variety.

I'd rather not do this, as there is no good way to map this to XML or the 
DOM as far as I can tell.

-- 
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