checked.xhtml (548B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE html> 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 <head> 5 <title>input@checked is immediately reflected to 'checked' IDL attribute</title> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 </head> 9 <body> 10 <div id="log"></div> 11 <input style="display: none" type="checkbox" checked=""> 12 <script> 13 test(function(){ 14 assert_true(document.querySelector('input').checked, 'Examining "checked" IDL attribute value:') 15 }); 16 </script> 17 </input> 18 </body> 19 </html>