Closed
Bug 45888
Opened 24 years ago
Closed 23 years ago
center followed by heading 2: text doesn't take on heading 2 formatting
Categories
(Core :: DOM: Editor, defect, P4)
Tracking
()
VERIFIED
FIXED
mozilla0.9.7
People
(Reporter: ekrock, Assigned: mozeditor)
Details
(Whiteboard: EDITORBASE; [behavior]; fixinhand; need r=,sr=)
Attachments
(1 file)
2.67 KB,
patch
|
kinmoz
:
superreview+
|
Details | Diff | Splinter Review |
Using Commercial 2000071810 on WinNT 4.0 SP4.
To repro:
1) open new composer window
2) from centering icon on toolbar, select center. I-bar centers as it should.
3) from the HTML Element pulldown on toolbar, choose Heading 2. Heading 2 is
displayed as it should be.
4) type text
Expected: text should be displayed in large H2 formatting
Actual: text is displayed in default Normal formatting
Workaround: select text and re-choose Heading 2.
I think users are likely to hit this as centering the top element on a page and
making it a heading is a very common page design.
Comment 1•24 years ago
|
||
assigning to jfrancis for evaluation
Comment 2•24 years ago
|
||
setting nsbeta3+
Comment 4•24 years ago
|
||
setting priority in status whiteboard
Priority: P3 → P4
Whiteboard: [nsbeta3+] → [nsbeta3+][p:4]
PDT downloading to [nsbeta2-]
Whiteboard: [nsbeta3+][p:4] → [nsbeta3-][p:4][minus]
Comment 7•24 years ago
|
||
setting to future and adding helpwanted
Keywords: helpwanted
Target Milestone: M18 → Future
Assignee | ||
Comment 8•24 years ago
|
||
Not hard to fix.
Comment 10•24 years ago
|
||
I found some other behaviors that I think stem from this problem as well.
Test case:
1. Open a new document.
2. Type some text as Body text and hit enter.
3. Change type to heading 1.
4. Type some text.
Results: When you change to heading 1, the cursor is moved back to the end of
the previous line, however the Style type remains as Heading 1. But anything
that is typed will not be in the Heading 1 type, but will be in Body text type.
The same workaround as in the beginning of this bug works.
Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Updated•24 years ago
|
Whiteboard: [behavior]
Updated•24 years ago
|
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Updated•23 years ago
|
Target Milestone: mozilla0.9.3 → mozilla1.0
Assignee | ||
Updated•23 years ago
|
Whiteboard: [behavior] → EDITORBASE; 1 day; [behavior]
Assignee | ||
Comment 13•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Keywords: helpwanted
Whiteboard: EDITORBASE; 1 day; [behavior] → EDITORBASE; [behavior]; fixinhand; need r=,sr=
Comment 15•23 years ago
|
||
Comment on attachment 56021 [details] [diff] [review]
patch to nsHTMLEditRules.cpp
sr=kin@netscape.com
Attachment #56021 -
Flags: superreview+
Assignee | ||
Comment 16•23 years ago
|
||
fix checked in on trunk.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•