Closed
Bug 213022
Opened 22 years ago
Closed 22 years ago
<q> Tag Does Not Use Alternate Quotes Properly
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: ruhl+bugzilla, Assigned: dbaron)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030701
Using these stylesheet declarations:
q {
quotes: '\2018' '\2019' '\201C' '\201D';
}
q:before {
content: open-quote;
}
q:after {
content: close-quote;
}
This string:
<p>Tom said <q>hello there little kid who wrote <q>hello</q></q> to the little
kid.</p>
Should render something like:
Tom said `hello there little kid who wrote ``hello'' ' to the little kid.
Instead, it renders as:
Tom said `hello there little kid who wrote `hello' to the little kid.
Incidentally, the <q> tag doesn't properly display opening and closing quotes by
default, but rather shows foot markers (e.g. "). That's another bug, though:-)
Reproducible: Always
Steps to Reproduce:
1. Put the preceding css code into a stylesheet
2. Put the preceding HTML string into a webpage which uses that stylesheet
3. Load it and read the string
Actual Results:
Tom said `hello there little kid who wrote `hello' to the little kid.
N.b. this is a facsimile
Expected Results:
Tom said `hello there little kid who wrote ``hello'' ' to the little kid.
N.b. this is a facsimile
Comment 1•22 years ago
|
||
Comment 2•22 years ago
|
||
Yep.
*** This bug has been marked as a duplicate of 24861 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•