3809: Broken .kt style in rb/css/syntax.css

What version are you running?


What's the URL of the page containing the problem?

And diffviewer page.

What steps will reproduce the problem?
1. Upload a C++ file that has the term "bool" in it.
2. Inspect the "bool" text node - note that it has a .kt class applied to it
3. No .kt style is applied.

What is the expected output? What do you see instead?
I expected .kt to have some styling. In fact, looking at the syntax.css file, it looks like it's supposed to set font-weight: bold.

What operating system are you using? What browser?
OS X 10.8.5, Firefox Nightly 39.0a1

Please provide any additional information below.
The problem is here in rb/css/syntax.css:

.kt, { font-weight: bold } /* Keyword.Type */

That comma after .kt and before the open brace is invalid CSS. It should be removed.
#1 Justin*******@gmai***** (Google Code) (Is this you? Claim this profile.)
Was able to replicate the problem and looking into it now.
#2 brennie

The patch for this fix landed on release-2.0.x (as commit da3de3f).

  • -Accepted
#3 brennie
  • +jwu