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

Re: [csswg-drafts] [css-inline-3] initial-letters changing used, not computed font-size (#4988)

From: fantasai via GitHub <sysbot+gh@w3.org>
Date: Thu, 18 Jun 2020 04:03:59 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-645758152-1592453038-sysbot+gh@w3.org>
Not quite. `font-size: 0.5em` would reset the multiplier to 1, because it's a `<length>` value. But `font-size: 50%` would maintain the multiplier. This avoids any need to be careful about font-relative lengths generally. :) Only situations where font-relativity is expressed in percentages (line-height, font-size, and various text-* properties) would end up relative to the used font size.

-- 
GitHub Notification of comment by fantasai
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4988#issuecomment-645758152 using your GitHub account
Received on Thursday, 18 June 2020 04:05:07 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:28 UTC