W3C home > Mailing lists > Public > public-css-testsuite@w3.org > April 2012

Re: [Transforms] svg-translate-001

From: Dirk Schulze <dschulze@adobe.com>
Date: Wed, 18 Apr 2012 16:43:44 -0700
To: Chris Lilley <chris@w3.org>
CC: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>
Message-ID: <6C15F07D-8893-441D-9A84-964AEC6DF6A4@adobe.com>
I send this message for Rebecca Hauck. She seems to have some problems, maybe caused by first-time approval problems:

Hi Chris,

Yes, thanks for the feedback and I'm also in agreement.  However, I'm
proposing the following change, where I eliminate the coordinates from the
description altogether and add a second visual element that would a cause
a diff if the test fails.  This is similar to your suggested improvement
to the scale-XXX tests, where the pass/fail result is affected or defined
by a fixed visual element on the page.

Here's a sample code snippet:

<p>The test passes if there is a green square and no red.</p>
<svg>
       <rect x="100" y="100" width="50" height="50" fill="red"/>
       <rect width="100" height="100" fill="green"
transform="translate(50 50)"/>
</svg>


I've attached pngs demonstrating PASS & FAIL for this test.  Would an
approach like this be ok?


Thanks,
-Rebecca




On Apr 18, 2012, at 8:46 AM, Dirk Schulze wrote:

I agree with your comments and we are already improving the tests, but push when we are ready. So far translate and scale tests are affected by the refactoring.

Greetings
Dirk

On Apr 18, 2012, at 8:40 AM, "Chris Lilley" <chris@w3.org<mailto:chris@w3.org>> wrote:

Hello public-css-testsuite,

"The test passes if there is an orange square at 50,50"
http://test.csswg.org/harness/test/CSS3-TRANSFORMS_DEV/svg-translate-001/

Easier to see if there was a marker at 50,50 to which the top left corner of the square could align.

Also "at 50,50" could be made more precise "whose top left corner is at 50,50".

--
Chris Lilley   Technical Director, Interaction Domain
W3C Graphics Activity Lead, Fonts Activity Lead
Co-Chair, W3C Hypertext CG
Member, CSS, WebFonts, SVG Working Groups



[cid:8932E9DE-2E18-48CE-AF5F-69A789D45D37@macromedia.com][cid:C2F19F24-6879-490C-B6EA-2E0A9C732224@macromedia.com]



PASS.png
(image/png attachment: PASS.png)

FAIL.png
(image/png attachment: FAIL.png)

Received on Wednesday, 18 April 2012 23:44:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 18 April 2012 23:44:35 GMT