Closed
Bug 292849
Opened 20 years ago
Closed 20 years ago
:before and :after pseudo-elements don't apply to img element
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 245633
People
(Reporter: xanthor+bz, Assigned: dbaron)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050405 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050405 :before and :after pseudo-elements don't seem to work with the img XHTML element. Reproducible: Always Steps to Reproduce: Open the testcase Actual Results: A single image Expected Results: There should be a "oki" before the image. Change the img tag by whatever (even a non XHTML element. for example, just replace "img" by "imga"), and the "oki" appears. Change the namespace used (in order to have a non-XHTML img element) and it works too. [Verified also on Moz1.8b1]
Comment 1•20 years ago
|
||
Please use search next time. *** This bug has been marked as a duplicate of 245633 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•