mirror of
https://github.com/servo/servo.git
synced 2025-06-10 17:43:16 +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.
22 lines
368 B
HTML
22 lines
368 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
.a {
|
|
height: 16px;
|
|
width: 30px;
|
|
background: blue;
|
|
}
|
|
.b {
|
|
width: 200px;
|
|
background: green;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table><tr><td class=a></td><td class=b></td></tr></table>
|
|
<table><tr><td class=a></td><td class=b></td></tr></table>
|
|
<table><tr><td class=a></td><td class=b></td></tr></table>
|
|
</body>
|
|
</html>
|
|
|