W3C home > Mailing lists > Public > www-style@w3.org > April 2012

Re: [css3-text] renaming 'text-wrap: none' to 'text-wrap: nowrap'

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sun, 29 Apr 2012 08:43:06 -0700
Message-ID: <CAAWBYDAghC6YQKOKbVhG=0oFUD=nDXHs2U8hZyVcicucC5aHgA@mail.gmail.com>
To: Brad Kemper <brad.kemper@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On Sat, Apr 28, 2012 at 9:57 PM, Brad Kemper <brad.kemper@gmail.com> wrote:
> On Apr 20, 2012, at 10:55 AM, Tab Atkins Jr. wrote:
>> On Fri, Apr 20, 2012 at 8:32 AM, Brad Kemper <brad.kemper@gmail.com> wrote:
>>> 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>, &nbsp;), 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' .
>>
>> "nowrap" not having a dash is really confusing, and I'd prefer to
>> change flex-wrap (and text-wrap) to both be "no-wrap", and just be
>> inconsistent with white-space.
>
> That might be OK to, but then maybe we could also make it "no-wrap" for white-space, and allow "nowrap" as an alias for "no-wrap" in "white-space"only (just for backwards compatibility).

+1.  Let's push everything back over to no-wrap.

~TJ
Received on Sunday, 29 April 2012 15:43:50 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:52 GMT