Closed Bug 49889 Opened 24 years ago Closed 24 years ago

Editor forgets text formatting state

Categories

(Core :: DOM: Editor, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: nbhatla, Assigned: mozeditor)

Details

(Whiteboard: [nsbeta3+])

Mozilla Build #2000082108 for Mac:

1. Launch Editor, bringing up a new blank page.
2. Click in the large gray text input area, so that the formatting toolbar
buttons become enabled.
3. Select "Bold" from the Formatting Toolbar and type some chars.  The typed
text will appear bold.
4. Select "Italics" from the Formatting Toolbar and type some chars.  The text
will appear bold and italicized.
5. Select "Bold" again, this time turning it off.  Type some more chars.  The
typed text appears plain (no bold/italics) and "Italics" turns off, even though
you did not turn it off.

Expected Result: The typed text would remain non-bold but still italicized.

This "forgetting of text style state" occurs with all three styles (including
underline), and the above example is just one test case.  Generally, it appears
that turning one style on after typing with another style on, then turning the
first style off, turns all styles off.

This occurs on both Mac and Windows
assigning to jfrancis for review. Joe, you probably have other open issues that 
would resolve the noted problem here, can you either dup or nominate?
Assignee: beppe → jfrancis
Keywords: correctness
this should be easy; i'll fix it this week.
Status: NEW → ASSIGNED
Keywords: nsbeta3
Target Milestone: --- → M18
joe is addressing similar issues with text formatting and this is well within 
the same type of behavior
Whiteboard: [nsbeta3+]
fixed
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
verified in 8/30 build.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.