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

Re: UAs passing tests if they don't implement a feature

From: Aryeh Gregor <ayg@aryeh.name>
Date: Tue, 19 Jun 2012 19:07:44 +0300
Message-ID: <CAKA+AxnqWimhdZUWcZVQ1A=nQc1Rv4zRO_4D_ovwkzPcXx7m-Q@mail.gmail.com>
To: Dirk Schulze <dschulze@adobe.com>
Cc: CSS-testsuite <public-css-testsuite@w3.org>
On Tue, Jun 19, 2012 at 7:02 PM, Dirk Schulze <dschulze@adobe.com> wrote:
> The current style guidelines disallow these kind of tests, just because of that reason.

Where?

> This is an interesting question. The negative ref test won't help here. So it wouldn't matter how many refs we add, an implementation would always pass. On the other side, this is the correct behavior. The rotation is not applied. If implementations support transforms or not, the element should not be transformed. But for these kind of tests the ref doesn't need to apply a transform at all, does it? The exception would be the negative rotate. A ref file that you can easily work around. We did it for SVG transforms already.

Correct -- in these cases the ref applies no transform.  E.g., the
test and ref might both contain

  <body>This text should not be rotated</body>

and the only difference would be

  <style>body { transform: rotate(10%) }</style>

would be in the test, but not the ref.  The point is that an
implementation that doesn't implement the feature at all would still
pass, but I think this is okay.
Received on Tuesday, 19 June 2012 16:08:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 June 2012 16:08:46 GMT