Firefox overflow-top-left.html starts to fail after 1697349
Categories
(Core :: Layout: Flexbox, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox89 | --- | fixed |
People
(Reporter: TYLin, Assigned: dholbert)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
After the proposed behavior change in bug 1697349, overflow-top-left.html starts to fail. We leave the test unchanged for now until the webcompat situation is clear.
Note: blink is proposing a similar change in https://chromium-review.googlesource.com/c/chromium/src/+/2676302 that also makes overflow-top-left.html fail.
| Assignee | ||
Comment 1•5 years ago
|
||
Here's the wpt.fyi page for this test, for reference: https://wpt.fyi/results/css/css-flexbox/overflow-top-left.html
| Assignee | ||
Comment 2•5 years ago
|
||
This test is included in the compat2021 test set; hence, marking as blocking the metabug.
(This seems pretty clearly like a test bug. I think we can address this by changing the reference case to use border: 4px solid white to mock up the flex item margin in the testcase. This border on the mocked-up flex items will create scrollable overflow in the reference case, which is what we'd like, since the flex items' margin in the testcase is also supposed to create scrollable overflow.
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 3•5 years ago
|
||
Per https://drafts.csswg.org/css-overflow-3/#scrollable , the scrollable
overflow area of a scrollable flex container is supposed to contain "the margin
areas of...flex item boxes for which the box establishes a containing block."
Before this patch, the reference case didn't properly require this behavior (in
its mockup of the inline-end edge of the testcase's flex containers). The
reference case was using "margin" on blocks in a block container to represent
this space, and that didn't match the testcase because margins behave
differently in block layout vs. flex layout with respect to creating scrollable
overflow in their container.
This patch changes the reference case to use borders to represent this space.
This works better because borders do reliably create scrollable
overflow. (Also, borders don't collapse like margins do in block layout; this
lets us remove an extra hack that the reference case was having to use to
counteract this.)
Updated•5 years ago
|
Comment 7•5 years ago
|
||
Backed out for causing failures on overflow-top-left.html.
Backout link: https://hg.mozilla.org/integration/autoland/rev/fe6de462a776ee340a83077409aa8690a26a49e5
Failure log: https://treeherder.mozilla.org/logviewer?job_id=335796040&repo=autoland&lineNumber=27070
| Reporter | ||
Comment 8•5 years ago
|
||
Looks like on Windows 10 non-webrender, text can be fuzzy. In my experience, it's good to have a try run for wpt reftests on all platforms to catch all fuzzy because autoland might not schedule all wpt reftests on all platforms.
| Assignee | ||
Comment 9•5 years ago
|
||
Yup, I should've done a Try run here.
And yeah, looks like this is just some text antialiasing, probably due to differences in layerization or something. I'll add a fuzzy annotation, do a try run, and will then re-land.
| Assignee | ||
Comment 10•5 years ago
|
||
Try run with a fuzzy annotation for windows non-webrender:
https://treeherder.mozilla.org/jobs?repo=try&revision=1c838c7e5d5480f0182a6d47c012452d297f3a8a
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•4 years ago
|
Description
•