[wpt-sync] Sync PR 63289 - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326186
Categories
(Core :: Layout: Floats, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox160 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
(Blocks 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 63289 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/63289
Details from upstream follow.
Ahmad Saleem <ahmad.saleem792+github@gmail.com> wrote:
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=326186
WebKit export from bug: shape-margin above 65535px on an image shape-outside produces a much smaller float area
<pre>
shape-margin above 65535px on an image shape-outside produces a much smaller float areaMarginIntervalGenerator computed radius * radius as unsigned, which
overflows when the shape-margin is above 65535px. For a radius of
65536px the square wraps to 0, so the margin on each row of the
shape itself became 0. Larger radii wrapped to other small values.
A float with a huge shape-margin then had a float area far smaller
than its margin box, and text wrapped into the space the margin
should have covered.This patch does the squaring in 64 bits.
WebKit-Bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=326186">https://bugs.webkit.org/show_bug.cgi?id=326186</a>
WebKit-Canonical-Link: <a href="https://commits.webkit.org/322727@main">https://commits.webkit.org/322727@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=100722
| Assignee | ||
Comment 2•1 month ago
|
||
Try push failed to land: Lando job 100722 for the try push is FAILED:
Unexpected error while fetching repo from try.
hg error in cmd: hg pull https://hg.mozilla.org/mozilla-unified: pulling from https://hg.mozilla.org/mozilla-unified
abort: HTTP Error 503: Service Unavailable
| Assignee | ||
Comment 3•1 month ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/jobs?repo=try&landoInstance=lando-prod-2025&landoCommitID=101222
| Assignee | ||
Comment 4•1 month ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 5 subtests
Status Summary
Firefox
OK : 1
FAIL: 5
Chrome
OK : 1
PASS: 2
FAIL: 3
Safari
OK : 1
PASS: 2
FAIL: 3
Links
Details
Firefox-only Failures
- /css/css-shapes/shape-outside/shape-image/shape-image-030.html [wpt.fyi]
- shape-margin: 60000px covers the whole float margin box:
FAIL - shape-margin: 65535px covers the whole float margin box:
FAIL
- shape-margin: 60000px covers the whole float margin box:
New Tests That Don't Pass
- /css/css-shapes/shape-outside/shape-image/shape-image-030.html [wpt.fyi]
- shape-margin: 60000px covers the whole float margin box:
FAIL(Chrome:PASS, Safari:PASS) - shape-margin: 65535px covers the whole float margin box:
FAIL(Chrome:PASS, Safari:PASS) - shape-margin: 65536px covers the whole float margin box:
FAIL(Chrome:FAIL, Safari:FAIL) - shape-margin: 65537px covers the whole float margin box:
FAIL(Chrome:FAIL, Safari:FAIL) - shape-margin: 70000px covers the whole float margin box:
FAIL(Chrome:FAIL, Safari:FAIL)
- shape-margin: 60000px covers the whole float margin box:
Comment 6•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/1e859660cfbf
https://hg.mozilla.org/mozilla-central/rev/142deea0d16e
Description
•