Standards Support
Contents |
---|
|
Origins and lineage |
|
Category |
From the outset, Gecko was designed to support open Internet standards. Some of the standards Gecko supports include:
- HTML4 (partial support for HTML5)
- CSS Level 2.1 (partial support for CSS 3)
- JavaScript 1.8 (ECMAScript 3, and partial support for ECMAScript 5), implemented in SpiderMonkey
- DOM Level 1 and 2 (partial support for DOM 3)
- XML 1.0
- XHTML 1.0
- XSLT and XPath, implemented in TransforMiiX
- MathML
- XForms (via an official extension)
- RDF
Gecko also partially supports SVG 1.1.
In order to support web pages designed for legacy versions of Netscape and Internet Explorer, Gecko supports DOCTYPE switching. Documents with a modern DOCTYPE are rendered in standards compliance mode, which follows the W3C standards strictly. Documents that have no DOCTYPE or an older DOCTYPE are rendered in quirks mode, which emulates some of the non-standard oddities of Netscape Communicator 4.x; however, some of the 4.x features (such as layers) are not supported.
Gecko also has limited support for some non-standard Internet Explorer features, such as the marquee element and the document.all
property (though pages explicitly testing for document.all
will be told it is not supported). While this increases compatibility with many documents designed only for Internet Explorer, some purists argue that it harms the cause of standards evangelism.
Read more about this topic: Gecko (layout Engine)
Famous quotes containing the words standards and/or support:
“In this nation I see tens of millions of its citizens, a substantial part of its whole population, who at this very moment are denied the greater part of what the very lowest standards of today call the necessities of life. I see one third of a nation ill-housed, ill-clad, ill-nourished. The test of our progress is not whether we add more to the abundance of those who have much, it is whether we provide enough for those who have too little.”
—Franklin D. Roosevelt (18821945)
“Surely, tis one step towards acting well, to think worthily of our nature; and as in common life, the way to make a man honest, is, to suppose him so ... so here, to set some value upon ourselves, enables us to support the character ... of generosity and virtue.”
—Laurence Sterne (17131768)