[css-houdini-drafts] [worklets] Should paintWorklet be a static attribute?

nhiroki has just created a new issue for https://github.com/w3c/css-houdini-drafts:

== [worklets] Should paintWorklet be a static attribute? ==
IIUC, ```CSS``` is not an instance but an interface (and will be changed to ```namespace```?), so ```paintWorklet``` could be a static attribute[2] like this:

```
partial interface CSS {
    [SameObject] static readonly attribute Worklet paintWorklet;
};
```

[1] https://heycam.github.io/webidl/#idl-namespaces
[2] https://heycam.github.io/webidl/#idl-static-attributes-and-operations

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

Received on Monday, 22 May 2017 10:04:04 UTC