Re: [svgwg] Serialization format for path strings

There was an additional suggestion from Brian Birtles
https://groups.google.com/a/chromium.org/d/msg/blink-dev/_DPl-JG6bV8/bdRsDsS5EQAJ

> If the computed value was to be further normalized the
> author could animate between: 
>  offset-path: path('M0 100l0-100'); 
> and 
>  offset-path: path('M0 100v-100');
>  
> Furthermore, such normalization would mean the author
> does not need to parse or process 'v' commands or 'l'
> commands when reading 
> getComputedStyle(elem).offsetPath. 
>  
> But, like I said, I don't feel strongly about this, only that it
> deserves discussion before shipping. 
 
All H and V commands would be normalized to L in the serialization format,
and CSS Animations could animate between them. However, this would
introduce divergence between SMIL animation and CSS animation.


-- 
GitHub Notification of comment by ewilligers
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/321#issuecomment-304438627 using your GitHub account

Received on Saturday, 27 May 2017 08:45:33 UTC