Before this CL, "paintWorklet" attribute is defined on "Window" interface, but
that should be defined on "CSS" interface[1].
According to the spec discussion[2], "CSS" will be changed from "interface" to
"namespace", but "namespace" is not supported yet in Blink. As a stopgap, this
CL changes "paintWorklet" to a static attribute and moves it to "CSS" interface
to emulate an attribute-on-namespace.
[1] https://drafts.css-houdini.org/css-paint-api-1/#dom-css-paintworklet
[2] https://github.com/w3c/css-houdini-drafts/issues/410
Bug: 719303
Change-Id: I01f371f0d4f9a193352d1ede1fe28632d52cf312
Reviewed-on: https://chromium-review.googlesource.com/630899
Commit-Queue: Hiroki Nakagawa <[email protected]>
Reviewed-by: Yuki Shiino <[email protected]>
Reviewed-by: Xida Chen <[email protected]>
Reviewed-by: Ian Kilpatrick <[email protected]>
Reviewed-by: Kentaro Hara <[email protected]>
Cr-Commit-Position: refs/heads/master@{#497319}