FF142 Relnote Animation.commitStyles no longer requires fill#40611
Merged
hamishwillee merged 2 commits intomdn:mainfrom Aug 8, 2025
Merged
FF142 Relnote Animation.commitStyles no longer requires fill#40611hamishwillee merged 2 commits intomdn:mainfrom
hamishwillee merged 2 commits intomdn:mainfrom
Conversation
hamishwillee
commented
Aug 4, 2025
| #### DOM | ||
|
|
||
| - The {{domxref("Selection.getComposedRanges()")}} method is now supported, allowing developers to accurately get selected text ranges across shadow DOM boundaries. In addition, the methods {{domxref("Selection.setBaseAndExtent()","setBaseAndExtent()")}}, {{domxref("Selection.collapse()","collapse()")}}, and {{domxref("Selection.extend()","extend()")}} of the {{domxref("Selection")}} interface have been modified to accept nodes inside a shadow root. ([Firefox bug 1903870](https://bugzil.la/1903870)). | ||
| - The {{domxref("Animation.commitStyles()")}} method no longer requires that [`fill`](/en-US/docs/Web/API/KeyframeEffect/KeyframeEffect#fill) is set on an animation in order to commit the computed styles after the animation has finished. Note that until more browsers support this change, code should continue to set `fill`. ([Firefox bug 19197320303870](https://bugzil.la/1973203)). |
Collaborator
Author
There was a problem hiding this comment.
FYI, note the bit "Note that until more browsers support this change, code should continue to set fill.".
I wouldn't normally write this, but you can't feature check for this change, so it won't be useful until most browsers support this.
8 tasks
Contributor
|
Preview URLs External URLs (1)URL:
(comment last updated: 2025-08-08 01:13:28) |
dipikabh
approved these changes
Aug 5, 2025
Co-authored-by: Dipika Bhattacharya <dipika@foss-community.org>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
FF142
Animation/commitStyles()allows animations to capture the final styles without specifying afillin latest spec - in https://bugzilla.mozilla.org/show_bug.cgi?id=1973203This adds a release note.
Related docs work in #40482