Re: Broken link to image while running test

Le 2015-11-25 08:57, Manuel Rego Casasnovas a écrit :
> Hi,
> 
> 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
> 
> 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" />

Manuel,

This chunk

<meta name="flags" content="image">

is missing in your test (and also in your other grid tests) :


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

"
image  Requires support for bitmap graphics and the graphic to load
"

Gérard

> 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?
> 
> Thanks you very much,
>   Rego

-- 
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:53:41 UTC