[csswg-drafts] [css-shapes-2] Minor problems with the new `<arc-command>` (#11368)

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-shapes-2] Minor problems with the new `<arc-command>` ==
Its [production](https://drafts.csswg.org/css-shapes-2/#ref-for-typedef-shape-arc-command%E2%91%A0) requires specifying the size with two `<length-percentage>`:

  > ```
  > <arc-command> = arc [ 
  >      <command-end-point>
  >   && [ of <coordinate-pair> ]
  >   && <arc-sweep>? 
  >   && <arc-size>? 
  >   && [rotate <angle>]? 
  >]
  > <coordinate-pair> = <length-percentage>{2}
  > ```

But then its [contextual definition](https://drafts.csswg.org/css-shapes-2/#typedef-shape-arc-command) has a different value definition and a prose that allows omitting the second component value:

  > `<arc-command> = arc [[<by-to> <coordinate-pair>] || [of <length-percentage>{1,2}] || <arc-sweep>? || <arc-size>?|| rotate <angle>? ]`
  >
  > [...] The `of` component specifies the size of the ellipse that the arc is taken from. The first `<length-percentage>` provides the horizontal radius of the ellipse and the second provides the vertical radius. [...]
  >
  > If only one `<length-percentage>` is provided, both radiuses use the provided value. In that case, `<percentage>` values are resolved against the direction-agnostic size of the reference box (similar to the circle() function).

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11368 using your GitHub account


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

Received on Friday, 13 December 2024 09:31:45 UTC