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

Re: properties' priority

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Sat, 29 Jun 2002 21:38:08 -0400
Message-Id: <200206300138.VAA19820@no-knife.mit.edu>
To: nerula <nerula@inwind.it>
cc: www-dom@w3.org

> i'm askin what could it mean the third parameter of setProperty
> (CSSStyleDeclaration), the property's priority, i'm not been able to
> find it neither on CSS manual nor on DOM 2 manual...  tnx bye

actually lists the only current useful value of the priority:
"important".  Using setProperty("foo", "bar", "important") is equivalent
to having the declaration:

foo: bar !important;

in your declaration block in CSS.

The typewriting machine, when played with expression, 
is no more annoying than the piano when played by a 
sister or near relation.
                             -- Oscar Wilde
Received on Sunday, 30 June 2002 01:30:46 UTC

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