Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for -ms-lang's comma separated parameter #132

Open
rigdern opened this issue Jan 7, 2015 · 2 comments
Open

Add support for -ms-lang's comma separated parameter #132

rigdern opened this issue Jan 7, 2015 · 2 comments

Comments

@rigdern
Copy link

rigdern commented Jan 7, 2015

-ms-lang's parameter can be a comma separated list (e.g. -ms-lang(am, ti)).

The parser fails to parse this rule:

.my-page:-ms-lang(am, ti) {
  font-family: "Ebrima";
}

But it can parse this rule where -ms-lang's parameter is just a single value.

.my-page:-ms-lang(am) {
  font-family: "Ebrima";
}
@kkirsche
Copy link
Contributor

kkirsche commented Mar 2, 2015

Closest I could find to documentation of -ms-lang
https://msdn.microsoft.com/en-us/library/windows/apps/hh967757.aspx

@rigdern
Copy link
Author

rigdern commented Mar 3, 2015

The remarks section of the MSDN documentation for lang talks a bit about -ms-lang:

In Internet Explorer 10, the :lang(C) pseudo-class accepts a comma-separated list of language codes. However, because this behavior is based on an early draft of the World Wide Web Consortium (W3C)'s Selectors Level 4 specification, you must add the "-ms-" vendor prefix to the pseudo-class to enable this functionality. In effect, the pseudo-class becomes :-ms-lang(C).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants