Closed Bug 1779107 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 34736 - blink: Switch root svg elements to apply all overflow properties.

Categories

(Core :: Layout: Scrolling and Overflow, task, P4)

task

Tracking

()

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Khushal Sagar <khushalsagar@chromium.org> wrote:

blink: Switch root svg elements to apply all overflow properties.

This change switches the outermost root svg element (other than svg
documents where the root svg element is also the document element) to
respect paint containment and overflow-clip-margin. This aligns svg with
the implementation for other replaced elements.

This also applies overflow correctly if it's different in both axis.
Prior to this change overflow was either visible in both directions
or clipped in both.

Bug: 1321217
Fixed: 364503
Change-Id: I9c49b16dc829d214ebd2b748638c7b4133d21509
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3743708
Reviewed-by: Philip Rogers \<pdr@chromium.org>
Reviewed-by: Fredrik Söderquist \<fs@opera.com>
Auto-Submit: Khushal Sagar \<khushalsagar@chromium.org>
Commit-Queue: Khushal Sagar \<khushalsagar@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1022723}

Component: web-platform-tests → Layout: Scrolling and Overflow
Product: Testing → Core

CI Results

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

Total 4 tests

Status Summary

Firefox

PASS: 1
FAIL: 3

Chrome

FAIL: 4

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5a7907e6b677
[wpt PR 34736] - blink: Switch root svg elements to apply all overflow properties., a=testonly
https://hg.mozilla.org/integration/autoland/rev/2edd6a6563ee
[wpt PR 34736] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in before you can comment on or make changes to this bug.