Closed
Bug 45792
Opened 25 years ago
Closed 25 years ago
indenting a roman list goes to numbered list
Categories
(Core :: DOM: Editor, defect, P4)
Core
DOM: Editor
Tracking
()
VERIFIED
WORKSFORME
M18
People
(Reporter: sujay, Assigned: mozeditor)
Details
(Whiteboard: [nsbeta3+][p:4])
using 7/18 build of netscape
1) launch netscape
2) launch composer
3) make a numbered list
4) go into Format | List Props
5) change to Roman numberal lower case
6) enter more list items
7) indent the list item
notice it indents into a regular numbered list...shouldn't it
indent into a the roman numeral lower case..
see 4.x behavior...
all platforms.
Comment 1•25 years ago
|
||
we had this agruemnt in the past with Kipp, he insisted that the list would
default to the 'default' list type -- which I totally disagree with, the
indentations should alter the list styles IMHO. So, assigning this over to marc
for evaluation -- Marc, you are the CSS guy right?
Assignee: beppe → attinasi
Comment 2•25 years ago
|
||
The problem is that a new <OL> is being created for the indented item, but the
type is not being propagated from the parent <OL>. After indenting one of the
list items here is the HTML that is produced:
<ol type="I">
<li>one</li>
<li>two</li>
<li>three</li>
<li>four</li>
<ol>
<li>five</li>
</ol>
<li>six</li>
<li>seven<br>
</li>
</ol>
Notice that the top <OL> has type="I" but that the inner <OL> after item 'four'
is not given the type attribute. If you want the indented list to have the same
type you have to propagate it when you create the new <OL>, and that is
something the editor has to do (style has nothing to do with the HTML
generation).
NOTE: you could just give the inner <OL> a style attribute of
style="list-style-type:inherit" if you cannot track the actual type of the
parent:
<ol type="I">
<li>one</li>
<li>two</li>
<li>three</li>
<li>four</li>
<ol style="list-style-type:inherit">
<li>five</li>
<ol style="list-style-type:inherit">
<li>XXX</li>
</ol>
</ol>
<li>six</li>
<li>seven<br>
</li>
</ol>
(for example).
Assignee: attinasi → beppe
Comment 3•25 years ago
|
||
assigning to jfrancis. Joe, the indented list needs to be within the <LI></LI>,
not outside
Keywords: correctness,
nsbeta3
Target Milestone: --- → M18
Comment 6•25 years ago
|
||
setting priority in status whiteboard
Priority: P3 → P4
Whiteboard: [nsbeta3+] → [nsbeta3+][p:4]
Marking as WorksForMe. This bug does not occur on 2000-08-24-04 build. Sujay,
can you check all platforms with latest build and verify this please?
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•