Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #12567
| From | "Jukka K. Korpela" <jkorpela@cs.tut.fi> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Removing a Control from the taborder |
| Date | 2012-03-10 08:40 +0200 |
| Organization | A noiseless patient Spider |
| Message-ID | <jjet0i$lkp$1@dont-email.me> (permalink) |
| References | (1 earlier) <XnsA011B6483162eejj99@194.109.133.133> <1fuil7tf54q4gu2h40ous7k58q3766aaa9@4ax.com> <jje5bg$f47$1@dont-email.me> <4191797.g0LvDaAvTT@PointedEars.de> <jjejit$hcc$1@dont-email.me> |
2012-03-10 5:59, Norman Peelman wrote: > On 03/09/2012 07:42 PM, Thomas 'PointedEars' Lahn wrote: Please don't feed the troll. >> Your logic is flawed. The HTML 4.01 Specification is definitive about >> this: >> values for the `tabindex' attribute outside the specified range are >> *invalid*. It is specified accordingly in W3C DOM Level 2 HTML: > > Invalid, Validity, as HTML 4.01 concept, is off-topic here, and it is defined in the HTML 4.01 specification, not in DOM specifications. As it happens, tabindex=-1 is invalid as per HTML 4.01, but not because of any out-of-range issue. It is invalid because the tabindex attribute is declared as NUMBER, which means a character-level restriction (only digits are allowed). > thereby causing the tabindex to be ignored. No, the HTML 4.01 specification imposes no such requirement on error processing. And browsers do not ignore tabindex=-1. If it is relevant, for some reason, that the markup in an HTML file conforms to an HTML 4.01 DTD, then you can still set tabindex to a negative value via JavaScript. Just note that in JavaScript, the corresponding property is spelled tabIndex. -- Yucca, http://www.cs.tut.fi/~jkorpela/
Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Removing a Control from the taborder Gene Wirchenko <genew@ocis.net> - 2012-03-08 13:56 -0800
Re: Removing a Control from the taborder "Evertjan." <exjxw.hannivoort@interxnl.net> - 2012-03-09 00:07 +0000
Re: Removing a Control from the taborder Gene Wirchenko <genew@ocis.net> - 2012-03-08 19:37 -0800
Re: Removing a Control from the taborder Norman Peelman <npeelmandog@cfl.rr.com> - 2012-03-09 18:56 -0500
Re: Removing a Control from the taborder Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-03-10 01:42 +0100
Re: Removing a Control from the taborder Norman Peelman <npeelmandog@cfl.rr.com> - 2012-03-09 22:59 -0500
Re: Removing a Control from the taborder "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-03-10 08:40 +0200
Re: Removing a Control from the taborder Norman Peelman <npeelmandog@cfl.rr.com> - 2012-03-10 06:18 -0500
Re: Removing a Control from the taborder Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-03-10 13:33 +0100
Re: Removing a Control from the taborder Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-03-10 12:33 +0100
Re: Removing a Control from the taborder Norman Peelman <npeelmandog@cfl.rr.com> - 2012-03-09 23:22 -0500
Re: Removing a Control from the taborder Dr J R Stockton <reply1210@merlyn.demon.co.uk> - 2012-03-10 20:51 +0000
Re: Removing a Control from the taborder Gene Wirchenko <genew@ocis.net> - 2012-03-10 23:55 -0800
Re: Removing a Control from the taborder Dr J R Stockton <reply1211@merlyn.demon.co.uk.invalid> - 2012-03-12 19:46 +0000
Re: Removing a Control from the taborder David Mark <dmark.cinsoft@gmail.com> - 2012-03-12 18:24 -0700
csiph-web