Skip to content
Features

Mozilla Milestone 1.0: The Review

Introduction Unless you’ve been hiding under a rock for the past few years, you know what Mozilla is in general. For those of you in the dark, check out the overview provided by Mozilla for a decent breakdown of the project. The purpose of this review is to assess the win32 port of Mozilla 1.0 … Continued

Kurt Mackey – | 0
Story text

Introduction

Unless you’ve been hiding under a rock for the past few years, you know what Mozilla is in general. For those of you in the dark, check out the overview provided by Mozilla for a decent breakdown of the project. The purpose of this review is to assess the win32 port of Mozilla 1.0 and its immediate successors (1.1a and .1b) as a milestone in the development of what may prove to be the greatest challenger to the Internet Explorer empire. We’ll consider the pros and cons of Mozilla’s core renderer, its implementation (Navigator), Mail, Chatzilla (an IRC client), and the bundle as a whole. This is going to be more than a “did it make me happy enough not to use Internet Explorer” review. We’re also going to take this opportunity to assess Mozilla’s own stated goals and their progress in achieving them. We’ll also consider the viability of a Mozilla-like project in today’s world.

On June 5, 2002, Mozilla released version 1.0 of their software, which includes a browser, a mail and newsgroup client, an IRC client and some JavaScript debugging tools. The Mozilla.org staff is making a statement with this release–their product is “Ready for Prime Time.” Are they correct? Let’s find out.

Mozilla 1.0. When you first heard it, you thought, ‘finally!’ It sounds exciting, doesn’t it? It should. For the first time in Mozilla’s long history (4.5 years from conception to 1.0), a browser wasn’t released with “beta” or “alpha” attached to it. The single largest open-source project since Linux has one ambition: Topple Microsoft’s browser monopoly by producing a browser suite built around a better core renderer, christened “Gecko”. The renderer is the heart of any browser and many other web-enabled programs. It is what converts the source files into the pretty pictures, animations, sounds and interactive experiences, which are what end users care most about.

Mozilla is not really a browser. Yes, you read that correctly. Mozilla is an open-source project to develop a standards compliant browsing experience. At least originally, the theory was that the renderer and the outer layer (interface) should be two different projects. Mozilla was, in theory, targeted towards the former–the group was to produce a renderer, and not an end-user product. In that spirit, there will be consumer products based on the Gecko renderer (for example, Chimera is a MacOS X native Cocoa browser that uses Gecko as its renderer). The 1.0 is meant as an indication to consumer product developers that the source code is ready for use in such a product.

That said, you can go and download a software package called Mozilla 1.0, and Netscape 7.0 will likely be just a slight redressing of the 1.x branch of Mozilla, renderer, Navigator, et alia. Yet, as previously alluded to, the question remains as to whether or not the browser interface was really to be a focus for the Mozilla project. Some users will tell you that the “whole package” is meant solely to provide content developers a chance to work with the renderer and basic component to see how it affects their designs, and to give power users a chance to work with the “Next Big Thing” (and keep the bug squashing moving right along). Consider that there will be no technical support for this software outside community-based support, such as you would find in the Software Colloquium or at Mozilla.org itself. In theory, Netscape Navigator is the finished, polished product, not Mozilla.

This review is based primarily on the Mozilla 1.0 release build 2002053012 for Windows 32-bit operating systems. This is the official, non-beta win32 Mozilla release out there. You can get it (or a more recent version) here. One of the beautiful things about open-source products such as this, though, is that you can freely modify the source code and make your own build of the software to suit your specific needs. While many Ars readers do this, the average power-user will not, so we will skip over the build process and focus on the pre-compiled program itself.

Just to be clear: Mozilla released version 1.1a of their browser on June 11th, less than a week after the release of version 1.0. Version 1.1b was released a little more than a week ago. Since version 1.1 is still in it’s “beta” stage, this review will focus almost exclusively on Mozilla 1.0, making notes to 1.1 where particularly relevant. It’s interesting to see how quickly development is moving along, and you can find out more about Mozilla’s current and future plans by taking a look at their road map.?

Gecko – The heart of the Beast

The core of Mozilla is its rendering engine, dubbed “Gecko.” Gecko is responsible for taking the markup sent from the server (typically HTML) and turning it into the end product displayed in the browser. The Mozilla developers claim that Gecko is the most standards-compliant rendering engine available, surpassing IE and Opera. But what exactly does that mean, and with which “standards” is Mozilla compliant?

Web Standards

