demo · v148
currentColor Table
Pick a text colour. The "before" table keeps the legacy hard-coded grey border (what Chrome < 148 did). The "after" table inherits currentColor — the v148 default.
text colour
before (Chrome < 148)
| Region | Cups sold | Δ vs last week |
|---|---|---|
| Cardiff | 1,184 | +7% |
| Newport | 902 | +2% |
| Swansea | 748 | −4% |
after (Chrome 148+)
| Region | Cups sold | Δ vs last week |
|---|---|---|
| Cardiff | 1,184 | +7% |
| Newport | 902 | +2% |
| Swansea | 748 | −4% |
the rule that was removed
/* Old Chrome UA stylesheet (gone in v148) */
table, td, th, tr, thead, tbody, tfoot { border-color: #d4d4d4; }
/* New behaviour — same as every other element */
/* (no UA rule; border-color falls through to currentColor) */
see also
- Remove UA border-color rule for tables — feature index
implementation reference
Need the exact API surface, compatibility boundaries, errors, lifecycle, and source links? Read the matching gendn reference ↗