[wpt-sync] Sync PR 36863 - LayoutNGView: Fix padding-right behavior on SVG documentElement
Categories
(Core :: SVG, task, P4)
Tracking
()
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: I9647472c91d5330c865e33b35ebc8ba3b46cc4fbReviewed-on: https://chromium-review.googlesource.com/4012458
WPT-Export-Revision: 7e8c18f6fe28b0ac169e7b9d82528cb7800c1fde
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
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
Comment 4•3 years ago
|
||
bugherder |
Description
•