The World Wide Web Consortium (W3C) is responsible for setting specification recommendations (called “recommendations” because the W3C does not enforce the use of or compliance to their standards). For our purposes, the most relevant are the HTML specification, the Cascading Style Sheets (CSS) recommendations, and the Document Object Model (DOM) specification.

HTML: The vast majority of web content is delivered using HTML. The current definition of HTML, according to the W3C, is markup that defines data without being cluttered with formatting information. The latest HTML spec (XHTML) calls for XML-compliant markup using tags that explain the content without putting constraints on the look and feel of the page. XML is similar to XHTML in that they both conform to the same structural rules, but while the XHTML syntax is pre-defined, XML is a generic data definition language with no predefined elements.

The W3C recommends that tables contain tabular data, blocks of related information should go in block elements (such as <div> elements) and headings should be used logically. Essentially, a computer should be able to take HTML and be able to understand what kind of information it’s looking at. This is incredibly important when it comes to screen readers and other accessibility tools. When a screen reader sees a table, it should be able to assume the data is tabular and present it as such.

HTML started as a simple markup language to structure text into headings, paragraph, lists, hyperlinks, etc. As the web evolved, the W3C cluttered HTML with extraneous formatting information, such as the <font> element and attributes for changing the coloring, size, and borders on separate elements. The current working HTML spec, XHTML 1.0, seeks to reverse the trend of mixing structure and formatting information by removing most of the extraneous formatting information, and forcing XML compliance. We’ll look at why this is a good thing in a moment, but let’s first take a quick look at the <font> element’s replacement, CSS.

CSS: Cascading style sheets provide the tools for creating compelling visual layouts. Presentation information is provided using “styles,” which are typically stored in an external style sheet. These styles give browsers suggestions for formatting and displaying HTML elements they’re related to, and give developers a remarkable amount of control over the end rendering. For the most part, browsers that don’t understand portions of CSS (other than older Netscape versions) degrade gracefully and manage to deliver readable content to viewers. CSS provides static formatting information for documents, leaving all the rich interaction to the next major recommendation, DOM.

DOM: HTML and CSS together provide a good means of delivering and formatting content, but their tools for creating a dynamic “experience” are extremely limited. The Document Object Model (DOM) provides the methods for interaction and allows developers to reach out and change bits of the documents programmatically client-side. It’s a standardized model for “hooking” into HTML and CSS elements and changing them on the fly. Languages like JavaScript can reference elements on a web page using the DOM, allowing developers to create moderately rich interfaces without requesting a new page from the server for each user action.

Many people wonder why these standards are important, and what advantages they offer to developers and everyone else. The number one reason to stick to modern standards is accessibility. The days of using only a PC to view web content are long gone, with more and more people are accessing information from PDAs, cell phones, and (soon to be) their refrigerator. More importantly, many visitors don’t “experience” the internet quite the same way as the majority, relying on screen readers and other accessibility tools to interpret and provide them with the information contained in web documents.

The worst problem with the current internet landscape is the proliferation of “table-based” layouts. As mentioned earlier, tables serve a very specific purpose: defining tabular data. Because of the discrepancies between older browsers and the fragmented purpose of HTML, most sites are built using tables as layout elements, simultaneously removing their meaning as a data description tool and obscuring information with formatting controls. This has obvious downfalls, effectively limiting the variety of information accessibility tools can present to users about a particular web page. Sticking to the standards can alleviate this problem and allow any user to receive the same information.

In addition to the obvious accessibility advantages, complying with standards can make life much easier for developers. Since HTML is limited to describing the data, leaving formatting information to CSS, it’s quite easy to provide several different style sheets that serve different purposes. “Feature rich” clients can have their own style sheet, more limited clients (such as handhelds) can have a more basic style sheet, and the most basic clients have access to meaningful data that’s not muddled by formatting information. In addition to separate style sheets, the current CSS recommendation gives developers the tools to provide alternate formatting cues for printing, saving them the time they would normally spend creating “printer safe” pages that duplicate content.

Gecko’s Standards Support

The Mozilla developers claim that Gecko has full implementations of CSS1, the DOM Level 1, HTML 4.0 and the Mathematics Markup Language (MathML). Additionally, they claim partial compliance with the CSS2 recommendation and a non-W3C spec called the eXtensible Binding Language (XBL). Gecko is currently the most standards-compliant rendering engine available, jumping past all current versions of Internet Explorer and Opera. Interestingly enough, many of the specifications Gecko implements are already several years old, illustrating the current state of the internet quite nicely.

