W3C home > Mailing lists > Public > www-style@w3.org > March 2016

Re: [css-backgrounds] Standardize "background-clip: text"

From: Daniel Holbert <dholbert@mozilla.com>
Date: Mon, 21 Mar 2016 11:36:03 -0700
To: "Tab Atkins Jr." <jackalmage@gmail.com>, Xidorn Quan <quanxunzhen@gmail.com>
Cc: www-style list <www-style@w3.org>, cku@mozilla.com
Message-ID: <e365ab32-2ca9-5537-4a48-54591938bdd0@mozilla.com>
On 03/21/2016 11:02 AM, Tab Atkins Jr. wrote:
> I agree.  fantasai and I discussed this as part of our work on
> speccing fill/stroke, and I think we agree (she can correct me if I'm
> overstating her position) that background-clip:text is *highly
> unfortunate*, but required at this point for compat.

Yup -- it's definitely required for compat, at least if you want to
implement -webkit-linear-gradient & friends.

If you implement -webkit-linear-gradient by itself without also
implementing -webkit-background-clip:text (as we currently do in Firefox
Nightly), you end up turning on backgrounds that were never meant to be
visible outside of text, which makes for brokenness and unreadable text
-- see e.g. these screenshots:

Received on Monday, 21 March 2016 18:36:32 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:57 UTC