- From: Sebastian Zartner via GitHub <sysbot+gh@w3.org>
- Date: Thu, 21 Apr 2022 07:56:24 +0000
- To: public-css-archive@w3.org
The idea is to let one-dimensional images work in both one-dimensional and two-dimensional contexts. In 1D contexts like `border-color` and `outline-color` they are context-sensitive. In 2D contexts they are horizontal by default. We could additionally define a 2D variant of that function that allows rotating them. Though as [pointed out earlier](https://github.com/w3c/csswg-drafts/issues/2532#issuecomment-1040505437) by @LeaVerou, the plan is to also allow 1D images in gradient functions. So re-orientation would be done via `linear-gradient()`. Another way to achieve that is the `@image` rule suggested in https://github.com/w3c/csswg-drafts/issues/6807. So I wonder whether a separate 2D stripes function would be worth the redundancy. We might remove `<1d-image>` from direct usage in `<image>`, though, and already add it to the gradient functions. Sebastian -- GitHub Notification of comment by SebastianZ Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2532#issuecomment-1104836974 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 21 April 2022 07:56:26 UTC