[Bug 22308] New: Should null and undefined stringify as "null" and "undefined" for media queries?

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

            Bug ID: 22308
           Summary: Should null and undefined stringify as "null" and
                    "undefined" for media queries?
    Classification: Unclassified
           Product: CSS
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSSOM
          Assignee: glenn@skynav.com
          Reporter: rune@opera.com
        QA Contact: public-css-bugzilla@w3.org

The MediaList interface contains no TreatNullAs for any of the DOMStrings. I
was wondering if that was intentional. WebKit/Blink/Gecko all treat null as
empty string when setting mediaText, at least.

http://dev.w3.org/csswg/cssom/#the-medialist-interface

[[
interface MediaList {
  stringifier attribute DOMString mediaText;
  readonly attribute unsigned long length;
  getter DOMString item(unsigned long index);
  void appendMedium(DOMString medium);
  void deleteMedium(DOMString medium);
};
]]

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

Received on Friday, 7 June 2013 12:42:10 UTC