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

Re: Tests for :focus and :focus-within

From: Florian Rivoal <florian@rivoal.net>
Date: Sat, 19 Sep 2015 16:03:56 +0900
Cc: "public-css-testsuite@w3.org" <public-css-testsuite@w3.org>, "Tab Atkins Jr." <jackalmage@gmail.com>, fantasai <fantasai@inkedblade.net>
Message-Id: <00244DAB-FCAF-4F32-BA01-769F31B86106@rivoal.net>
To: fantasai <fantasai.lists@inkedblade.net>

> On 19 Sep 2015, at 06:00, fantasai <fantasai.lists@inkedblade.net> wrote:
> 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).

Do I need to remove it when the element was focussed manually and JS is off/not supported? If yes, how am I supposed to do that? Or is that only relevant if JS is running?

 - Florian
Received on Saturday, 19 September 2015 07:04:30 UTC

This archive was generated by hypermail 2.3.1 : Saturday, 19 September 2015 07:04:33 UTC