<?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>25035</bug_id>
          
          <creation_ts>2014-03-12 23:39:59 +0000</creation_ts>
          <short_desc>[om] The side-effects of programmatically duplicating a rule key are undefined</short_desc>
          <delta_ts>2014-10-31 22:38:17 +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>Animations</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/www-style/2014Mar/0209.html</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="Sylvain Galineau">galineau</reporter>
          <assigned_to name="Sylvain Galineau">galineau</assigned_to>
          <cc>cmarrin</cc>
    
    <cc>eoconnor</cc>
    
    <cc>smfr</cc>
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>102284</commentid>
    <comment_count>0</comment_count>
    <who name="Sylvain Galineau">galineau</who>
    <bug_when>2014-03-12 23:39:59 +0000</bug_when>
    <thetext>From Daniel:

&quot;On a similar note, the keyText attribute of CSSKeyframeRule is
read/write. That means it is possible to programmatically assign a
CSSKeyframeRule&apos;s key to an existing key in the parent
CSSKeyframesRule... Section 6.2.2 of the spec does not say what happens
in that case and I think it should. In particular, what happens:

- if the assigned keyText is invalid ; should it throw anything?
- if the assigned keyText already exists

Same thing about CSSKeyframeRule.appendRule(). If the key specified by 
the passed string already exists in cssRules, I suppose the existing 
Keyframe should be deleted. This is not specified in the current ED.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>103241</commentid>
    <comment_count>1</comment_count>
    <who name="Sylvain Galineau">galineau</who>
    <bug_when>2014-04-01 17:23:53 +0000</bug_when>
    <thetext>Follow up at http://lists.w3.org/Archives/Public/www-style/2014Mar/0517.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>106949</commentid>
    <comment_count>2</comment_count>
    <who name="Sylvain Galineau">galineau</who>
    <bug_when>2014-05-28 21:45:24 +0000</bug_when>
    <thetext>Throw syntax error per WG resolution from 2014-04-02 [1]:

RESOLVED: Keytext on setting invalid value should throw an error.

[1] http://lists.w3.org/Archives/Public/www-style/2014Apr/0016.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114405</commentid>
    <comment_count>3</comment_count>
    <who name="Sylvain Galineau">galineau</who>
    <bug_when>2014-10-31 22:38:17 +0000</bug_when>
    <thetext>Per WG resolution [1], appendRule always appends a valid rule at the end of the @keyframes rule. The rule&apos;s key is not considered.

[1] http://log.csswg.org/irc.w3.org/css/2014-10-27/#e484268</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>