Chrome Inspector showing empty CSS Rules
There seems to be something in Bootstrap that is causing Chrome not to display matched styles in the inspector. This could be a Chrome issue, but perhaps a bad css attribute is causing the problem.
The inspector displays the matched CSS classes, and the correct line number of the CSS files, but the lines inside the css rule are empty.
Example: http://twitter.github.com/bootstrap/examples/fluid.html Inspect one of the links in the sidebar.
bootstrap.css:3244 .nav-list > li > a, .nav-list .nav-header {
}
Chrome Stable, Chrome Dev, and Canary all currently exhibit the problem. Safari inspector works fine.
I fired up my browser (Chrome Version 20.0.1132.57 on OS X Lion) and I was able to see the attributes in the inspector for bootstrap.css:3244.
.nav-list > li > a, .nav-list .nav-header {
margin-right: -15px;
margin-left: -15px;
text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
You're right. Chrome Stable is fine. My error.