W3C home > Mailing lists > Public > public-css-testsuite@w3.org > September 2015

Re: Tests for :focus and :focus-within

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 18 Sep 2015 17:00:23 -0400
To: Florian Rivoal <florian@rivoal.net>, public-css-testsuite@w3.org
Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, fantasai <fantasai@inkedblade.net>
Message-ID: <55FC7B67.8010009@inkedblade.net>
On 09/18/2015 05:37 AM, Florian Rivoal wrote:
> Hi Fantasai and Tab,
>
> Questions:
> 1 - Does it make sense to do it as a ref-test, or should I give up on the reference, and simply have it as a manual test? This would allow me to avoid suppressing focus indicators.
>
> 2 - If I stay on the ref test (or manual test) approach, should I keep the helper js?

Keep the helper JS. If we can run it automatically, that's very helpful
for regression testing.

Make sure you include class="reftest-wait" on the HTML element
and remove it once JS has verified that the element has been
focused (whether manually or via JS).

> 3 - Do you agree on having "interactive" but not "dom" in the flags?

Yes, I think that's reasonable.

> 4 - Do you agree on that the use of the color blue to indicate "pay attention, this thing needs to be focused" is useful?

I think that's fine, but since I can't see the test, I can't
comment further. :)

~fantasai
Received on Friday, 18 September 2015 21:01:00 UTC

This archive was generated by hypermail 2.3.1 : Friday, 18 September 2015 21:01:03 UTC