Re: Broken link to image while running test

Le 2015-11-25 08:57, Manuel Rego Casasnovas a écrit :
> Hi,
> 

Hello Manuel,

> in the CSS Grid Layout spec I've created this test:
> https://github.com/w3c/csswg-test/blob/master/css-grid-1/grid-items/grid-minimun-size-grid-items-006.xht
> 

[src]
http://test.csswg.org/source/css-grid-1/grid-items/grid-minimun-size-grid-items-005.xht


> Note that the test is under "css-grid-1/grid-items/" folder. We've
> different folders for each section of the spec.
> 
> The test use an image that is under "css-grid-1/support/" referencing 
> it
> with:
>  <img src="../support/100x100-green.png" />
> 

In some code situations, it will be necessary to have an alt attribute 
so that failures to fetch image will be easily noticeable. I propose you 
add

alt="Image download support must be enabled"

to your <img>. I have done this in all my tests and others have done 
too.

Also, it's Minimum|minimum and not Minimun|minimun .

> The test works fine in Shepherd:
> http://test.csswg.org/shepherd/testcase/grid-minimun-size-grid-items-005/spec/css-grid-1/
> 
> However when I try to run it the link to the image is broken:
> http://test.csswg.org/harness/test/css-grid-1_dev/alpha/grid-minimun-size-grid-items-005/
> 
> I see that the test is run in this URL:
> http://test.csswg.org/suites/css-grid-1_dev/nightly-unstable/html/grid-minimun-size-grid-items-005.htm
> 
> So "../support/100x100-green.png" is trying to access:
> http://test.csswg.org/suites/css-grid-1_dev/nightly-unstable/support/100x100-green.png
> 
> Instead of:
> http://test.csswg.org/suites/css-grid-1_dev/nightly-unstable/html/support/100x100-green.png
> 
> What would be the right way to fix this?

Contact Peter Linss on this. Since the image loads in

http://test.csswg.org/source/css-grid-1/grid-items/grid-minimun-size-grid-items-005.xht

then somehow the build process is wrong or needs tuning.

+CC: Peter Linss

Gérard
-- 
Test Format Guidelines
http://testthewebforward.org/docs/test-format-guidelines.html

Test Style Guidelines
http://testthewebforward.org/docs/test-style-guidelines.html

Test Templates
http://testthewebforward.org/docs/test-templates.html

CSS Naming Guidelines
http://testthewebforward.org/docs/css-naming.html

Test Review Checklist
http://testthewebforward.org/docs/review-checklist.html

CSS Metadata
http://testthewebforward.org/docs/css-metadata.html

Received on Wednesday, 25 November 2015 20:27:40 UTC