Design Usability
  Home arrow Design Usability arrow Page 4 - Browsers as Test Platforms
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Dedicated Servers  
Moblin 
JMSL Numerical Library 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
DESIGN USABILITY

Browsers as Test Platforms
By: Chris Heilmann
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 4 stars4 stars4 stars4 stars4 stars / 7
    2004-12-08

    Table of Contents:
  • Browsers as Test Platforms
  • Microsoft Internet Explorer 6
  • Mozilla Firefox 1.0
  • Opera 7.5
  • Summary
  • Browser wishlist

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Browsers as Test Platforms - Opera 7.5


    (Page 4 of 6 )

    Opera is one of the few remaining commercial browsers (IE is not sold as a standalone product). For years it has been improving, and in the current version it is one of the best CSS compliant browsers, with probably the fastest rendering engine. It still has some issues with DOM and dynamically generated content, but the company is working on it.

    Debugging the HTML

    Opera shows sources in Textpad, much like IE, but it has a peculiarity that forces you to check the Frame source from the option menu even when there are no frames present.

    Browsers as Test Platforms

    You can also upload the page directly to the W3C validator.

    The real power of Opera, however, is its user mode, which can be activated via View -> Style -> User mode:

    Browsers as Test Platforms

    This mode makes it easy for us to see the structure of the document and recognise the missing FORM and the unclosed TABLE.

    Browsers as Test Platforms

    Debugging Javascript

    The Javascript debugging console can be found in Opera at Tools -> Consoles -> Javascript console. It tells us clearly where and what the problem is:

    Event thread: onload
    Error:
    name: TypeError
    message: Statement on line 10: Expression did not evaluate to a function object: uls[i].parentNode.getElementByTagName
    Backtrace:
      Line 10 of linked script
    file://localhost/C:/dummyfunctions.js
        (uls[i].parentNode.getElementByTagName("a"))[0].onclick = function ()
    {
    return false;
    }
    ;
      Line 50 of linked script
    file://localhost/C:/dummyfunctions.js
        collapseNav();
      At unknown location
        {event handler trampoline}
    Debugging CSS

    Opera does not give any indication as to what render mode is enabled. However, its rendering engine is so close to the standard that it is a good browser to test with.

    Testing for accessibility

    The real power of Opera’s user mode shows itself when you want to test for accessibility (or when you need these options to access a page). It is dead easy to turn off CSS and use high contrast modes. Opera also links all the alternative style sheets available for the page below the options of the user mode.

    We can turn off images by selecting the “No images” option from the View -> Images menu, and pressing F12 or selecing Tools -> Quick Preferences will get us to the preference menu, which enables us to toggle Javascript, Plugins, GIF animation and Java.

    Browsers as Test Platforms

    Unlike the other browsers, Opera not only resizes the font, but the whole page, including graphics, which does make a lot more sense. However, it shows some bugs when zooming complex CSS layouts and re-arranging them. You can zoom the page via View -> Zoom or with the plus and minus keys.

    Browsers as Test Platforms

    This feature is also very handy when debugging layout quirks.

    More Design Usability Articles
    More By Chris Heilmann


       · As I don't own a mac it would be great if someone could extend this research and...
       · A useful article, thanks. Though I already knew a lot of this, I did learn a few...
     

    DESIGN USABILITY ARTICLES

    - Create Great JavaScript and CSS Menus Simply
    - Design Principles that Shape a Web Site
    - Creating Aqua Style Images
    - Easy as A,B,C – dynamic A to Z indexes
    - EasyChart: a Usability Teaching Tool to Demo...
    - Building Friendly Pop-up Windows
    - Back to School: Design Usability
    - Using HTML_QuickForm To Manage Web Forms, Pa...
    - Using HTML_QuickForm To Manage Web Forms, Pa...
    - More Website Knick Knack
    - Browsers as Test Platforms
    - Website Knick Knack
    - Dynamic Page Elements-Cloak and Dagger Web D...
    - Accessibility and Dreamweaver MX 2004







    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway