[csswg-drafts] [css-images] 1D "painting area" for stripes() is confusing (#8160)

Loirooriol has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-images] 1D "painting area" for stripes() is confusing ==
`stripes()` keeps referring to a "painting area", e.g.

> a [`<percentage>`](https://drafts.csswg.org/css-values-4/#percentage-value) is relative to the painting area

But this is very confusing since an area is 2D but `stripes()` is a `<1d-image>`. And for example,

```css
width: 0;
height: 0;
border: 50px solid;
border-radius: 100%;
border-color: stripes(blue 50%, orange 50%);
```

I think it would look like the image below, so the actual areas are in a proportion of 1:4, not 1:1
![](https://user-images.githubusercontent.com/7477678/204861053-c41a0430-690e-48ac-af2d-1a8290c3106c.png)

I think "painting area" should be renamed to something like "length of the paint line".

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8160 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 30 November 2022 17:08:24 UTC