NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 1016 - picture-source checks are applied on video-source also
picture-source checks are applied on video-source also
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: General
HEAD
All All
: P2 normal
Assigned To: Nobody
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2015-01-15 13:06 CET by Simon Pieters
Modified: 2015-02-15 17:54 CET (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Pieters 2015-01-15 13:06:59 CET
<video>
 <source src="foo">
 <img src="bar" srcset="baz 2x" alt="">
</video>

Error: A source element that has a following sibling source element or img element with a srcset attribute must have a media attribute and/or type attribute.

Should only run picture-source checks if the parent is a picture.
Comment 1 Michael[tm] Smith 2015-01-17 19:43:26 CET
Thanks for catching this. Have added it to the TODO list