OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <head> | |
3 <script> | |
4 if (window.testRunner) | |
5 testRunner.dumpAsText(); | |
6 | |
7 window.onload = function() { | |
8 var e = document.getElementById('testDiv'); | |
9 for (var i in window.getComputedStyle(e, null)) { | |
10 try { | |
11 if (i == 'cssFloat') | |
12 alert('CSS Float is an enumerated property') | |
13 } catch(e) { | |
14 alert('An exception occured while running cssfloat-as-enumerated -property.html test'); | |
15 } | |
16 } | |
17 alert(window.getComputedStyle(e,null).cssFloat); | |
18 } | |
19 </script> | |
20 </head> | |
21 <body> | |
22 <div id='testDiv'></div> | |
23 </body> | |
OLD | NEW |