Closed Bug 1799611 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 36863 - LayoutNGView: Fix padding-right behavior on SVG documentElement

Categories

(Core :: SVG, task, P4)

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Kent Tamura <tkent@chromium.org> wrote:

LayoutNGView: Fix padding-right behavior on SVG documentElement

In SVGImage cases, its LayoutView size is the content size of the SVG,
excluding paddings. However the replaced layout algorithm takes into
account of paddings, and the painter produces a smaller image.

This CL makes the behavior compatible with the legacy layout and other
browsers by setting \<svg>'s size to LayoutView size + padding.

Bug: 1381822
Change-Id: I9647472c91d5330c865e33b35ebc8ba3b46cc4fb

Reviewed-on: https://chromium-review.googlesource.com/4012458
WPT-Export-Revision: 7e8c18f6fe28b0ac169e7b9d82528cb7800c1fde

Component: web-platform-tests → SVG
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

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

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

FAIL: 1

Safari

PASS: 1

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bb573f11a490 [wpt PR 36863] - LayoutNGView: Fix padding-right behavior on SVG documentElement, a=testonly
You need to log in before you can comment on or make changes to this bug.