Skip to content

[hiccup-canvas] add all canvas state attributes #560

@dmnsgn

Description

@dmnsgn

Hi @postspectacular!

2025 has been good for canvas properties, especially letterSpacing and wordSpacing that are now available everywhere. Some other properties have also been added (where only Safari is behind in term of implementation).

Without the following PR, I am not able to set them in hiccup (letterSpacing for instance) because __mergeState checks for existence in the CTX_ATTRIBS object.

PR: #559

Let me know if that looks good, if the naming matches your expectations (eg. should imageSmoothingQuality be smoothingQuality) or if this code is connected somewhere else in umbrella.

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