[Webkit-unassigned] [Bug 77218] NULL ptr in WebCore::Range::getBorderAndTextQuads

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Apr 30 14:01:38 PDT 2012


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


Ryosuke Niwa <rniwa at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|HTML Editing                |HTML DOM
                 CC|                            |adamk at chromium.org




--- Comment #1 from Ryosuke Niwa <rniwa at webkit.org>  2012-04-30 14:01:39 PST ---
Simplified reduction:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<style></style>
<script>
<![CDATA[

window.onload = function () {
    document.execCommand("SelectAll", false);

    var range = null;

    document.addEventListener("DOMNodeRemovedFromDocument", function () {
        range = getSelection().getRangeAt(0);
    },true);

    getSelection().getRangeAt(0).extractContents();
    range.getBoundingClientRect();
}

]]>
</script>
<input/>
</html>

-- 
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