Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Modern Browser Support

Modern Browser Support

Orbitz IDEAS - July, 2012

Mark Meeker

July 18, 2012
Tweet

More Decks by Mark Meeker

Other Decks in Technology

Transcript

  1. Alternate Title How do you build a major website that

    works for everyone and I do mean everyone - any browser, any OS (ok, Linux), small screens, no keyboards, with cookies blocked, JavaScript disabled, blind, colorblind, thinks Flash is evil, thinks Silverlight is worse, uses an old browser, stuck on a slow connection (so has an iPhone on AT&T), or is using some new device or browser that no one knew about yesterday. Oh yeah, and do it while using all the cool new HTML5 stuff I keep hearing about.
  2. Alternate Title How do you build a major website that

    works for everyone and I do mean everyone - any browser, any OS (ok, Linux), small screens, no keyboards, with cookies blocked, JavaScript disabled, blind, colorblind, thinks Flash is evil, thinks Silverlight is worse, uses an old browser, stuck on a slow connection (so has an iPhone on AT&T), or is using some new device or browser that no one knew about yesterday. Oh yeah, and do it while using all the cool new HTML5 stuff I keep hearing about.
  3. Last Week W in 7 M ac XP Vista iOS

    IE9 Safari IE8 Chrom e Firefox IE7
  4. Release Dates 6: August 27, 2001 7: October 18, 2006

    8: March 19, 2009 9: March 14, 2011 10: This year, sometime?
  5. Release Dates 3.6: January 21, 2010 4: March 22, 2011

    5: June 21, 2011 ... (6 week release cycle) 14: June 26, 2012
  6. So why the change? We have three fundamental goals in

    reducing the cycle time: 1. Shorten the release cycle and still get great features in front of users when they are ready 2. Make the schedule more predictable and easier to scope 3. Reduce the pressure on engineering to “make” a release Chrome Blog
  7. CSS3 CSS Selectors Rounded Corners Gradients Transitions Animations Multiple background

    Opacity Flexbox Shadows JavaScript Client-Side storage Webworkers Drag and Drop Geolocation Device APIs History Management Web Timing API Touch Events
  8. In '93 to '94, every browser had its own flavor

    of HTML. So it was very difficult to know what you could put in a Web page and reliably have most of your readership see it. -Tim Berners-Lee
  9. Today Mozilla/5.0 (Windows; U; MSIE 9.0; Windows NT 9.0; en-US)

    Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8pre) Gecko/20071015 Firefox/2.0.0.7 Navigator/9.0 Mozilla/5.0 (Windows; U; Windows NT 6.1; ru; rv:1.9.2.3) Gecko/20100401 Firefox/4.0 (.NET CLR 3.5.30729) Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27 Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.17 (KHTML, like Gecko) Chrome/11.0.654.0 Safari/534.17
  10. "Anyone who slaps a 'this page is best viewed with

    Browser X' label on a Web page appears to be yearning for the bad old days, before the Web, when you had very little chance of reading a document written on another computer, another word processor, or another network." -Tim Berners-Lee
  11. Benefits 1. Separation of layers 2. Phased development 3. Easier

    to validate and unit test 4. Increased reuse of styles and behavior 5. Forced to focus on core content 6. Handles errors gracefully
  12. 1

  13. 1 2

  14. -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; CSS3 The “old” Way

    <span><span><span><span>/* button code */</span></span></span></span> x 100 buttons on PKG200
  15. Content (HTML) Good (CSS) Good (JS) Better (CSS) Best (CSS)

    Better (JS) Best (JS) Future Friendly
  16. A Grade Fully supported Fully tested Top level experience Decided

    by traffic numbers Not feature /pixel parity
  17. X Grade Unknown browsers Not significant traffic Assume will work

    Depends on feature detection and graceful degradation Get more traffic? Move to A Get complaints? Move to C
  18. Graded Browser Support Desktop A Grade IE 6 IE 7

    IE 8 IE 9 Firefox 3.6 Firefox Latest Chrome Latest Safari OSX 4+ Safari iOS
  19. Graded Browser Support Desktop A Grade IE 6 IE 7

    IE 8 IE 9 Firefox 3.6 Firefox Latest Chrome Latest Safari OSX 4+ Safari iOS Moved to C
  20. IE6

  21. IE6

  22. Graded Browser Support Desktop A Grade IE 6 IE 7

    IE 8 IE 9 Firefox 3.6 Firefox Latest Chrome Latest Safari OSX 4+ Safari iOS Moved to C Moved to X