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

Did https://github.com/w3c/svgwg/issues/753#issuecomment-567199686 ever made it into any spec?

```
<svg width="400" viewBox="0 0 400 300" xmlns="http://www.w3.org/2000/svg">
  <rect x="20" y="20" width="60" height="60" stroke="green" fill="none" stroke-width="20"/>

  <path d="M110,20 h60 v60 h-60 v-60" stroke="red"
        stroke-linecap="butt" fill="none" stroke-width="20" />
</svg>
```

is rendered by browsers like

<img width="194" alt="image" src="https://github.com/user-attachments/assets/c3705382-2d16-483a-90b5-c9a4aa4af9ce">

(https://codepen.io/thakis/pen/dyxXgja), so the spec isn't matching reality (…as this issue points out). Browsers stroke rects with non-rounded corners as if they are closed.

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


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

Received on Sunday, 6 October 2024 23:59:35 UTC