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

Re: [css-cascade] all shorthand and UA defaults

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 24 Jul 2013 09:36:33 -0700
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <20130724163633.GA17247@crum.dbaron.org>
On Monday 2013-07-22 15:51 -0700, fantasai wrote:
> 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.
>   http://lists.w3.org/Archives/Public/www-style/2013Jul/0478.html
> 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
>   http://mxr.mozilla.org/mozilla-central/source/layout/style/html.css
> 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):
>   direction
>   unicode-bidi

I'm really uncomfortable with adding special-purpose logic like this
into what was intended as a general mechanism.  I suppose there's
perhaps a decent argument for the change, but I'm certainly not
happy about it.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Wednesday, 24 July 2013 16:36:57 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 24 July 2013 16:36:59 UTC