whatwg/html

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

開放

#3,839 建立於 2018年7月22日

 (4 則留言) (0 個反應) (0 位負責人)HTML (2,520 個分叉)batch import
good first issuetopic: img

倉庫指標

星標
 (7,654 顆星)
PR 合併指標
 (平均合併 42天 18小時) (30 天內合併 22 個 PR)

描述

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

貢獻者指南