Closed
Bug 210662
Opened 21 years ago
Closed 5 days ago
Deleting <BR> at top of page deletes following block tag
Categories
(Core :: DOM: Editor, defect, P3)
Tracking
()
RESOLVED
DUPLICATE
of bug 1877513
Future
People
(Reporter: bugzilla2, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.5a) Gecko/20030623
Build Identifier: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.5a) Gecko/20030623
Attempting to delete a blank line at the top of a document deletes the following
block tag too.
Reproducible: Always
Steps to Reproduce:
1. Paste the following into the first line of BODY of a blank page (or type the
equivalent in to Composer or Mail Compose window):
-----------------
<br>
<h1>THIS IS HEADER 1</h1>
this is body text<br>
-----------------
2. Move your caret to the beginning of the first line, press DELETE.
3. Also try: UNDO, move caret to beginning of second line, press BACKSPACE
Actual Results:
The entire H1 style is deleted, not just the blank line, with a single press of
DELETE or BACKSPACE.
Expected Results:
Only the blank line above the H1 should be deleted.
I can find NO WAY to delete JUST the blank line without going into HTML SOURCE
view.
Both Composer and Mail Compose window are affected. This behavior started
sometime after Mozilla 1.3.1.
Severity: normal → minor
Updated•21 years ago
|
Priority: -- → P2
Target Milestone: --- → Future
Comment 2•20 years ago
|
||
I think the severity of this bug should be raised. This bug is highly visible
when replying to a mail using the HTML editor.
When replying to a mail, the first line of the edit area contains "John Doe
wrote:". The second line contains the first line of the mail from John Doe with
the blue quote line on the left.
Often I want to remove the "John Doe wrote:" line so that the first line of my
email is the quotation of John Doe's mail. However, this is not possible due to
this bug.
A workaround is to copy everything except the first line to the clipboard, clear
the whole mail and then paste the contents of the clipboard back into the mail.
Comment 3•20 years ago
|
||
The backspace behavior is correct. The forward delete behavior is wrong.
Updated•18 years ago
|
QA Contact: bugzilla → editor
Updated•18 years ago
|
Assignee: mozeditor → nobody
Comment 4•6 years ago
|
||
Moving to p3 because no activity for at least 1 year(s).
See https://github.com/mozilla/bug-handling/blob/master/policy/triage-bugzilla.md#how-do-you-triage for more information
Priority: P2 → P3
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•