Re: Shorthands resetting properties they cannot set

Le 02/12/2017 à 00:44, Tab Atkins Jr. a écrit :

> We've got a number of properties that this applies to, and several of
> them can't be changed at this point, so it's kinda a moot point, no?

I don't think so.

Tweaking the behaviour of 'border' does not seem to me difficult; the
usage of border-image seems extremely low, if not negligible. This is
one of the properties the WG spent considerable time on but that did
not really take off because of its complexity (slicing the border image
and completely understanding how it's stretched or repeated is painful
and too expensive for the result, as designers told me during the dotCSS
conference). We can probably easily replace the 'border-image' reset
by a warning in the spec with infinitesimal impact on the Web.

For other shorthand properties resetting longhands they don't set: based
on the feedback I am collecting, this is not a "moot point" but a major
subject of discontentment for CSS authors. In short: we failed because,
once again, we ditched editability and maintainability thinking only
of browsing and not production, chose the wrong solution. It impacts
quite a lot our users' production. Rule #1: don't upset users.
So before declaring things impossible, we should probably study how a
change would impact the Web. I'm sure Google can collect interesting
metrics for each shorthand/longhand impacted?

</Daniel>

Received on Sunday, 3 December 2017 09:01:22 UTC