aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Browsers and HTML5 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Browsers and HTML5" Watch "Browsers and HTML5" New topic
Author

Browsers and HTML5

Aaron Diffenderfer
Greenhorn

Joined: Mar 24, 2009
Posts: 12
When do you think all browsers will fully support all of the features in HTML5 and CSS3? Is it worth using either or both technologies if the browsers aren't totally prepared?
Rob Crowther
author
Ranch Hand

Joined: Nov 06, 2012
Posts: 297
    
    5

The answers to your questions are never and yes respectively.

The original HTML5 spec at the WHATWG is now simply an HTML spec. New features are added all the time, old features are updated according to what ends up getting implemented. It will never be finished, instead it will be an evolving document and a place of convergence for browser implementations.

CSS2.1 didn't get implemented completely in any browser until recently, in fact it didn't even get published as a standard until June 2011 so it was impossible for any browser to claim full support. I'll bet (though I could be wrong) you were happy to use CSS2.1 features before then, you just used the features which worked and avoided the features which didn't (hence the proliferation of float based layout techniques over the often more suitable inline-block or table-row/table-cell available in CSS2.1 - float could be made to work cross browser).

Some HTML5 features, like drag and drop or XMLHTTPRequest (ie. Ajax, no longer strictly part of the HTML5 spec itself) have worked in browsers as far back as IE5.5. There's no point not using them if they'll make your application easier to write just because other features don't work cross browser or aren't yet implemented.

In the WHATWG version of the spec each feature is annotated with some information about the maturity of it and current browser implementations. You can also use resources like Can I Use to determine what sort of coverage among web users a particular technology has.


Read my books: Hello! HTML5 & CSS3 | HTML5 in Action | Read my blog
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Browsers and HTML5