Re: [svgwg] Floating point number format discordance (SVG vs CSS vs browsers)

The Working Group just discussed `floating point differences of numbers between CSS and SVG`.

<details><summary>The full IRC log of that discussion</summary>
&lt;krit> topic: floating point differences of numbers between CSS and SVG<br>
&lt;liam> github issue: https://github.com/w3c/svgwg/issues/331<br>
&lt;krit> https://github.com/w3c/svgwg/issues/331#issuecomment-388108799<br>
&lt;krit> liam: noticed in a bug in arc and there was no definition when to floating point numbers are the same.<br>
&lt;krit> AmeliaBR: I'd not base number equality on the number format but on the mathematical value.<br>
&lt;krit> krit: question: do we want to align numbers for all uses in all attributes.<br>
&lt;krit> AmeliaBR: general we should align<br>
&lt;krit> AmeliaBR: trailing dot is not adding anything<br>
&lt;krit> AmeliaBR: trailing dot is commonly used in programming though not a reason to have it in CSS/SVG.<br>
&lt;krit> s/AmeliaBR/krit/<br>
&lt;krit> chris: Probably not a real world problem.<br>
&lt;krit> krit: do we need to align specs and implementation? What about UAs that continue to want to support them?<br>
&lt;krit> krit: FF already clearly stated that CSS and SVG number must use the same format for their implementation. So either CSS supports SVG numbers as well or they won't implement.<br>
&lt;krit> chris: Use CSS numbers, allow UAs to implement SVG 1.1 numbers but strongly discourage to use them<br>
&lt;krit> liam: hard to test... but in this case maybe the best.<br>
&lt;krit> resolution: Use CSS numbers, allow UAs to implement SVG 1.1 numbers but strongly discourage to use them<br>
&lt;krit> AmeliaBR: who is doing it?<br>
&lt;krit> krit: I'll take the action but it might take some time.<br>
&lt;krit> resolution: Same applies to SVG transform attributes in CSS Tansform<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/331#issuecomment-396359891 using your GitHub account

Received on Monday, 11 June 2018 19:33:18 UTC