[csswg-drafts] [css-inline] Why not just alias deprecated system colors at parse time? (#13459)

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-inline] Why not just alias deprecated system colors at parse time? ==
https://drafts.csswg.org/css-color-4/#deprecated-system-colors

> Earlier versions of CSS defined several additional [system colors](https://drafts.csswg.org/css-color-4/#css-system-colors). These color keywords have been deprecated

https://drafts.csswg.org/css-color-4/#resolving-other-colors

> The declared value for each [`<system-color>`](https://drafts.csswg.org/css-color-4/#typedef-system-color) keyword and [`<deprecated-color>`](https://drafts.csswg.org/css-color-4/#typedef-deprecated-color) keyword is itself.

System colors are being implemented in Servo, and it seems to me it would be easier to treat the deprecated ones as aliases:

```html
<!DOCTYPE html>
<script>
var { style } = document.documentElement;
style.color = "ActiveBorder";
document.write(style.color); // "activeborder". Why not "buttonborder"?
</script>
```

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13459 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 5 February 2026 20:08:27 UTC