W3C home > Mailing lists > Public > www-style@w3.org > June 2007

Re: [cssom] simple assignment involving !important

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Tue, 05 Jun 2007 10:54:33 -0500
Message-ID: <46658739.7030803@mit.edu>
To: Anne van Kesteren <annevk@opera.com>
CC: Mats Palmgren <mats.palmgren@bredband.net>, www-style@w3.org

Anne van Kesteren wrote:
> Testing shows that Internet Explorer 7 does not support it and Opera 9 
> and Firefox 2 do...

For what it's worth, the relevant code in Firefox has the following comment:

  //XXXbz this function does not deal well with something like "foo
  //!important" as the aPropValue.  It will parse the "foo" and set it
  //in the decl, then ignore the !important.  It should either fail to
  //parse this or do !important correctly....

> Would specifying something to that effect make sense? Probably 
> indicating that including !important would lead to the method call being 
> ignored?

I would be happy with that.

Received on Tuesday, 5 June 2007 15:55:59 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:29 UTC