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

> 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)
https://bugs.webkit.org/show_bug.cgi?id=19104
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:
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

CSS 2.1 test suite (RC2; October 1st 2010):
http://test.csswg.org/suites/css2.1/20101001/html4/toc.html

CSS 2.1 test suite contributors:
http://test.csswg.org/source/contributors/

Received on Saturday, 9 October 2010 05:48:20 UTC