Closed Bug 203399 Opened 21 years ago Closed 21 years ago

remove needless stylesheet editor call

Categories

(SeaMonkey :: Composer, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: Brade, Assigned: Brade)

Details

Attachments

(2 files)

The core editor already adds this stylesheet as a resource url.
The JS code should be removed.
Attachment #121728 - Flags: superreview?(jaggernaut)
Attachment #121728 - Flags: review?(timeless)
Attachment #121728 - Flags: superreview?(jaggernaut) → superreview+
Comment on attachment 121728 [details] [diff] [review]
remove needless code

for my sanity, the code to which brade refers is:
/editor/libeditor/html/nsHTMLEditor.cpp, line 337 --
AddOverrideStyleSheet(NS_LITERAL_STRING("resource:/res/EditorOverride.css"));

this isn't technically the same as
const kBaseEditorStyleSheet = "chrome://editor/content/EditorOverride.css";

but the spirit is. you can also kill the jar.mn line:
/editor/ui/jar.mn, line 17 -- content/editor/EditorOverride.css
(composer/content/EditorOverride.css)
Attachment #121728 - Flags: review?(timeless) → review+
Comment on attachment 122012 [details] [diff] [review]
missing piece for packaging

r=glazman
Attachment #122012 - Flags: review+
Attachment #122012 - Flags: superreview+
you need to be getting driver approval for this stuff.
Yes, I sent e-mail to drivers after I realized my error (shortly after checking in).
Status: NEW → ASSIGNED
Comment on attachment 121728 [details] [diff] [review]
remove needless code

a=asa (on behalf of drivers) for checkin to 1.4b
Attachment #121728 - Flags: approval1.4b+
Comment on attachment 122012 [details] [diff] [review]
missing piece for packaging

a=asa (on behalf of drivers) for checkin to 1.4b
Attachment #122012 - Flags: approval1.4b+
fix checked in
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Verified in the 2003-05-01-03 Macho and 2003-05-01-08 win32 trunk builds.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: