| OLD | NEW | 
|---|
| (Empty) |  | 
|  | 1 <!DOCTYPE html> | 
|  | 2 <title>Fullscreen UA style sheet removes iframe border</title> | 
|  | 3 <script src="../../resources/testharness.js"></script> | 
|  | 4 <script src="../../resources/testharnessreport.js"></script> | 
|  | 5 <script src="../trusted-event.js"></script> | 
|  | 6 <div id="log"></div> | 
|  | 7 <iframe></iframe> | 
|  | 8 <script> | 
|  | 9 async_test(function() | 
|  | 10 { | 
|  | 11     var iframe = document.querySelector("iframe"); | 
|  | 12 | 
|  | 13     // The HTML UA style sheet gives iframe a border. | 
|  | 14     // https://html.spec.whatwg.org/#embedded-content-rendering-rules | 
|  | 15     assert_equals(getComputedStyle(iframe).borderStyle, "inset"); | 
|  | 16 | 
|  | 17     document.addEventListener("fullscreenchange", this.step_func_done(function() | 
|  | 18     { | 
|  | 19         // The Fullscreen UA style sheet removes the iframe border. | 
|  | 20         assert_equals(getComputedStyle(iframe).borderStyle, "none"); | 
|  | 21     })); | 
|  | 22 | 
|  | 23     trusted_request(iframe); | 
|  | 24 }); | 
|  | 25 </script> | 
| OLD | NEW | 
|---|