Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="../resources/js-test.js"></script> | |
| 3 <script src="../resources/testharness.js"></script> | |
| 4 <script src="../resources/testharnessreport.js"></script> | |
| 5 <script src="resources/property-parsing-test.js"></script> | |
| 6 <script> | |
| 7 description('Verifies that font-size-adjust property and its value are properly parsed.'); | |
| 8 | |
| 9 assert_valid_value("fontSizeAdjust", "1.5"); | |
| 10 assert_valid_value("fontSizeAdjust", "0.5"); | |
| 11 assert_valid_value("fontSizeAdjust", "0"); | |
|
rune
2015/03/03 18:58:48
I think 0 should be allowed, but IIRC, Gecko drops
changseok
2015/03/03 19:39:41
Gecko doesn't drop 0 and it interprets 0 as none i
| |
| 12 assert_valid_value("fontSizeAdjust", "none"); | |
| 13 assert_invalid_value("fontSizeAdjust", "-0.5"); | |
| 14 assert_invalid_value("fontSizeAdjust", "-1.5"); | |
| 15 </script> | |
| OLD | NEW |