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:
“Men are rewarded for learning the practice of violence in virtually any sphere of activity by money, admiration, recognition, respect, and the genuflection of others honoring their sacred and proven masculinity. In male culture, police are heroic and so are outlaws; males who enforce standards are heroic and so are those who violate them.”
—Andrea Dworkin (b. 1946)
“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)