iframe-marginwidth-marginheight.html (439B)
1 <!doctype html> 2 <title>iframe marginwidth and marginheight</title> 3 <script src="/resources/testharness.js"></script> 4 <script src="/resources/testharnessreport.js"></script> 5 <iframe src="/common/blank.html" marginwidth=0 marginheight=0></iframe> 6 <script> 7 setup({ single_test: true }); 8 onload = () => { 9 assert_equals(window[0].document.body.attributes.length, 0, "Number of attributes on the child document's body"); 10 done(); 11 } 12 </script>