Closed
Bug 99500
Opened 24 years ago
Closed 24 years ago
Headings should not be allowed to be added more than one time on the same line
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
VERIFIED
WORKSFORME
mozilla1.0
People
(Reporter: TucsonTester2, Assigned: mozeditor)
Details
(Whiteboard: EDITORBASE; 1 day)
Build: 2001091003
If there is no text in the composer document and choose to have a heading style
of heading 1 and choose it repeatedly the <h1> tag will be added every time.
This only happens if there is no text on the line.
Reproduciblity: Everytime
Steps to Reproduce:
1.Open Composer
2.Click on the paragraph style drop down on the toolbar and choose the "Heading
1" option and repeat 4 times.
Actual Resutls: The heading 1 tag is added in several times, what should happen
is that it would only be allowed to be used one time. You'll also notice that
in the composer window that the text, if you type some in, will be very large.
Expected Results: I would expect there to be a limit on how many times the
style could be added. There is a limit if there is text there but when there is
no text there is no limit.
Is this something we want to prevent via rules? Or via the UI?
Assignee: kin → brade
Comment 3•24 years ago
|
||
If paragraph formatting is selected, I would expect any existing formatting to be
removed and new formatting inserted. In this case I would expect the <h1> to be
replaced with another <h1>.
-->core/rules
Assignee: brade → jfrancis
Component: Editor: Composer → Editor: Core
just a hint : this bug does NOT appear in netscape 6.1 but is confirmed in
moz0.9.4
| Reporter | ||
Comment 6•24 years ago
|
||
If you copy text that is in heading one format, place the cursor at the end of
the text and then hold down ctrl+v and hit it a couple of times, then the text
continually gets bigger as well. Adds h1 as well.
| Assignee | ||
Updated•24 years ago
|
Whiteboard: EDITORBASE; 1 day
Comment 7•24 years ago
|
||
The problem is not appearing for me.
Tested in Win 2k using build 20011126.
Comment 8•24 years ago
|
||
This works for me also on Win 2k using build 2001112903 and Mac OSX using build
2001112909.
I am resolving WORKSFORME.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•