Wiki Wednesday: March 2, 2011

Here are today’s Wiki Wednesday articles! If you know about these topics, please try to find a few minutes to look over these articles that are marked as needing technical intervention and see if you can fix them up. You can do so either by logging into the wiki and editing the articles directly, or by emailing your notes, sample code, or feedback to mdnwiki@mozilla.org.

Contributors to Wiki Wednesday will get recognition in next week’s Wiki Wednesday announcement. Thanks in advance for your help!

JavaScript

Thanks to last week’s contributor: Brendan Eich.

SpiderMonkey

Developing Mozilla

Extensions

XUL

XPCOM

Thanks to last week’s contributor: Neil.

Interfaces

Thanks to last week’s contributor: khuey.

Plugins

CSS

SVG

HTML

Thanks to last week’s contributors: McGurk, gregtyler, Janet Swisher.

DOM


2 comments

  1. David Wilhelm

    Sorry if this is the wrong place for this.. but, I noticed a mistake (I believe) in the doc on writing javascript in XHTML. In the section: Solution: Use DOM 2 Methods, there is the following code.

    function getHTMLByTagName(tagName) {
    if (document.documentElement.namespaceURI !== null) {
    return node.getElementsByTagName(tagName);
    } else {
    return node.getElementsByTagNameNS(“http://www.w3.org/1999/xhtml”, tagName);
    }
    }

    Unless I am mistaken, the logic here is reversed.. surely we can only use the getElementsByTagNameNS method if the namespaceURI *is* defined?

    March 2nd, 2011 at 16:40

  2. Bronislav Klucka

    We should thank Brendan Eich for such an excelent article. I’ve never seen such a great example why not to use XHTML (if you do not need to include some peculiar namespace).
    W3C moto: let WHATWG care about webdevelopers

    March 3rd, 2011 at 05:46

Comments are closed for this article.