[whatwg] Experiments in end-tag attributes

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.

cheers,
Schuyler Duveen

[1] Firefox, Safari, Chromium linux trunk, IE8

Received on Tuesday, 6 October 2009 11:19:59 UTC