[Webkit-unassigned] [Bug 118185] Gmail reply email - Bold and Italic style get stuck

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 30 00:06:29 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=118185





--- Comment #27 from Ryosuke Niwa <rniwa at webkit.org>  2013-07-30 00:06:14 PST ---
(From update of attachment 207688)
View in context: https://bugs.webkit.org/attachment.cgi?id=207688&action=review

> LayoutTests/editing/editing.js:942
> +    if (markupResultList.hasChildNodes()) {
> +        document.body.appendChild(markupResultList);
> +        var newLine = document.createElement('br');
> +        document.body.appendChild(newLine);
> +        markupResultList = document.createElement('ol');
> +    }
> +    var newItem = document.createTextNode(text);
> +    document.body.appendChild(newItem);

We shouldn't modify the body until editingTest had finished running. This could interfere with testing.
We should instead hold onto an array of elements to insert at the end.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list