NEW131582
Making a set of paragraphs into list items—using `execCommand`—freezes if the previous visible sibling—or its children—is a div with `white-space: pre; and has a newline as suffix
https://bugs.webkit.org/show_bug.cgi?id=131582
Summary Making a set of paragraphs into list items—using `execCommand`—freezes if the...
Bjarne Mogstad
Reported 2014-04-12 06:57:48 PDT
Steps to reproduce: - Load a DOM with: - `div` styled with `white-space: pre` with a newline as its content - a content editable div with two paragraphs - Select the two paragraphs - Execute `insertOrderedList` (see attached file) Expected Results: - The paragraphs get turned into a ordered list with two list items Actual Results: - The UA hangs Notes: - Also happens for `insertUnorderedList` - Also happens if the div is styled with `white-space: pre-warp;`
Attachments
Steps to reproduce (290 bytes, text/html)
2014-04-12 06:58 PDT, Bjarne Mogstad
no flags
Bjarne Mogstad
Comment 1 2014-04-12 06:58:56 PDT
Created attachment 229204 [details] Steps to reproduce
Note You need to log in before you can comment on or make changes to this bug.