mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
575d767fbd
--HG-- extra : rebase_source : 4a8c3bbd202e6aa0973117b4de81e7885150f50e
22 lines
439 B
HTML
22 lines
439 B
HTML
<html>
|
|
<head>
|
|
<title>Testcase for bug 448329</title>
|
|
<script>
|
|
function go() {
|
|
test("myFrame", "backcolor");
|
|
}
|
|
function test(id,cmd) {
|
|
var doc = document.getElementById(id).contentDocument;
|
|
doc.designMode = "On";
|
|
|
|
var s = doc.defaultView.getSelection();
|
|
s.removeAllRanges();
|
|
s.addRange(doc.createRange());
|
|
|
|
doc.queryCommandIndeterm(cmd);
|
|
}
|
|
</script>
|
|
</head>
|
|
<body onload="go()"><iframe id="myFrame"></iframe></body>
|
|
</html>
|