Bug 1890277: part 2) Add `require-trusted-types-for` directive to CSP parser, guarded...
[gecko.git] / editor / reftests / 338427-2.html
blobdc60977ac44e0146f9e82364a9af00e07a117a91
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <script>
4 function init() {
5 var editor = document.getElementById('editor');
6 editor.addEventListener("focus", function() {
7 window.setTimeout(function() {
8 document.documentElement.className = '';
9 }, 0);
10 });
11 editor.focus();
13 </script>
14 <body onload="init()">
15 <!-- invalid language will default to en-US -->
16 <div id="editor" lang="testing-XX" contenteditable="true">good possible word</div>
17 </body>
18 </html>