Skip to content

Commit cd6e469

Browse files
committed
[css-images-3] Note that we might change gradient interpolation to be smarter later.
1 parent 9f05397 commit cd6e469

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

css-images-3/Overview.bs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1710,11 +1710,15 @@ Interpolating <<gradient>> {#interpolating-gradients}
17101710
If the two gradients satisfy all of those constraints,
17111711
they must be interpolated as described below.
17121712
If they fail the third one only,
1713-
they must be abruptly transitioned at 50%.
1713+
they must be abruptly transitioned at 50%
1714+
(unless otherwise specified by a future specification).
17141715
If they fail either of the first two constraints,
17151716
they must be interpolated using ''cross-fade()''
17161717
as for generic images.
17171718

1719+
Note: The abrupt transition at 50% is so that content will not rely on cross-fading,
1720+
and smarter interpolation rules can be added for this case in the future.
1721+
17181722
1. Convert both the start and end gradients to their explicit forms:
17191723

17201724
: For linear gradients:

0 commit comments

Comments
 (0)