- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Sat, 25 Apr 2009 06:15:34 -0700
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- Cc: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
On Apr 24, 2009, at 10:38 PM, Boris Zbarsky wrote: >> I'm fine with taking the easy way out. Whenever radio-group >> changes, the element becomes un:checked. > > Which is the same as your proposed solution for the DOM changes > above. I'd be fine with this; it's nice and simple. > >> Some cursory thinking doesn't show this as causing any problems. I >> basically want :checked to change *only* as a result of direct user >> interaction, not due to some crazy conflict-resolution rules. > > Right; those are the part of HTML radio behavior that really suck. It seems like it would be very useful to be able to use JavaScript to change which box is checked. Would this be possible, with say myElement.checked ? Or does that require going outside the CSS for the interface? And if it can be checked in JavaScript, are you saying that checking it, then inserting it into the DOM would uncheck it? For non-radio group item, I think it reasonable to keep checked items checked.
Received on Saturday, 25 April 2009 13:16:14 UTC