<?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>26196</bug_id>
          
          <creation_ts>2014-06-25 13:45:00 +0000</creation_ts>
          <short_desc>disallow CSS comments in the &quot;sizes&quot; attribute</short_desc>
          <delta_ts>2015-09-16 12:44:14 +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>WONTFIX</resolution>
          
          <see_also>https://www.w3.org/Bugs/Public/show_bug.cgi?id=26195</see_also>
          <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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael[tm] Smith">mike</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108319</commentid>
    <comment_count>0</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2014-06-25 13:45:00 +0000</bug_when>
    <thetext>Please consider making the spec state that the value of the &quot;sizes&quot; attribute must not contain CSS comments. (In other words, that authors must not use CSS comments in anywhere in the the &quot;sizes&quot; attribute.)

I recognize there are some hypothetical use cases for allowing CSS comments in &quot;sizes&quot; but I&apos;ve yet to see any actual examples of anybody putting comments in there. 

So while UAs should still need to support parsing of &quot;media&quot; values that contain comments, conformance checkers would for now report the comments as invalid.

Then if we eventually end up finding that actual web authors are finding it unreasonable that CSS comments in sizes are not allowed, we can drop the requirement from the spec. But I&apos;d suggest we start by trying out the requirement and seeing what happens.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112430</commentid>
    <comment_count>1</comment_count>
    <who name="Michael[tm] Smith">mike</who>
    <bug_when>2014-09-29 23:39:33 +0000</bug_when>
    <thetext>Given the resolution on bug 26195, feel free to wontfix this one as well</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>