WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
284938
Only synthesize a 'viewBox' in <img> for the document element <svg>
https://bugs.webkit.org/show_bug.cgi?id=284938
Summary
Only synthesize a 'viewBox' in <img> for the document element <svg>
Ahmad Saleem
Reported
2024-12-18 22:39:30 PST
Hi Team, This is just plain merge of below: Blink Commit:
https://chromium.googlesource.com/chromium/src/+/b895b95cbe1718e0492cec48a398e90d26049ed3
WebKit Source:
https://searchfox.org/wubkat/rev/d46c14cf9008c4385cf0ac7919561b278d047e85/Source/WebCore/svg/SVGSVGElement.cpp#590
WPT Test:
http://wpt.live/svg/embedded/image-embedding-svg-nested-svg-in-foreignobject.html
**** auto isEmbeddedThroughSVGImage = [this](const RenderElement* renderer) -> bool { bool isDocumentElement = document().documentElement() == this; if (!isDocumentElement) return false; **** This fix failing test case. So raising so we can fix it. Thanks!
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2024-12-18 22:47:22 PST
<
rdar://problem/141733733
>
Ahmad Saleem
Comment 2
2024-12-18 22:53:30 PST
Pull request:
https://github.com/WebKit/WebKit/pull/38195
EWS
Comment 3
2024-12-19 17:37:47 PST
Committed
288134@main
(257fce338020): <
https://commits.webkit.org/288134@main
> Reviewed commits have been landed. Closing PR #38195 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug