Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>Painting order of collapsed table borders</title>
<link rel="author" title="Oriol Brufau" href="obrufau@igalia.com">
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<meta name="assert" content="
The collapsed border of the table is painted in front of the border of the
block descendant.
">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<table style="border-collapse: collapse">
<td style="border: 50px solid green; padding: 0">
<div style="border: 50px solid red; margin: -50px"></div>
</td>
</table>