- From: Jeremy French <jeremyfrench@mac.com>
- Date: Fri, 25 Jun 2004 10:19:07 -0400
- To: www-validator-css@w3.org
- Message-Id: <9E5B2E76-C6B2-11D8-9208-000A9586488E@mac.com>
==============
QUESTION
==============
Why did the CSS Validator alter this rule:
FROM -> background: rgb(75%,85%,70%);
TO -> background : rgb(75.0,85.0,70.0);
Note that each of the percent values appear as decimal numbers. For
example, 75% appears as 75.0. However, I used a percent -- not a
number between 0 and 255.
Why were the percents changed to numbers?
==============
WHAT I DID
==============
I pasted the following snippet into the box labeled "VALIDATE BY DIRECT
INPUT", as follows:
.panel {
background: rgb(75%,85%,70%);
}
After clicking CHECK, the Validator reported "No error or warning
found", and displayed the rule under the caption "Valid CSS
Information", as follows:
• .panel {
◦ background : rgb(75.0,85.0,70.0);
}
Oddly, Validator is not displaying the same rule I entered in the
"VALIDATE BY DIRECT INPUT" box.
The link for the CSS Validator I used is:
http://jigsaw.w3.org/css-validator/
Attachments
- text/enriched attachment: stored
Received on Friday, 25 June 2004 10:20:46 UTC