mirror of
https://github.com/servo/servo
synced 2026-05-08 16:12:15 +02: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.
22 lines
417 B
HTML
22 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>
|
|
|