User-Agent: Mozilla/5.0 (X11; U; Linux i686; en; rv:184.108.40.206) Gecko/20080528 Epiphany/2.22 Firefox/3.0 Build Identifier: Mozilla/3.6.10 XHTML 1.1 and XHTML+RDFa 1.0 forbid the lang attribute on their elements. Instead, the xml:lang attribute is used. CSS :lang pseudoclass seems to only recognize the lang attribute. Reproducible: Always Steps to Reproduce: 1. Create an XHTML 1.1 or XHTML+RDFa 1.0 file and put an xml:lang attribute on it and a link to a CSS file 2. Create a CSS file using the :lang pseudoclass 3. View the XHTML 1.1 or XHTML+RDFa 1.0 file Actual Results: The xml:lang attribute is ignored. Expected Results: The xml:lang attribute on elements in XHTML 1.1 and XHTML+RDFa 1.0 should be taken into account when rendering the CSS
Works fine for me. Please reopen if you attach a file that shows the problem.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.