Closed Bug 2089397 Opened 17 days ago Closed

[wpt-sync] Sync PR 64433 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=323064

Categories

(Core :: Layout: Floats, task, P4)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 64433 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/64433
Details from upstream follow.

Alan Baradlay <zalan@apple.com> wrote:

WebKit export of https://bugs.webkit.org/show_bug.cgi?id=323064

WebKit export from bug: `<!---->shape-<!---->outside`<!----> renders incorrectly when the float has margins

<pre>
shape-outside renders incorrectly when the float has margins

IFC integration codepath builds that geometry out of FloatingObject::frameRect(), which is the margin box.
However shape's coordinates are relative to the float's border box.
Any margin on the float is dropped from the shape's position: the line is constrained as if the
shape sat at the float's margin box origin.

WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=323064">https://bugs.webkit.org/show_bug.cgi?id=323064</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/320417@main">https://commits.webkit.org/320417@main</a>
</pre>

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Component: web-platform-tests → Layout: Floats
Product: Testing → Core
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 49 tests and 2 subtests

Status Summary

Firefox

OK : 1
PASS: 2[Gecko-windows11-32-25h2-debug, Gecko-windows11-32-25h2-opt] 6[GitHub] 43[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: 7

Chrome

PASS: 6

Safari

PASS: 6

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Status: NEW → RESOLVED
Closed: 9 days ago
Closed: 9 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.