| OLD | NEW | 
 | (Empty) | 
|   1 <!DOCTYPE html> |  | 
|   2 <script src="../../../resources/js-test.js"></script> |  | 
|   3 <div id="parent" style="width: 200px; height: 200px;"> |  | 
|   4 <iframe id="iframe" seamless src="resources/nested-seamless.html"></iframe> |  | 
|   5 </div> |  | 
|   6 <script> |  | 
|   7 debug("Test that nested seamless iframes size correctly.") |  | 
|   8 window.onload = function () { |  | 
|   9     window.iframe = document.getElementById("iframe"); |  | 
|  10     shouldBeTrue("iframe.seamless"); |  | 
|  11  |  | 
|  12     // The nested iframe is also seamless. |  | 
|  13     window.nestedFrame = iframe.contentDocument.getElementById("iframe"); |  | 
|  14     shouldBeTrue("nestedFrame.seamless"); |  | 
|  15  |  | 
|  16     // Just like seamless-basic.html, the height from resources/square.html |  | 
|  17     // should define the height of the nested seamless iframes. |  | 
|  18     shouldBeEqualToString("window.getComputedStyle(iframe).width", "200px"); |  | 
|  19     shouldBeEqualToString("window.getComputedStyle(iframe).height", "100px"); |  | 
|  20 } |  | 
|  21 </script> |  | 
| OLD | NEW |