| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <link rel="stylesheet" href="resources/flexbox.css"> | 4 <link rel="stylesheet" href="resources/flexbox.css"> |
| 5 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> | 5 <script src="../../fast/repaint/resources/repaint.js"></script> |
| 6 <style> | 6 <style> |
| 7 body { | 7 body { |
| 8 margin: 0; | 8 margin: 0; |
| 9 } | 9 } |
| 10 .flexbox { | 10 .flexbox { |
| 11 background: #333; | 11 background: #333; |
| 12 } | 12 } |
| 13 .flex-item { | 13 .flex-item { |
| 14 height: 50px; | 14 height: 50px; |
| 15 margin: 20px; | 15 margin: 20px; |
| (...skipping 22 matching lines...) Expand all Loading... |
| 38 document.body.appendChild(document.createTextNode( | 38 document.body.appendChild(document.createTextNode( |
| 39 "Tests to make sure that when changing the size of one flex item cha
nges the " | 39 "Tests to make sure that when changing the size of one flex item cha
nges the " |
| 40 + "location of another flex item, we properly repaint. The repaint r
ect should " | 40 + "location of another flex item, we properly repaint. The repaint r
ect should " |
| 41 + "include the three flex items.")); | 41 + "include the three flex items.")); |
| 42 } | 42 } |
| 43 window.enablePixelTesting = true; | 43 window.enablePixelTesting = true; |
| 44 runRepaintTest(); | 44 runRepaintTest(); |
| 45 }; | 45 }; |
| 46 </script> | 46 </script> |
| 47 </body></html> | 47 </body></html> |
| OLD | NEW |