Skip to content

Commit 7677ff9

Browse files
committed
[css-paint-api] Updated issue about allowing paint function arguments.
1 parent 96ca19d commit 7677ff9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

css-paint-api/Overview.bs

+4-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,10 @@ The <<paint()>> function is an additional notation to be supported by the <<imag
176176
For the 'cursor' property, the <<paint()>> function should be treated as an <a>invalid image</a> and
177177
fallback to the next supported <<image>>.
178178

179-
Issue: How do we do things like conic-gradient? I.e. paint functions which accept arguments as inputs?
179+
Issue(w3c/css-houdini-drafts): Support additional arbitrary arguments for the paint function. This
180+
is difficult to specify, as you need to define a sane grammar. A better way would be to expose a
181+
token stream which you can parse into Typed OM objects. This would allow a full arbitrary set of
182+
function arguments, and be future proof.
180183

181184
The 2D rendering context {#2d-rendering-context}
182185
================================================

0 commit comments

Comments
 (0)