gecko/layout/html/tests/formctls/bugs/bug42481.html

58 lines
836 B
HTML
Raw Normal View History

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html lang="en">
<head>
<title>test case</title>
<style type="text/css" media="screen">
<!--
body {
color: #0f0;
background-color: #000;
margin: 0;
padding: 1em;
}
input[type="text"], select {
color: #0f0;
background-color: #000;
border-color: #06f;
border-width: 1px;
font-size: 2em;
line-height: 2em;
height: 5em;
width: 60%;
}
.test {
font-family: sans-serif;
}
-->
</style>
</head>
<body>
<form>
<table>
<tr>
<td>Test:</td>
<td><input type="text" class="test" value="text and Number 123"></td>
</tr>
<tr>
<td>Test:</td>
<td><select class="test">
<option>text and Number 123</option>
<option>text and Number 123</option>
<option>text and Number 123</option>
</select></td>
</tr>
</table>
</form>
</body>
</html>