W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2017

Re: [csswg-drafts] [css-logical-1] [css-cascade-3] The all longhand probably shouldn't set logical properties.

From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
Date: Tue, 24 Oct 2017 06:43:36 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-338890114-1508827416-sysbot+gh@w3.org>
> Food for thought: what happens in this scenario?

If it starts with an empty style declaration block, then it is deterministic from the spec that, the top margin should be 2px, because `margin-top` comes before `margin-block-start` and thus it's overridden by the latter. It is just like
```css
elem {
  margin-top: 1px;
  margin-block-start: 2px;
  writing-mode: horizontal-tb;
}
```

I think this is clear in the spec, and it is not the problem here.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1898#issuecomment-338890114 using your GitHub account
Received on Tuesday, 24 October 2017 06:43:39 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:19 UTC