Skip to content

Commit 560638c

Browse files
committed
More comment on steps implemented
Signed-off-by: Euclid Ye <[email protected]>
1 parent f4311ab commit 560638c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

style/animation.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ impl ElementAnimationSet {
10641064
continue;
10651065
}
10661066

1067-
//Step 4.4
1067+
//Step 4.3, 4.4 have been done in `fn start_transition_if_applicable`
10681068
}
10691069
}
10701070
}
@@ -1129,7 +1129,7 @@ impl ElementAnimationSet {
11291129
return;
11301130
}
11311131

1132-
// Step 1 in https://drafts.csswg.org/css-transitions/#starting
1132+
// Step 1 + 4.3 + 4.4 in https://drafts.csswg.org/css-transitions/#starting
11331133
// We are going to start a new transition, but we might have to update
11341134
// it if we are replacing a reversed transition.
11351135
let reversing_adjusted_start_value = property_animation.from.clone();

0 commit comments

Comments
 (0)