[ http://issues.apache.org/jira/browse/FOR-891?page=comments#action_12447117 ] Gavin commented on FOR-891: ---------------------------
I have changed print.css and basic.css to remove all warnings from these files. However, the majority of 'warnings' still exist for screen.css and profile.css.xslt. The majority of these warnings complain of missing background-color where color has been specified and vice-versa. Some of this is true, they are missing, most however are because the W3C validator does not recognise 'transparent' as a valid match for the other specified color/background-color. Even though 'transparent' is valid (CSS2 and CSS3 included) and in fact is the 'default' background-color, it becomes invalid when a foreground color is specified. The reasonings for this are many, the most obvious one being that when a user uses his/her own stylesheet to over-ride some of the color values specified by the Author. It brings complications. At the end of the day, at the moment, these warnings are really judgement calls. So, dow we want to continue on and remove all warnings by replacing transparent with either an 'inherit' or specify a background-color to match the parent container, giving the same overall effect, or do we ignore them and move on? > css-validator reports CSS errors and many warnings for pelt skin > ---------------------------------------------------------------- > > Key: FOR-891 > URL: http://issues.apache.org/jira/browse/FOR-891 > Project: Forrest > Issue Type: Bug > Components: Skins (general issues), Documentation and website > Affects Versions: 0.8-dev > Reporter: David Crossley > Assigned To: Gavin > Attachments: screen.css.diff, screen_2.css.diff > > > Our home page does not pass CSS validation with > http://jigsaw.w3.org/css-validator/ -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
