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

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:
<h1>
  Here&nbsp;Is&nbsp;A&nbsp;Very&nbsp;Long&nbsp;Heading 
  And&nbsp;I&nbsp;Want&nbsp;To&nbsp;Choose&nbsp;Where&nbsp;The&nbsp;Line&nbsp;Breaks
</h1>

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.

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

Could be rendered in either of the following ways:

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

  Here 
  is a
  para-
  graph
  that contans a line
  and 
  some
  other
  stuff.

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!"
                             playing://(nothing)

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