From af27ebd448e1c4d47c6ee4b4575a0d6d0eada302 Mon Sep 17 00:00:00 2001 From: Noam Rosenthal Date: Tue, 28 Jan 2025 20:17:28 +0000 Subject: [PATCH] [css-shapes-2] Refine use of the word "path" in the intro (#11586) * [css-shapes-2] Refine use of the word "path" in the introl A "shape" is a set of commands to generate a path dynamically, rather than them being synonomous terms. * nits --- css-shapes-2/Overview.bs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/css-shapes-2/Overview.bs b/css-shapes-2/Overview.bs index 05d0865b9f1..bc806b44477 100644 --- a/css-shapes-2/Overview.bs +++ b/css-shapes-2/Overview.bs @@ -147,10 +147,12 @@ The ''shape()'' Function and inherits a number of limitations from SVG, such as implicitly only allowing the ''px'' unit. - The ''shape()'' function defines a path in the same way, + The ''shape()'' function uses a set of commands equivalent to the ones used by ''path()'', but does so with more standard CSS syntax, and allows the full range of CSS functionality, such as additional units and math functions. + The commands used by ''shape()'' are dynamically turned into path segments when it is used for rendering, + e.g., when computing the rendered 'clip-path'.
 		shape() = shape( <<'fill-rule'>>? from <>, <>#)