On Fri, 06 Mar 2009 13:20:13 +0100, Henri Sivonen <hsivo...@iki.fi> wrote:
IIRC, we can't let the xmlns="..." attribute itself be assigned to the "http://www.w3.org/2000/xmlns/" namespace in the DOM in text/html, because there is a CSS selector trick for using the mapping difference to detect whether a polyglot document got parsed as text/html or XML.
No, it's mostly used as a hack to filter out IE6.
(Sorry, this statement is based on a vague recollection. I don't have a proper reference for this.)
http://www.communis.co.uk/dithered/css_filters/css_only/xmlns_attribute_selector.html http://www.google.com/codesearch?q=%5C%5Bxmlns%5C%5D+lang%3Acss -- Simon Pieters Opera Software