blob: 58e82e7be73848b356e702f1e0ad519c11b1d80a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!DOCTYPE html>
<html lang="en-US">
<meta charset="utf-8">
<title>CSS Selectors 4 - :lang matching</title>
<link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com">
<link rel="help" href="https://drafts.csswg.org/selectors-4/#the-lang-pseudo">
<link rel="match" href="lang-000-ref.html">
<style>
div.test { color: red; }
:lang("x") { color: green; } /* not a well-formed lang tag, but matches per
the Extended Filtering algorithm */
</style>
<div class="test"><span lang="x-lojban">This should be green</span></div>
|