Multiple applications of text style don't coalesce attribute nodes

VERIFIED FIXED in M11

Status

()

defect
P3
normal
VERIFIED FIXED
20 years ago
18 years ago

People

(Reporter: cmanske, Assigned: buster)

Tracking

Trunk
All
Windows NT
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

Launch the editor.
Select some text in the middle of a sentence and make it bold.
Select a wider area that included the non bold text, but both start and end
should be in non-bold text.
Click on the bold button again. All of the selection is now bold.
Click on bold button again, which should remove the bold from the entire
selection. Instead, it removes only from the 2nd bold action.
The reason is that the 2nd bold action causes nested bold attributes:
<b>some text<b>and more text</b>and even more</b>
And undoing the outermost bold leaves the inner bold tag.
I guess this is really two related issues:
1. Coalesce tags within the selection when setting an attribute
2. When removing an attribute, search all nodes with the selection to be sure
all attributes of that type are removed.
Blocks: 7494
This problem is related to, if not a real dup of the font face bug: 7494.
Blocks: 10332
The removing attribute behavior described here is probably the same cause as
for bug 10332
Status: NEW → ASSIGNED
accepting bug
Target Milestone: M11
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
this was fixed last week, I believe.
verified in 8/10 build...but I found another bug...filing..
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.