whatwg/html

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

Ouverte

#3 839 ouverte le 22 juil. 2018

 (4 commentaires) (0 réaction) (0 personne assignée)HTML (2 520 forks)batch import
good first issuetopic: img

Métriques du dépôt

Stars
 (7 654 étoiles)
Métriques de merge PR
 (Merge moyen 42j 18h) (22 PRs mergées en 30 j)

Description

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

Guide contributeur