mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
ef612c0f0a
This should prevent crashes, update view count and edit action nesting count mismatches, and more! --HG-- extra : rebase_source : af1397b3c8de19d936ca70690a6f7ed284cc5d00
18 lines
514 B
HTML
18 lines
514 B
HTML
<!DOCTYPE html>
|
|
<html contenteditable="true">
|
|
<head>
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
document.documentElement.appendChild(document.body);
|
|
document.documentElement.contentEditable = "false";
|
|
try { document.execCommand("outdent", false, null); } catch(e) { }
|
|
document.body.contentEditable = "true";
|
|
try { document.execCommand("inserthtml", false, "x"); } catch(e) { }
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="boom();"><div style="margin-left: 40px;"><span contenteditable="true">p q r s</span> T</div></body></html>
|