Skip to content

[css-typed-om] Serialization for CSSUnparsedValue doesn't match tested behaviour #1148

@AtkinsSJ

Description

@AtkinsSJ

A couple of issues here:


serialize a CSSVariableReferenceValue step 3 says:

  1. If this’s fallback internal slot is not null, append ", " to s, then serialize the fallback internal slot and append it to s.

However, the tested behaviour in https://wpt.live/css/css-typed-om/stylevalue-serialization/cssUnparsedValue.html requires that "," without a space is appended instead.


serialize a CSSUnparsedValue somehow needs to obey the comment-insertion rules as described here. This is awkward because we have a list of strings and CSSVariableReferenceValues, not CSS tokens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions