gecko/layout/html/tests/table/interactive/bug1128.html

21 lines
369 B
HTML

<html>
<head>
<style>
tr[name="foo"] {
background-color: red;
font-size: 200%;
}
</style>
</head>
<body>
<button onclick="document.getElementById('row1').setAttribute('name', 'foo')">
Click me!
</button>
<table border>
<tr id="row1">This<td>will<td>show<td>a<td>reflow<td>bug</tr>
<tr><td>This<td>is<td>a<td>normal<td>row</tr>
</table>
</body>
</html>