W3C home > Mailing lists > Public > www-style@w3.org > July 2013

[css-cascade] all shorthand and UA defaults

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 22 Jul 2013 15:51:15 -0700
Message-ID: <51EDB763.6080706@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
Ok, so on the telecon we discussed the requirements of the 'all'
shorthand, and how it relies on being able to properly reset
both inherited and non-inherited properties.
And then the related problem of the UA style sheet maybe having
rules that really ought to not be overridden.

Tab and I went through the Gecko UA style sheet
and it's fairly obvious from that that the 'all' shorthand
really should not be messing with the 'unicode-bidi' and
'direction' properties.

So we propose that the following properties be excluded from
'all', because they are really controlling the content rather
than the style (and generally shouldn't be set by authors):

There are other rules that it might be nice not to reset (like
'display: none' rules from the UA style sheet), but these are
less straightforward to fix. It might be best just to caution
authors not to do * { all: unset; }

We're also considering whether properties set by UA rules tied
to the content language should also be excluded from 'all', e.g.
But less sure about that.

~fantasai and TJ
Received on Monday, 22 July 2013 22:51:48 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:32 UTC