Closed Bug 63528 Opened 24 years ago Closed 24 years ago

Links don't show up when editing a document

Categories

(Core :: DOM: Editor, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla0.8

People

(Reporter: scottputterman, Assigned: cmanske)

Details

(Whiteboard: FIX IN HAND)

I assume if others are seeing this that there's a dup out there, but I couldn't
find it.

When I open a existing document or when I create a new one, links no longer show
up with the blue underline so I can't tell which ones I've created links for.
yes, there is absolutely no visual indication that a link has been created, 
assigning to cmanske
Assignee: beppe → cmanske
This has to be some weird layout bug. I removed any extra styles concerning <a>
in editor's override style sheets with no effect. Needs more investigation.
Very important to fix this.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.8
Tony knows more about layout and has a much better chance of figuring this out.
Assignee: cmanske → anthonyd
Status: ASSIGNED → NEW
Noticing on Linux 2001010517 too (mozilla 0.7 candidate)
After discussing with Marc Attinasi, I have the fix for this.
Since we added "aPresShell->EnablePrefStyleRules" to nsEditorShell.cpp so user
rules will not affect editing, the link underlining is not set. Fix is simply to
add:
a:link {
  text-decoration: underline;
}
to EditorOverride.css.
Assignee: anthonyd → cmanske
Whiteboard: FIX IN HAND
Simply added this:
/* We suppress user/author's prefs for link underline,
   so we must set explicitly
*/
a:link {
  text-decoration: underline;
}
to editorOverride.css
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified in 1/17 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.