mirror of
https://github.com/servo/servo.git
synced 2025-06-14 19:34:29 +00:00
matching, and use it for `<input size>` and `<td width>`. This implements a general framework for legacy presentational attributes to the DOM and style calculation, so that adding more of them later will be straightforward.
21 lines
417 B
HTML
21 lines
417 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
.a {
|
|
height: 16px;
|
|
background: blue;
|
|
}
|
|
.b {
|
|
background: green;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table><tr><td width=30 class=a></td><td width=200 class=b></td></tr></table>
|
|
<table><tr><td width="30 " class=a></td><td width=" 200 " class=b></td></tr></table>
|
|
<table><tr><td width="30asdf" class=a></td><td width=200haha class=b></td></tr></table>
|
|
</table>
|
|
</body>
|
|
</html>
|
|
|