From 7d19d91f931be4e00a9f797913894dd3a8b961bc Mon Sep 17 00:00:00 2001 From: "Benoit Girard ext:(%20and%20Benoit%20Jacob%20%3Cbjacob%40mozilla.com%3E)" Date: Fri, 22 Nov 2013 15:30:10 -0500 Subject: [PATCH] Bug 940842 - 3/3 - Add a mochitest covering repaint heuristics with will-change - r=mattwoodrow --- layout/base/tests/chrome/chrome.ini | 1 + .../base/tests/chrome/test_will_change.html | 108 ++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 layout/base/tests/chrome/test_will_change.html diff --git a/layout/base/tests/chrome/chrome.ini b/layout/base/tests/chrome/chrome.ini index d2c6fb4b4905..8117f6c59ed7 100644 --- a/layout/base/tests/chrome/chrome.ini +++ b/layout/base/tests/chrome/chrome.ini @@ -48,3 +48,4 @@ support-files=scroll_selection_into_view_window.html [test_transformed_scrolling_repaints.html] [test_transformed_scrolling_repaints_2.html] [test_transformed_scrolling_repaints_3.html] +[test_will_change.html] diff --git a/layout/base/tests/chrome/test_will_change.html b/layout/base/tests/chrome/test_will_change.html new file mode 100644 index 000000000000..c7106a3f28cd --- /dev/null +++ b/layout/base/tests/chrome/test_will_change.html @@ -0,0 +1,108 @@ + + + + Tests for MozAfterPaint + + + + + + +
+ Check repaint without will-change +
+
+ Check repaint with will-change +
+
+ Check repaint with will-change +
+ + +