[css-houdini-drafts] Pull Request: [css-paint-api] Removes invalidation based on size, and allows user-a…

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

== [css-paint-api] Removes invalidation based on size, and allows user-a… ==
…gents to cache.

Fixes #326.

I realized that explicitly placing an invalidation based on size here
was wrong, e.g. if a box changes size it has to run the "object size
negotiation" algorithm, which makes invalidating the paint() function
off size redundant.

Additionally allows user-agents to cache results from previous
invocations, and re-use. This allows UAs to re-use images between
instances if they have the same input style, concrete object size, and
input arguments.

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

Received on Sunday, 16 April 2017 07:17:10 UTC