- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Fri, 20 Apr 2012 08:32:46 -0700
- To: fantasai <fantasai.lists@inkedblade.net>
- Cc: "www-style@w3.org" <www-style@w3.org>
On Apr 19, 2012, at 8:37 PM, fantasai <fantasai.lists@inkedblade.net> wrote: > I've just checked in a change to rename the 'none' value of 'text-wrap' to > 'nowrap' to be consistent with Flexbox, per > http://lists.w3.org/Archives/Public/www-style/2012Feb/1423.html > > If anyone has a concern about this, please speak up. :) When I've used this value for white-space, I've had a hard time trying to remember if there is a dash or not. The property name has one, but the value doesn't. But other white-space values do have a dash (pre-wrap, pre-line). Further confusing the issue is that HTML talks about breaking instead of wrapping (<nobr>, ), except on table cells (<td nowrap>). And now CSS3 Text has properties for wrapping and for breaking. It is a confusing, hard to remember mess. But that's where we are now and it does make sense for 'text-wrap' to be consistent with the 'white-space' value of 'text-wrap' . A separate thing that will be hard to remember is how 'white-space', 'text-wrap', 'line-break' (and, I suppose, 'white-space-collapse') all interact. Can't 'text-wrap' and 'line-break' be combined into one 'text-wrap' property? An extra benefit of doing so is that 'wrap' would consistently be the term used for how text wraps to new lines at normal opportunities, and 'break' would be used for how words get split.
Received on Friday, 20 April 2012 15:33:21 UTC