Hi Chris, Thanks for the reply. As you illustrate, trying to be definitive in this situation seems pretty much impossible. It's appreciated.
Kind regards, Frank -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris Knowles Sent: Monday, 07 January, 2008 9:54 AM To: wsg@webstandardsgroup.org Subject: Re: [WSG] Behavior Effecting Presentation or Structure - Precedence? Frank Palinkas wrote: > > Am I correct in thinking that behavior should target structure first, and if > necessary, presentation second? > Frank, when you have a choice I don't think it matters which one you choose. But this raises another question I'd like to ask...take these situations: a) the user agent has Javascript that doesn't support the DOM (but has CSS enabled) b) the user agent is Javascript enabled and not CSS enabled how common is a) (maybe not on the desktop but what about other devices?) and does b) actually exist out there? If so, then I'm not sure there's ever really a choice. e.g. in your example you would need to use both methods to cover a) and b): a) would need you to set the style to display: none and b) would need you to try and remove the node -- Chris Knowles ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] ******************************************************************* ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************