[wpt-sync] Sync PR 42282 - Fix "slicing" of outer box-shadows for inline fragments
Categories
(Core :: Layout: Images, Video, and HTML Frames, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox120 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 42282 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/42282
Details from upstream follow.
Fredrik Söderquist <fs@opera.com> wrote:
Fix "slicing" of outer box-shadows for inline fragments
For outer box-shadows the shadow shape was not adjusted to take any
effects from "slicing" - i.e where an inline continues from a previous
line - into account, which resulted in incorrect rendering of the shadow
on those edges.Reuse the existing
AdjustRectForSideClipping()to perform this
adjustment, and refactor the clipping code slightly to clip correctly
for each shadow (it previously only applied for the first rendered
shadow).Update a couple of tests that were previously incorrect.
Fixed: 1488440
Change-Id: If23b1d8095cef6d88ee808e4af3619a0ac70e9a3Reviewed-on: https://chromium-review.googlesource.com/4900525
WPT-Export-Revision: 6b8d78123f7b866d378729f4827cac177b52c2e6
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 4 tests
Status Summary
Firefox
FAIL: 4
Chrome
FAIL: 4
Safari
PASS: 2
FAIL: 2
Links
Details
New Tests That Don't Pass
- /css/css-backgrounds/box-shadow/slice-block-fragmentation-001.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:PASS) - /css/css-backgrounds/box-shadow/slice-block-fragmentation-002.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:PASS) - /css/css-backgrounds/box-shadow/slice-inline-fragmentation-001.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL) - /css/css-backgrounds/box-shadow/slice-inline-fragmentation-002.html [wpt.fyi]:
FAIL(Chrome:FAIL, Safari:FAIL)
Comment 4•2 years ago
|
||
| bugherder | ||
Description
•