| <!doctype html> |
| <html lang="en"> |
| <head> |
| <meta charset="utf-8"> |
| <title>Bug #105672 - direct adjcent</title> |
| <meta name="viewport" content="width=device-width"> |
| <style type="text/css"> |
| |
| |
| table { |
| font-size: 1em; |
| border-collapse: collapse; |
| border: 1px solid #777; |
| margin: 1em 5%; |
| } |
| th, td { |
| border: 1px solid #777; |
| } |
| |
| td:first-child+td+td { color: red; background: yellow;} |
| </style> |
| |
| |
| </head> |
| |
| <body> |
| |
| <table> |
| <tbody> |
| <tr><td>cell</td><td>other cell</td><td>more cell</td></tr> |
| <tr><td>cell</td><td>cell other</td><td>more cell</td></tr> |
| <tr><td>cell</td><td>other cell</td><td>more cell</td></tr> |
| <tr><td>cell</td><td>other cell</td><td>more cell</td></tr> |
| </tbody> |
| </table> |
| |
| <table> |
| <tbody> |
| <tr> |
| <td>cell</td><td>other cell</td><td>more cell</td></tr> |
| <tr> |
| <td>cell</td><td>cell other</td><td>more cell</td></tr> |
| <tr> |
| <td>cell</td> |
| <td>other cell</td><td>more cell</td></tr> |
| <tr> |
| <td>cell</td><td>other cell</td><td>more cell</td></tr> |
| </tbody> |
| </table> |
| |
| </body> |
| </html> |