- From: Ian Kilpatrick via GitHub <sysbot+gh@w3.org>
- Date: Sat, 07 Apr 2018 18:02:24 +0000
- To: public-houdini-archive@w3.org
bfgeek has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [css-layout-api] Lifetime for instance of layout class. == In our prototype implementation we have the instance of the class - e.g. ```js registerLayout('foo', class { *layout() { this; // <- this object } }); ``` ... the instance of the class tied to the box lifetime. I.e. it will get GC'd only after the box drops out of the box tree. Do we want this behaviour? It is useful for caching things between layouts like what happens with the paint api. Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/746 using your GitHub account
Received on Saturday, 7 April 2018 18:02:27 UTC