<!doctype HTML>
<style>
:before {
content: "before";
}
:after {
content: "after";
}
</style>
<table>
<tr>
<td><input type="text"></td>
<td><input type="submit"></td>
</tr>
</table>
<!doctype HTML>
<style>
:before {
content: "before";
}
:after {
content: "after";
}
</style>
<table>
<tr>
<td><input type="text"></td>
<td><input type="submit"></td>
</tr>
</table>