Bug 222578

Summary: REGRESSION (r263345) srcset in <picture> in iframe no longer work
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: rbuis, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=213335

Simon Fraser (smfr)
Reported 2021-03-01 15:05:54 PST
<picture> tags that are appended to the DOM by JS do not seem to have the ability to have their img source value change when changing the viewport if the <picture> tag is within an <iframe>. This causes the rendered image to potentially use the wrong src if a user changes their viewport size. A reduction for this bug can be found here: https://codepen.io/chrisyz/pen/NWbMbyb
Attachments
Simon Fraser (smfr)
Comment 1 2021-03-01 15:06:27 PST
Note You need to log in before you can comment on or make changes to this bug.