Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell.html |
| diff --git a/third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell.html b/third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a358d6a075c910a3278eb7fd4a6f69482937b485 |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell.html |
| @@ -0,0 +1,18 @@ |
| +<!DOCTYPE html> |
| +<script src="resources/text-based-repaint.js"></script> |
| +<script> |
| +function repaintTest() { |
| + document.getElementById("b").focus(); |
| + 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
|
| +} |
| +onload = runRepaintTest; |
| +</script> |
| +<p>crbug.com/609018: Only avoid calc'ing overflow if a table's sections may have been deleted.</p> |
| +<table> |
| + <tr> |
| + <td> |
| + <a href="#" id="a">Text</a> |
| + <input id="b" type="checkbox"> |
| + </td> |
| + </tr> |
| +</table> |