Bug 15082 - Javascript radiobuttons do not change layout of page
Summary: Javascript radiobuttons do not change layout of page
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Major
Assignee: Nobody
URL: http://www.boligsiden.dk/homepage.htm
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-26 11:41 PDT by Marcus Hoff
Modified: 2007-12-11 15:50 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Hoff 2007-08-26 11:41:30 PDT
Not sure which part of Javascript has the problem. 

To reproduce:
At the top of the page, under "SØGEFORM":
Switching between the two radiobuttons "Simpel søgning" and "Udvidet søgning" does not change the layout of the page.

Try loading the page in Firefox and switch between the radiobuttons to see the correct behaviour.
Comment 1 BARTdG 2007-12-11 15:44:41 PST
(In reply to comment #0)

This is because onfocus is used to trigger the reload function.

Safari/Webkit doesn't support the focus event on input radio.

I think that support for this event on all form elements should be added though.
Comment 2 Dave Hyatt 2007-12-11 15:48:37 PST
Radio buttons are not mouse focusable on OS X.  (Neither are buttons or checkboxes.)  Whether or not they are keyboard focusable depends on the OS setting (and the focus event will fire in that case if full keyboard access is enabled).