Skip to content

Commit

Permalink
Fix srcset attribute guidelines
Browse files Browse the repository at this point in the history
Conformance requirement for the width descriptor is about the sizes attribute, not the srcset attribute.

Fixes whatwg#3250.
  • Loading branch information
Johanna-hub authored and mustaqahmed committed Feb 15, 2019
1 parent cca630d commit 015c096
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source
Original file line number Diff line number Diff line change
Expand Up @@ -27097,7 +27097,7 @@ was an English &lt;a href="/wiki/Music_hall">music hall&lt;/a> singer, ...</code
must match the <span>intrinsic width</span> in the resource given by the
<span>image candidate string</span>'s URL, if it has an <span>intrinsic width</span>.</p>

<p>If an element has a <span>srcset attribute</span> present, all <span data-x="image
<p>If an element has a <span>sizes attribute</span> present, all <span data-x="image
candidate string">image candidate strings</span> for that element must have the <span>width
descriptor</span> specified.</p>

Expand Down Expand Up @@ -121861,6 +121861,7 @@ INSERT INTERFACES HERE
Joel Spolsky,
Joel Verhagen,
Johan Herland,
Johanna Herman,
John Boyer,
John Bussjaeger,
John Carpenter,
Expand Down Expand Up @@ -122296,6 +122297,7 @@ INSERT INTERFACES HERE
Travis Leithead,
Trevor Rowbotham,
Trevor Saunders,
Trey Eckels,
triple-underscore, <!-- GitHub -->
Tyler Close,
Valentin Gosu,
Expand Down

0 comments on commit 015c096

Please sign in to comment.