| Summary: | Sync `hr` element UA stylesheet for missing 'color: gray' | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | annevk, karlcow, ntim, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar, WPTImpact |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://wpt.live/html/rendering/non-replaced-elements/the-hr-element-0/hr.html | ||
|
Description
Ahmad Saleem
2023-05-09 09:24:32 PDT
We could do it. I don't think there is an issue against it. (In reply to Karl Dubost from comment #1) > We could do it. I don't think there is an issue against it. My only concern is that WebKit had ‘table-border: gray’ and standards said a ‘Nope’, you have ‘black’ as default but nothing from UA Stylesheet and now we have web-spec saying for ‘gray’ to be in UA stylesheet. It seems like two opposite things to do in forcing colors. Given that Chromium and WebKit match I would suggest raising an issue against whatwg/html to get the standard changed. I think all browsers display it gray, or some variation. Blink & WebKit display it at rgb(154,154,154) which is close to gray (rgb(128,128,128)). The only difference is that the spec suggests to use `border-color: currentColor` and then set the `color` to the actual color (which is nicer, since you can tweak the color the HR using the color property as well). *** This bug has been marked as a duplicate of bug 258725 *** |