Re: [csswg-drafts] [css-color][css-color-adjust] We should add sufficient system colors to fully implement the HTML UA stylesheet (#4924)

Reviewing the other colors found in @zcorpan's [review](https://github.com/whatwg/html/issues/5426#issuecomment-607263527) of the suggested stylesheet…

- Standard foreground/background colors for a dialog should use the CanvasText/Canvas pair. Similarly, the default table border color should be CanvasText if there's a compat reason not to make it `currentColor`.

- Colors for `<mark>` would need to be defined. First instinct is to use highlight/highlightText, but that's incorrect — those are for dynamic user selections, not for highlighted phrases in the document.  (They could still map to the same colors in WHCM if necessary, but they're definitely not the same in the default UA stylesheets.)

- The default color of an `<hr>` should probably be the same default as a button border, but even in the [deprecated system colors](https://drafts.csswg.org/css-color-4/#css-system-colors) that isn't a single color, since that set of keywords defined separate colors for all the 3D lighting effects instead of defining a single color that then gets modified by the 3D `border-style`. So that would also need to be a new keyword.

So new keywords would be (something like):

- Mark
- MarkText
- ButtonBorder

(Alternatively, it may be acceptable to just use `ButtonFace` for `ButtonBorder`, and let the raised/inset border styles do all the adjustments.)


Related issue: #4883.

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

Received on Monday, 6 April 2020 22:33:20 UTC