- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Fri, 07 Jun 2019 15:10:12 +0000
- To: public-houdini-archive@w3.org
The Houdini Task Force just discussed `Cycle possible using inputProperties()`, and agreed to the following: * `RESOLVED: We go with AmeliaBR's suggestion, for which input custom properties create edges in the custom property graph` <details><summary>The full IRC log of that discussion</summary> <Rossen_> Topic: Cycle possible using inputProperties()<br> <Rossen_> github: https://github.com/w3c/css-houdini-drafts/issues/877<br> <emilio> flackr: we realize that with paint worklet you can specify an image as an input property, which can itself be backed by another worklet<br> <TabAtkins> q+<br> <AmeliaBR> q+<br> <emilio> flackr: so you can in theory, once we implement the TypedOM <image>, you could specify a cycle<br> <emilio> ... so there are multiple ways we could go about it<br> <emilio> ... we could try to spawn the paint worklet<br> <emilio> ... or try to prevent recursion somehow<br> <Rossen_> ack TabAtkins<br> <emilio> TabAtkins: the notion of CSS image generator values is not in any spec right now<br> <emilio> ... we could separate it<br> <emilio> ... we have cycle detection for custom properties<br> <emilio> myles: and then what?<br> <emilio> TabAtkins: you'd get a broken image<br> <emilio> myles: the whole chain?<br> <emilio> TabAtkins: yeah, probably<br> <emilio> heycam: how do you use the image values in the worklet?<br> <emilio> TabAtkins: you can pass them to drawImage<br> <Rossen_> ack AmeliaBR<br> <emilio> AmeliaBR: there are lots of very sensible use cases for reusing the paint worklet result from another paint worklet<br> <emilio> ... even the same worklet<br> <emilio> TabAtkins: that's true, so probably we don't want to use cycle detection<br> <emilio> ... but just depth detection<br> <emilio> AmeliaBR: cycle detection is fine, but not if you refer to the same worklet<br> <emilio> TabAtkins: I don't see the difference<br> <Rossen_> q?<br> <emilio> AmeliaBR: I talk about the case in which says paint(tiling) and another that uses paint(tiling) that depends on the first output<br> <emilio> TabAtkins: ok, so proper cyclic detection would work<br> <emilio> AmeliaBR: when you have a paint reference you treat them as bare references to the input custom properties<br> <AmeliaBR> s/bare/var()/<br> <emilio> whoops<br> <AmeliaBR> s/properties/properties, and then use the regular custom property cycle detection/<br> <AmeliaBR> s/whoops//<br> <emilio> myles: is this something that needs to be spec'd?<br> <emilio> ... HTML depth is not in any spec<br> <emilio> TabAtkins: CSS defines minimum depth and such though<br> <Rossen_> q?<br> <emilio> dbaron: it's also useful just to document so that people can pay attention to it<br> <TabAtkins> emilio: I agree that going for depth, the particular limit needs to be in a spec.<br> <TabAtkins> emilio: But the cusotm property cycle detection is in a spec.<br> <TabAtkins> emilio: So if we eagerly detect cycles, how to detec taht is needed.<br> <TabAtkins> emilio: And how to treat it.<br> <emilio> TabAtkins: if we do what AmeliaBR says then it's already in the spec<br> <emilio> RESOLVED: We go with AmeliaBR's suggestion, for which input custom properties create edges in the custom property graph<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/877#issuecomment-499922873 using your GitHub account
Received on Friday, 7 June 2019 15:10:14 UTC