- From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
- Date: Mon, 05 Sep 2016 00:41:08 +0000
- To: public-css-archive@w3.org
If we were introducing `outline-offset` now, I think I would agree
with this proposal.
However, both `outline` and `outline-offset` have been out for a while
now without having a shorthand / longhand relationship. Due to this,
the change you're suggestion is likely to be incompatible with
existing content.
If `outline-offset` becomes longhand of `outline`, then setting
`outline` would always reset `outline-offset`, even if no
`outline-offset` specific value is provided. For example, the
following code would not set the offset to 5px, because the shorthand
would win the cascade and reset it to 0.
```
.highlight {
outline-offset: 5px;
outline: 3px solid red;
}
```
Since this is different from the current behavior, this is almost
certain to break existing pages.
Unless you have some evidence or some reason to believe either than
this compatibility problem is not occurring, or that even if it does
occur it is not actually an issue, I am afraid it is too late to
change this.
--
GitHub Notification of comment by frivoal
Please view or discuss this issue at
https://github.com/w3c/csswg-drafts/issues/441#issuecomment-244638068
using your GitHub account
Received on Monday, 5 September 2016 00:41:27 UTC