Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/checkbox-selection-rect-in-cell.html

Issue 1946413002: Avoid overflow recalc on tables if sections need rebuild (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698