[css-houdini-drafts] How are paint worklets picked?

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

== How are paint worklets picked? ==
>From https://groups.google.com/a/chromium.org/d/msg/blink-dev/Jex3idOld48/XWkgUzlxBQAJ

@bzbarsky:

> What the spec defines is that a UA must have at least two paint worklets
> and assign work to them somehow.  The spec does not require randomness
> of ordering of work assignment, randomness in which worklet is chosen,
> or anything else.
> 
> This unfortunately makes it fairly easy to create worklets that depend
> on specific assignment algorithms, and I expect pages to end up doing
> just that if browsers do anything deterministic here.  At which point
> we'll end up having to specify those deterministic algorithms, and
> whatever their limitations are (e.g. only two paint worklets, period).


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

Received on Sunday, 24 September 2017 18:39:53 UTC