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

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

From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
Date: Thu, 29 Oct 2020 18:42:51 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-718948017-1603996969-sysbot+gh@w3.org>
@fantasai But according to #3030,

> 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)

while you seem to mean that both sets of longhand are set? What is supposed to happen if I do

document.body.style.cssText = "margin: 0";
document.body.style.length; // 4 or 8 ??

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

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 29 October 2020 18:42:52 UTC

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