<?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>22133</bug_id>
          
          <creation_ts>2013-05-22 13:45:08 +0000</creation_ts>
          <short_desc>Violations of WebIDL, using a sequence as the type of an attribute</short_desc>
          <delta_ts>2013-08-08 13:26:26 +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>
          
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>88064</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-05-22 13:45:08 +0000</bug_when>
    <thetext>http://dev.w3.org/csswg/cssom/#cssstylesheet

[[
readonly attribute CSSRuleList cssRules;
]]

Line 0 of IDL #0:Attribute cssRules in Interface CSSStyleSheet is defined as a sequence.
Line 0 of IDL #0:Attribute styleSheets in Interface Document is defined as a sequence.
Line 0 of IDL #0:Attribute cssRules in Interface CSSMediaRule is defined as a sequence.

WebIDL says

[[
Sequences MUST NOT be used as the type of an attribute, constant or exception field.
]]
http://dev.w3.org/2006/webapi/WebIDL/#idl-sequence

Maybe we should use http://dev.w3.org/2006/webapi/WebIDL/#idl-array instead for these?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>88071</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2013-05-22 14:34:43 +0000</bug_when>
    <thetext>https://dvcs.w3.org/hg/csswg/rev/8378027c3df9
https://dvcs.w3.org/hg/csswg/rev/f2e4818f2805</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>