Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <script src="resources/text-based-repaint.js"></script> | |
| 3 <script> | |
| 4 function repaintTest() { | |
| 5 document.getElementById("b").focus(); | |
| 6 document.getElementById("a").focus(); | |
|
Xianzhu
2016/05/05 16:01:33
What will these affect? Why two focus calls?
rhogan
2016/05/05 18:30:10
I want to mimic the effect of #b gaining then losi
Xianzhu
2016/05/05 18:35:49
Does it really work to focus and unfocus in the sa
| |
| 7 } | |
| 8 onload = runRepaintTest; | |
| 9 </script> | |
| 10 <p>crbug.com/609018: Only avoid calc'ing overflow if a table's sections may have been deleted.</p> | |
| 11 <table> | |
| 12 <tr> | |
| 13 <td> | |
| 14 <a href="#" id="a">Text</a> | |
| 15 <input id="b" type="checkbox"> | |
| 16 </td> | |
| 17 </tr> | |
| 18 </table> | |
| OLD | NEW |