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

Re: [csswg-drafts] [css-fonts] Clarify how the computed font-size is determined for size keyword (#3906)

From: Myles C. Maxfield via GitHub <sysbot+gh@w3.org>
Date: Fri, 10 May 2019 04:50:34 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-491154815-1557463833-sysbot+gh@w3.org>
WebKit [has](https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/page/Settings.yaml#L71):

```yaml
defaultFontSize:
  type: int
  initial: 16
  onChange: setNeedsRecalcStyleInAllFrames
defaultFixedFontSize:
  type: int
  initial: 13
  onChange: setNeedsRecalcStyleInAllFrames
```

and [also](https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/graphics/FontCascadeDescription.h#L75):

```C++
bool useFixedDefaultSize() const { return familyCount() == 1 && firstFamily() == monospaceFamily; }
```

-- 
GitHub Notification of comment by litherum
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3906#issuecomment-491154815 using your GitHub account
Received on Friday, 10 May 2019 04:50:35 UTC

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