News for hackers. Stuff that matters.
Re:A Harsh CSS Environment for Testing Widgets by Tichy on Sunday June 07, 2009 @07:06PM (#646504)
Is the "!important" thing part of a coming arms race? Must admit I have not encountered it before. Can they be combined (!important !important or !veryimportant,...), and in a couple of months all style sheets have to be !supermegamegaimportant?
Re:A Harsh CSS Environment for Testing Widgets by Hexstream on Sunday June 07, 2009 @08:25PM (#646590)
This is one of those times I pat myself on the back for reading the specifications directly ;P

http://www.w3.org/TR/CSS21/cascade.html#important-rules

Re:A Harsh CSS Environment for Testing Widgets by Tichy on Monday June 08, 2009 @05:12AM (#647028)
This feature sucks. So once stylehseet authors start using !important everywhere, users will have to use !important everywhere, too. Then in the next incarnation they will introduce a !moreImportant property to overide the !important setting of the user stylesheet.