Bug 14558 - CSS3 content property doesn't work with text or attr() values
Summary: CSS3 content property doesn't work with text or attr() values
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P4 Enhancement
Assignee: Nobody
URL: http://www.w3.org/TR/css3-content/#re...
Keywords: HasReduction
Depends on:
Blocks:
 
Reported: 2007-07-07 17:07 PDT by Lars Andersson
Modified: 2016-06-06 16:30 PDT (History)
5 users (show)

See Also:


Attachments
testcase (1.66 KB, text/html)
2007-07-07 17:09 PDT, Lars Andersson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Andersson 2007-07-07 17:07:40 PDT
The CSS3 content property fails to be applied when using string or attr() values (it works with images though).

Tested with nightly build r24061 (522.4.1) on Windows XP SP2.
Comment 1 Lars Andersson 2007-07-07 17:09:36 PDT
Created attachment 15440 [details]
testcase
Comment 2 mitz 2007-07-07 22:21:43 PDT
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.
Comment 3 mitz 2007-07-07 22:29:09 PDT
(In reply to comment #2)
> In CSS 2.1

Just ignore what I said :-)
Comment 4 Robert Blaut 2008-02-09 15:23:14 PST
Since CSS3 Generated and Replaced Content Module is still working draft I mark this bug as an enhancement request.