blob: 5f9ff68839a1a929a210b17485410b03732b0976 [file] [log] [blame]
<!DOCTYPE html>
<script src="../resources/testharness.js"></script>
<script src="../resources/testharnessreport.js"></script>
<script>
var values = [
{input: new CSSNumberValue(0), cssText: '0'},
{input: new CSSNumberValue(1), cssText: '1'},
{input: new CSSNumberValue(-2), cssText: '-2'},
{input: new CSSNumberValue(3.4), cssText: '3.4'}
];
test(function() {
for (var i = 0; i < values.length; ++i) {
assert_equals(values[i].input.cssText, values[i].cssText);
}
}, "Test that the css string for CSSNumberValue is correct.");
</script>
<body>
</body>