We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 16078ba commit 825fde3Copy full SHA for 825fde3
1 file changed
css-images-4/Overview.bs
@@ -531,6 +531,19 @@ Combining images: the ''cross-fade()'' notation {#cross-fade-function}
531
8. Return |final image|.
532
</div>
533
534
+### Simplifying Complex ''cross-fade()'' ### {#cross-fade-complex}
535
+
536
+ Issue: Per WG resolution,
537
+ define a notion of "equality" for images,
538
+ and combine "same" images at computed-value time,
539
+ summing their percentages.
540
541
542
+ simplify directly-nested ''cross-fade()'' at computed-value time
543
+ by just distributing the percentage and flattening;
544
+ ''cross-fade(A 10%, cross-fade(B 30%, C 70%) 90%)''
545
+ becomes ''cross-fade(A 10%, B 27%, C 63%)''.
546
547
<!--
548
████████ ██ ████████ ██ ██ ████████ ██ ██ ████████ ███ ███
549
██ ██ ██ ███ ███ ██ ███ ██ ██ ██ ██
0 commit comments