RE: talk about a reftest test

Dear Gérard and Linss,


I have got your reply from website. Too many thanks for your inspiring views which are very helpful to me.



Best Wishes,

Chenxi


From: Xu, JianfengX
Sent: Friday, January 16, 2015 1:34 PM
To: public-css-testsuite@w3.org
Subject: talk about a reftest test


Hey all,

I am a case developer. Just talk about an issue about reftest background-001.xht(saved at csswg-test/css21/backgrounds) which is used to check background with color only sets the background of the element to the color specified. And the css style of this case is as below:
            div {
                   background: green,
                   height: 50px;
                }
The reference file for this case used now is setting a 1x1-green.png picture as background of a div. But the render result is not the same as the origin case(I save these two web pages as pictures, compare them with image comparison tool, and find there are different).
So I create another reference file for this case using the following css style:
            div {
                   background: rgb(0,128,0),
                   height: 50px;
                }
I am not sure if this is all right. Would you please share your opinion with me? Too many thanks.

Best Regards,
Chen Xi

Received on Monday, 26 January 2015 06:51:37 UTC