[csswg-drafts] [css-typed-om] Should CSSKeywordValue Serialization invoke Serialize an identifier to escape the value? (#12545)

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

== [css-typed-om] Should CSSKeywordValue Serialization invoke Serialize an identifier to escape the value? ==
[CSSKeywordValue Serialization](https://drafts.css-houdini.org/css-typed-om/#csskeywordvalue) instructs to return the internal value directly: 
> To serialize a [CSSKeywordValue](https://drafts.css-houdini.org/css-typed-om/#csskeywordvalue) this:
> 1. Return this’s [value](https://drafts.css-houdini.org/css-typed-om/#dom-csskeywordvalue-value) internal slot.


However, both Blink, WebKit and the WPTs escape the keyword before returning it. 
Should serialization of CSSKeywordValue return the result of invoking [Serialize an identifier](https://drafts.csswg.org/cssom/#serialize-an-identifier) of the internal value? 



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


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

Received on Wednesday, 30 July 2025 12:03:52 UTC