Closed Bug 1956578 Opened 1 month ago Closed 1 month ago

[css-sizing] Resolved value of min size properties doesn't round-trip

Categories

(Core :: DOM: CSS Object Model, defect)

defect

Tracking

()

RESOLVED FIXED
139 Branch
Tracking Status
firefox139 --- fixed

People

(Reporter: mozilla-apprentice, Assigned: dholbert)

References

Details

Attachments

(2 files)

A resolution was made for csswg-drafts/#11716.

[css-sizing] Resolved value of min size properties doesn't round-trip

  • RESOLVED: When aspect-ratio is non-initial, then min-size:auto serializes as 'auto' in gCS() (rather than being censored to 0)

Discussion.

Assignee: nobody → dholbert
Status: NEW → ASSIGNED

This is the behavior that was resolved on in
https://github.com/w3c/csswg-drafts/issues/11716

I'm including a WPT that exercises a bunch of different cases where 'auto' is
or isn't preserved in getComputedStyle.

Attachment #9474905 - Attachment description: Bug 1956578: Preserve the min-width/min-height 'auto' value in getComputedStyle, for elements with non-deafult 'aspect-ratio'. r?#style,#layout → Bug 1956578: Preserve the min-width/min-height 'auto' value in getComputedStyle, for elements with non-default 'aspect-ratio'. r?#style,#layout
Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/6b9e820b1f3d Preserve the min-width/min-height 'auto' value in getComputedStyle, for elements with non-default 'aspect-ratio'. r=TYLin
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/51748 for changes under testing/web-platform/tests
Regressions: 1957570
Upstream PR merged by moz-wptsync-bot

Per bug 1957570, I accidentally folded in some debug logging when doing hg amend --commit to fix a typo just before landing.

I just posted and triggered autoland on a followup patch to remove that logging.

Pushed by dholbert@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/730840116285 followup: remove diagnostic logging that inadvertently got folded into main patch. (no review)
Pushed by amarc@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/8709233e47fc followup: remove diagnostic logging that inadvertently got folded into main patch. (no review) DONTBUILD
QA Whiteboard: [qa-triage-done-c140/b139]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: