- From: Ian Hickson <ian@hixie.ch>
- Date: Mon, 12 Oct 2009 01:13:40 +0000 (UTC)
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. `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 11 October 2009 18:13:40 UTC