Skip to content
This repository has been archived by the owner on Apr 14, 2019. It is now read-only.

Lint does not detect nested <tr>, <td> and <th> tags #33

Open
petdance opened this issue Apr 8, 2014 · 0 comments
Open

Lint does not detect nested <tr>, <td> and <th> tags #33

petdance opened this issue Apr 8, 2014 · 0 comments

Comments

@petdance
Copy link
Owner

petdance commented Apr 8, 2014

$ cat foo.html
<html>
    <head><title>foo</title></head>
    <body>
        <table>
            <tr>
                <tr> <!-- This should be an error -->
                    <td>
                        <td></td> <!-- This should be an error -->
                    </td>
                    <th>
                        <th></th> <!-- This should be an error -->
                    </th>
                </tr>
            </tr>
        </table>
    </body>
</html>
$ weblint foo.html
$

The <td>, <tr> and <th> should not be able to nest like that.

@petdance petdance changed the title Lint does not detect incorrectly nested <tr>, <td> and <th> tags Lint does not detect nested <tr>, <td> and <th> tags Apr 8, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant