- From: Emilio Cobos Álvarez via GitHub <sysbot+gh@w3.org>
- Date: Mon, 02 Dec 2019 09:23:41 +0000
- To: public-css-archive@w3.org
I don't understand why making `calc()` special here. If I understand correctly, [Blink](https://cs.chromium.org/chromium/src/third_party/blink/renderer/platform/geometry/length.h) and [WebKit](https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/Length.h) store every other non-calc() length as float. I actually see no occurrence of `double` in [WebKit's `CalculationValue.cpp`](https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/platform/CalculationValue.cpp), @smfr what am I missing? I think the difference here is that the WebKit CSS parser does operate on `double` and they then truncate to float rather than Gecko's, which uses `float` everywhere... But maybe I am missing something here. -- GitHub Notification of comment by emilio Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4551#issuecomment-560308362 using your GitHub account
Received on Monday, 2 December 2019 09:23:43 UTC