1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
5 <style type="text/css">
19 <script src="resources/repaint.js" type="text/javascript"></script>
20 <script type="text/javascript">
21 function repaintTest()
23 document.getElementById('t').style.display='block';
27 <body onload="runRepaintTest();">
28 <p><b>BUG ID:</b> <a href="https://bugs.webkit.org/show_bug.cgi?id=7235">Bugzilla bug 7235</a> Pure CSS Tooltips method renders wrong and creates artifacts</p>
30 <p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
31 The square should change to solid green.
34 <p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
35 The square will remain red and will only change to green when the window is resized, scrolled or otherwise repainted.
40 <span id="p"> <div id="t"></div></span>
41 <div style="width: 100px; height: 100px; background: red;"></div>