Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="resources/text-based-repaint.js"></script> | |
| 3 <script> | |
| 4 function repaintTest() { | |
| 5 var child = document.getElementById('child'); | |
| 6 child.style.width = '150px'; | |
| 7 child.style.height = '300px'; | |
| 8 } | |
| 9 runRepaintTest(); | |
|
Julien - ping for review
2014/07/25 17:20:10
While this works, I would argue to run it off the
Xianzhu
2014/07/25 17:28:25
Done. Also just noticed this might cause flakiness
| |
| 10 </script> | |
| 11 | |
| 12 <!-- The scrollbar parts (forward track, thumb and back track) of the container | |
| 13 should be properly repainted when the contents change size. --> | |
|
Julien - ping for review
2014/07/25 17:20:10
We should dump this into the text output as we are
Xianzhu
2014/07/25 17:28:25
Currently text-based-repaint dump the layer tree o
Julien - ping for review
2014/07/25 20:24:44
I don't think that's a good argument. I am not con
Xianzhu
2014/07/25 20:54:58
Setting font and font size won't work because the
| |
| 14 <div style="width: 100px; height: 100px; overflow: scroll"> | |
| 15 <div id="child" style="width: 200px; height: 200px"></div> | |
| 16 </div> | |
| 17 | |
| OLD | NEW |