billymoon / Stylus

Stylus Package for Sublime Text 2 / 3
Other
129 stars 31 forks source link

Cannot use attribute "for" in selector #60

Closed mborman closed 9 years ago

mborman commented 9 years ago

Maybe I missed something... I am new to stylus.

But a css selector like this will break the compiler

label[for="firstname"]
  clear both

using normal css does not help

label[for="firstname"] {
  clear: both;
}

I am assuming the compiler thinks the "for" is the start of a loop when in fact it is a valid attribute name of the label HTML tag.

billymoon commented 9 years ago

@mborman this is the package for the Sublime Text plugin to support the Stylus language - I raised your issue in the main Stylus project, and will close this ticket.