blob: ddd19aafd4ca004f42919056a91899c0a29615d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<html>
<head>
<meta charset="utf-8">
<head>
<script>
function go() {
a.show();
document.execCommand("bold", false);
b.style.setProperty("font", "0px/43%");
document.execCommand("insertText", false, "a");
}
</script>
</head>
<body onload=go()>
<ul contenteditable="true">
<li id="b" style="font-weight: bolder">a</li>
<dialog id="a" tabindex="0">a</dialog>
</ul>
</body>
</html>
|