Open Bug 2003721 Opened 1 day ago

Lang-Attributes should be case insensitive

Categories

(Firefox :: Untriaged, defect)

Firefox 145
defect

Tracking

()

UNCONFIRMED

People

(Reporter: e-school, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:145.0) Gecko/20100101 Firefox/145.0

Steps to reproduce:

I had a lang attribute <html lang="DE-DE">.

Actual results:

This should actually be recognised, but the CSS setting ‘hyphen: auto’ does not work in this case. It does work with ‘de-DE’.

Expected results:

Although a notation such as "de-DE" is quite common, lang attributes should be case-insensitive according to RFC5646 and RFC5234.

You need to log in before you can comment on or make changes to this bug.