We're updating the issue view to help you get more done. 

Ambiguity between srcset urls and data:image base64 encoded image

Description

The srcset attribute should contain a comma separated list of images and their respective sizes. Unfortunately, the base64 encoded image standard also includes a comma, resulting in the encoded content being interpreted as an embed url.

1 <img srcset="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"</img>
1 2 outlink: data:image/gif;base64 E img/@srcset outlink: http://example.com/R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7 E img/@srcset

Environment

None

Status

Assignee

Adam Miller

Reporter

Adam Miller

Priority

Major