- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 28 Jun 2023 16:45:41 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-background-4] add background-layers property to set everything but background-color`, and agreed to the following: * `RESOLVED: add shorthand for background-* minus background-color, name TBD` <details><summary>The full IRC log of that discussion</summary> <fantasai> SebastianZ: initial proposal was to create background-layers property that is separate from background-color but is otherwise same as 'background' shorhtand<br> <fantasai> -> summary comment https://github.com/w3c/csswg-drafts/issues/8726#issuecomment-1569020794<br> <fantasai> SebastianZ: The discussion went on and had different proposal to cover that use case<br> <fantasai> SebastianZ: 1st was new shorthand described above<br> <fantasai> SebastianZ: another that includes everything except images and color<br> <fantasai> SebastianZ: third was a ::background() pseudo-element<br> <SebastianZ> https://github.com/w3c/csswg-drafts/issues/8726#issuecomment-1569020794<br> <fantasai> SebastianZ: fourth was to add new keyword to skip overwriting the color<br> <fantasai> SebastianZ: and last was from Oriol to make no change, but teach authors to use background-color: revert-layer<br> <Rossen_> q?<br> <fantasai> SebastianZ: My personal opinion is to have something like the original proposal<br> <fantasai> SebastianZ: from my view it's the easiest way to achieve this as an author<br> <fantasai> SebastianZ: other suggestions have adantages as well<br> <fantasai> fantasai: agree with SebastianZ<br> <ntim> q+<br> <fantasai> fantasai: tackling list-editing cascade is a big project, worth doing, but unnecessary<br> <Rossen_> ack fantasai<br> <Rossen_> ack ntim<br> <fantasai> fantasai: just adding a shorthand is simple and solves the problem, biggest problem is naming the shorthand<br> <miriam> q+<br> <fantasai> ntim: Problem is you'll have 3 properties with similar syntax, hard to know the differences<br> <fantasai> ntim: you can do background: url, url, and then background-image: url, url; and then background-layers: url, url<br> <fantasai> miriam: I agree with SebastianZ and fantasai<br> <Rossen_> ack miriam<br> <fantasai> miriam: I mostly wanted to push against the 'revert-layer' option<br> <fantasai> miriam: teaching authors to use revert-layer is great! but it has specific cases where that's useful solution<br> <fantasai> miriam: but it requires adding new layers, and want to do that carefully<br> <fantasai> miriam: doesn't make sense as a universal solution to this problem<br> <fantasai> ??: I had a proposal to put positioning into shorthand without image, to avoid confusion of three properties that can take an image<br> <fantasai> s/??/ntim/<br> <fantasai> SebastianZ: that was my second option<br> <drott> fantasai: not a good idea, then you'd have to maintain two lists<br> <Rossen_> ack fantasai<br> <drott> fantasai: 1 for images, 1 for positioning<br> <drott> fantasai: sometimes there's use cases for splitting those things - but images and positioning are cascading together, so they should be declared together<br> <drott> fantasai: i'd advocate for original proposal, just need a shorthand name that makes sense<br> <fantasai> Rossen_: sounds like many folks leaning towards original proposal<br> <fantasai> Rossen_: would there be objections to resolve on the original proposal, and naming later?<br> <fantasai> RESOLVED: add shorthand for background-* minus background-color, name TBD<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8726#issuecomment-1611761835 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 28 June 2023 16:45:43 UTC