Open Bug 193770 Opened 23 years ago Updated 3 years ago

alignment not applied on already aligned line

Categories

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

defect

Tracking

()

Future

People

(Reporter: carosendahl, Unassigned)

Details

(Whiteboard: edt_x3 DUPEME)

Attachments

(1 file, 1 obsolete file)

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.
Whiteboard: edt_x3
This is a duplicate bug...
OS: Windows 2000 → All
Hardware: PC → All
Whiteboard: edt_x3 → edt_x3 DUPEME
taking
Assignee: jfrancis → glazman
Status: NEW → ASSIGNED
Summary: GECKO: text justification gets out of sync within blocks of text → alignment not applied on already aligned line
Comment on attachment 114787 [details] [diff] [review] fix #1 r=brade
Attachment #114787 - Flags: superreview?(kin)
Attachment #114787 - Flags: review+
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+
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.
snarfing bug
Assignee: glazman → jfrancis
Status: ASSIGNED → NEW
Attached patch patch#2Splinter Review
just the simple param change to the AlignBlock call. brade, kin, r/sr?
Attachment #114787 - Attachment is obsolete: true
Attachment #116622 - Flags: superreview?(kin)
Attachment #116622 - Flags: review?(brade)
Comment on attachment 116622 [details] [diff] [review] patch#2 r=brade
Attachment #116622 - Flags: review?(brade) → review+
Attachment #116622 - Flags: superreview?(kin) → superreview+
Priority: -- → P1
Target Milestone: --- → Future
QA Contact: sujay → editor
Assignee: mozeditor → nobody
old bug. down to P3
Priority: P1 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: