[wpt-sync] Sync PR 64443 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=240128
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64443 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64443
Details from upstream follow.
Alan Baradlay <zalan@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=240128
WebKit export from bug: WebKit improperly overlaps a BFC with a float,<!----> with certain margin values
<pre>
BFC with margin-start overlaps adjacent floatcomputedClearDeltaForChild checked only the border-box width against the
available space, but the border box is positioned at the margin offset. When
the margin placed the border box into the float's margin box, the overlap
went undetected and the BFC was not moved below the float.The fix computes where the border box will actually land -
max(marginStart, positionToAvoidFloats) - and checks whether it fits from
there. The margin only consumes available space to the extent it exceeds
positionToAvoidFloats (the space already occupied by a start-side float).WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=240128">https://bugs.webkit.org/show_bug.cgi?id=240128</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/312082@main">https://commits.webkit.org/312082@main</a>
</pre>
| Assignee | ||
Updated•23 days ago
|
| Assignee | ||
Updated•19 days ago
|
| Assignee | ||
Updated•19 days ago
|
| Assignee | ||
Updated•19 days ago
|
| Assignee | ||
Updated•19 days ago
|
| Assignee | ||
Comment 1•19 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 151 tests and 1 subtests
Status Summary
Firefox
OK : 17
PASS: 3[GitHub] 20[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 116[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 219[Gecko-android-em-14-x86_64-debug-geckoview, Gecko-android-em-14-x86_64-lite-opt-geckoview, Gecko-android-em-14-x86_64-opt-geckoview, Gecko-linux2404-64-debug, Gecko-linux2404-64-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 11
Chrome
PASS: 3
Safari
PASS: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/CSS2/floats/float-root.html [wpt.fyi]:
FAIL - /css/CSS2/floats/floats-rule3-outside-left-002.xht [wpt.fyi]:
FAIL - /css/CSS2/floats/floats-rule3-outside-right-002.xht [wpt.fyi]:
FAIL - /css/CSS2/floats/floats-rule7-outside-left-001.xht [wpt.fyi]:
FAIL - /css/CSS2/floats/floats-rule7-outside-right-001.xht [wpt.fyi]:
FAIL - /css/CSS2/floats/floats-wrap-bfc-with-margin-001a.tentative.html [wpt.fyi]:
FAIL - /css/CSS2/floats/floats-wrap-bfc-with-margin-006.tentative.html [wpt.fyi]:
FAIL - /css/CSS2/floats/floats-wrap-bfc-with-margin-007.tentative.html [wpt.fyi]:
FAIL - /css/CSS2/floats/floats-wrap-bfc-with-margin-008.tentative.html [wpt.fyi]:
FAIL - /css/CSS2/floats/floats-wrap-bfc-with-margin-009.tentative.html [wpt.fyi]:
FAIL - /css/CSS2/floats/floats-zero-height-wrap-002.xht [wpt.fyi]:
FAIL
Comment 3•15 days ago
|
||
| bugherder | ||
Comment 4•15 days ago
|
||
| bugherder | ||
Description
•