[css-houdini-drafts] Pull Request: Allow speculative evaluation

asajeffrey has just submitted a new pull request for https://github.com/w3c/css-houdini-drafts:

== Allow speculative evaluation ==
Currently, user agents can only invoke worklets with consistent snapshots of the state. This PR allows user agents to invoke worklet scripts with inconsistent state, as long as they discard the result.

The particular instance of this is paint worklets, since the CSS style values are known before the concrete size, so in Servo we speculate that the size hasn't changed (https://github.com/servo/servo/pull/17810).

Fixes #406.

See https://github.com/w3c/css-houdini-drafts/pull/439

Received on Tuesday, 1 August 2017 18:41:00 UTC