summaryrefslogtreecommitdiffstats
path: root/layout/reftests/unicode/langattribute-ref.html
blob: d3908825a6819b8625db74f11404952530cace47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html lang="dk">
<head>
    <title>testing lang attribute</title>
    <style>
    div[lang="fr"] {
        color: green;
    }
    div[lang="de"] > input {
        color: blue;
    }
    div:not([lang]) {
        color: yellow;
    }
    </style>
</head>
<body>
<div lang="fr">fr language</div>
<div lang="de">
    <input value="de language">
</div>
<div>
    dk language
</div>
</body>
</html>