text system color conflicts with background-clip
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
People
(Reporter: emilio, Unassigned)
References
Details
Attachments
(1 obsolete file)
Bug 570896 implemented parsing for the background-clip property in the background shorthand.
Seems like that change to the spec was reverted looking at the current draft.
This is causing issues when working on bug 1590894 because adding the text
color keyword suddenly changes the meaning of the background (it starts determining background-color, not background-clip).
The css3-backgrounds draft from 13 September 2007 (8cafb8725ac5ec89deb76476b7f7d80f0c2dce1a) does contain background-clip
in the background shorthand, haven't found yet when it went away.
Reporter | ||
Comment 1•5 years ago
|
||
Looks like it was removed in https://github.com/w3c/csswg-drafts/commit/3c8802f0a0eb0526b933c91888b3a2a49b71b593.
Reporter | ||
Comment 2•5 years ago
|
||
I can take this to unblock bug 1590894.
Reporter | ||
Comment 3•5 years ago
|
||
Bug 570896 implemented parsing for the background-clip property in the
background shorthand, but that change was later reverted in:
https://github.com/w3c/csswg-drafts/commit/3c8802f0a0eb0526b933c91888b3a2a49b71b593
This is causing issues when working on bug 1590894 because adding the text color
keyword suddenly changes the meaning of the background (it starts determining
background-color, not background-clip).
Align with other browsers and with the spec by not parsing background-clip in
the shorthand, always expanding to the initial value.
Reporter | ||
Comment 4•5 years ago
|
||
So, actually, it should parse it (and Mats pointed out in my patch the right section of the spec):
If one <box> value is present then it sets both background-origin and background-clip to that value. If two values are present, then the first sets background-origin and the second background-clip.
So now the issue is: backgrounds-3 doesn't define background-clip: text
, but presumably we do want to be able to specify background-clip: text
on the background shorthand, so the text
color is not backwards compatible...
I'll raise this with the CSSWG, as we could go in a number of ways about this.
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 5•5 years ago
|
||
Note renaming in css-color-4 of new system color Text to CanvasText
https://github.com/w3c/csswg-drafts/issues/4465#issuecomment-547994485
Reporter | ||
Comment 6•5 years ago
|
||
Yeah, this is wontfix per that resolution.
Description
•