Re: [csswg-drafts] [css-background-4] add background-layers property to set everything but background-color (#8726)

Summary of the proposals above:

1. Add a new shorthand that includes all background layers but excludes the color. (Initial proposal by @JaneOri)
   Suggested names:
   * `background-layer`
   * `background-overlay`
   * `background-stack`
   * `background-list`
   * `background-canvas`
   * `background-pattern`
   * `background-sheet`
   * `background-screen`
   * `background-cover`
   * `background-slice`
   * `background-image-stack`
   * `background-media`
   * `background-image-list`
   * `background-image-layer`
2. Add a new shorthand that covers the background positioning, sizing, etc. but excludes the images and color (proposed by @nt1m)
   Suggested name: `background-placement`
3. Add a `::background()` pseudo-element (proposed by @Crissov; also [proposed by him earlier in another issue](https://github.com/w3c/csswg-drafts/issues/8634#issuecomment-1484070131))
4. Use additive cascade to add background layers instead of overwriting them (proposed by @gavinmcfarland; discussed separately in #1594)
5. Add a new keyword to `background` that skips overwriting the color (or any layer; proposed by @ljharb; related discussion in #5319)

Sebastian

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


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

Received on Tuesday, 30 May 2023 20:07:22 UTC