W3C home > Mailing lists > Public > www-style@w3.org > May 2013

Re: [cssom] Need to clarify handling of "priority" argument to CSSStyleDeclaration.setProperty

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 28 May 2013 11:52:00 -0400
Message-ID: <51A4D2A0.4080003@mit.edu>
To: Simon Pieters <simonp@opera.com>
CC: www-style@w3.org
On 5/28/13 9:12 AM, Simon Pieters wrote:
> I didn't find instances of null usage in webdevdata.org or by quickly
> searching for ".setProperty(" on github. But I've made the change.
> https://dvcs.w3.org/hg/csswg/rev/9404a23a6d35

Thanks!

>> But in general, the behavior for invalid priorities needs to be defined.
>
> It is defined already.
>
> "If priority is neither a valid priority nor the empty string terminate
> this algorithm."

Hmm.  What defines "valid priority"?

-Boris
Received on Tuesday, 28 May 2013 15:52:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 28 May 2013 15:52:28 UTC