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

Limitations of path() basic shape #33593

Open
estelle opened this issue May 13, 2024 · 1 comment
Open

Limitations of path() basic shape #33593

estelle opened this issue May 13, 2024 · 1 comment
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.

Comments

@estelle
Copy link
Member

estelle commented May 13, 2024

The required <string> is a single SVG Path string encompassed in quotes with numeric values representing pixel units.

The path page should include the above and following information:

While the path() function allows reuse of the SVG path syntax to define more arbitrary shapes than allowed by more specialized shape functions, it requires writing a path as a single string (which is not compatible with, for example, building a path piecemeal with var() and inherits a number of limitations from SVG, such as implicitly only allowing the px unit.

Originally posted by @estelle in #33446 (comment)

@github-actions github-actions bot added Content:SVG SVG docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. and removed Content:SVG SVG docs labels May 13, 2024
@dipikabh
Copy link
Contributor

path() is not supported in the shape-outside property:

This needs to be explicitly mentioned in both path() and shape-outside pages.

The following updates are especially needed on the shape-outside page:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Projects
None yet
Development

No branches or pull requests

2 participants