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: Cameron McCormack via GitHub <sysbot+gh@w3.org>
Date: Mon, 23 Oct 2017 06:54:50 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-338564027-1508741689-sysbot+gh@w3.org>
I guess this is not just an issue with `all`, but for any shorthand that sets logical properties.  For example:

```js
elem.style.writingMode = "horizontal-tb";
elem.style.marginTop = "1px";
elem.style.marginBlockStart = "2px";
elem.style.margin = "0px";  // top margin is still 2px :(
```

-- 
GitHub Notification of comment by heycam
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1898#issuecomment-338564027 using your GitHub account
Received on Monday, 23 October 2017 06:54:55 UTC

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