[whatwg] HTML 5: The l (line) element

Lachlan Hunt lachlan.hunt at lachy.id.au
Tue Feb 19 02:32:45 PST 2008


Christoph Päper wrote:
> Dave Hodder:
>> Please consider adding the 'l' element (as found in XHTML 2).
> 
> I think this has been discussed (much) earlier. Anyhow.
> 
> We could also consider to reuse |br| for this purpose and thus make it magic,
> i.e. it is empty by default and works like it has always done, but if "</br>"
> is encountered it turns the preceding "<br...>" (but not "<br.../">) on the
> same nesting level from an empty into a start tag.

That's not possible.  </br> already has magic processing, at least in 
quirks mode.  It's treated the same as <br>.

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/



More information about the whatwg mailing list