Closed Bug 601473 Opened 14 years ago Closed 14 years ago

CSS :lang pseudoclass doesn't work with XHTML 1.1 nor XHTML+RDFa 1.0

Categories

(Core :: General, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: saasha, Unassigned)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en; rv:1.9.2.10) 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
Closed: 14 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.