Backed out changeset 9c4ce17422de (bug 1867360) for causing crashes on PRemoteQuotaOb...
[gecko.git] / editor / reftests / 672709-ref.html
blob18ce2b5d58de49c65b8856ab72d27191e0e51f15
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <body>
4 <style>
5 :read-only { color: red; }
6 :read-write { color: green; }
7 </style>
8 <script>
9 onload = function() {
10 document.designMode = "on";
11 var p = document.createElement("p");
12 p.textContent = "test";
13 document.getElementById("x").appendChild(p);
14 getSelection().removeAllRanges(); // don't need a caret
15 document.documentElement.removeAttribute("class");
17 </script>
18 <div contenteditable id="x">
19 </div>
20 more test
21 </body>
22 </html>