Re: Fwd: Re: [css-text][css-flexbox] Let's just alias "nowrap" with "no-wrap"

On Oct 13, 2014 7:23 AM, "Brian Kardell" <bkardell@gmail.com> wrote:
> > On Oct 9, 2014 11:24 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:
> > >
> > > On Thu, Oct 9, 2014 at 7:31 PM, Brian Kardell <bkardell@gmail.com>
wrote:
> > > > The only one question is
> > > > which will cssom, etc report?
> > >
> > > We can just keep them as separate values that happen to mean the same
thing.
> >
> > That's not bad I guess, but it means if you're scripting something
you'd have to check both values.  On that end it seems inconvenient.
Anything to be done to improve that?

You can't avoid checking both anyway - if you ever look at el.style, for
example, both keywords will show up, because that's the specified style.
Only computed style would be affected by a merging.

Plus, if we did merge them, it would be in favor of "nowrap" for compat
reasons, which somewhat defeats the point.

~TJ

Received on Monday, 13 October 2014 16:20:36 UTC