[Bug 22133] New: Violations of WebIDL, using a sequence as the type of an attribute

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22133

            Bug ID: 22133
           Summary: Violations of WebIDL, using a sequence as the type of
                    an attribute
    Classification: Unclassified
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSSOM
          Assignee: glenn@skynav.com
          Reporter: simonp@opera.com
        QA Contact: public-css-bugzilla@w3.org

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?

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 22 May 2013 13:45:13 UTC