Re: [csswg-drafts] [css-images] symmetrical/mirrored css gradients (#7534)

> seems like there is some cross over here with the `@image` proposal #6807

Yes, this use case already seems to be covered by the `transform` descriptor of `@image`, namely `transform: scaleX(-1);` or `transform: scaleY(-1);` depending on the mirroring direction.

We _could_ add this feature as a keyword to `background-repeat` and `mask-repeat` (and maybe other `*-repeat` properties in addition to that for the simple cases. The syntax might then look like this:

```css
[ repeat-x | repeat-y ] mirror? | [ [ repeat | space | round ] mirror? | no-repeat ]{1,2};
```

Sebastian

-- 
GitHub Notification of comment by SebastianZ
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7534#issuecomment-1197486483 using your GitHub account


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

Received on Wednesday, 27 July 2022 23:31:52 UTC