Closed Bug 1873300 Opened 9 months ago Closed 8 months ago

stretch-grid-item-button-overflow.html shouldn't assert that scrollbars are impossible in buttons.

Categories

(Core :: Layout: Grid, task)

task

Tracking

()

RESOLVED FIXED
123 Branch
Tracking Status
firefox123 --- fixed

People

(Reporter: dholbert, Assigned: dholbert)

References

Details

Attachments

(1 file)

The WPT stretch-grid-item-button-overflow.html (added here for bug 1871412) expects that overflow:scroll has no effect on buttons right now. But in fact Chrome and WebKit do add scrollbars onto overflow:scroll buttons right now.

Let's just remove the overflow:scroll part of the test for now, since it seems everyone is in agreement on the rest.
EDIT: we can also just add back overflow:scroll in the reference case; that's probably better.

I filed bug 1873301 to track the behavioral difference for button scrollability here.

overflow:scroll doesn't add scrollbars to buttons in Firefox right now (per
bug 1873301) but it does add them in other browsers, so we need to include it
in the reference case (matching the testcase) so that the reference case is
valid/robust.

This patch doesn't change the reference case's rendering in Firefox, but it
seems to be sufficient to make this WPT pass in other browsers.

Type: defect → task
Pushed by dholbert@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b937c1028ead
Add overflow:scroll to buttons in a WPT reference case, to match styling in testcase. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/43909 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Target Milestone: --- → 123 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: