Re: Shorthands resetting properties they cannot set

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