Skip to content

[css-images-3] Interpolating A with cross-fade(p% A, B) #2853

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

Open
LeaVerou opened this issue Jul 2, 2018 · 3 comments
Open

[css-images-3] Interpolating A with cross-fade(p% A, B) #2853

LeaVerou opened this issue Jul 2, 2018 · 3 comments

Comments

@LeaVerou
Copy link
Member

LeaVerou commented Jul 2, 2018

Based on the currently proposed cross-fade() interpolation algorithm, the titular example would produce something like cross-fade(x% A, cross-fade(p% A, B)), x∈[0, 100].

It seems far more sensible to promote the first operand to cross-fade(100% A, B) so that it can be interpolated by just the percentage (cross-fade(x% A, B), x∈[p, 100]), which avoids redundant nesting.

Note that Chrome currently doesn't seem to handle this at all: http://dabblet.com/gist/efb891a971d4255e4a21bad677e4780c

@astearns
Copy link
Member

@LeaVerou should this go on the weekly agenda, since we didn't get to it at the F@F meeting?

@atanassov
Copy link
Contributor

This issue seems to be already resolved by our Sydney f2f discussion on issue 2853 (see https://lists.w3.org/Archives/Public/www-style/2018Jul/0024.html)

@tabatkins
Copy link
Member

Yeah, we addressed it during the F2F. Just needs edits. Retagging to the correct spec, too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants