Open
Bug 193770
Opened 23 years ago
Updated 3 years ago
alignment not applied on already aligned line
Categories
(Core :: DOM: Editor, defect, P3)
Core
DOM: Editor
Tracking
()
NEW
Future
People
(Reporter: carosendahl, Unassigned)
Details
(Whiteboard: edt_x3 DUPEME)
Attachments
(1 file, 1 obsolete file)
|
805 bytes,
patch
|
Brade
:
review+
kinmoz
:
superreview+
|
Details | Diff | Splinter Review |
If you change the text justification on one line in a block of text, then move
it back, then try to justify the entire block of text, it doesn't change the
line you'd changed earlier.
Steps to Reproduce:
===================
1. Open the Compose window.
2. Enter two lines of text.
3. Place your cursor on one of the lines of text.
4. Press the icon that centers the text.
5. Press the icon that left justifies the text.
6. Select the enter block of text
7. Press the icon that centers the text
The line you'd centered earlier is not changed.
| Reporter | ||
Updated•23 years ago
|
Whiteboard: edt_x3
Comment 1•23 years ago
|
||
This is a duplicate bug...
OS: Windows 2000 → All
Hardware: PC → All
Whiteboard: edt_x3 → edt_x3 DUPEME
taking
Assignee: jfrancis → glazman
Updated•23 years ago
|
Status: NEW → ASSIGNED
Summary: GECKO: text justification gets out of sync within blocks of text → alignment not applied on already aligned line
Comment 4•23 years ago
|
||
Comment on attachment 114787 [details] [diff] [review]
fix #1
r=brade
Attachment #114787 -
Flags: superreview?(kin)
Attachment #114787 -
Flags: review+
Comment 5•23 years ago
|
||
Comment on attachment 114787 [details] [diff] [review]
fix #1
OK, so there is a problem with the JoinNodes block. The first line changed is
fine but the JoinNodes call can mess up if there are multiple attributes on the
div (such as indent or color or other style)
Attachment #114787 -
Flags: superreview?(kin)
Attachment #114787 -
Flags: review-
Attachment #114787 -
Flags: review+
Comment 6•23 years ago
|
||
I distinctly remember making this same fix, and now I can't find it anywhere.
The div merging isn't going to work. The divs may have incompatible attributes.
For example, in css editing, we do indention via divs with attributes. You may
end up merging divs with differing indention this way, which will either casue
unwanted indention, or lose wanted indention.
r= on just the one line change to the Alignblock call, though.
Comment 8•22 years ago
|
||
just the simple param change to the AlignBlock call. brade, kin, r/sr?
Attachment #114787 -
Attachment is obsolete: true
Updated•22 years ago
|
Attachment #116622 -
Flags: superreview?(kin)
Attachment #116622 -
Flags: review?(brade)
Comment 9•22 years ago
|
||
Comment on attachment 116622 [details] [diff] [review]
patch#2
r=brade
Attachment #116622 -
Flags: review?(brade) → review+
Comment 10•22 years ago
|
||
Attachment #116622 -
Flags: superreview?(kin) → superreview+
Updated•22 years ago
|
Priority: -- → P1
Target Milestone: --- → Future
Updated•18 years ago
|
QA Contact: sujay → editor
Updated•18 years ago
|
Assignee: mozeditor → nobody
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•