Sure, I'm saying that old -webkit-background-clip works with keywords: 
border, content, padding. The new one - background-clip works with 
border-box, content-box, padding-box.
So, per compat spec -webkit-background-clip should be alias to 
background-clip. But since the keywords are different, in order to handle 
round trip better (e.g. setting -webkit-background-clip to content would 
read back content-box, as it's an alias to background-clip), we want to 
drop support of old keywords without -box for -webkit-background-clip. To 
see how bad that would we've set up use counters. 
The biggest one is 0.08%. I've manually checked 80% of the websites 
reported by that use counter, but found that all of them use *-box 
keywords, and only one uses -webkit-background-clip: content.
So I think it's safe to remove support for old keywords.
Hope it's more clear now.
On Wednesday, September 27, 2023 at 4:55:53 PM UTC+2 Daniel Bratell wrote:

> It allows to use the unprefixed version for background-clip: text and 
> makes -webkit-background-clip an alias for background-clip. Also, it drops 
> support for non-suffixed keywords (content, padding and border) for better 
> round-trip with alias.
>
> Can you clarify exactly what this means? I'm perfectly fine with lgtm-ing 
> unprefixing and adding a (temporary?) alias for the old keyword, but if we 
> start removing support for keywords we need to be more careful and I want 
> to be sure I understand.
>
> /Daniel
>
> On 2023-09-27 09:53, Daniil Sakhapov wrote:
>
> Also forgot to mention: the highest use counter for unsuffixed keyword is 
> 0.08 - and among those I've analyzed 80% of websites and all of them use 
> suffixed *-box version, so it's safe to remove.
>
> On Wednesday, September 27, 2023 at 9:49:35 AM UTC+2 Yoav Weiss wrote:
>
>> LGTM1
>>
>> On Wed, Sep 27, 2023 at 2:38 AM 一丝 <[email protected]> wrote:
>>
>>> I think the correct specification address would be 
>>> https://drafts.csswg.org/css-backgrounds-4/#typedef-bg-clip
>>>
>>> In css-backgrounds-4 also added `border` value, should we support it 
>>> when removing the prefix? Maybe this needs to be discussed further by the 
>>> CSSWG.
>>>
>>> 在2023年9月27日星期三 UTC+8 06:04:54<[email protected]> 写道:
>>>
>>>> Is there any interest in doing the same for -webkit-text-fill-color? 
>>>> The two get typically used in combination for gradient effects: 
>>>> https://github.com/tomayac/blogccasion/blob/6ee3722011661db7a0c95c4379d7905bd8e95404/css/main.css#L100-L113.
>>>>  
>>>> (See any of the headings on https://blog.tomayac.com/ for an example.)
>>>>
>>>> On Tue, Sep 26, 2023, 16:33 Daniil Sakhapov <[email protected]> 
>>>> wrote:
>>>>
>>>>> Contact emails [email protected]
>>>>>
>>>>> Specification 
>>>>> https://drafts.csswg.org/css-backgrounds/#background-clip
>>>>>
>>>>> Summary 
>>>>>
>>>>> It allows to use the unprefixed version for background-clip: text and 
>>>>> makes -webkit-background-clip an alias for background-clip. Also, it 
>>>>> drops 
>>>>> support for non-suffixed keywords (content, padding and border) for 
>>>>> better 
>>>>> round-trip with alias.
>>>>>
>>>>> Blink component Blink>CSS 
>>>>> <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3ECSS>
>>>>>
>>>>> Risks 
>>>>>
>>>>> Interoperability and Compatibility 
>>>>>
>>>>> None
>>>>>
>>>>> *Gecko*: Shipped/Shipping Firefox doesn't support keywords with no 
>>>>> suffix for prefixed version
>>>>>
>>>>> *WebKit*: Shipped/Shipping Safari supports keywords with no suffix 
>>>>> (border, content, padding), but only for prefixed version
>>>>>
>>>>> Will this feature be supported on all six Blink platforms (Windows, 
>>>>> Mac, Linux, Chrome OS, Android, and Android WebView)? Yes
>>>>>
>>>>> Is this feature fully tested by web-platform-tests 
>>>>> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
>>>>> ? wpt.fyi/css/css-backgrounds/background-clip/clip-text-dynamic-2.html
>>>>>
>>>>> Link to entry on the Chrome Platform Status 
>>>>> https://chromestatus.com/feature/5125388091260928
>>>>>
>>>>> This intent message was generated by Chrome Platform Status 
>>>>> <https://chromestatus.com/>.
>>>>>
>>>> -- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "blink-dev" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to [email protected].
>>>>> To view this discussion on the web visit 
>>>>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAH3Z928OknOBtR09iMg2rc%2B8qst3%2Bk7Pek%2Bh_hmWA-fDxM8yVw%40mail.gmail.com
>>>>>  
>>>>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAH3Z928OknOBtR09iMg2rc%2B8qst3%2Bk7Pek%2Bh_hmWA-fDxM8yVw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "blink-dev" group.
>>>
>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to [email protected].
>>> To view this discussion on the web visit 
>>> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/2328dffa-e2c8-4c68-83f6-c9667b981823n%40chromium.org
>>>  
>>> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/2328dffa-e2c8-4c68-83f6-c9667b981823n%40chromium.org?utm_medium=email&utm_source=footer>
>>> .
>>>
>> -- 
> You received this message because you are subscribed to the Google Groups 
> "blink-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
>
> To view this discussion on the web visit 
> https://groups.google.com/a/chromium.org/d/msgid/blink-dev/4956583f-6dec-43d6-8d18-394e15c9d72an%40chromium.org
>  
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/4956583f-6dec-43d6-8d18-394e15c9d72an%40chromium.org?utm_medium=email&utm_source=footer>
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/b95d7f89-a711-42cc-a4fb-f329aee6a7d1n%40chromium.org.

Reply via email to