- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Thu, 25 Oct 2018 08:25:37 +0000
- To: public-css-archive@w3.org
I think the current use of the concept in `setProperty` allows 3 different border logical groups (border-width, border-style and border-color), but
```js
$0.style.cssText = "border: 1px solid red; border-block-start-color: green; border-color: blue";
$0.style.cssText;
```
should not be `"border: 1px solid blue; border-block-start-color: green;"`
So either all border longhands should be in the same logical group (I would like some clarification in #3033), or instead of checking that
- there is no triplet of properties A, B, C such that
- index(A) < index(B) < index(C)
- A, B, C belong to the same logical group, but B has different mapping logic than A and C
- A and C belong to *current longhands*
it should be
- there is no pair of properties A, B such that
- index(A) < index(B)
- A, B belong to the same logical group but have different mapping logic
- B belongs to *current longhands*
--
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3244#issuecomment-432960155 using your GitHub account
Received on Thursday, 25 October 2018 08:25:37 UTC