W3C home > Mailing lists > Public > www-html@w3.org > April 2003

Re: Getting <l> right (Was: Unicode line and paragraph separators)

From: Toby A Inkster <tobyink@goddamn.co.uk>
Date: Sun, 6 Apr 2003 13:30:06 +0100
To: William F Hammond <hammond@csc.albany.edu>
Cc: www-html@w3.org
Message-ID: <20030406123006.GA21684@ophelia.goddamn.co.uk>
On Sat, Apr 05, 2003 at 10:38:55PM -0500, William F Hammond wrote:
| Finally, a non bogus "l" has nothing at all to do with replacing "br".
| "br" is still needed occasionally when one needs to punt -- such as
| when a long head, whether the old "h1" or new "h", is susceptible
| to a bad split.  It is simply not sensible to propose that the content
| model for "h1" or "h" contain "l".

What about:

Of course, this way yo'll give yourself all sorts of problems dealing with 
different browser window widths -- just as you would have with <br /> or <l /> 
-- it's simply not a good idea to specify hard and fast line breaks for purely 
presentational reasons such as this.
| And while it is not sensible to allow "l" to be mixed in "p" with
| children other than "l", it is sensible to permit "br" in "p" for
| occasional use.

  Here is a paragraph <l>that contans a line</l> and some other stuff.

Could be rendered in either of the following ways:

  Here is a paragraph
  that contans a line
  and some other stuff.

  is a
  that contans a line

The important thing is that the words "that contans a line" appear as a line. 
How the browser chooses to display the rest is up to it.

| "br" should be left in XHTML forever.  

Nothing lasts forever.

Toby A Inkster BSc (Hons) ARCS | mailto:tobyink@goddamn.co.uk | pgp:0x6A2A7D39
    aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:tobyink@a-message.de
            http://www.goddamn.co.uk/tobyink/ | "You've got spam!"

Received on Sunday, 6 April 2003 08:30:17 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:03 UTC