[svgwg] Inconsistent error handling of negative radius arcs. (#853)

tatarize has just created a new issue for https://github.com/w3c/svgwg:

== Inconsistent error handling of negative radius arcs. ==
The rect  elements used to declare negative arc values invalid and refuse to render the rect. This is still common. The latest working group says the negative arc values are invalid and should be omitted (resulting in a normal rect).
https://svgwg.org/svg2-draft/shapes.html#RectElement

The arc values themselves declare that negative arc values should be brought back into validity by taking the absolute value of them.
https://svgwg.org/svg-next/implnote.html#ArcImplementationNotes C4.2

Ellipses currently state that negative rx and ry values are invalid. Fullstop, thus shapes with negative radius arcs omitted.
https://svgwg.org/svg-next/shapes.html#EllipseElement

This currently provides 3 different error handling schemes. Rects lose their corners but are valid shapes. Arcs take the absolute value and move on, and ellipses declare the shape invalid and error out.

There should be a consistent method of dealing with negative radius arcs.

Please view or discuss this issue at https://github.com/w3c/svgwg/issues/853 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 3 June 2021 06:51:56 UTC