Re: Shorthands resetting properties they cannot set

Le 28/11/2017 à 03:57, Gérard Talbot a écrit :

> Daniel, the resetting of border-image is not what I would expect when
> declaring 'border: thin solid red'.

Well, I can completely understand the logics behind the current
behaviour. But apparently, 99% of CSS authors ignore that 'border'
resets 'border-image' and I would say 95% strongly refuse that

  border-color: red; border-width: thin; border-style: solid;

is NOT bijectively equivalent to

  border: red thin solid;

(that was the case before 'border-image' existed).

So I am therefore proposing to revert that decision that is completely
un-natural to CSS authors and stop making the 'border' shorthand reset
'border-image'. We should add a note about 'border-image" instead.
'border-image' does not seem to be used a lot anyway, and our current
behaviour is too expensive for too little win.

I know Background & Borders is at CR stage, but this is too important.
Too much feedback and too aggressive. People really don't understand
and don't accept.

Similarly, other and future shorthands should reset only properties they
can set.

> ... then setting 'border' shorthand should not be resetting 'border-image'. It makes sense to me. I side with BlueGriffon users.

Thank you.

</Daniel>

Received on Tuesday, 28 November 2017 06:00:24 UTC