forked from mirrors/gecko-dev
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
13 lines
400 B
HTML
13 lines
400 B
HTML
<!doctype html>
|
|
<meta charset="utf-8">
|
|
<title>Overflow: can have different clip and visible value in x/y directions with svg</title>
|
|
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#valdef-overflow-clip">
|
|
<link rel="author" title="Khushal Sagar" href="mailto:khushalsagar@chromium.org">
|
|
<style>
|
|
div {
|
|
width: 100px;
|
|
height: 150px;
|
|
background: green;
|
|
}
|
|
</style>
|
|
<div></div>
|