-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1744850 - Drop ScrollTimeline:sTiming and introduce a normalized …
…timing. r=birtles `sTiming` is a hack and I believe animation-delay, animation-iteration-count, animation-direction, and animation-fill-mode should be meaningful for scroll-linked animations. (I will add the tentative wpt in Bug 1775327.) So we need to introduce a normalized timing when resolving the specified timing. Also, this patch makes the bug of printing scroll animations detectable. No behavior is changed and I'd like to remove the magic values and do normalization in Bug 1775327. Note: Based on w3c/csswg-drafts#4862 and web-animations-2, we will introudce CSSNumberish for duration, current time, and delay. That is, we will accept percentage for animation-duration, animation-delay. However, Gecko doesn't support CSSNumberish for those values, so we'd like to normalize these time values in Bug 1775327. This patch is the 1st step: split the normalized timing from the specified timing, and use it when resolving the timing, for progress-based timeline. Differential Revision: https://phabricator.services.mozilla.com/D149683
- Loading branch information
1 parent
8976ddf
commit 6c723e6
Showing
13 changed files
with
69 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...m/meta/scroll-animations/css/at-scroll-timeline-default-descriptors-iframe-print.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[at-scroll-timeline-default-descriptors-iframe-print.html] | ||
expected: FAIL | ||
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1774505 |
2 changes: 2 additions & 0 deletions
2
...eta/scroll-animations/css/at-scroll-timeline-default-descriptors-print.tentative.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
[at-scroll-timeline-default-descriptors-print.tentative.html] | ||
max-asserts: 1 # Bug 1746116, an assertion to check "nextFrame || kidStatus.NextInFlowNeedsReflow()" in nsCanvasFrame::Reflow(). | ||
expected: FAIL | ||
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1774505 |
1 change: 1 addition & 0 deletions
1
...-platform/meta/scroll-animations/css/at-scroll-timeline-specified-scroller-print.html.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[at-scroll-timeline-specified-scroller-print.html] | ||
expected: FAIL | ||
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1774505 |