- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Tue, 01 Apr 2025 20:30:10 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed ``[css-backgrounds] Always serialize 'background-size' and `mask-size` as two values``, and agreed to the following: * `RESOLVED: background-size and mask-size both always serialize to two values, as an explicit exception to the shorthest-serialization principle` * `ACTION: Contact httparchive to check usage of single-value background-size` <details><summary>The full IRC log of that discussion</summary> <fantasai> ntim: -webkit-background-size, if you put a single value, has a different meaning than single value on standard background-size<br> <fantasai> ntim: in -webkit-background-size, the value duplicates<br> <fantasai> ntim: whereas in background-size we default to auto<br> <fantasai> ntim: that's slightly different behavior<br> <fantasai> ntim: Right now 2 engines serialize single-value form to one value, but WebKit serializes as 2 values due to this ambiguity<br> <fantasai> ntim++<br> <fantasai> ntim: spec says "use shortest form that doesn't introduce ambiguity"<br> <fantasai> ntim: because of -webkit-background-size quirk, suggest to serialize as 2 values<br> <astearns> ack fantasai<br> <TabAtkins> fantasai: I'm on the record as saying that defaulting to auto was a mistake, i'm sorry. we should have duplicated the value<br> <TabAtkins> fantasai: historical context is we didn't really have stretch images back then. seemed important to preserve the aspect ratio, but that was the wrong behavior in hindsight<br> <TabAtkins> fantasai: i'm in support of serializing two values<br> <TabAtkins> fantasai: if it was web compatible i'd prefer to change the defaulting behavior too<br> <TabAtkins> fantasai: but probably can't do that<br> <TabAtkins> astearns: so we'd be amking an execption to the shortest-serialization-principle for this property, to always serialize to two values<br> <TabAtkins> astearns: objections?<br> <TabAtkins> ntim: also for mask-size<br> <fantasai> s/stretch/stretchy/<br> <TabAtkins> RESOLVED: background-size and mask-size both always serialize to two values, as an explicit exception to the shorthest-serialization principle<br> <TabAtkins> fantasai: can we do an httparchive to see if anyone uses single-value background-size?<br> <TabAtkins> TabAtkins: use counters seem plausible<br> <TabAtkins> fantasai: how do we do that?<br> <TabAtkins> lea: we contact the httparchvie people and ask them<br> <TabAtkins> astearns: maybe someone should document how to make a request<br> <TabAtkins> lea: i'm contacting the person i've previousl gotten to help, think he's pulled back some but maybe he can point us to who to ask<br> <fantasai> ACTION: Contact httparchive to check usage of single-value background-size<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7802#issuecomment-2770612154 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 1 April 2025 20:30:11 UTC