Bug 222578
| Summary: | REGRESSION (r263345) srcset in <picture> in iframe no longer work | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Fraser (smfr) <simon.fraser> |
| Component: | CSS | Assignee: | 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)
<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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Fraser (smfr)
rdar://74887668