<title>text-decoration quirk on tables (Bug 572713)</title> <h1>text-decoration on a block</h1> <div style="text-decoration: underline"> text in the block <div>text in a block in the block</div> <table><tbody><tr><td>an HTML table</td></tr></tbody></table> <table style="display:block"><tbody style="display:block"><tr style="display:block"><td style="display:block">an HTML table that's not table-display</td></tr></tbody></table> <div style="display: table"><div style="display: table-row-group"><div style="display: table-row"><div style="display: table-cell">a div with table display types</div></div></div></div> </div> <h1>text-decoration on an inline</h1> <div style="text-decoration: underline; display: inline"> text in the block <div>text in a block in the block</div> <table><tbody><tr><td>an HTML table</td></tr></tbody></table> <table style="display:block"><tbody style="display:block"><tr style="display:block"><td style="display:block">an HTML table that's not table-display</td></tr></tbody></table> <div style="display: table"><div style="display: table-row-group"><div style="display: table-row"><div style="display: table-cell">a div with table display types</div></div></div></div> </div>