Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / compare-content-style.html
blob0a2e512780689e9c22624309e8497a3cd2e819c9
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html lang="en">
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
5 <title>content diff test</title>
6 <style type="text/css" media="screen">
7 .initial > div:before {
8 content: 'FAIL';
10 .final > div:before {
11 content: 'PASS';
13 </style>
14 <script type="text/javascript" charset="utf-8">
15 function runTest()
17 if (window.testRunner) {
18 testRunner.queueReload();
21 </script>
22 </head>
23 <body onload="runTest()">
24 <div id="container" class="initial">
25 <div></div>
26 <div></div>
27 <div></div>
28 <div></div>
29 <div></div>
30 <div></div>
31 </div>
32 <div>
33 <p><a href="https://bugs.webkit.org/show_bug.cgi?id=23741">Bug 23741: StyleRareNonInheritedData::operator==() should not compare ContentData objects by pointer</a></p>
34 <ol>
35 <li>All lines above should be "PASS" on initial page load.</li>
36 <li>Reload the page once.</li>
37 <li>All lines above should still be "PASS".</li>
38 </ol>
39 </div>
40 <script type="text/javascript" charset="utf-8">
41 document.getElementById('container').className = 'final';
42 </script>
43 </body>
44 </html>