Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / nopaint-after-layer-destruction2.html
blobff60c5ca39985b86a35af233794ee6728a88a6bb
1 <html>
2 <head>
3 <title></title>
4 </head>
5 <body>
6 <p>
7 This is a pixel test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=4334">http://bugzilla.opendarwin.org/show_bug.cgi?id=4334</a>
8 REGRESSION: Flickering when css-hover should change opacity on floating elements</i>.
9 </p>
10 <p>
11 There should be a solid green square below mixed in with a paragraph of text.
12 </p>
13 <hr>
14 <div><div>
15 <div id="t" style="opacity: 0.5; float: left; width: 75px; height: 75px; margin:3px; background: green;">
16 </div>
17 <h3>Stanley Park Forest</h3>
18 <p>The
19 forest is primarily second and third growth. The area was saved from
20 development because of its status as a federal military reserve; it
21 occupied a strategic location for defending the former provincial
22 capital of New Westminster in the case of an American naval invasion.
23 Nevertheless, the federal government allowed logging operations there
24 in the mid-nineteenth century. Large swathes of the park were also
25 deforested by natural causes on two occasions in the 20th century.</p>
26 </div></div>
28 <script type="text/javascript">
29 document.body.offsetTop; // force layout
30 document.getElementById("t").style.opacity = "1";
31 </script>
32 </body>
33 </html>