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

The problem of making `all` not expand to logical properties is that it in some case it would fail to reset all properties in some cases. For example, if someone has
```javascript
elem.style.paddingLeft = '10px';
elem.style.paddingInlineStart = '10px';
elem.style.all = 'initial';
```
people should be expecting that there is no padding anymore. However, if `all` doesn't reset logical properties, we would still have `padding-inline-start` left there.

I guess the solution should be having the order defined in the way that, logical properties go before physical ones. This doesn't fix the issue that the two pieces of code having different behavior, but it at least provides a behavior compatible with pre-logical world, and can consistently reset all properties with `all`.

-- 
GitHub Notification of comment by upsuper
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1898#issuecomment-338554555 using your GitHub account

Received on Monday, 23 October 2017 05:53:19 UTC