W3C home > Mailing lists > Public > www-style@w3.org > April 2014

Re: [css-backgrounds] background-position-x/-y, logical positions, and initial value failure

From: Simon Sapin <simon.sapin@exyr.org>
Date: Wed, 23 Apr 2014 16:01:24 +0100
Message-ID: <5357D5C4.1060006@exyr.org>
To: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>, MURAKAMI Shinyu <murakami@antenna.co.jp>
On 18/04/2014 01:50, fantasai wrote:
> Now, what's the initial value of these properties?
> With margin it's 0. No problem. Everybody is zero, we get
> zero margins. No conflicts.
>     margin-left: 0;
>     margin-right: 0;
>     margin-top: 0;
>     margin-bottom: 0;
> is exactly equivalent to
>     margin-inline-start: 0;
>     margin-inline-end: 0;
>     margin-block-start: 0;
>     margin-block-end: 0;
> no matter the writing mode. If you tweak any values, the
> cascade then says which wins.

Where is this defined? How does the cascade say which wins?

-- 
Simon Sapin
Received on Wednesday, 23 April 2014 15:01:49 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:21 UTC