Issue 306662 in chromium: When execCommand with unordered and ordered lists, unwanted span tag wraps text

0 views
Skip to first unread message

sheriff… via monorail

unread,
Aug 24, 2017, 11:14:55 AM8/24/17
to editi...@chromium.org
Updates:
Labels: Hotlist-Recharge-Cold
Status: Untriaged

Comment #9 on issue 306662 by sheri...@chromium.org: When execCommand with unordered and ordered lists, unwanted span tag wraps text
https://bugs.chromium.org/p/chromium/issues/detail?id=306662#c9

This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

--
You received this message because:
1. A rule CC'd you on the issue
2. You are auto-CC'd on all issues in component Blink>Editing
3. You are auto-CC'd on all issues in component Blink>Editing>Command

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment.

simon.m.… via monorail

unread,
May 12, 2018, 4:35:45 AM5/12/18
to editi...@chromium.org

Comment #12 on issue 306662 by simon.m....@gmail.com: When execCommand with unordered and ordered lists, unwanted span tag wraps text
https://bugs.chromium.org/p/chromium/issues/detail?id=306662#c12

I have run into this today and after a bunch of head scratching as it was not occurring in all cases, I have worked out that it happens when there is a CSS style font-size included in a selector targeting body....i.e. the following style will repro

body {
font-size:0.9em;
}

If I remove that style, behavior is as expected.

simon.m.… via monorail

unread,
May 12, 2018, 5:04:54 AM5/12/18
to editi...@chromium.org

Comment #13 on issue 306662 by simon.m....@gmail.com: When execCommand with unordered and ordered lists, unwanted span tag wraps text
https://bugs.chromium.org/p/chromium/issues/detail?id=306662#c13

Problem does not occur if the font-size unit is px

simon.m.… via monorail

unread,
May 12, 2018, 5:14:16 AM5/12/18
to editi...@chromium.org

Comment #14 on issue 306662 by simon.m....@gmail.com: When execCommand with unordered and ordered lists, unwanted span tag wraps text
https://bugs.chromium.org/p/chromium/issues/detail?id=306662#c14

Style doesn't need to be targeting body. Just font-size anywhere that is set using em or rem units and cascades to the contenteditable element.

simon.m.… via monorail

unread,
May 12, 2018, 5:24:09 AM5/12/18
to editi...@chromium.org

Comment #15 on issue 306662 by simon.m....@gmail.com: When execCommand with unordered and ordered lists, unwanted span tag wraps text
https://bugs.chromium.org/p/chromium/issues/detail?id=306662#c15

Style doesn't need to be targeting body. Just font-size anywhere that is set using em, rem or pt units and cascades to the contenteditable element. Setting a font-size using px units avoids the issue.

sheriffbot via monorail

unread,
May 13, 2019, 11:49:01 AM5/13/19
to editi...@chromium.org
Updates:
Status: Untriaged

Comment #16 on issue 306662 by sheri...@chromium.org: When execCommand with unordered and ordered lists, unwanted span tag wraps text
https://bugs.chromium.org/p/chromium/issues/detail?id=306662#c16


This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

--
You received this message because:
1. A rule CC'd you on the issue
2. You are auto-CC'd on all issues in component Blink>Editing
3. You are auto-CC'd on all issues in component Blink>Editing>Command

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

Reply to this email to add a comment or make updates.
Reply all
Reply to author
Forward
0 new messages