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

The mattering is for marker mostly which depend on where there is and isn't a point.

```
<svg xmlns="http://www.w3.org/2000/svg" width="300" height="200" version="1.1">
   <defs>
    <marker id="markerCircle" markerWidth="8" markerHeight="8" refX="5" refY="5">
        <circle cx="5" cy="5" r="3" fill-opacity=".25" style="stroke: none; fill:#000000"/>
    </marker>
</defs>

<path transform="translate(20,20)" d="M 0,0 H 100 V 100 H 0 z" style="stroke: #6666ff; stroke-width: 1px; fill: none; marker-mid: url(#markerCircle);"/>
<path transform="translate(140,20)" d="M 0,0 H 100 V 100 H 0 V 0 z" style="stroke: #6666ff; stroke-width: 1px; fill: none; marker-mid: url(#markerCircle);"/>
</svg>
```

![markers](https://user-images.githubusercontent.com/3302478/69475619-1d801980-0d84-11ea-9ca9-a34f14a8fc4c.png)

This is just with the mid points since the Z is a marker-end it would fall under a different scheme. Which means there's a difference between the two paths. If you want a midpoint coincident with the end point is a substantive change.

Given the spec as it stands, I'm not actually sure which it should be. Even if I read between the lines and say, obviously I close the path even though the spec does not instruct me to.

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

Received on Saturday, 23 November 2019 08:02:03 UTC