Re: [svgwg] Rect decomposition is invalid (#753)

The SVG Working Group just discussed `Rect decomposition is invalid / markers equivalent paths for basic shapes`, and agreed to the following:

* `RESOLUTION: Equivalent path for rect without corner radius uses a closepath segment for the last straight line`
* `RESOLUTION: Make markers on circle, ellipse, and rect At Risk; file browser bugs asking for implementation plans & feedback (including re equivalent path interactions)`

<details><summary>The full IRC log of that discussion</summary>
&lt;AmeliaBR> Topic: Rect decomposition is invalid / markers equivalent paths for basic shapes<br>
&lt;AmeliaBR> github: https://github.com/w3c/svgwg/issues/753<br>
&lt;nzimmermann> AmeliaBR: presents rect decomposition is invalid<br>
&lt;nzimmermann> AmeliaBR: issue complains that the equivalent path description for rectangles has a bunch of conditional statements, depending on rx/ry. as it is currently written for rx=ry=0 the path is not closed. if someone literally implements the wording of the spec one could end up with an unclosed path<br>
&lt;nzimmermann> AmeliaBR: the discussion in the issue got complex, how to resolve this properly in svg2.<br>
&lt;nzimmermann> AmeliaBR: explains the broader scope of the topic<br>
&lt;nzimmermann> AmeliaBR: summary of the discussion in the issue<br>
&lt;nzimmermann> AmeliaBR: right now you cannot create a circle with a path when using the equivalent path formulation: the difference is in how markers are treated (additional close path segment)<br>
&lt;AmeliaBR> s/when using/that has the same effect as/<br>
&lt;nzimmermann> AmeliaBR: follow up was: the same thing is true for curved rectangles, for straight-line rectangles there is no issue<br>
&lt;nzimmermann> AmeliaBR: my recommandation is: fix the issue about straight line rectangles, make sure it is closed, with a simple closePath command, and add an at-risk warning about markers on the shapes that did not have markers in SVG1<br>
&lt;nzimmermann> AmeliaBR: file browser bugs asking to implement markers on the other shapes (rectangles, circles and ellipses) and see if we can get any feedback from implementors, about it being difficult or not<br>
&lt;nzimmermann> AmeliaBR: difficulty might be regarding segment completing curves, as this does not exists in paths currently<br>
&lt;nzimmermann> AmeliaBR: if we do get feedback that segment completing curves are a problem, then we need to think about alternatives<br>
&lt;nzimmermann> Tavmjong: if you put mid-marker on a rect it would only be on 3 corners<br>
&lt;nzimmermann> AmeliaBR: correct to get a marker on all 4 corners, one would also need start/end markers<br>
&lt;nzimmermann> krit: asks about markers support in polygons<br>
&lt;nzimmermann> AmeliaBR: not implemented yet<br>
&lt;nzimmermann> Tamvjong: Inkscape can render it<br>
&lt;krit> s/in polygons/in regular shapes/<br>
&lt;AmeliaBR> Proposed resolution: Equivalent path for rect without corner radius uses a closepath segment for the last straight line<br>
&lt;nzimmermann> RESOLUTION: Equivalent path for rect without corner radius uses a closepath segment for the last straight line<br>
&lt;AmeliaBR> Proposed 2: Make markers on circle, ellipse, and rect At Risk; file browser bugs asking for implementation plans &amp; feedback (including re equivalent path interactions)<br>
&lt;nzimmermann> RESOLUTION: Make markers on circle, ellipse, and rect At Risk; file browser bugs asking for implementation plans &amp; feedback (including re equivalent path interactions)<br>
&lt;nzimmermann> s/Make/Mark/<br>
&lt;nzimmermann> Tavmjong: will work on the tests, to reflect the changes<br>
&lt;nzimmermann> AmeliaBR: will work on the spec, and review test changes<br>
</details>


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

Received on Wednesday, 18 December 2019 20:27:57 UTC