Re: CSSStyleDeclaration: Setting only a value or a priority

Le 19/08/2013 15:27, Peter Sloetjes a écrit :
> For the "[property] = value" syntax, one could require an extra space
> character " " at the end to indicate that the property priority should
> be changed to "", while leaving it unchanged when no space is added.
> After all, an extra space is required for setting "!important" as well.
> Not setting priorities leads to much less side effects and is perhaps
> what most users want to do most of the time.

Whitespace has never been significant in CSS. I am very much against 
changing that.

(Also, whitespace is not necessary when specifying !important :
data:text/html,<style>body{background:green!important )

-- 
Simon Sapin

Received on Monday, 19 August 2013 16:47:08 UTC