Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / selectors / style-sharing-adjacent-selector.html
blob7bf7778d619491132896fc16d618b62f6508d85a
1 <html>
2 <head>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 function test() {
8 var passed = window.getComputedStyle(document.getElementsByTagName('p')[2]).color === "rgb(0, 0, 0)";
9 document.getElementsByTagName('div')[0].innerText = passed ? "PASS" : "FAIL";
11 </script>
12 <style>
13 p.foo + p { color: red; }
14 </style>
15 </head>
16 <body onload="test()">
17 <p class="foo">This text should be black.</p>
18 <p>This text should be red.</p>
19 <p>This text should be black.</p>
20 <div></div>
21 </body>
22 </html>