For some of us, standards compliance is pretty important. I recently had one of my sites appear in a list of only 35 that passed validation tests out of 1000 political sites tested. Unfortunately, there are a number of CSS files included in Drupal core and various high-use modules (like this one) that do not. Here are the errors in content.css:
10 .content-field-overview .content-field-overview-disabled Parse Error - opacity=50)
11 .content-field-overview .content-field-overview-disabled Property -moz-opacity doesn't exist : 0.5
12 .content-field-overview .content-field-overview-disabled Property opacity doesn't exist : 0.5
Anything that can be done to replace these with standards compliant code would be greatly appreciated. I understand that opacity is a valid property in CSS3, but the others still aren't. Maybe there's another way we can do this that degrades nicely without using browser specific code.
Comments
Comment #1
FiNeX CreditAttribution: FiNeX commentedYes, I've modified the .css file of the module, but the next time I'll update the module I'll have to re-edit the file.
The CSS files should be 100% standard.
Initially a possible fix should be to replace this three lines of code with something similar, maybe a different background-color instead the transparency?...
Comment #2
yched CreditAttribution: yched commentedfixed in latest 1.x-dev. Will be in forthcoming 1.6 release.
Comment #3
FiNeX CreditAttribution: FiNeX commentedWow! Thanks :-)
Comment #4
(not verified) CreditAttribution: commented