зеркало из https://github.com/mozilla/gecko-dev.git
17 строки
300 B
HTML
17 строки
300 B
HTML
<!DOCTYPE html>
|
|
<html contenteditable="true">
|
|
<head>
|
|
<script>
|
|
|
|
function boom()
|
|
{
|
|
var looseText = document.createTextNode("x");
|
|
window.getSelection().collapse(looseText, 0);
|
|
document.queryCommandState("insertorderedlist");
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body onload="setTimeout(boom, 0)"></body>
|
|
</html>
|