Open
Bug 714507
Opened 13 years ago
Updated 2 years ago
[CSS3] content:element() in any element or HTML5 Canvas in IMG element
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: golod95, Unassigned)
References
(Depends on 2 open bugs)
Details
(Keywords: dev-doc-needed)
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.7 (KHTML, like Gecko) Chrome/16.0.912.63 Safari/535.7
Steps to reproduce:
Please - add support content of this HTML File. I known, that this is unreal, but you must do...
Please - disable source code in bugzilla... This source code is long.
Comment 3•13 years ago
|
||
Note that you'd need to use document.cssElementMap instead of document.CSSElementMap.
Component: General → Style System (CSS)
Depends on: content-url-element, 707106
Product: Firefox → Core
QA Contact: general → style-system
Comment 4•13 years ago
|
||
So this is asking for us to implement the CSS3 Generated Content stuff that's not actually going to end up in a spec in its current form, right?
I don't think we should really worry about it until the spec is something resembling stable.
Im pretty sure this relates to the same fix I'm thinking of which is:
<img class="logo" />
.logo{content: url("blank.gif");}
Currently in firefox the above example doesn't work. Class="x" is alot cleaner than saying <img src="blank.gif">. It works in IE11, chrome, but not firefox.
Depends on: 1285811
Updated•7 years ago
|
Keywords: dev-doc-needed
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•