execCommand-fontsize-when-size-attr-invalid.html (342B)
1 <!doctype html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 </head> 6 <body><font id="font1"> 7 <script> 8 function run() { 9 document.designMode = "on"; 10 font1.size = null; 11 document.execCommand("selectAll"); 12 document.execCommand("createLink", false, "test1"); 13 document.execCommand("fontSize", false, "1"); 14 } 15 run(); 16 </script></font></body> 17 </html>