Summary: | CSS3 content property doesn't work with text or attr() values | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Lars Andersson <larsm.andersson> | ||||
Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED CONFIGURATION CHANGED | ||||||
Severity: | Enhancement | CC: | ahmad.saleem792, ap, bfulgham, dglazkov, mitz, rik, rniwa, simon.fraser, webkit, webkit, zalan | ||||
Priority: | P4 | Keywords: | HasReduction | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
URL: | http://www.w3.org/TR/css3-content/#replacedContent | ||||||
Attachments: |
|
Description
Lars Andersson
2007-07-07 17:07:40 PDT
Created attachment 15440 [details]
testcase
In CSS 2.1, the 'content' property applies only to :before and :after pseudo-elements. WebKit supports string, URI, counter and attr content on :before and :after. (In reply to comment #2) > In CSS 2.1 Just ignore what I said :-) Since CSS3 Generated and Replaced Content Module is still working draft I mark this bug as an enhancement request. I am unable to reproduce this bug in Safari 15.6 on macOS 12.5 and Image: Success Text: Failure attr(): Failure and it is same across all browsers (Chrome Canary 106 and Firefox Nightly 105). I am going to mark this as "RESOLVED CONFIGURATION CHANGED". Thanks! |