Number list not showing in correct sequence after you indent more and reset to indent less
Categories
(Core :: Layout: Generated Content, Lists, and Counters, defect)
Tracking
()
People
(Reporter: jamshedahmed, Unassigned)
References
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:71.0) Gecko/20100101 Firefox/71.0
Steps to reproduce:
compose email in html using bullet points and numbers.
Actual results:
The number sequence is not showing right after i indent more and then later return to indent less. See attachment.
Expected results:
The number listing should return to sequence after you indent less.
Updated•4 years ago
|
Comment 1•4 years ago
|
||
The severity field is not set for this bug.
:nordzilla, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 2•4 years ago
|
||
Hi Jamshed Ahmed,
If possible, could you attach the exact HTML that you used as a test case?
You can use the Attach New File button and specify that your file type is an html page.
Reporter | ||
Comment 3•4 years ago
|
||
Here is an example of the html.
- The first line the numbering starts fine
- test
- indent more works fine
- indent less jumps to 3 as you can see in this line
- numbering has skipped 2
- once again trying to indent more
- this time with numbers instead of bullets
- lets indent more one more time
- with bullets
- now trying indent less
- one more time
- test33
- indent less againgoes back to 2 instead of 4 as you can see in
this line - indent less again
- From 5 it goes back to 3..... as you can see in this line.
This message was a "reply" via gmail using html and firefox browser
71.0(64-bit) on linux Mint
Jamshed
<div dir=3D"ltr"><div>Here is an example of the html.</div><div><ol><li>The=
first line the numbering starts fine</li><ul><li>test <br></li><li>=C2=A0i=
ndent more works fine</li></ul><li>indent less jumps to 3 as you can see in=
this line</li><li>numbering has skipped 2</li><li>once again trying to ind=
ent more</li><ol><li>this time with numbers instead of bullets</li><li>lets=
indent more one more time</li><ul><li>with bullets</li><li>now trying inde=
nt less</li></ul><li>one more time</li><ul><li>test33</li></ul><li>indent l=
ess againgoes back to 2 instead of 4 as you can see in this line</li><li>in=
dent less again</li></ol><li>From 5 it goes back to 3..... as you can see i=
n this line. <br></li></ol>This message was a "reply" via gmail u=
sing html and firefox browser 71.0(64-bit) on linux Mint</div><div>--</div>=
<div>Jamshed<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr"=
class=3D"gmail_attr">On Sat, Jul 11, 2020 at 12:07 AM Bugzilla@Mozilla <=
;<a href=3D"mailto:bugzilla-daemon@mozilla.org">bugzilla-daemon@mozilla.org=
</a>> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:=
0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
=20
<div style=3D"font-family:sans-serif">
................................
.......
....
Reporter | ||
Comment 4•4 years ago
|
||
When I forward the same html email to my work address, the output is fine. However, in firefox, it shows messed up as explained.
Reporter | ||
Comment 5•4 years ago
|
||
This is how I see it in my firefox browser. However, when I click show original, it seems to show fine
Comment 6•4 years ago
|
||
The severity field is not set for this bug.
:boris, could you have a look please?
For more information, please visit auto_nag documentation.
Comment 7•4 years ago
|
||
The format is pretty easy to be messed up after doing some indent more and indent less on both Chrome and Firefox. I can reproduce this on Firefox actually. However, perhaps we need to know how Gmail implements these commands.
Comment 8•4 years ago
|
||
If this is a bug in Gmail, we could close this later. Confirmed this for now.
Comment 9•4 years ago
|
||
This may be duplicated by Bug 1548753. Indenting more/less may insert/remove <ul>/<ol>. This causes a complicated nested structure. I'd like to mark this as dup for now.
Comment 10•4 years ago
|
||
This wrong markup is caused by html editer execCommand("indent") bug of Bug 54479
Comment 11•4 years ago
|
||
(In reply to Alice0775 White from comment #10)
This wrong markup is caused by html editer execCommand("indent") bug of Bug 54479
Thanks for clarifying this. I change the dup bug number.
Updated•4 years ago
|
Comment 12•4 years ago
|
||
However, maybe both Bug 54479 and Bug 1548753 have impact on this, so I use See Also to link Bug 1548753.
Description
•