Closed Bug 2092951 Opened 13 days ago Closed 5 hours ago

align-content changes to normal don't invalidate layout

Categories

(Core :: Layout: Block and Inline, defect, P3)

defect

Tracking

()

RESOLVED FIXED
163 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox-esr153 --- wontfix
firefox160 --- wontfix
firefox161 --- wontfix
firefox162 --- wontfix
firefox163 --- fixed

People

(Reporter: ntim, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file, 1 external file)

Attached file Testcase —

See testcase. Clicking twice should return the div back to the original position, but instead it stays centered.

Attachment #9683040 - Attachment mime type: text/plain → text/html
Severity: -- → S3
Keywords: regression
Priority: -- → P3
Regressed by: 1684236

Set release status flags based on info from the regressing bug 1684236

:fantasai.bugs, since you are the author of the regressor, bug 1684236, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(fantasai.bugs)
Flags: needinfo?(fantasai.bugs)
Duplicate of this bug: 2097953

So that we deal with incremental aligned -> non-aligned properly.

Alternative would be marking all lines dirty or so which seems
unfortunate.

The property lookup is done only once per block per reflow and should be
cheap anyhow, maybe even cheaper than the current check in practice.

Assignee: nobody → emilio
Status: NEW → ASSIGNED
Assignee: nobody → emilio
Status: NEW → ASSIGNED
Pushed by ealvarez@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/58aaf2cdae5c https://hg.mozilla.org/integration/autoland/rev/e14c5341a506 Don't assume there's no align-content shift if normal-aligned. r=layout-reviewers,dshin
Status: ASSIGNED → RESOLVED
Closed: 5 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 163 Branch

The patch landed in nightly and beta is affected.

:emilio, please make an uplift decision for beta:

  • For beta, nominate the patch for beta uplift approval if the fix should be included in this release, or set status-firefox162 to wontfix if the fix can wait for the next release.

The bugbug regressor model rates the patch as medium risk: about 7% of the patches with this rating cause a regression.

Uplift requests can be submitted from Lando: D346740.

See Requesting an Uplift for documentation on how to request an uplift.

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: