Re: [csswg-drafts] [css-logical-1] Order of inheritance vs. mapping in logical properties (#3029)

![logical-inheritance](https://user-images.githubusercontent.com/725717/96610701-c5fa6e80-12b0-11eb-950c-504ddaf93089.jpeg)

So these are the two operations under considerations:

- Blue Line: Child’s `margin-inline-start` maps to `margin-right` which then inherits from parent’s `margin-right` (which is the parent’s `margin-inline-end`). This is what browsers currently do.
- Red Line: Child’s `margin-inline-start` (which is the child’s `margin-right`) inherits from parent’s `margin-inline-start` (which is matched with parent’s `margin-left`). This is what @r12a expects.

Keep in mind that properties are first cascaded (all together, logical and physical mixed and mapped by writing mode, latest declaration of a conflicting set winning), and then computed (which causes each matching pair to share a single computed value).

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 20 October 2020 15:55:08 UTC