← Chrome 149 reference

v149 · shipped · interop · css

Remove explicit border color UA stylesheet rule for tables

Chrome 149 removes an erroneous border-color: gray rule from the browser's built-in (UA) stylesheet for the <table> element, aligning with the HTML specification and matching the behaviour of Firefox and Safari. Table borders now default to currentColor instead of gray.

at a glance

Shipped inChrome 149
StatusEnabled by default
TypeInteroperability fix / web-facing change
ChromeStatus5077341928816640 — Remove explicit border color UA stylesheet rule for tables

what changed

Chrome's UA stylesheet previously included:

/* OLD — Chrome UA stylesheet, pre-149 */
table {
  border-color: gray;
}

This rule is not in the HTML specification. Neither Firefox nor Safari have it. It caused table borders to be gray in Chrome even when authors expected them to inherit currentColor. Chrome 149 removes the rule, so tables now match the specified and cross-browser behaviour.

Source: blink-dev Web-Facing Change PSA, Chrome 149 beta blog, May 2026.

impact on your CSS

If you have a <table> with border-collapse: collapse or explicit borders but have not set border-color explicitly, the border colour will change from gray to currentColor (matching your text colour or whatever color is inherited). In most cases this is the desired behaviour and matches what Firefox and Safari already render.

Sites that may be affected

Fix if needed

If your design requires gray borders, add an explicit rule:

table {
  border-color: gray; /* now required if you want gray borders */
}

Best practice

Always set border-color explicitly when styling table borders — that way your tables look consistent across Chrome, Firefox, and Safari regardless of UA stylesheet differences.

Source: blink-dev Web-Facing Change PSA, May 2026.

browser support

BrowserBehaviour
Chrome 149+Table borders default to currentColor (no UA border-color rule)
Chrome < 149Table borders defaulted to gray via UA stylesheet
FirefoxTable borders default to currentColor (same as Chrome 149+)
SafariTable borders default to currentColor (same as Chrome 149+)
Source: chromestatus.com feature page, May 2026.

see also