Bug 289884

Summary: Intrinsic Sizing of SVG embedded via <embed> should be invalidated on navigation
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: DOMAssignee: Ahmad Saleem <ahmad.saleem792>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ahmad Saleem
Reported 2025-03-16 23:31:47 PDT
Hi Team, While looking into browser specific failures, I noticed that we fail / timeout following test case: WPT Test Case: https://wpt.fyi/results/html/semantics/embedded-content/the-embed-element/embed-svg-navigation-resets-size.html?label=experimental&label=master&aligned WPT Live Link (Timeout): https://wpt.live/html/semantics/embedded-content/the-embed-element/embed-svg-navigation-resets-size.html While looking into the bug, I noticed that we don't invalidate when attribute changes in HTMLEmbedElement similar to <object> so this bug is to fix the issue and progress the test case as well. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2025-03-16 23:31:56 PDT
Ahmad Saleem
Comment 2 2025-03-16 23:44:01 PDT
EWS
Comment 3 2025-03-17 08:12:17 PDT
Committed 292267@main (8516f3226ca6): <https://commits.webkit.org/292267@main> Reviewed commits have been landed. Closing PR #42559 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.