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

Re: [csswg-drafts] [css-values-4] Explicitly undefine CSS numeric precision in general (#4552)

From: Christoph Päper via GitHub <sysbot+gh@w3.org>
Date: Mon, 02 Dec 2019 09:13:23 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-560304049-1575278001-sysbot+gh@w3.org>
Indeed, the only practical way to enforce a more uniform or at least higher precision for absolute `<length>` values would probably be a new unit much smaller than `px`. That idea has been rejected before, though. 

| `1px` | `1pt` | `1twip`* | `1q` | `1um`* |
|---|---|---|---|---|
| **60** | 80 | 4 | ~56.693 | ~0.22677 |
| **64** | 85.3… | 4.26… | ~60,472 | ~0.24189 |
| 95.25 | 127 | 6.35 | 90 | 0.36 |
| **100** | 133.3… | 6.6… | ~94,488 | ~0.37795 |
| 105.83… | 141.1… | 7.05… | **100** | 0.4 |
| 127 | 169.3… | 8.46… | 120 | 0.48 |
| 150 | 200 | **10** | ~113.39 | ~0.56693 |
| 190.5 | 254 | 12.7 | 180 | 0.72 |
| 225 | **300** | 15 | ~212.598 | ~0.85039 |
| 264.583… | 352.7… | 17.638… | 250 | **1** |
| 381 | 508 | 25.4 | 360 | 1.44 |


- `twip`: twentieth of a point, `20twip` = `1pt`, `15twip` = `1px`
- `um`: micrometer, `1000um` = `1mm`, `250um` = `1q`

-- 
GitHub Notification of comment by Crissov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4552#issuecomment-560304049 using your GitHub account
Received on Monday, 2 December 2019 09:13:24 UTC

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