Bug 88316

Summary: background-clip: text does not work when the background is specified after the clip
Product: WebKit Reporter: Ben Schwarz <ben.schwarz>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: paulirish, shanestephens
Priority: P2    
Version: 525.x (Safari 3.2)   
Hardware: Mac   
OS: OS X 10.7   
Attachments:
Description Flags
A screen shot of the issue none

Ben Schwarz
Reported 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.
Attachments
A screen shot of the issue (6.10 KB, image/png)
2012-06-05 02:03 PDT, Ben Schwarz
no flags
Ben Schwarz
Comment 1 2012-06-05 02:03:32 PDT
Created attachment 145733 [details] A screen shot of the issue
Ben Schwarz
Comment 2 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!
Note You need to log in before you can comment on or make changes to this bug.