NEW 125973
Paragraphs contains <i></i> will causing insertList to freeze the browser
https://bugs.webkit.org/show_bug.cgi?id=125973
Summary Paragraphs contains <i></i> will causing insertList to freeze the browser
Pepsin Ye
Reported 2013-12-18 19:55:11 PST
To reproduce this bug, you can simply try: <body></body> <script> document.body.contentEditable = true; document.body.innerHTML = "<p>Test1</p><p style='min-height:14.0px;'><i></i></p><p>Test2</p>" document.execCommand("SelectAll"); document.execCommand("InsertUnorderedList"); </script> I think it maybe caused by the function "InsertListCommand::listifyParagraph" in InsertListCommand.cpp, the VisiblePosition judgement may have failed because there's a i tag contained in the paragraph, but I am not so sure.
Attachments
Note You need to log in before you can comment on or make changes to this bug.