Mozilla provides a number of technical demos that demonstrate Gecko’s handling of CSS, MathML, the DOM, and PNG’s alpha channel. Try out some of these demos on your browser of choice and Mozilla to get an idea of the differences between browsers.

Of the technical demos, the Complex Spiral Demo best demonstrates what makes Gecko cool. The presentation of the page is defined exclusively in CSS1, a five-year-old standard. You’ll notice that the shell in the background is in one piece in Mozilla and stays attached to the top left corner of the browser window as the page scrolls. This demonstration breaks in both IE for Windows and Opera, demonstrating their incomplete implementations of CSS1. It’s important to note that while the visual layouts in IE and Opera are incorrect, the content is still clearly visible and the page is otherwise usable. Older versions of Netscape had the bad habit of crashing when dealing with CSS they couldn’t quite understand.

IE Breaks, click to enlarge
IE’s Rendering: Notice that the shell parts don’t line up properly.
Mozilla is Pretty, click to enlarge
Mozilla’s Rendering: The shell is all in one piece, and as you scroll it stays in the same place.

The Eagle Shadow Demo gives a great example of what can be done with the PNG format’s alpha channel. PNG is one of the three major graphic formats in use on the web, although few browsers provide full support for it. PNG includes a full 8-bit alpha channel, allowing for some very nice blending of images into backgrounds, which cannot be done with either the JPEG format or the GIF format. The GIF format supports transparency, but it’s either “on” or “off” on a pixel by pixel basis, there’s no way to specify that a single pixel is 50% transparent, severely limiting the usefulness of its transparency. The demo also demonstrates IE and Opera’s broken document object model. In Mozilla, the bird and the sun are dynamic and can be dragged around the page, causing the bird’s shadow to adjust its position.

IE Breaks, click to enlarge
IE’s Rendering: Notice the lack of transparency.
Mozilla is Pretty, click to enlarge
Mozilla’s Rendering: The shadows are blended with the rest of the page.

Gecko’s Real World Web Support

While a utopian fully standards-compliant web is a nice dream, it’s the sad truth that the majority of the web is not standards-compliant and won’t be for quite some time. To be moderately successful, a browser must deal with today’s web pages at least as well as it implements standards. Gecko deals with the rift between the current internet and standards by working in two modes; a “compatibility mode” and a “strict mode”.

When Gecko loads a page, it looks for a valid “doctype” at the beginning of a web page. Doctypes tell the browser what kind of content it should expect and where to find the “Document Type Definition” that applies to a particular page. If there is no valid doctype, Gecko drops back to “compatibility mode” and attempts to render badly written pages the way older, less-compliant browsers would. Gecko’s compatibility mode is pretty effective and completely transparent to the end user. It does a good job of rendering pages that were written to look nice in Netscape 4.x and older versions of IE, but it’s not quite perfect.

Gecko has the biggest problems when “browser sniffers” detect it as an older version of Netscape. Many developers wrote multiple versions of sites in order to make them presentable in Netscape 4.x as well as IE and other browsers, and used bits of code to determine which version of the page or scripting to deliver to the end user. Ironically, Gecko usually renders better when presented with the IE version of pages. Mozilla could have handled many of these problems in much the same way Opera does: by spoofing the browser identity string to impersonate another browser. This functionality isn’t present in Mozilla, even though it would solve many of the incompatibilities between Mozilla and the rest of the internet. The developers may have decided that accurate traffic stats are more important than a few rendering inconsistencies, which is a completely reasonable position. In light of their goals to push web standards, I suspect that giving the end-user the ability to masquerade as a less-compliant browser may simply seem antithetical to their purposes and philosophy. Still, I personally would have preferred a “spoofing” feature over accurate statistics, but I’m not the one writing an underdog rendering engine.

In addition to problems with sniffers, Gecko has a few rendering quirks of its own. In certain instances, nested tables cause odd behavior, as illustrated by the screenshot below. You’ll notice that the background image on the bottom link looks faded and distorted, even though it’s using the exact same background image as the other links. This happens even when the markup is completely valid, though it’s not really true to the spirit of the spec as tables are being used for layout purposes. With as many table-based layouts as there are on the web right now, it’s a problem that’s bound to manifest itself at one point or another. That said, it’s relatively minor and is something that’s quite easy to work around. For reference, this behavior appears to have been fixed in Mozilla 1.1 alpha.

Broken tables in Mozilla

Navigator

The browser itself is called Navigator, and it won’t be present with all implementations of Gecko. Overall, it’s a decent browser interface that has a clunky, unfinished feel to it. Ideally, a browser should be transparent – you want the program to operate so smoothly and so intuitively that you no longer notice the program itself, only the content you receive through it. Navigator does not reach this goal.

