Re: [csswg-drafts] [css-logical] Flow-relative syntax for `margin`-like shorthands (#1282)

I think it makes sense to set the `flow-mode` on an element instead of on a file. File settings aren't common in CSS like they are in JS and feel more arbitrary than setting `flow-mode` on a specific parent.

I feel that the example from @elad2412 makes the most sense in this case, with 

```
html{
   flow-mode:physical; 
       /*or*/
   flow-mode:logical;
}
```

I don't think this necessarily competes with `element.style.margin = "1px 2px 3px 4px";`. That would still be valid, inclusive of `flow-mode`.

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

Received on Tuesday, 9 June 2020 17:13:55 UTC