W3C home > Mailing lists > Public > www-style@w3.org > January 2003

RE: Rules for breaking at inline boundaries?

From: Michel Suignard <michelsu@microsoft.com>
Date: Fri, 31 Jan 2003 17:12:16 -0800
Message-ID: <9805B5E65CD0D0479D08B7EB832B369F06C642EE@red-msg-08.redmond.corp.microsoft.com>
To: "David Hyatt" <hyatt@apple.com>, <www-style@w3.org>

IMO,
As long as they are inflow (no weird positioning), the characters of the
various span should behave as a single run within the line and obey the
usual line breaking rules based on line-breaking opportunities. In the
case below there are no line breaking opportunities. If the characters
were all ideographs, you would have a line breaking opportunity for each
of them.

Michel

-----Original Message-----
From: David Hyatt [mailto:hyatt@apple.com] 
Sent: Friday, January 31, 2003 5:01 PM
To: www-style@w3.org
Subject: Rules for breaking at inline boundaries?



Is a user agent permitted to break at inline boundaries, or should a 
lack of whitespace mean that you are dealing with a single word?

For example (assume white-space: normal):

<span>D</span><span>a</span><span>v</span><span>e</span>

Is this a single word, "Dave", or can a user agent break the line in 
between any of the inlines?  If it is considered a single word, what 
happens if some of the <span>s have borders, margins or padding?

dave
(hyatt@apple.com)
Received on Friday, 31 January 2003 20:12:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:19 GMT