Re: @important instead of multiple !important

06.01.2012, 12:19, "David Woolley" <forums@david-woolley.me.uk>:
> Marat Tanalin | tanalin.com wrote:
>
>> šA probable usable option is to add @important to CSS spec but limit its application to user stylesheets only.
>
> As I see it, user style sheets are an abstraction of the capabilities of
> the browser, so all that really matters about them is what they can do.
> ššBrowsers can extend the syntax, or even make them only accessible via
> GUI operations.

It turns out that it probably makes sense to request something like @-moz-important {} in Mozilla's bug tracker (I use Firefox).

> The other thing about any redundant syntactic alternative is that you
> can only safely use it after ten to twenty years, as you cannot rely on
> everyone updating their software (particularly older users).

I'm far from thinking that I personally will meet with anything discussed here being widely implemented. However it's not a reason to stop progress and do nothing; the sooner we add a feature, the sooner we (or, well, our successors) will be able to use it.

Received on Friday, 6 January 2012 18:27:25 UTC