[Webkit-unassigned] [Bug 49059] Unable to remove 'important' priority of a CSS shorthand property

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 10 10:19:08 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=49059


Alexis Menard (darktears) <alexis.menard at openbossa.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |alexis.menard at openbossa.org
                   |                            |, ianh at apple.com,
                   |                            |mitz at webkit.org




--- Comment #3 from Alexis Menard (darktears) <alexis.menard at openbossa.org>  2012-02-10 10:19:07 PST ---
(In reply to comment #2)
> Just verified that the issue only affects shorthand properties. Maybe we can merge this bug into bug 49098 because they might be of the same cause?

It also affect regular longhand properties.

It seems that it behaves like this on purpose :

https://bugs.webkit.org/show_bug.cgi?id=60007

Now I couldn't find anything in the spec about Ian's comment : 
"An element with a !important property in its style will allow you to override this property in JavaScript without using !important."

If I take the snippet and run it into Opera 11, Firefox 10 it runs as expecting overriding the !important property.

So what should we do here? I'll be happy to make the patch if a behavior fix is needed.

Ian, Dan???

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list