-
Notifications
You must be signed in to change notification settings - Fork 143
[css-paint-api] Allow custom paint to optionally declare an intrinsic size. #31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Ahead of time seems simpler. Do we have any other animated image type whose intrinsic size/ratio can change on each frame? If yes, maybe within the callback is fine, but that seems to introduce unnecessary complications for little to no benefit. |
Yes, we do have such an image type - So we do indeed need some way to declare that your dimensions can change. On the other hand, the 99% case is dimensions not changing. How about:
|
@tabatkins, that sounds reasonable. |
Moving this to lvl-2 at the moment as per f2f. We can revisit once we've had some implementation experience. Specified that they have no intrinsic dimensions in 2b7a93b . |
… root. (w3c#31) We should only have one instance of a named animator per animator-root element.
This would allow for things like:
Should this be declared ahead of time, or set within a callback?
The text was updated successfully, but these errors were encountered: