[css-contain] contain:size on button shouldn't suppress baseline alignment (but contain:layout should)
Categories
(Core :: Layout, defect, P3)
Tracking
()
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(2 files)
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
The original issue (for <button>
and button-flavored widgets) turns out to be pretty trivial -- we just need to do s/IsContainSize/IsContainLayout/ here in the ascent-computation portion of nsHTMLButtonControlFrame::ReflowButtonContents():
https://searchfox.org/mozilla-central/rev/75294521381b331f821aad3d6b60636844080ee2/layout/forms/nsHTMLButtonControlFrame.cpp#314-320
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Comment 5•6 years ago
|
||
(So far there's just "part 1", but I'll be posting a "part 2" here later on, to address the issues/test-failures noted in comment 1 and 2.)
Assignee | ||
Comment 6•6 years ago
|
||
(In reply to Daniel Holbert [:dholbert] from comment #5)
(So far there's just "part 1", but I'll be posting a "part 2" here later on, to address the issues/test-failures noted in comment 1 and 2.)
Haven't gotten to this yet and I've got a bit of a review backlog now -- so I'm going to go ahead and land Part 1 now, and I'll post Part 2 in a few days, either here or in a followup bug. (Since we've got open test-failures with this bug number in an annotation-comment, I'll tentatively still plan on doing it in this bug.) (I think this is possible via Lando, though worst case I can just land Part 2 on Inbound.)
Assignee | ||
Updated•6 years ago
|
Comment 8•6 years ago
|
||
bugherder |
Assignee | ||
Comment 9•6 years ago
|
||
I spun off bug 1552287 for the remaining work here. Let's close this bug out, since the original testcase has been addressed.
Earlier releases aren't affected because containment is preffed off there, after the "early-beta" period (via the guard in bug 1532471).
Comment 10•6 years ago
|
||
Updated•6 years ago
|
Comment 11•6 years ago
|
||
bugherder |
Description
•