mirror of
https://github.com/servo/servo.git
synced 2025-06-16 12:24:29 +00:00
Table columns should be layed out according to the 'direction' property of the table flow, regardless of the 'direction' property of any table-row, table-rowgroup, etc. flows. This fixes a number of the `direction-applies-to-*` tests in the CSS2.1 test suite. This also simplifies `propagate_column_inline_sizes_to_child` by separating the code used for table cells from the code for non-cell flows. r? @pcwalton
22 lines
455 B
HTML
22 lines
455 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
|
<style>
|
|
* { margin: 0; padding: 0; border-spacing: 0; }
|
|
.r { color: red; }
|
|
.o { color: orange; }
|
|
.y { color: yellow; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table>
|
|
<tr>
|
|
<td class="r">R</td>
|
|
<td class="o">O</td>
|
|
<td class="y">Y</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|