Navigator does offer some compelling features and enhancements to previous Netscape code, some of which are alien to IE and some which aren’t.

1) Tabbed Browsing – Rather than having a window open for each page you visit, as with IE, Navigator will allow you to open new pages in the same window, as you can see highlighted in red to the right. To set this up, you go to Edit/Preferences/Navigator/Tabbed Browsing and choose how to control whether a page loads into a tab or a new window. Unfortunately, you cannot tell it to open all new windows in new tabs, regardless of how they are generated, so you will end up with more than one Navigator window on your screen from time to time. Personally, I much prefer Windows XP’s taskbar grouping, but many people see tabbed browsing as a godsend. It will be interesting to see if this shows up in IE 7.0.

2) CSS Overrides – Have you ever spent time on a site where the designer’s idea of a readable font/color scheme has no bearing on reality? One benefit of a fully-CSS compliant browser is that, provided the page was written to also be CSS compliant, you can substitute your own stylesheet for that of the page author. Internet Explorer provides this functionality (and has for a while), but Navigator’s version is quite a bit easier to use. In Navigator, you can enable this by going to Edit/ Preferences/ Appearance/ Fonts (and Colors) and selecting your preferences, then unchecking the boxes that allow the web page to use options other than those you’ve selected. This feature is great for accessibility, and much improved from the past.? Here’s a rather ugly version of Ars’ homepage to show you just how much control you can have:


?

3) Pop-up/Ad Disable – You can easily end up with ten to twenty IE windows open just due to pop-ups in a standard web trawl. Navigator allows you to turn off the ability of a site to do this: Go to Edit/Preferences/Advanced/Scripts and Windows and uncheck the box allowing a web page to open an un-requested window. This setting is especially nice because it will still allow popups that you’ve requested (ie: when you click on a link) and it accurately picks out which ones aren’t requested. When you get there, you might also want to check out the other options. [Update: we apparently need to make this even more clear. Yes, you can block ads with Mozilla. You can block pop-up ads and regular ads. Right-click on any ad, and you can block away. Since we’re making this clear, we’ll also make it clear that blocking ads may seriously reduce the profitability of the website in question, as many sites are paid per ad-load and not per-click.]

4) Context-search – Highlight any word or words on a page. Right click and select Search The Web For (Your Text). Navigator will open up Google (or the search engine of your choice) and give you your results. If you have the sidebar on, it will display the links to those results as well. This’ll save a few keystrokes. IE users can do this if they are willing to tweak a little (and who isn’t!).

Unfortunately, the new features are overshadowed by Navigator’s problems in the more basic areas, such as the user interface. Many of the problems stem from Navigator’s cross platform implementation, forcing the developers to create a more generic application instead of targeting a specific platform and optimizing the interface to fit in and interact nicely. It’s important to note that a good user interface is more than just looks and colors. A good UI is functional, adaptable and transparent. Navigator is reasonably functional, completely inflexible, and sticks out like a sore thumb.

Most of Navigator’s looks are defined with “skins” and skin developers have quite a bit of control over how the browser looks. Unfortunately, this comes at the expense of the end user options. Toolbars, colors, and icon sizes are all fixed by the skin developer. For people used to the customization options of IE windows, it’s a step backwards in functionality. For people who need better accessibility tools, it’s a disaster. The disregard for accessibility in the user interface is shocking given the amount of work that went into implementing web standards. As it stands, Navigator breaks many Windows User Interface (UI) standards. Rather than use the default “widgets” (menu bars, pop-up menus, drop downs and the like), Navigator comes complete with its own set of widgets. For some spectators, this is yet another example of how cross-platform ideals don’t always play out in practice: a Windows application should have Windows’ look and feel.

Plugin management is not intuitive. Installing Flash, for instance, required getting the plugin, downloading it, shutting down Mozilla (including the Quick-Launch), installing it, and then restarting Mozilla. On one test machine, we also ran into an odd bug wherein you could not enter the address for a website into the address window and hit return to go there. Oddly, as you navigated, the URL in that field didn’t change either.

Navigator does provide some nice management tools for Cookies, Images (as noted below) and Form Data. Much like IE, however, it will remember per-session cookies even after you leave a page. It will hold that cookie until you close that particular browser window. If you often use a site that uses such cookies, make sure you log out of it – Navigator will not do it for you.

