Skip to content

[css-paint-api] algorithm for registering custom paint depends on undefined "constructor" variable #328

@dbaron

Description

@dbaron

The algorithm for registering custom paint says:

  1. Let definition be a new paint image definition with:
    • ...
    • class constructor being constructor

However, constructor hasn't been defined. I suspect (after a very quick glance) that either paintCtor orprototype was intended. (But I haven't looked at the use of the variable yet, so I really don't know what I'm talking about!)

(I got here from w3ctag/design-reviews#140 .)

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