User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; ru-ru) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1 Build Identifier: Per HTML5, HTML elements should always have a "http://www.w3.org/1999/xhtml" namespace, even in non-XML documents. WebKit implements this, and that hasn't caused any compatibility problems, as far as I know. --------------- To ease migration from HTML to XHTML, UAs conforming to this specification will place elements in HTML in the http://www.w3.org/1999/xhtml namespace, at least for the purposes of the DOM and CSS. The term "elements in the HTML namespace", or "HTML elements" for short, when used in this specification, thus refers to both HTML and XHTML elements. Unless otherwise stated, all elements defined or mentioned in this specification are in the http://www.w3.org/1999/xhtml namespace, and all attributes defined or mentioned in this specification have no namespace (they are in the per-element partition). --------------- Reproducible: Always Steps to Reproduce: <script>alert(document.getElementsByTagName("script").namespaceURI)</script>
Status: UNCONFIRMED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 468708
You need to log in before you can comment on or make changes to this bug.