Re: [csswg-drafts] [css-shapes-2] Add a way to change an element's shape (#6997)

> The single-shape syntax is a request to stroke the given path (which may contain multiple sub-paths). The two-stroke syntax is a request to fill the area between the paths. It's possible we should switch between these behaviors with a keyword, but then you might have an author providing a single-path path and requesting a fill, which would be an error (I don't think we ever want the border to act as a fill over the entire element).

Maybe I'm still getting this wrong, but is this equivalent to using a different winding-rule for fill and stroke? `evenodd` for fill and `nonzero` for stroke?

-- 
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6997#issuecomment-2313263277 using your GitHub account


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

Received on Tuesday, 27 August 2024 18:41:49 UTC