| <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
| <html> | |
| <head> | |
| <title>CSS Test: The 'rules' attribute and the 'frame' attribute</title> | |
| <meta name="assert" content="The first table has two vertical lines capped and bottomed by two horizontal lines."> | |
| <meta name="assert" content="The second table has four vertical lines."> | |
| <meta name="assert" content="The third table has four vertical lines capped and bottomed by two horizontal lines."> | |
| <style type="text/css"> | |
| td | |
| { | |
| height: 20px; | |
| width: 20px; | |
| } | |
| </style> | |
| <script> | |
| if (window.testRunner) | |
| testRunner.dumpAsText(true); | |
| </script> | |
| </head> | |
| <body> | |
| <table rules="cols" frame="hsides"> | |
| <tr> | |
| <td></td> | |
| <td></td> | |
| <td></td> | |
| </tr> | |
| <tr> | |
| <td></td> | |
| <td></td> | |
| <td></td> | |
| </tr> | |
| <tr> | |
| <td></td> | |
| <td></td> | |
| <td></td> | |
| </tr> | |
| </table> | |
| <br> | |
| <table rules="cols" frame="vsides"> | |
| <tr> | |
| <td></td> | |
| <td></td> | |
| <td></td> | |
| </tr> | |
| <tr> | |
| <td></td> | |
| <td></td> | |
| <td></td> | |
| </tr> | |
| <tr> | |
| <td></td> | |
| <td></td> | |
| <td></td> | |
| </tr> | |
| </table> | |
| <br> | |
| <table rules="cols" frame="border"> | |
| <tr> | |
| <td></td> | |
| <td></td> | |
| <td></td> | |
| </tr> | |
| <tr> | |
| <td></td> | |
| <td></td> | |
| <td></td> | |
| </tr> | |
| <tr> | |
| <td></td> | |
| <td></td> | |
| <td></td> | |
| </tr> | |
| </table> | |
| </body> | |
| </html> |