Re: [csswg-drafts] [css-ui] Two different colours for a "double" style outline

We do NOT need an additional property for multiple borders or outlines. There is an existing process for allowing multiple values on a given property: we just need to make `border` and `outline` a list, just like we did for `background` and friends.

Back in time, we had decided not to, because "people could always use border-image`. However, in practice we've seen that people are **very** reluctant to use `border-image` for these things, and instead hack `box-shadow` or `outline` for a 2nd (3rd, 4th, ...) border. 

Besides styling, you are making a very good accessibility case for multiple borders, since there is no existing outline color that can always be guaranteed to be have sufficient contrast with its backdrop or even be visible at all. No, not even `invert`, as the inverse of 50% gray is 50% gray.

We can certainly discuss with the WG about adding this in Backgrounds 4.

-- 
GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1172#issuecomment-292756536 using your GitHub account

Received on Sunday, 9 April 2017 01:10:04 UTC