W3C home > Mailing lists > Public > public-css-archive@w3.org > April 2019

Re: [csswg-drafts] [css-shadow-parts] PanResp (Panel Responsive) support: sizing expression mapping (#3874)

From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
Date: Fri, 26 Apr 2019 20:29:21 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-487191317-1556310560-sysbot+gh@w3.org>
> Does the browser currently do early or late reduction of a sizing unit to actual pixels?

A custom property using an `em` value would have exactly the possibly-confusing behavior I outline: if it's a registered property, it turns into px based on the parent's 'font-size' value before inheriting; if not, it stays as an `em` value and becomes px based on the child's 'font-size' instead.

Spreading this behavior to *every* length unit isn't great.

GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3874#issuecomment-487191317 using your GitHub account
Received on Friday, 26 April 2019 20:29:22 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:46 UTC