whatwg/html

Unclear if error event from "update the image data" matches implementations

Open

#3,839 创建于 2018年7月22日

在 GitHub 查看
 (4 评论) (0 反应) (0 负责人)HTML (7,654 star) (2,520 fork)batch import
good first issuetopic: img

描述

Attempting to verify the behaviour of step 10 of update the image data, I ran this test in Firefox, Safari, and Chrome on macOS. Each browser only displayed "error1". As far as I can tell img elements with either a srcset attribute or a picture parent should cause the algorithm to be invoked, and then end up with a null selected source. This doesn't appear to match the behaviour of any browser I've tried, however.

cc @zcorpan

贡献者指南