W3C home > Mailing lists > Public > public-css-testsuite@w3.org > October 2010

Re: focus-pseudo-class-003 assumes platform behavior

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Fri, 8 Oct 2010 22:47:45 -0700
Message-ID: <ae70497392e371f721e3ca4bc314eb79.squirrel@cp3.shieldhost.com>
To: "Simon Fraser" <smfr@me.com>
Cc: "Public CSS 2.1 test suite mailing list" <public-css-testsuite@w3.org>

> This test:
> focus-pseudo-class-003
> <http://test.csswg.org/suites/css2.1/20101001/html4/focus-pseudo-class-003.htm>
> makes an incorrect assumption that clicking on a radio button will also
> give it focus. This assumption is not true on Mac OS X.

Hello Simon,

Activating a radio button must also focus it. If you read section "17.11
Giving focus to an element" (linked from the testcase), things are clear
and without ambiguity.

Also, if you click the label, then focus will be transferred to the the
radio button: section 17.9.1. etc.

For many reasons, I believe this testcase is correct.

>The test should
> be re-worded to say that the control should be focussed by tabbing to
> it.

This is the first sentence of the testcase:
With the pointing device (like a mouse left-button click) or with the
keyboard (with the tab key or with the "T" accesskey), activate the
radio button below.

Bug 19104 -  WebKit does not focus radios and checkboxs on click (like
windows expects)
Product: 	WebKit
Component: 	Forms
Version: 	528+ (Nightly build)
Platform: 	Macintosh Mac OS X 10.5

regards, Gérard
Contributions to the CSS 2.1 test suite:

CSS 2.1 test suite (RC2; October 1st 2010):

CSS 2.1 test suite contributors:
Received on Saturday, 9 October 2010 05:48:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:13:21 UTC