Closed
Bug 233261
Opened 21 years ago
Closed 21 years ago
DL/DT/DD polish
Categories
(Core :: DOM: Editor, defect, P1)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla1.7alpha
People
(Reporter: glazou, Assigned: glazou)
Details
Attachments
(1 file)
2.03 KB,
patch
|
timeless
:
review+
dbaron
:
superreview+
tor
:
approval1.7+
|
Details | Diff | Splinter Review |
When one selects Format > List > Definition Term|Definition, the CR key
does not create the corresponding Definition|Term. That's *very* annoying
and a major user feedback.
Assignee | ||
Updated•21 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.7alpha
Assignee | ||
Comment 1•21 years ago
|
||
Assignee | ||
Updated•21 years ago
|
Attachment #140743 -
Flags: superreview?(dbaron)
Attachment #140743 -
Flags: review?(mozeditor)
Comment 2•21 years ago
|
||
Comment on attachment 140743 [details] [diff] [review]
fix #1
Do you need to call CopyLastEditableChildStyles when creating a new dd or dt?
If I was typing with a green text color (or a particular font or whatever) I'd
expect that to continue (or is that happening already)?
Assignee | ||
Comment 3•21 years ago
|
||
Kathy: when I create a new element but switch the element type, from dd to dt or
vice-versa, I don't need that because the semantics of dt and dd are different.
It makes no sense to preserve a bold style assigned to a dt when you move the caret
to the following dd :-)
Comment on attachment 140743 [details] [diff] [review]
fix #1
sr=dbaron, assuming you get owner/peer review, although the following:
>+ nsAutoString listTag((nodeAtom == nsEditProperty::dt) ? NS_LITERAL_STRING("dd") : NS_LITERAL_STRING("dt"));
would perhaps be better as:
nsAutoString listTag;
nodeAtom->ToString(listTag);
Attachment #140743 -
Flags: superreview?(dbaron) → superreview+
Assignee | ||
Comment 5•21 years ago
|
||
(In reply to comment #4)
> >+ nsAutoString listTag((nodeAtom == nsEditProperty::dt) ?
NS_LITERAL_STRING("dd") : NS_LITERAL_STRING("dt"));
>
> would perhaps be better as:
>
> nsAutoString listTag;
> nodeAtom->ToString(listTag);
dbaron: no; that line switches dd and dt... your rewriting does not.
Attachment #140743 -
Flags: review?(mozeditor) → review+
Assignee | ||
Comment 6•21 years ago
|
||
Comment on attachment 140743 [details] [diff] [review]
fix #1
requesting approval for 1.7 checkin: this fixes a VERY annoying bug in
Composer; that bug makes it almost impossible to edit a DL/DT/DD list without
dreaming of killing the whole editor team... We had quite a lot of user
feedback about it. The fix is simple and harmless, has no impact outside of
DL/DT/DD anyway. It is implemented in Nvu 0.20 and works just fine.
Attachment #140743 -
Flags: approval1.7?
Attachment #140743 -
Flags: approval1.7? → approval1.7+
Assignee | ||
Comment 7•21 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•