Bug 1779107 [wpt PR 34736] - blink: Switch root svg elements to apply all overflow...
commitb4e739382dbbb5c4cc2b82bf2e7684931f9a11b5
authorKhushal Sagar <khushalsagar@chromium.org>
Thu, 14 Jul 2022 04:07:36 +0000 (14 04:07 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Thu, 14 Jul 2022 16:18:09 +0000 (14 16:18 +0000)
tree939289c386e8eb95107d3de37eba58169d456731
parent08391a0d0bbef69e089230fa194679118fe79fcc
Bug 1779107 [wpt PR 34736] - blink: Switch root svg elements to apply all overflow properties., a=testonly

Automatic update from web-platform-tests
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}

--

wpt-commits: 6538541cf9a31f3597a7f41b672131fac6a8734e
wpt-pr: 34736
testing/web-platform/tests/css/css-overflow/overflow-clip-margin-svg-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-overflow/overflow-clip-margin-svg.html [new file with mode: 0644]
testing/web-platform/tests/css/css-overflow/overflow-clip-x-visible-y-svg-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-overflow/overflow-clip-x-visible-y-svg.html [new file with mode: 0644]
testing/web-platform/tests/css/css-overflow/overflow-clip-y-visible-x-svg-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-overflow/overflow-clip-y-visible-x-svg.html [new file with mode: 0644]
testing/web-platform/tests/css/css-overflow/paint-containment-svg-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/css-overflow/paint-containment-svg.html [new file with mode: 0644]