W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2020

Re: [csswg-drafts] [css-logical-1] Interaction of shorthands and logical properties (#3030)

From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
Date: Thu, 05 Nov 2020 17:10:39 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-722512736-1604596238-sysbot+gh@w3.org>
So even if we resolved on this:

>  First proposal from fremy: During parsing of a css declaration block, shorthands (like margin and all) expands only to the set of longhand (grouped by mapping logic: so either logical or physical) required to describe their value, and by default resort to use physical properties if both sets are possible. Note that they can only expand if they do not contain var() substitutions.

still it seems the new spec text isn't wrong as long as `margin` is defined to be a shorthand for only physical properties... If / when that changes we might want to revisit that.

I still think the above proposal is wrong. `all` should expand to _both_ logical and physical properties IMO.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 5 November 2020 17:10:41 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:22 UTC