[TxMt] Re: CSS language and background-color:transparent

Michael Sheets mummer at whitefalls.org
Sun Dec 7 23:15:08 UTC 2008


On Nov 28, 2008, at 2:45 AM, Oli wrote:

> I’m not sure if this has already been addressed, but I noticed
> that my CSS language grammar highlights “transparent” in
> {background-color: transparent;}, and most everything after that, as
> an error (scope = invalid.illegal.css). The more common {background:
> transparent;} doesn’t trigger the error, and in that
> case “transparent” gets the scope “name =
> 'support.constant.property-value.css'.” I added transparent to
> the value list in “name = 'support.constant.color.w3c-standard-
> color-name.css',” which may not be the right place, but works
> for me.

This works for me in the current and the version of the bundle from  
the last minor release. Check to see if you have any local changes  
causing it by moving the CSS bundle in:

/Users/<yourname>/Library/Application Support/TextMate/Bundles/

To the desktop and then restarting TextMate.


More information about the textmate mailing list