At 15:11 -0500 on 02/07/2011, BeeRich wrote about Re: HTML5 Form Elements:

I recently wrote a simple HTML5 form test page and I noticed the following in Mac Safari (5.0.3):

- a numbers field won't use the increment/decrement toggle buttons for decimals.

- datetime, datetime-local and date are only demonstrating a text input. I believe Opera displays a proper calendar, which from what I understand, is a goal of having those fields. This also doubles as a problem because of the date format. I've had clients which requested mm-dd-yy format. Perhaps something more complex such as a MySQL formatting could help, but then we get back to the whole calendar presentation issue. - time defaults to a 24 hour clock format. - range has the slider, but there is nothing to demonstrate what the minimum and maximum values are, along with chosen value and incremental values.

- field specific validation on the form submit didn't throw any errors, but was demonstrated in other browsers

They all "work", but it seems quite far from where we could call it "useable" without having to rewrite the majority of code to wrap around it. Not to mention the differences amongst browsers. I can see BBEdit being inside the realm of providing dialog boxes (what I called the GUI) with options for things like range limits, step values, etc.


On 2011-02-07, at 2:29 PM, Robert A. Rosenberg wrote:


What has failed with attempting to view a HTML5 page with current browsers (ie: What has failed to gracefully degrade)?

> The only case I know of is IE (of course) which will not recognize (and gracefully degrade the new HTML5 tags and parms) unless you use the HTML5SHIV (See <http://www.seangw.com/wordpress/index.php/2010/07/css3-for-the-masses-html5shiv-css3-pie-possible/> or <http://html5shim.googlecode.com>) or modernizr.js (<http://www.modernizr.com>).

Thank you for replying to my query.

Unfortunately, your examples are all of the "Not [yet] Supported" not the (as I queried) "Does not gracefully degrade" type. If I code "input type="email" ..." and there is no support it will gracefully degrade and act as a type="text" as opposed to not displaying anything.

If you go to the modernizr.com site, the home page displays a chart of what HTML5 features are supported by your browser. Going to <<http://diveintohtml5.org/detect.html#input-types>http://diveintohtml5.org/detect.html#input-types> shows which of the new input type parms are supported (and lists all of them). The article there explains about all the new features of HTML5 and shows in the respective section what support for the feature your browser has.

--
You received this message because you are subscribed to the "BBEdit Talk" discussion group on Google Groups.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
<http://groups.google.com/group/bbedit?hl=en>
If you have a feature request or would like to report a problem, please email "[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>

Reply via email to