[Bug 21163] Advice about use of CSS namespaces in polyglot markup

https://www.w3.org/Bugs/Public/show_bug.cgi?id=21163

Eliot Graff <eliotgra@microsoft.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #1 from Eliot Graff <eliotgra@microsoft.com> ---
Added section:

7.3.2 Attributes Styled Using CSS Namespaces

The prefixed attributes, such as xml:lang="", are "namespaced" within XHTML,
SVG and MathML. Thus, they can be styled via CSS3 namespaces. [CSS3NAMESPACE]
However, for the HTML serialization, xml:lang would then not have the xml
namespace effect. A style such as the following is valid in XHTML, SVG, and
MathML, it does not work in HTML and is therefore not used in polyglot markup. 


Example 11
<style type="text/css">
@namespace xml   "http://www.w3.org/XML/1998/namespace";
*[xml|lang]{background:lime;}
</style>


new revision: 1.101; previous revision: 1.100

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 24 April 2013 02:12:49 UTC