Re: [csswg-drafts] [css-syntax][css-values] Add IEEE 754 float hex format SVG/CSS values (#4564)

> I see where you're going with this. Obviously the SVG is machine generated, it strikes me that scaling every dimension up by 1000 and set "viewBox="0 0 89000 95000" would avoid any issues you're having with float resolution.

I have seen this sort of issue come up a few times; sometimes people are unaware of resolution limits, or they are but don't see how to maximize them.

I know that SVG Tiny 1.2 had a precision requirement and SVG2 is moving towards deliberately not specifying one, but perhaps some authoring advice could be given. For example, consider
```
viewBox(0, 0, 10000, 10000)
viewBox(0, 0, 0.1, 0.1)
viewBox(100000000, 100000000, 100000000.1, 100000000.1)
```
These progressively squander the available resolution of any implementation

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4564#issuecomment-563349615 using your GitHub account

Received on Monday, 9 December 2019 17:40:24 UTC