Closed
Bug 35800
Opened 26 years ago
Closed 26 years ago
class names in non-ASCII charset are not recognized
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
FIXED
People
(Reporter: attinasi, Assigned: attinasi)
References
()
Details
The CSSScanner is not designed to handle tokens that are in non-ASCII range.
nsCSSScanner::Next is used to read up tokens, however it assumes that characters
are less than 256:
PRBool nsCSSScanner::Next(PRInt32& aErrorCode, nsCSSToken& aToken)
{
PRInt32 ch = Read(aErrorCode);
if (ch < 0) {
return PR_FALSE;
}
if (ch < 256) {
// OUCH! what about I18L ???
| Assignee | ||
Comment 1•26 years ago
|
||
This bug is a blocker for supporint @charset in an external style sheet. If a
style sheet has character values > 256 then the CSS parser will not deal with
it, so supporting @charset is of very dubious value.
| Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•26 years ago
|
||
Moving to M20 since this is probably not a big priority and the changes required
are quite extensive and risky. Workaround is to put classname in quotes.
Target Milestone: M16 → M20
| Assignee | ||
Comment 4•26 years ago
|
||
Patch checked in, bug fixed. Thanks again VYV03354@nifty.ne.jp!
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Comment 5•25 years ago
|
||
Netscape's standard compliance QA team reorganised itself once again, so taking
remaining non-tables style bugs. Sorry about the spam. I tried to get this done
directly at the database level, but apparently that is "not easy because of the
shadow db", "plus it screws up the audit trail", so no can do...
QA Contact: chrisd → ian
You need to log in
before you can comment on or make changes to this bug.
Description
•