This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Start URL: http://www.hixie.ch/tests/evil/css/css21/tests/t040306-syntax-01-f.htm Original CSS declarations in the test relevant for this bug report are: p#percentpercentpercent1 { color: rgb(0%, 50%, 0%) } p#percentpercentpercent2 { color: rgb(0%, 49.99%, 0%) } Actual results ============== Validated CSS info according to CSS validator validation report is: p#percentpercentpercent1 { color : rgb(0.0%, 0.0%, 0.0%); } p#percentpercentpercent2 { color : rgb(0.0%, 0.0%, 0.0%); } Description =========== From the test to the CSS validator validation report, the validated CSS declarations are modified. 50% and 49.99% both become/change to 0.0% Expected results ================ Validated CSS info according to CSS validator validation report should be: p#percentpercentpercent1 { color : rgb(0%, 50%, 0%); } p#percentpercentpercent2 { color : rgb(0%, 49.99%, 0%); } If required, I can create a reduced testcase for this bug. This bug is following up on comment #2 in bug 1269 regards, Gérard
The bug is entirely reproducible when using the "By direct input" tab, Validate by direct input and by inputting: p#percentpercentpercent1 { color: rgb(0%, 50%, 0%) } p#percentpercentpercent2 { color: rgb(0%, 49.99%, 0%) } regards, Gérard
The provided test has been submitted to the CSS 2.1 Conformance test suite: RGB color syntax error handling (test for validity) http://www.w3.org/Style/CSS/Test/CSS2.1/current/html4/color-000.htm regards, Gérard
Thanks, it was a stupid typo in the green setter, leaving the value to always 0, if your test was 50%, 0%, 0% it would still be unnoticed! Fixed on http://qa-dev.w3.org:8001/css-validator/