Files
servo/tests/wpt/css-tests/css21_dev/html4/positive-integer-001.htm

30 lines
954 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Parsing signed integers</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#numbers">
<meta name="flags" content="">
<meta name="assert" content="Positively signed integers are treated the same as non-signed integers.">
<style type="text/css">
div
{
background-color: black;
height: 0.5in;
}
#div1
{
width: +1in;
}
#div2
{
width: 1in;
}
</style>
</head>
<body>
<p>Test passes if there is a filled square below.</p>
<div id="div1"></div>
<div id="div2"></div>
</body>
</html>