<?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>25426</bug_id>
          
          <creation_ts>2014-04-23 09:23:16 +0000</creation_ts>
          <short_desc>Don&apos;t escape --foo</short_desc>
          <delta_ts>2015-09-08 07:03:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>CSSOM</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>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Pieters">zcorpan</reporter>
          <assigned_to name="Simon Pieters">zcorpan</assigned_to>
          <cc>mathias</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104253</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-04-23 09:23:16 +0000</bug_when>
    <thetext>http://dev.w3.org/csswg/cssom/#common-serializing-idioms

[[
If the character is the second character and is &quot;-&quot; (U+002D) and the first character is &quot;-&quot; as well, then the escaped character.
]]

css-syntax changed to allow --foo so maybe CSS.escape() shouldn&apos;t escape it?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104781</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2014-04-30 05:27:27 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/csswg/rev/98c61628c0e9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>104798</commentid>
    <comment_count>2</comment_count>
    <who name="Mathias Bynens">mathias</who>
    <bug_when>2014-04-30 09:44:36 +0000</bug_when>
    <thetext>Polyfill + tests updated: https://github.com/mathiasbynens/CSS.escape/commit/3ff1913c7ac411a9108ef528aceb3cb6c1e0918d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123123</commentid>
    <comment_count>3</comment_count>
    <who name="Mathias Bynens">mathias</who>
    <bug_when>2015-09-07 18:08:10 +0000</bug_when>
    <thetext>This is problematic in browsers that ship `CSS.escape` before shipping an updated CSS parser (as per the latest css-syntax): https://code.google.com/p/chromium/issues/detail?id=528972#c3</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123124</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-09-08 04:35:49 +0000</bug_when>
    <thetext>- and -- are not identifiers. Blink implements css-syntax. This is a bug in CSSOM.

https://drafts.csswg.org/css-syntax/#ident-token-diagram</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123126</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-09-08 06:49:34 +0000</bug_when>
    <thetext>https://github.com/w3c/csswg-drafts/commit/196e80a5013df9f185547df3fdeccc72f9aae597</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123127</commentid>
    <comment_count>6</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-09-08 07:03:47 +0000</bug_when>
    <thetext>Oops, misread css-syntax. &apos;--&apos; was OK.
https://github.com/w3c/csswg-drafts/commit/7707b15e6d42a6cb4b04da6b6ecb680c0e9365da</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>