Skip to content

csslint.net breaks on a css rule #179

@3rd-Eden

Description

@3rd-Eden

Hello,

When I go to the site and validate my co-worker's CSS it throws a JavaScript exception:

Uncaught TypeError: Cannot read property 'name' of undefined csslint-ui.js:158 ( tr.cells[3].innerHTML = htmlEscape(messages[i].rule.name);)

I have managed to narrow it down to one single rule

.top h1 a { background: url(../images/background/logo.png) no-repeat; display: block; height: 44px; position: relative; text-indent: -9999px; width: 250px; }

If I remove the display:block it works just fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions