W3C home > Mailing lists > Public > www-style@w3.org > December 2017

Re: Shorthands resetting properties they cannot set

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Fri, 15 Dec 2017 10:47:54 +0100
To: Florian Rivoal <florian@rivoal.net>
Cc: www-style@w3.org
Message-ID: <6db88861-7d01-1bc2-6c25-a8430e9d0e36@disruptive-innovations.com>
Le 15/12/2017 à 10:22, Florian Rivoal a écrit :

> 1) Should shorthands reset related longhands if even if they cannot set them?
> I say yes in the cases where not resetting the longhands would mean the shorthand wouldn't do the expected job.
> 
> If i say "border: thin solid red" or "background: url("foo.jpg")" I want a solid thin red border or a foo.jpg background. I want that to remain true when more properties are added to CSS, otherwise maintenance becomes harder.
> 
> 2) Should the above behavior be true for some property and not others?
> That looks messy and hard to learn.
> 
> 3) Should border-image exist?


4) the negligible usage of 'border-image-source' was probably not the
   rather expensive price we pay changing a 20+ years old behaviour

</Daniel>
Received on Friday, 15 December 2017 09:48:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:09 UTC