Navigator has some nice features, but falls down in some important areas. Really though, it’s all a matter of personal preference. Some users may like the skinning features, and be fine with having limited control over where browser elements are placed and what they look like. For others, it may make the whole application unusable.? As it stands right now, the browser isn’t up to par with the rendering engine, which isn’t surprising given that the Mozilla developers spent the majority of their time on Gecko and the browser itself suffered as a result. Fortunately, with the availability of other browsers based on the Gecko engine, it will be possible to get a browser that renders things nicely and behaves like any other Windows application.

Excursus and Conclusion

Mail and Chatzilla

This article is primarily concerned with Gecko, but we’d be remiss not to at least mention our impressions of these two add-ons. Mozilla is packaged with both a mail/newsgroup client and an IRC client. The Mail client is most definitely not ready for prime time, while the IRC client serves its purpose well for the novice user. Aside from the same non-compliance issues that Navigator exhibits, Mail has a host of functionality problems. For example, it includes an almost useless Local Folders account (which you cannot remove) that apparently is meant to be able to be a central repository for drafts/sent mail for your various accounts. The problem is, it does not remember which account a message came from. Each individual account you create will have its own versions of the same folders in Local Folders. A host of rather serious problems that are present in 1.0 have been fixed in 1.1 alpha, so if you are interested in using the Mail application, you would wise to upgrade ASAP. However, even with 1.1, the Mail client just feels unfinished.

Chatzilla, the IRC client, is a much better, if rather simple program. It does not have all of the features of a full-fledged standalone IRC client, but as a simple IRC chat program it achieves something the rest of the package misses out on ? it?s transparent. You can chat away and never even notice the program you?re using to do it. Unlike Navigator or Mail, it doesn?t try to be all things to all people ? it?s an IRC chat program, no more and no less. The only real problem is that it does not support file transfers. For that reason, it will probably never replace your current IRC client, but you will probably find yourself using it from its convenient location on the Window menu when you just want to pop in for a chat.

The Bottom Line

Overall, this package rates 7 out of 10, but we should be fair and rate the two major parts separately. Gecko is a solid 9 (and we would rate IE’s renderer an 8, for comparison). Aside from the few aforementioned problems, Gecko’s standards compliance and its ability to handle less-than-compliant pages well is laudable. The problem is Navigator and the add-ons. Navigator is certainly usable, and admittedly it does have some interesting bells and whistles, but its non-standard, inflexible interface drags its rating down to a 6. Mail seems to be an afterthought, although Chatzilla is quite usable (even if limited in scope). In deciding to rate the overall product, we were left with three options: break the Ars standard and give it a 7.5, or choose 7 or 8. Since we like round numbers, we chose to go with 7 because, let’s face it, Navigator is how you use Gecko.

If you currently use IE, you won’t lose too much apart from the professional polish by switching over to Mozilla. You will encounter bugs and will have more trouble installing plugins than with IE. Unless the ability to override pop-ups or a browser’s look appeals to you (skinability), there is no feature compelling enough to prompt a switch from IE 6, aside from personal taste. Most web pages out there are developed to deal with the known browser incompatibility issues and will display themselves for you correctly in either IE 6 or Mozilla.

If you’re dead set against a Microsoft solution, your two major choices are Opera and Mozilla. They’re both great, and generally problem free, but Mozilla beats Opera in a few key areas. The interface is arguably nicer, the rendering engine provides better web standards support (especially when it comes to Javascript and the DOM) and it seems to handle current webpages slightly better. I suspect that many Opera fans will disagree, of course.

If you are a Netscape 4.x user, upgrade yesterday. Mozilla is much more stable, renders websites better, and does things quicker. Mozilla won’t choke on random bits of HTML like older Netscape versions will, and it’s capable of handling advanced features of web development that were previously unavailable to Netscape browsers.

If you are using a non-Windows computer, though, upgrading to Mozilla (or any other Gecko based browser) is a natural choice. Unlike Windows, no other operating system has a browser with the polish of IE 6. The feature-set and standards-compliance of Mozilla is definitely the best out there on non-Windows platforms.

The Mozilla project has been nothing less than a resounding success. The mozilla.org group has created a realistic alternative to IE for both today’s web and 5 years from now’s web. By creating viable competition for IE they’ve raised the bar and pushed other browser developers ahead. Is there any doubt that IE6 would be of a much lower quality had the Mozilla project not been looming over the Internet Explorer team? Overall, the Mozilla developers (both the Netscape employees and the outside help) did an incredible job overcoming hurdles and sticking to their stated goals.

0 Comments

Comments are closed.