mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
10 lines
290 B
HTML
10 lines
290 B
HTML
<html><body></body><script>
|
|
document.designMode = "on";
|
|
var hrElem = document.createElement("HR");
|
|
var select = window.getSelection();
|
|
document.body.appendChild(hrElem);
|
|
select.collapse(hrElem,0);
|
|
document.execCommand("InsertHTML", false, "<div>foo</div><div>bar</div>");
|
|
</script>
|
|
</html>
|