2010-11-07 23:21:20 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html class="reftest-wait">
|
|
|
|
<head>
|
|
|
|
<script>
|
|
|
|
|
|
|
|
function doTest()
|
|
|
|
{
|
|
|
|
var r = document.documentElement;
|
2017-03-08 12:17:52 +03:00
|
|
|
while(r.firstChild) { r.firstChild.remove(); }
|
2010-11-07 23:21:20 +03:00
|
|
|
var body = document.createElementNS("http://www.w3.org/1999/xhtml", "body");
|
|
|
|
r.appendChild(body);
|
|
|
|
body.contentEditable = "true";
|
|
|
|
document.execCommand("inserthtml", false, "<span style=\"position:relative;left:0.8px\">a<select></select>a</span>");
|
|
|
|
|
|
|
|
document.documentElement.removeAttribute("class");
|
|
|
|
}
|
|
|
|
|
2017-01-17 13:50:25 +03:00
|
|
|
document.addEventListener("MozReftestInvalidate", doTest);
|
2010-11-07 23:21:20 +03:00
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body></body>
|
|
|
|
</html>
|