- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 27 Apr 2018 15:36:08 -0700
- To: www-style list <www-style@w3.org>, public-review-announce@w3.org
The CSS WG has published an updated Working Draft of the CSS Paint API Level 1: https://www.w3.org/TR/css-paint-api-1/ This specification defines an API for drawing CSS images from a <canvas>-like API, intelligently repainted only when necessary, and able to draw in information from properties on the element as well. A number of fun demos of the feature can be found at <https://css-houdini.rocks/> - this currently requires Chrome, with the "Experimental Web Platform Features" flag turned on, but it will be shipping publicly soon, and implementations in other browsers are eagerly expected. Changes in this publication are mostly algorithmic, fixing problems and tightening definitions. A major author-facing change is the addition of arguments to the paint() function, so information can be passed *directly* to a given paint() invocation, rather than always requiring indirecting thru custom properties (which prevented using the same paint() function multiple times on a single element). Please review the draft, and file any comments in the GitHub repository at: https://github.com/w3c/css-houdini-drafts/issues For the CSS WG, ~Tab Atkins
Received on Friday, 27 April 2018 22:36:55 UTC