W3C home > Mailing lists > Public > public-css-testsuite@w3.org > August 2014

Re: css3-border-image-repeat-stretch

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 20 Aug 2014 16:27:24 -0400
To: Chris Lilley <chris@w3.org>
Cc: Yanshasha <yanshasha133@gmail.com>, Dayang Shen <shendayang@baidu.com>, Public CSS Test suite mailing list <public-css-testsuite@w3.org>
Message-ID: <e3c36ccadbceb4a4b125f5b372a2f0a6@gtalbot.org>
Le 2014-08-20 12:50, Chris Lilley a écrit :
> Hello Public-css-testsuite,
> css3-border-image-repeat-stretch


> says "The test passes if the blue diamond is stretching between the
> red diamonds. "
> Perhaps the support image has changed since the test was written?

I think there is more reasons ...

> http://test.csswg.org/suites/css-backgrounds-3_dev/nightly-unstable/html4/support/border.png
> has orange diamonds between the red ones.

The test is not perfectly precise! The original image


is 81px by 81px with 3 by 3 diamonds and so a slice should be 27px and 
not 26px. And I can see Firefox 31 and Chrome 36.0.1985.143 displaying a 
tiny line of light orange (it's actually difficult for me to describe; 
best is to toggle tabs from test to reftest to see such tiny line).

The images



are 26px by 26px and the reftest


do not show such tiny lines. So, an automated checking would most likely 
result in a false negative... because of such 1px difference.

So, yes, the test definitely needs to be redone.


A) As noted before, red should be used to indicate failure. So, the red 
diamonds should be replaced with another color: blue diamond and orange 
diamond is my proposal.

<title>CSS Border Test:border image repeat property with value 

should be better replaced with

<title>CSS Backgrounds and Borders Test: 'border-image-repeat' property 
with value stretch</title>

Filename with the "css3-" chunk is not needed, not useful and not given 
in the format guidelines and so it should be removed. So,


could be filename-renamed to


The associated reftest


has other issues.

Its <title> should be

<title>CSS Reftest Reference</title>

instead of

<title>CSS Border Test:border image repeat property with value 

Its filename should also be renamed accordingly to

D) The alt attribute of the images in the reftest should use

alt="Image download support must be enabled"

so that anyone can immediately notice a problem if the image do not load 
or are not fetched. The current alt text of images should be used as 
identifiers instead.

Eg in the code:

should be instead

E) There are more than 1 blue diamond that are stretched; so I think the 
sentence should be saying (plural instead of singular):

Test passes if 4 blue diamonds stretch between 4 orange diamonds.


+CC: yanshasha, author of the test and Dayang Shen, reviewer of the test
Web authors' contributions to CSS 2.1 test suite
CSS 2.1 Test suite RC6, March 23rd 2011
Received on Wednesday, 20 August 2014 20:28:07 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:20 UTC