[wpt-sync] Sync PR 64296 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321083
Categories
(Core :: Layout: Block and Inline, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 64296 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/64296
Details from upstream follow.
Alan Baradlay <zalan@apple.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=321083
WebKit export from bug: [<!---->block-<!---->in-<!---->inline]<!----> Baseline alignment ignores the offset of a block level box nested in an inline box
<pre>
[block-in-inline] Baseline alignment ignores the offset of a block level box nested in an inline boxLineLayout::firstLineBaseline() returns a block-in-inline's own baseline, but callers expect a baseline measured from the container's border box.
RenderBlock's equivalents add the child's logicalTop() for exactly this reason:if (auto baseline = child->firstLineBaseline()) return LayoutUnit { (child->logicalTop() + baseline.value()).toInt() };So anything above the block level box - the container's padding-before, or a preceding line - is dropped
from the exported baseline.WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=321083">https://bugs.webkit.org/show_bug.cgi?id=321083</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/318656@main">https://commits.webkit.org/318656@main</a>
</pre>
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•1 month ago
|
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Updated•25 days ago
|
| Assignee | ||
Updated•24 days ago
|
| Assignee | ||
Comment 1•24 days ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=116008
| Assignee | ||
Comment 2•23 days ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 11 tests and 3 subtests
Status Summary
Firefox
OK : 1[GitHub] 4[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-32-25h2-debug, Gecko-windows11-32-25h2-opt, Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
PASS: 2[GitHub] 20[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 26[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] 27[Gecko-windows11-64-25h2-debug, Gecko-windows11-64-25h2-opt]
FAIL: 1
Chrome
OK : 1
PASS: 3
Safari
OK : 1
PASS: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
Firefox-only Failures
- /css/css-align/baseline-rules/first-baseline-block-in-inline-001.html [wpt.fyi]
- Table cell baseline includes the offset of a block-level box nested in an inline box:
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,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,GitHub],PASS[Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt]
- Table cell baseline includes the offset of a block-level box nested in an inline box:
New Tests That Don't Pass
- /css/css-align/baseline-rules/first-baseline-block-in-inline-001.html [wpt.fyi]
- Table cell baseline includes the offset of a block-level box nested in an inline box:
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,Gecko-linux2404-64-debug,Gecko-linux2404-64-opt,GitHub],PASS[Gecko-windows11-32-25h2-debug,Gecko-windows11-32-25h2-opt,Gecko-windows11-64-25h2-debug,Gecko-windows11-64-25h2-opt] (Chrome:PASS, Safari:PASS)
- Table cell baseline includes the offset of a block-level box nested in an inline box:
Comment 4•19 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/fa68b368df97
https://hg.mozilla.org/mozilla-central/rev/965870bd4ec0
Description
•