aanand / deadweight

NOT MAINTAINED
MIT License
1.19k stars 52 forks source link

Browsers insert a <tbody>, but Deadweight does not #29

Open jamesarosen opened 9 years ago

jamesarosen commented 9 years ago

Given the following HTML

<table class="foo">
  <tr>
    <td>Some Foo data</td>
  </tr>
</table>

and the following CSS

table.foo tbody tr td {
  color: green;
}

browsers will insert a virtual <tbody> and apply the rule. Deadweight should also insert this element so it acts like browsers do.