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

Closed
estelle opened this issue May 13, 2024 · 1 comment · Fixed by #34961
Closed

Limitations of path() basic shape #33593

estelle opened this issue May 13, 2024 · 1 comment · Fixed by #34961
Labels
Content:CSS Cascading Style Sheets docs help wanted If you know something about this topic, we would love your help!

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:

@Josh-Cena Josh-Cena added help wanted If you know something about this topic, we would love your help! Content:SVG SVG docs and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jun 5, 2024
@Josh-Cena Josh-Cena added Content:CSS Cascading Style Sheets docs and removed Content:SVG SVG docs labels Jun 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:CSS Cascading Style Sheets docs help wanted If you know something about this topic, we would love your help!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants