[wpt-sync] Sync PR 64168 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=322338
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 64168 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64168
Details from upstream follow.
Alan Baradlay <zalan@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=322338
WebKit export from bug: [<!---->block-<!---->in-<!---->inline]<!----> Margin does not collapse after a self collapsing block level box on a line
<pre>
[block-in-inline] Margin does not collapse after a self collapsing block level box on a lineA block level box on a line is handed to block layout at the line's top, and block layout applies the pending
margin from the container's own position, so LineBuilder::handleBlockContent takes that margin back off the line
top first - but only when the margin was no longer at the before side of the block, while the line was advanced by
it whenever the margin could not collapse out through the root's before edge. With a border or padding on the
root the two disagree: the line top already holds the margin and block layout adds it again, so
<span><div style="margin-top:100px"></div></span><div> puts the second block 200px down instead of 100px. Make
the rollback test the condition the advance already uses.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=322338">https://bugs.webkit.org/show_bug.cgi?id=322338</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/319697@main">https://commits.webkit.org/319697@main</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=111296
| Assignee | ||
Comment 2•25 days ago
|
||
CI Results
Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 816 tests and 2 subtests
Status Summary
Firefox
OK : 24
PASS: 1[GitHub] 2[Gecko-linux2204-64-wayland-debug, Gecko-linux2204-64-wayland-opt] 94[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 874[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt] 876[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] 879[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt]
FAIL: 26[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 31[Gecko-linux2404-64-debug, Gecko-linux2404-64-opt] 34[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] 36[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
Chrome
PASS: 1
Safari
PASS: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /css/CSS2/normal-flow/block-replaced-height-002.xht [wpt.fyi]:
FAIL[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],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/CSS2/normal-flow/inline-block-replaced-height-002.xht [wpt.fyi]:
FAIL[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],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/CSS2/normal-flow/inline-replaced-height-002.xht [wpt.fyi]:
FAIL[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],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/CSS2/normal-flow/inlines-017.xht [wpt.fyi]:
FAIL[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],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/CSS2/normal-flow/margin-collapse-through-percentage-height-block-inside-table-cell.html [wpt.fyi]:
FAIL - /css/CSS2/normal-flow/margin-collapse-through-percentage-height-block.html [wpt.fyi]:
FAIL - /css/CSS2/normal-flow/margin-collapse-through-percentage-padding.html [wpt.fyi]:
FAIL - /css/CSS2/normal-flow/max-height-applies-to-012.xht [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[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] - /css/CSS2/normal-flow/max-width-applies-to-012.xht [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[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] - /css/CSS2/normal-flow/min-height-applies-to-012.xht [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[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] - /css/CSS2/normal-flow/min-width-applies-to-012.xht [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[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] - /css/CSS2/normal-flow/overflow-scroll-paint-order.html [wpt.fyi]:
FAIL[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],PASS[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] - /css/CSS2/normal-flow/replaced-intrinsic-001.xht [wpt.fyi]:
FAIL - /css/CSS2/normal-flow/replaced-intrinsic-002.xht [wpt.fyi]:
FAIL - /css/CSS2/normal-flow/width-applies-to-012.xht [wpt.fyi]:
FAIL[Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[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] - /css/CSS2/normal-flow/auto-margins-root-element.html [wpt.fyi]
- Root element auto margins resolve:
FAIL
- Root element auto margins resolve:
- /css/CSS2/normal-flow/auto-margins-used-values-with-floats.tentative.html [wpt.fyi]
- .box 1:
FAIL - .box 2:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[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] - .box 3:
FAIL - .box 4:
FAIL - .box 5:
FAIL[Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt],PASS[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] - .box 6:
FAIL
- .box 1:
- /css/CSS2/normal-flow/margin-collapse-through-for-various-height-values.tentative.html [wpt.fyi]
- {"height":"1%","parentHeight":"auto"}:
FAIL - {"height":"1%","parentHeight":"0px"}:
FAIL - {"height":"calc(0px + 1%)","parentHeight":"auto"}:
FAIL - {"height":"calc(0px + 1%)","parentHeight":"0px"}:
FAIL - {"height":"calc(1px + 0%)","parentHeight":"auto"}:
FAIL - {"height":"calc(1px + 1%)","parentHeight":"auto"}:
FAIL - {"minHeight":"1%","parentHeight":"auto"}:
FAIL - {"minHeight":"1%","parentHeight":"0px"}:
FAIL - {"minHeight":"calc(0px + 1%)","parentHeight":"auto"}:
FAIL - {"minHeight":"calc(0px + 1%)","parentHeight":"0px"}:
FAIL - {"minHeight":"calc(1px + 0%)","parentHeight":"auto"}:
FAIL - {"minHeight":"calc(1px + 1%)","parentHeight":"auto"}:
FAIL - {"height":"1px","maxHeight":"0px"}:
FAIL - {"height":"1px","maxHeight":"0%","parentHeight":"0px"}:
FAIL - {"height":"1px","maxHeight":"0%","parentHeight":"100px"}:
FAIL - {"height":"1px","maxHeight":"1%","parentHeight":"0px"}:
FAIL - {"height":"1px","maxHeight":"calc(0px + 0%)","parentHeight":"0px"}:
FAIL - {"height":"1px","maxHeight":"calc(0px + 0%)","parentHeight":"100px"}:
FAIL - {"height":"1px","maxHeight":"calc(0px + 1%)","parentHeight":"0px"}:
FAIL
- {"height":"1%","parentHeight":"auto"}:
Comment 4•17 days ago
|
||
| bugherder | ||
Description
•