Re: [csswg-drafts] [css-!] Abbreviated form of `!important`, to simply `!` (#7538)

It does reduce verbosity but perhaps too much? In some of your examples, given the lack of semi-colons, I feel it would be extremely easy to confuse `!` for a `;`.

At a glance, `.foo{color:red!;background:blue!}` and `.foo{color:red;background:blue;}` look **very** similar and might introduce confusion. Granted, if introduced, over time, authors would get used to it, but I am not sure a single `!` would be the best way to make it easier.

Additionally, `!important` should be used sparingly and as such, should be very explicit and intentional, so having it be a "long" flag makes it stand out, which is a good thing. (though yes I have written `!improtnant` and other variations a million times…)

-- 
GitHub Notification of comment by chriskirknielsen
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7538#issuecomment-1197103613 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 27 July 2022 17:52:47 UTC