[wpt-sync] Sync PR 37356 - Only synthesize a 'viewBox' in <img> for the document element <svg>
Categories
(Core :: SVG, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 37356 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/37356
Details from upstream follow.
Fredrik Söderquist <fs@opera.com> wrote:
Only synthesize a 'viewBox' in <img> for the document element <svg>
SVGSVGElement::ShouldSynthesizeViewBox() needs to check that it is the
document element as well.Use the IsDocumentElement() helper from Element, and replace another
instance of the same check as well.Fixed: 1313530
Change-Id: I785a8ce83780cc2a4c9d697065453f69bc3d69e4Reviewed-on: https://chromium-review.googlesource.com/4079162
WPT-Export-Revision: 9973e1da0cdd3211d2a15887714b82e4e395c369
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 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
FAIL
: 1
Links
Comment 4•2 years ago
|
||
bugherder |
Description
•