Skip to content

[css-typed-om] Returning a new object on every get from an attribute is bad #392

@bzbarsky

Description

@bzbarsky

https://drafts.css-houdini.org/css-typed-om/#dom-csstransformvalue-matrix says, in step 3:

Return a new DOMMatrixReadOnly representing matrix.

This is not something that an attribute getter should be doing. This should be a method instead.

@domenic

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions