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

Re: Rules for breaking at inline boundaries?

From: David Hyatt <hyatt@apple.com>
Date: Fri, 31 Jan 2003 17:31:53 -0800
Cc: www-style@w3.org
To: Michel Suignard <michelsu@microsoft.com>
Message-Id: <F1538FBA-3584-11D7-8112-00039382AC6C@apple.com>

What happens when I put left/right borders/margins/padding on the 
spans?  Visually they're going to look distinct now.  Do I still treat 
them as a single run?


On Friday, January 31, 2003, at 05:12 PM, Michel Suignard wrote:

> 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:32:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:05 UTC