whatwg/html

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

オープン

#3,839 opened on 2018/07/22

 (4 件のコメント) (0 件のリアクション) (0 人の担当者)HTML (2,520 件のフォーク)batch import
good first issuetopic: img

Repository metrics

Stars
 (7,654 個のスター)
PR merge metrics
 (平均マージ 42d 18h) (30d で 22 merged PRs)

説明

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

コントリビューターガイド