Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disambiguate definitions of "Basic shapes" #862

Open
fred-wang opened this issue Jul 20, 2021 · 0 comments
Open

Disambiguate definitions of "Basic shapes" #862

fred-wang opened this issue Jul 20, 2021 · 0 comments

Comments

@fred-wang
Copy link
Contributor

cc @nikolaszimmermann @rbuis @soniasingla

The introduction of chapter 10 (Basic shapes) starts that way (see https://svgwg.org/svg2-draft/shapes.html#Introduction ):

dl
  dt basic shape
  dt shape
  dt shape elements
  dd A graphics element that is defined by some
  combination of straight lines and curves.
  Specifically: ‘circle’, ‘ellipse’, ‘line’, ‘path’,
  ‘polygon’, ‘polyline’ and ‘rect’.

... more text ...

Presented that way, it looks like "basic shape", "shape" and "shape elements" are all following the same definition, that includes the <path> element.

On the one hand <path> is actually not defined in this chapter and it does not sound appropriate to use the term "basic" for that element since it can be used for quite complex shapes. The text below the definition as well as https://svgwg.org/svg2-draft/paths.html#Introduction seems to exclude <path> for basic shape.

On the other hand, the definition for <path> in https://svgwg.org/svg2-draft/paths.html#PathElement puts it in the category of "shape element".

So it looks that one needs two separate definitions instead : one for basic shape element and one for shape element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant