Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / selectors / lang-vs-xml-lang-xhtml.xhtml
blob1fe77d37240f7667a21f4e07e7828c7754cc5dbb
1 <!DOCTYPE html
2 PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
5 <title>':lang()': inherit LANG from parent element, xml:lang takes precedence in XML</title>
6 <style>
7 p:lang(x) { background: green }
8 p:lang(y) { background: blue }
9 p:lang(z) { background: red }
10 </style>
11 <div xml:lang="x-test" lang="z-test">
12 <p>This line should have a green background.</p>
13 <p lang="y-test">This line should NOT have a green background.</p>
14 </div>
15 </html>