Closed
Bug 52042
Opened 24 years ago
Closed 24 years ago
"Escape" classes inserted by our recognizer with moz-something
Categories
(Core :: Networking, defect, P1)
Core
Networking
Tracking
()
VERIFIED
FIXED
M18
People
(Reporter: BenB, Assigned: BenB)
Details
Attachments
(1 file)
20.50 KB,
patch
|
Details | Diff | Splinter Review |
Reproduce:
1. Reply to a plaintext msg with an URL using the HTML composer
2. Send as HTML
In the HTML source of the quote, you'll see a lot of tags inserted by our
recognizer, and they contain classes invented by me. We have to recognize them
in various places, and we should make sure we don't collide with user-specified
(possibly in webpages) classes. Do this by prepending "-moz-". This is what
Gecko uses for "proprietary" stuff, too. I.e. this bug is about
future-compatibility.
Assignee | ||
Updated•24 years ago
|
Severity: normal → major
Status: NEW → ASSIGNED
Priority: P3 → P1
Target Milestone: --- → M18
What do you mean by classes? -moz- is for css properties.
Assignee | ||
Comment 2•24 years ago
|
||
> What do you mean by classes?
e.g. <a class="-moz-txt-link" href="...">...</a>
> -moz- is for css properties.
But I can use it for classes, too, not?
In theory, you can, although CSS1-2 idents can't start with -. You might just
want to use moz- instead of -moz-, since defining classes is perfectly
legitimate, and the moz- establishes sort of namespace...
Assignee | ||
Comment 4•24 years ago
|
||
> CSS1-2 idents can't start with -
ops, tnx for the notice!. Will use moz- instead.
Assignee | ||
Comment 5•24 years ago
|
||
The hardest part was catching all places, where the classes were used. Will
attach patch.
mscott, please review.
The patch also contains various other minor changes, most notably updates for
the stylesheet.
Keywords: review
Summary: "Escape" classes inserted by our recognizer with -moz-something → "Escape" classes inserted by our recognizer with moz-something
Assignee | ||
Comment 6•24 years ago
|
||
BTW: Part of the fix (changes in nsMsgCompose.cpp) is in the fix for bug 44552.
Assignee | ||
Comment 7•24 years ago
|
||
Assignee | ||
Comment 8•24 years ago
|
||
checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•