Closed Bug 1900458 Opened 4 months ago Closed 3 months ago

Ship @starting-style

Categories

(Core :: CSS Transitions and Animations, task, P3)

task

Tracking

()

RESOLVED FIXED
129 Branch
Tracking Status
relnote-firefox --- 129+
firefox129 --- fixed

People

(Reporter: boris, Assigned: boris)

References

(Blocks 2 open bugs, )

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

Enable layout.css.starting-style-at-rules.enabled on all channels after Fx129 if everything looks good.

Do you mean to ship with version 129 or 130?

Flags: needinfo?(boris.chiou)

Yes. I will send an intend-to-ship mail first and enable the preference.

Flags: needinfo?(boris.chiou)
Assignee: nobody → boris.chiou
Status: NEW → ASSIGNED
Pushed by bchiou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/58c2beb544be Ship @starting-style rule. r=layout-reviewers,webidl,saschanaz,emilio
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 129 Branch

:boris could you consider nominating this for a release note? (Process info)
We could include it in the nightly release notes.

Flags: needinfo?(boris.chiou)

Release Note Request (optional, but appreciated)
[Why is this notable]: We ship a new feature, transition-behavior CSS property. This property allows us to create a transition on discrete animated CSS properties.
[Affects Firefox for Android]: Yes
[Suggested wording]: Ship transition-behavior property, which specifies whether transitions will be started or not for discrete properties.
[Links (documentation, blog post, etc)]: https://drafts.csswg.org/css-transitions-2/#transition-behavior-property

relnote-firefox: --- → ?
Flags: needinfo?(boris.chiou)

:boris, looks like your comment 7 should have been added to Bug 1901645. Also, a comment in Bug 1901645 should have been the release note content for this. Pasting here to make clear it up.

Release Note Request (optional, but appreciated)
[Why is this notable]: We ship a new feature, @starting-style rule. This rule allows us to define the starting style which could be used as the before-change style to start the CSS transitions on the first rendering.
[Affects Firefox for Android]: Yes
[Suggested wording]: Ship @starting-style rule. The style rules inside it are used to establish styles to transition from, if the previous style change event did not establish a before-change style for the element whose styles are being computed.
[Links (documentation, blog post, etc)]: https://drafts.csswg.org/css-transitions-2/#at-ruledef-starting-style

Thanks, added to the Fx129 nightly release notes, please allow 30 minutes for the site to update.
Keeping the relnote-firefox flag as ? to keep it on the radar for inclusion in the final Fx129 release notes

When this is released, will it also support animating from display: none; this appears to be working in nightly (129.0a1)?
Actually I am wrong here it is not working in nightly.

Flags: needinfo?(boris.chiou)

(In reply to Dave Letorey from comment #10)

When this is released, will it also support animating from display: none; this appears to be working in nightly (129.0a1)?
Actually I am wrong here it is not working in nightly.

The animation of display property depends on Bug 1834877. We don't support the animation of display property now.

However, if you just change the display property value from none, we will create the transitions on other properties, per the starting style (e.g. the wpt)

Flags: needinfo?(boris.chiou)

Related Pull Requests

Blocks: 1892191
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: