How can I make div inside a cell table 100% height when the row is stretched by word wrapping in another cell.
In this Fiddle I want to have the div in the second cell to fill the whole cell (100% of height).
td {
border: 1px solid red;
width: 50%;
background-color: yellow;
}
td div {
background-color: green;
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
<table>
<tr>
<td>
<div>
abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde abcde
</div>
</td>
<td>
<div>
xxx
</div>
</td>
</tr>
</table>