<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26176</bug_id>
          
          <creation_ts>2014-06-23 02:24:42 +0000</creation_ts>
          <short_desc>&lt;img&gt; change media_query_list to &lt;media-query-list&gt; &amp; change prose of definition</short_desc>
          <delta_ts>2016-01-26 13:20:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          <dependson>26174</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael[tm] Smith">mike</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          <cc>d</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108202</commentid>
    <comment_count>0</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2014-06-23 02:24:42 +0000</bug_when>
    <thetext>The current &quot;Media Queries Level 4&quot; spec does not have a &quot;media_query_list&quot; production; instead it has a &quot;&lt;media-query-list&gt;&quot; production.

Also the HTML spec says, &quot;A string is a valid media query if it matches the media_query_list production of the Media Queries specification.&quot; which is kind of confusing/misleading, since what it allows  (I think) is actually a list of media queries, not just a single media query.

So I suggest the spec instead define this requirement with the prose &quot;...is a valid *media query list* if it matches...&quot; and with the text of the hyperlinked references to that definition (e.g., for the &quot;media&quot; attribute) also changed to read &quot;valid media query list&quot;.

I base the all the above on assuming that the spec actually intends for a media query list to be allowed throughout, not just a single media query. But if that&apos;s wrong and a single media query is what in fact should be allowed, then the definition should be changed to &quot;media query&quot; and the MQ spec reference should be to the &lt;media-query&gt; production.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110748</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-08-28 23:59:00 +0000</bug_when>
    <thetext>Fixed for HTML, but this also requires updates in the &lt;img&gt; section.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110749</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-08-28 23:59:15 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8732.
Check-in comment: Sync with MQ4
http://html5.org/tools/web-apps-tracker?from=8731&amp;to=8732</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124696</commentid>
    <comment_count>3</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2016-01-24 05:48:33 +0000</bug_when>
    <thetext>Simon, can you check if this still needs fixes to the image section?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>124713</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2016-01-26 13:20:59 +0000</bug_when>
    <thetext>Was fixed in https://github.com/ResponsiveImagesCG/picture-element/commit/f1e6be561f4d36b45b5a34e0d752c25a3c65b926</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>