Skip to content

[css-shapes-2] The new definition of '<basic-shape>' should include 'path()' #4270

@BorisChiou

Description

@BorisChiou

The definition of <basic-shape> for shape-inside in [css-shapes-2] doesn't include path() now. We define path() as a delta of supported basic shapes in [css-shapes-2], and it seems no other places mention it.
IIRC, at least four properties use <basic-shape>:

  1. shape-outside: The link of <basic-shape> in its value definition links to the definition of <basic-shape> in [css-shapes]
  2. shape-inside: The link of <basic-shape> in its value definition links to its own definition of <basic-shape> in [css-shapes-2].
  3. clip-path: The same as that of shape-inside.
  4. offset-path: The same as clip-path and shape-inside. However, it also defines a different syntax of path() because fill-rule doesn't make sense on offset-path.

IMO, the link of the value definition of <basic-shape> for shape-outside, shape-inside, and clip-path should link to the same place, and it'd be better to mention path() together, to avoid confusing people. Or make all four links of <basic-shape> in the value definitions of these properties link to the same place, but add a note for offset-path which doesn't use the syntax of path() defined in [css-shapes-2].

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions