SlideShare une entreprise Scribd logo
1  sur  28
Télécharger pour lire hors ligne
SVG in Opera’s desktop,
mobile & TV browsers
— edition 2011


             @andreasbovens
Oslo, Norway
Developer Relations team
Bruce Lawson                       Daniel Davis




                                      Divya Manian
                Chris Mills
                                                                            Karl Dubost




                     Shwetank Dixit                    Tiffany Brown
                                                                        Andreas Bovens

                                      Luz Caballero


Patrick Lauke
                     Zi Bin Cheah                     Vadim Makeev           Mike Taylor
It’s been a busy year!
&


      Opera                            Opera Next
http://www.opera.com/browser/       http://www.opera.com/browser/next/
                                    http://my.opera.com/desktopteam/
HTML5test.com
400
                                              346


300




200




100


          & friends
 0
  10.60       11           11.10      11.50   12
http://caniuse.com/#compare=y&b1=opera+10.6&b2=opera+12
HTML5 parser:
- support for new elements
- standardized error handling
- support for inline SVG
Improved painting performance
- painting code on a diet
- smarts to optimize for specific TV use cases,
  e.g. transforms on <g>s with lots of children
Improved painting performance
- painting code on a diet
- smarts to optimize for specific TV use cases,
  e.g. transforms on <g>s with lots of children


Also: special focus on
hardware acceleration on
TVs, set-top boxes, etc.
Talking about TV use cases...
We now support
text-overflow=ellipsis
on text and textArea elements...


            See also http://www.w3.org/2011/03/03-svg-minutes.html#item04
Hardware acceleration
on desktop for WebGL, 2D canvas,
SVG & other painting operations
Opera Mobile for Android phones & tablets




                                    http://m.opera.com/
Opera Mobile for Android phones & tablets


        speed, UI optimizations, standards support




                                                     http://m.opera.com/
No more checkerboard, fast panning
- new way of rendering visible content
- some shortcuts for speed optimization




                                     http://m.opera.com/
No more checkerboard, fast panning
- new way of rendering visible content*
- some shortcuts for speed optimization


* we don’t make fully use of this for SVG yet though




                                                       http://m.opera.com/
No more checkerboard, fast panning
bilinear interpolation for zoomed images already in the viewport


- new way of rendering visible content*
- some shortcuts for speed optimization**
nearest neighbor interpolation for zoomed images that are pulled in from outside the viewport


 * we don’t make fully use of this for SVG yet though
 ** switching between bilinear and nearest-neighbor interpolation




                                                                                  http://m.opera.com/
When developing for mobile, look into using
the viewport meta tag, @viewport to solve
zooming and panning issues.
                              it’s CSS, so this
                              can be used inside
                              SVG files as well!




                                       http://m.opera.com/
Optimizing your layout
         for phones and tablets
         using viewport and
         media queries
         Andreas Bovens - Opera Software


http://goo.gl/j6YwF                        http://goo.gl/f303y




                                                                 http://m.opera.com/
Opera Dragonfly
Opera Dragonfly 1.0 and 1.1 releases.
Rich feature set for local and even
remote SVG debugging.
http://www.opera.com/dragonfly/documentation/
Test automation
OperaDriver is part of Selenium 2 and uses
the Scope interface (like Opera Dragonfly) to
communicate directly with Opera from Java.
http://code.google.com/p/selenium/wiki/OperaDriver
Example
Automated game testing using OperaDriver
automating the “Inbox Attack” game.
Details
Long video: http://goo.gl/2VseM
Short video: http://goo.gl/iDNSE
GitHub repo: http://goo.gl/yQ7b1
Thanks for listening :-)
Any questions?
                    @andreasbovens


Thanks to ~yc for the wooden background: http://yc.deviantart.com/art/Wood-Rays-62468397

Contenu connexe

Similaire à SVG in Opera’s desktop, mobile & TV browsers — edition 2011

SVG in the Opera browser
SVG in the Opera browserSVG in the Opera browser
SVG in the Opera browserAndreas Bovens
 
Uni Tour Germany 11.2009
Uni Tour Germany 11.2009Uni Tour Germany 11.2009
Uni Tour Germany 11.2009Patrick Lauke
 
An introduction to html5 by Devs
An introduction to html5 by DevsAn introduction to html5 by Devs
An introduction to html5 by DevsDebidatta Satapathy
 
HTML5/CSS3 and Future Web in Mobile and IPTV
HTML5/CSS3 and Future Web in Mobile and IPTVHTML5/CSS3 and Future Web in Mobile and IPTV
HTML5/CSS3 and Future Web in Mobile and IPTVManyoung Cho
 
The Beginning - Jan 20 2009
The Beginning - Jan 20 2009The Beginning - Jan 20 2009
The Beginning - Jan 20 2009Abhishek Mishra
 
Easy charting with
Easy charting withEasy charting with
Easy charting withMajor Ye
 
Bruce lawson-over-the-air
Bruce lawson-over-the-airBruce lawson-over-the-air
Bruce lawson-over-the-airbrucelawson
 
Plutext Alfresco Tech Talk
Plutext Alfresco Tech TalkPlutext Alfresco Tech Talk
Plutext Alfresco Tech Talkquyong2000
 
SVG Strikes Back
SVG Strikes BackSVG Strikes Back
SVG Strikes BackMatt Baxter
 
Bruce Lawson, Web Development 2.0, SparkUp! Poznan Poland
Bruce Lawson, Web Development 2.0, SparkUp! Poznan PolandBruce Lawson, Web Development 2.0, SparkUp! Poznan Poland
Bruce Lawson, Web Development 2.0, SparkUp! Poznan Polandbrucelawson
 
AWS Tech Summit - Berlin 2011 - Running Java Applications on AWS
AWS Tech Summit - Berlin 2011 - Running Java Applications on AWSAWS Tech Summit - Berlin 2011 - Running Java Applications on AWS
AWS Tech Summit - Berlin 2011 - Running Java Applications on AWSAmazon Web Services
 
Speed in the Opera mobile browsers
Speed in the Opera mobile browsersSpeed in the Opera mobile browsers
Speed in the Opera mobile browsersgerbille
 
Seaside Status Message
Seaside Status MessageSeaside Status Message
Seaside Status MessageLukas Renggli
 
Seaside News
Seaside NewsSeaside News
Seaside NewsESUG
 
2015 - Introduction to building enterprise web applications using Angular.js
2015 - Introduction to building enterprise web applications using Angular.js2015 - Introduction to building enterprise web applications using Angular.js
2015 - Introduction to building enterprise web applications using Angular.jsWebF
 
HiUED 前端/web 發展和體驗
HiUED 前端/web 發展和體驗HiUED 前端/web 發展和體驗
HiUED 前端/web 發展和體驗Bobby Chen
 
Is the mobile web enabled or disabled by design?
Is the mobile web enabled or disabled by design?Is the mobile web enabled or disabled by design?
Is the mobile web enabled or disabled by design?Henny Swan
 
HTML5: the new frontier of the web
HTML5: the new frontier of the webHTML5: the new frontier of the web
HTML5: the new frontier of the webIvano Malavolta
 
Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Bluegrass Digital
 

Similaire à SVG in Opera’s desktop, mobile & TV browsers — edition 2011 (20)

SVG in the Opera browser
SVG in the Opera browserSVG in the Opera browser
SVG in the Opera browser
 
Uni Tour Germany 11.2009
Uni Tour Germany 11.2009Uni Tour Germany 11.2009
Uni Tour Germany 11.2009
 
An introduction to html5 by Devs
An introduction to html5 by DevsAn introduction to html5 by Devs
An introduction to html5 by Devs
 
HTML5/CSS3 and Future Web in Mobile and IPTV
HTML5/CSS3 and Future Web in Mobile and IPTVHTML5/CSS3 and Future Web in Mobile and IPTV
HTML5/CSS3 and Future Web in Mobile and IPTV
 
The Beginning - Jan 20 2009
The Beginning - Jan 20 2009The Beginning - Jan 20 2009
The Beginning - Jan 20 2009
 
Easy charting with
Easy charting withEasy charting with
Easy charting with
 
Bruce lawson-over-the-air
Bruce lawson-over-the-airBruce lawson-over-the-air
Bruce lawson-over-the-air
 
Plutext Alfresco Tech Talk
Plutext Alfresco Tech TalkPlutext Alfresco Tech Talk
Plutext Alfresco Tech Talk
 
SVG Strikes Back
SVG Strikes BackSVG Strikes Back
SVG Strikes Back
 
Bruce Lawson, Web Development 2.0, SparkUp! Poznan Poland
Bruce Lawson, Web Development 2.0, SparkUp! Poznan PolandBruce Lawson, Web Development 2.0, SparkUp! Poznan Poland
Bruce Lawson, Web Development 2.0, SparkUp! Poznan Poland
 
AWS Tech Summit - Berlin 2011 - Running Java Applications on AWS
AWS Tech Summit - Berlin 2011 - Running Java Applications on AWSAWS Tech Summit - Berlin 2011 - Running Java Applications on AWS
AWS Tech Summit - Berlin 2011 - Running Java Applications on AWS
 
Speed in the Opera mobile browsers
Speed in the Opera mobile browsersSpeed in the Opera mobile browsers
Speed in the Opera mobile browsers
 
Seaside Status Message
Seaside Status MessageSeaside Status Message
Seaside Status Message
 
Seaside News
Seaside NewsSeaside News
Seaside News
 
2015 - Introduction to building enterprise web applications using Angular.js
2015 - Introduction to building enterprise web applications using Angular.js2015 - Introduction to building enterprise web applications using Angular.js
2015 - Introduction to building enterprise web applications using Angular.js
 
HiUED 前端/web 發展和體驗
HiUED 前端/web 發展和體驗HiUED 前端/web 發展和體驗
HiUED 前端/web 發展和體驗
 
Is the mobile web enabled or disabled by design?
Is the mobile web enabled or disabled by design?Is the mobile web enabled or disabled by design?
Is the mobile web enabled or disabled by design?
 
HTML5: the new frontier of the web
HTML5: the new frontier of the webHTML5: the new frontier of the web
HTML5: the new frontier of the web
 
Echo HTML5
Echo HTML5Echo HTML5
Echo HTML5
 
Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015Best of Microsoft Dev Camp 2015
Best of Microsoft Dev Camp 2015
 

Plus de Andreas Bovens

Progressive Web Apps: Opera's perspective
Progressive Web Apps: Opera's perspectiveProgressive Web Apps: Opera's perspective
Progressive Web Apps: Opera's perspectiveAndreas Bovens
 
Intro to @viewport & other new Responsive Web Design CSS features
Intro to @viewport & other new Responsive Web Design CSS featuresIntro to @viewport & other new Responsive Web Design CSS features
Intro to @viewport & other new Responsive Web Design CSS featuresAndreas Bovens
 
Responsive design: techniques and tricks to prepare your websites for the mul...
Responsive design: techniques and tricks to prepare your websites for the mul...Responsive design: techniques and tricks to prepare your websites for the mul...
Responsive design: techniques and tricks to prepare your websites for the mul...Andreas Bovens
 
Fast & Furious: Speed in the Opera browser
Fast & Furious: Speed in the Opera browserFast & Furious: Speed in the Opera browser
Fast & Furious: Speed in the Opera browserAndreas Bovens
 
Building rich apps with HTML5 and friends
Building rich apps with HTML5 and friendsBuilding rich apps with HTML5 and friends
Building rich apps with HTML5 and friendsAndreas Bovens
 
Mobile web development techniques (and Opera's developer tools)
Mobile web development techniques (and Opera's developer tools)Mobile web development techniques (and Opera's developer tools)
Mobile web development techniques (and Opera's developer tools)Andreas Bovens
 
Opera and the Open Web platform
Opera and the Open Web platformOpera and the Open Web platform
Opera and the Open Web platformAndreas Bovens
 
Opera Widgets for Desktop and Opera Dragonfly
Opera Widgets for Desktop and Opera DragonflyOpera Widgets for Desktop and Opera Dragonfly
Opera Widgets for Desktop and Opera DragonflyAndreas Bovens
 

Plus de Andreas Bovens (8)

Progressive Web Apps: Opera's perspective
Progressive Web Apps: Opera's perspectiveProgressive Web Apps: Opera's perspective
Progressive Web Apps: Opera's perspective
 
Intro to @viewport & other new Responsive Web Design CSS features
Intro to @viewport & other new Responsive Web Design CSS featuresIntro to @viewport & other new Responsive Web Design CSS features
Intro to @viewport & other new Responsive Web Design CSS features
 
Responsive design: techniques and tricks to prepare your websites for the mul...
Responsive design: techniques and tricks to prepare your websites for the mul...Responsive design: techniques and tricks to prepare your websites for the mul...
Responsive design: techniques and tricks to prepare your websites for the mul...
 
Fast & Furious: Speed in the Opera browser
Fast & Furious: Speed in the Opera browserFast & Furious: Speed in the Opera browser
Fast & Furious: Speed in the Opera browser
 
Building rich apps with HTML5 and friends
Building rich apps with HTML5 and friendsBuilding rich apps with HTML5 and friends
Building rich apps with HTML5 and friends
 
Mobile web development techniques (and Opera's developer tools)
Mobile web development techniques (and Opera's developer tools)Mobile web development techniques (and Opera's developer tools)
Mobile web development techniques (and Opera's developer tools)
 
Opera and the Open Web platform
Opera and the Open Web platformOpera and the Open Web platform
Opera and the Open Web platform
 
Opera Widgets for Desktop and Opera Dragonfly
Opera Widgets for Desktop and Opera DragonflyOpera Widgets for Desktop and Opera Dragonfly
Opera Widgets for Desktop and Opera Dragonfly
 

SVG in Opera’s desktop, mobile & TV browsers — edition 2011

  • 1. SVG in Opera’s desktop, mobile & TV browsers — edition 2011 @andreasbovens
  • 4. Bruce Lawson Daniel Davis Divya Manian Chris Mills Karl Dubost Shwetank Dixit Tiffany Brown Andreas Bovens Luz Caballero Patrick Lauke Zi Bin Cheah Vadim Makeev Mike Taylor
  • 5. It’s been a busy year!
  • 6. & Opera Opera Next http://www.opera.com/browser/ http://www.opera.com/browser/next/ http://my.opera.com/desktopteam/
  • 7. HTML5test.com 400 346 300 200 100 & friends 0 10.60 11 11.10 11.50 12
  • 9. HTML5 parser: - support for new elements - standardized error handling - support for inline SVG
  • 10. Improved painting performance - painting code on a diet - smarts to optimize for specific TV use cases, e.g. transforms on <g>s with lots of children
  • 11. Improved painting performance - painting code on a diet - smarts to optimize for specific TV use cases, e.g. transforms on <g>s with lots of children Also: special focus on hardware acceleration on TVs, set-top boxes, etc.
  • 12. Talking about TV use cases... We now support text-overflow=ellipsis on text and textArea elements... See also http://www.w3.org/2011/03/03-svg-minutes.html#item04
  • 13. Hardware acceleration on desktop for WebGL, 2D canvas, SVG & other painting operations
  • 14.
  • 15. Opera Mobile for Android phones & tablets http://m.opera.com/
  • 16. Opera Mobile for Android phones & tablets speed, UI optimizations, standards support http://m.opera.com/
  • 17. No more checkerboard, fast panning - new way of rendering visible content - some shortcuts for speed optimization http://m.opera.com/
  • 18. No more checkerboard, fast panning - new way of rendering visible content* - some shortcuts for speed optimization * we don’t make fully use of this for SVG yet though http://m.opera.com/
  • 19. No more checkerboard, fast panning bilinear interpolation for zoomed images already in the viewport - new way of rendering visible content* - some shortcuts for speed optimization** nearest neighbor interpolation for zoomed images that are pulled in from outside the viewport * we don’t make fully use of this for SVG yet though ** switching between bilinear and nearest-neighbor interpolation http://m.opera.com/
  • 20. When developing for mobile, look into using the viewport meta tag, @viewport to solve zooming and panning issues. it’s CSS, so this can be used inside SVG files as well! http://m.opera.com/
  • 21. Optimizing your layout for phones and tablets using viewport and media queries Andreas Bovens - Opera Software http://goo.gl/j6YwF http://goo.gl/f303y http://m.opera.com/
  • 23. Opera Dragonfly 1.0 and 1.1 releases. Rich feature set for local and even remote SVG debugging. http://www.opera.com/dragonfly/documentation/
  • 24. Test automation OperaDriver is part of Selenium 2 and uses the Scope interface (like Opera Dragonfly) to communicate directly with Opera from Java. http://code.google.com/p/selenium/wiki/OperaDriver
  • 25. Example Automated game testing using OperaDriver automating the “Inbox Attack” game.
  • 26.
  • 27. Details Long video: http://goo.gl/2VseM Short video: http://goo.gl/iDNSE GitHub repo: http://goo.gl/yQ7b1
  • 28. Thanks for listening :-) Any questions? @andreasbovens Thanks to ~yc for the wooden background: http://yc.deviantart.com/art/Wood-Rays-62468397

Notes de l'éditeur

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n