W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2000

Missing Exception on DOMImplemenationCSS

From: Blaine Brodie <bbrodie@savagesoftware.com>
Date: Wed, 28 Jun 2000 12:31:13 -0700
Message-id: <fc.0085846d00009a9f0085846d00009a9f.9aa0@savagesoftware.com>
To: www-dom@w3.org
Currently the createCSSStyleSheet method under the DOMImplementationCSS
interface does not throw any exceptions.  Should this method throw a
SYNTAX_ERR exception in the case that the media DOMString has a syntax
error and is unparsable? 

Also, Under Section 5.2, the insertRule method of the CSSMediaRule
interface the description for the 'rule' parameter states that it is "The
parsable text representing the rule. For rule sets this contains both the
selector and the style declaration. For at-rules, this specifies both the
at-identifier and the rule content."  Should this actually say something
like "The parsable text representing the rule sets'  selector and style
declaration."? Any at rules would generate SYNTAX_ERR exceptions.


Blaine Brodie
Received on Wednesday, 28 June 2000 15:31:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC