[Bug 6935] New: rgb(0%, 50%, 0%) declaration unexpectedly get modified in validation report

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6935

           Summary: rgb(0%, 50%, 0%) declaration unexpectedly get modified
                    in validation report
           Product: CSSValidator
           Version: CSS Validator
          Platform: All
               URL: http://jigsaw.w3.org/css-
                    validator/validator?uri=http://www.hixie.ch/tests/evil/c
                    ss/css21/tests/t040306-syntax-01-f.htm&lang=en#css
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: CSS 2.1
        AssignedTo: dave.null@w3.org
        ReportedBy: info@gtalbot.org
         QAContact: www-validator-cvs@w3.org


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


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 20 May 2009 21:39:01 UTC