Closed
Bug 281262
Opened 21 years ago
Closed 21 years ago
special characters in CSS attribute 'content:' (used in ':after') are not handled
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
VERIFIED
DUPLICATE
of bug 207461
People
(Reporter: ja.stiebing, Assigned: dbaron)
Details
User-Agent: Opera/7.50 (Windows NT 5.0; U) [en]
Build Identifier: Mozilla 1.7a Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7a) Gecko/20040219
CSS extraction:
.out:after
{ Content:" ("url(../pics/exit.png)")"; }
HTML extraction:
link to <a class="out" href="http://www.mozilla.org/download.html"
target="_blank" name="mozilla" title="Mozilla">Mozilla</a>...
If one is trying to use these codes, the picture is correctly displayed after
the link, but instead of a space between link text and picture there appears the
string ' '. This seeme to happen with each kind of special characters (e.g
'£', '€')
Reproducible: Always
Comment 1•21 years ago
|
||
those are HTML entities... since this is CSS, this seems to work as intended.
note this part of http://www.w3.org/TR/CSS21/generate.html#content :
"In particular, it is not fed back to the document language processor (e.g., for
reparsing)."
you can use \a0 if you want a non-breaking space in CSS, if I'm reading this right
Assignee: general → dbaron
Component: General → Style System (CSS)
Product: Mozilla Application Suite → Core
QA Contact: general → ian
Version: unspecified → Trunk
Comment 2•21 years ago
|
||
*** This bug has been marked as a duplicate of 207461 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Comment 3•21 years ago
|
||
ah, yes. bug 204324 might have been a better dupe target, but anyway, vrfy.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•