Bug 88316 - background-clip: text does not work when the background is specified after the clip
Summary: background-clip: text does not work when the background is specified after th...
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 525.x (Safari 3.2)
Hardware: Macintosh OS X 10.7
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-05 02:02 PDT by Ben Schwarz
Modified: 2012-06-13 21:45 PDT (History)
2 users (show)

See Also:


Attachments
A screen shot of the issue (6.10 KB, image/png)
2012-06-05 02:03 PDT, Ben Schwarz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Schwarz 2012-06-05 02:02:44 PDT
Taking this example: http://jsfiddle.net/gPXkH/1/

What I expect to see: Both "A" and "B" to have their background gradient clipped to the text. 
What I see: Only "A" is clipped to the text.
Comment 1 Ben Schwarz 2012-06-05 02:03:32 PDT
Created attachment 145733 [details]
A screen shot of the issue
Comment 2 Ben Schwarz 2012-06-06 20:05:58 PDT
I spoke with TabAtkins, he pointed out that background-clip is a long hand property for background, and thusly any usage of background will cancel-out the background-clip. My bad!