Bug 1891710: part 2) Enable <Element-outerHTML.html> WPT for Trusted Types. r=smaug
[gecko.git] / gfx / tests / reftest / 1424673.html
blob31384741b51b39da6cd86cb25bca82c10e6d37be
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <style>
4 body {
5 overflow:hidden;
8 .container {
9 background-color: lime;
12 .text_shadow {
13 color: #fff;
14 text-shadow: 0px 0px 10px #fff;
15 line-height: 0;
16 top: 300px;
17 width: 300px;
18 height: 300px;
19 font-size: 300px;
21 </style>
22 <script>
23 function shadow(){
24 document.write('<div class="text_shadow" style="position: absolute; top: 30px; left: 10px;">.</div>');
25 document.write('<div class="text_shadow" style="position: absolute; top: 30px; left: 10px;">.</div>');
26 document.write('<div class="text_shadow" style="position: absolute; top: 30px; left: 10px;">.</div>');
29 function run_Test(){
30 document.write('<div style="position: relative; top: 160px; left: 0px;"><script>shadow();<\/script></div>');
31 document.write('<div style="position: relative; top: 160px; left: -90px;"><script>shadow();<\/script></div>');
32 document.write('<div style="position: relative; top: 160px; left: 70px;"><script>shadow();<\/script></div>');
33 document.documentElement.classList.remove("reftest-wait");
36 run_Test();
37 </script>
38 <div class="container" style="width: 200px; height: 200px;">
39 </html>