| OLD | NEW | 
|---|
|  | (Empty) | 
| 1 <!-- Based on fast/repaint/layer-full-repaint.html --> |  | 
| 2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x
    html1/DTD/xhtml1-strict.dtd"> |  | 
| 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |  | 
| 4 <head> |  | 
| 5     <title>Test for http://bugs.webkit.org/show_bug.cgi?id=13655</title> |  | 
| 6     <style type="text/css"> |  | 
| 7         div { |  | 
| 8             position: relative; |  | 
| 9             height: 100px; |  | 
| 10             width: 100px; |  | 
| 11             background-color: red; |  | 
| 12         } |  | 
| 13 |  | 
| 14         div.selected { |  | 
| 15             background-color: green; |  | 
| 16             text-shadow: red 5px 5px 0; |  | 
| 17         } |  | 
| 18     </style> |  | 
| 19     <script src="resources/paint-invalidation-test.js" type="text/javascript"></
    script> |  | 
| 20     <script> |  | 
| 21         function paintInvalidationTest() |  | 
| 22         { |  | 
| 23            document.getElementById('test').className = "selected"; |  | 
| 24         } |  | 
| 25     </script> |  | 
| 26 </head> |  | 
| 27 <body onload="runPaintInvalidationTest();"> |  | 
| 28         <div id="test"></div> |  | 
| 29 </body> |  | 
| 30 </html> |  | 
| OLD | NEW | 
|---|