This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28848 - For a source-size-list, what order are media queries evaluated? Is it 'first one wins'?
Summary: For a source-size-list, what order are media queries evaluated? Is it 'first ...
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Simon Pieters
QA Contact:
URL: https://html.spec.whatwg.org/#valid-s...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-24 18:02 UTC by contributor
Modified: 2015-09-16 12:44 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2015-06-24 18:02:13 UTC
Specification: https://html.spec.whatwg.org/multipage/embedded-content.html
Multipage: https://html.spec.whatwg.org/multipage/#valid-source-size-list
Complete: https://html.spec.whatwg.org/#valid-source-size-list
Referrer: https://responsiveimages.org/

Comment:
For a source-size-list, what order are media queries evaluated? Is it 'first
one wins'?

Posted from: 47.21.1.166
User agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.130 Safari/537.36
Comment 1 Tab Atkins Jr. 2015-06-26 16:22:40 UTC
The spec defines this.  Yes, it's "first one wins".