| <html> |
| <head> |
| <style> |
| div { |
| width: 100px; |
| height:100px; |
| overflow:hidden; |
| float:left; |
| } |
| |
| .green { |
| background-color:green |
| } |
| |
| .red { |
| background-color:red |
| } |
| </style> |
| |
| <script src="resources/repaint.js" type="text/javascript"></script> |
| <script> |
| function repaintTest() |
| { |
| document.getElementsByClassName("green")[0].style.opacity = 1; |
| } |
| </script> |
| |
| </head> |
| <body onload="runRepaintTest()"> |
| <p>Repaint test for <rdar://problem/6869687> REGRESSION (r41203): Facebook friend suggestions disappear on update. Make sure when a layer switches |
| from being self-painting to non-self-painting that a layout happens to fix up the floating objects lists. You should see a 100x100 green square below. |
| If you see any red, the test has failed. |
| </p> |
| <div class="red"> |
| <div class="green" style="opacity:0.5"> |
| </div> |
| </div> |
| |