OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../resources/testharness.js"></script> |
| 3 <script src="../resources/testharnessreport.js"></script> |
| 4 <script src="../fast/css/getComputedStyle/resources/computed-style-listing.js"><
/script> |
| 5 <div id="target"></div> |
| 6 <script> |
| 7 test(function() { |
| 8 var style = getComputedStyle(target); |
| 9 for (var i = 0; i < style.length; i++) { |
| 10 var property = style.item(i); |
| 11 assert_false(CSS.supports(property, ''), property + ":;"); |
| 12 assert_false(CSS.supports(property, ' '), property + ": ;"); |
| 13 } |
| 14 }, 'Verify that property values consisting of only whitespace are not accepted.'
); |
| 15 </script> |
OLD | NEW |