From 790cfd8462ee23fd3fb4c0ff0a8f3d698d5850e3 Mon Sep 17 00:00:00 2001 From: cku Date: Wed, 4 Jan 2017 16:43:25 +0800 Subject: [PATCH] Bug 1273807 - mask-position and mask-size animation test cases. r=heycam mask-*-1a.html: test cases for indirect mask painting.(nsDisplayMask::PaintAsLayer) mask-*-1b.html: test cases for painting mask on mask layer.(nsDisplayMask::PaintMask) MozReview-Commit-ID: K9BK4MlnpBE --HG-- extra : rebase_source : 968bc221e28cd9c60927526ee719c0ceffeeab18 --- .../css-animations/mask-anim-ref.html | 12 +++++++ .../mask-position-after-finish-1a.html | 26 ++++++++++++++ .../mask-position-after-finish-1b.html | 35 +++++++++++++++++++ .../mask-position-in-delay-1a.html | 17 +++++++++ .../mask-position-in-delay-1b.html | 26 ++++++++++++++ .../mask-size-after-finish-1a.html | 26 ++++++++++++++ .../mask-size-after-finish-1b.html | 35 +++++++++++++++++++ .../css-animations/mask-size-in-delay-1a.html | 19 ++++++++++ .../css-animations/mask-size-in-delay-1b.html | 29 +++++++++++++++ layout/reftests/css-animations/reftest.list | 9 +++++ 10 files changed, 234 insertions(+) create mode 100644 layout/reftests/css-animations/mask-anim-ref.html create mode 100644 layout/reftests/css-animations/mask-position-after-finish-1a.html create mode 100644 layout/reftests/css-animations/mask-position-after-finish-1b.html create mode 100644 layout/reftests/css-animations/mask-position-in-delay-1a.html create mode 100644 layout/reftests/css-animations/mask-position-in-delay-1b.html create mode 100644 layout/reftests/css-animations/mask-size-after-finish-1a.html create mode 100644 layout/reftests/css-animations/mask-size-after-finish-1b.html create mode 100644 layout/reftests/css-animations/mask-size-in-delay-1a.html create mode 100644 layout/reftests/css-animations/mask-size-in-delay-1b.html diff --git a/layout/reftests/css-animations/mask-anim-ref.html b/layout/reftests/css-animations/mask-anim-ref.html new file mode 100644 index 000000000000..e6da65775b05 --- /dev/null +++ b/layout/reftests/css-animations/mask-anim-ref.html @@ -0,0 +1,12 @@ + +Reference of testcases for mssk-position and mask-size animations + +
diff --git a/layout/reftests/css-animations/mask-position-after-finish-1a.html b/layout/reftests/css-animations/mask-position-after-finish-1a.html new file mode 100644 index 000000000000..4c618d122cdb --- /dev/null +++ b/layout/reftests/css-animations/mask-position-after-finish-1a.html @@ -0,0 +1,26 @@ + + +mask-position animation after finish + +
+ diff --git a/layout/reftests/css-animations/mask-position-after-finish-1b.html b/layout/reftests/css-animations/mask-position-after-finish-1b.html new file mode 100644 index 000000000000..17ede833d19a --- /dev/null +++ b/layout/reftests/css-animations/mask-position-after-finish-1b.html @@ -0,0 +1,35 @@ + + +mask-position animation after finish + +
+ diff --git a/layout/reftests/css-animations/mask-position-in-delay-1a.html b/layout/reftests/css-animations/mask-position-in-delay-1a.html new file mode 100644 index 000000000000..a1989482f9d2 --- /dev/null +++ b/layout/reftests/css-animations/mask-position-in-delay-1a.html @@ -0,0 +1,17 @@ + +mask-position animation in delay phase + +
diff --git a/layout/reftests/css-animations/mask-position-in-delay-1b.html b/layout/reftests/css-animations/mask-position-in-delay-1b.html new file mode 100644 index 000000000000..90e8243aed20 --- /dev/null +++ b/layout/reftests/css-animations/mask-position-in-delay-1b.html @@ -0,0 +1,26 @@ + +mask-position animation in delay phase + +
diff --git a/layout/reftests/css-animations/mask-size-after-finish-1a.html b/layout/reftests/css-animations/mask-size-after-finish-1a.html new file mode 100644 index 000000000000..9fcc92e7fece --- /dev/null +++ b/layout/reftests/css-animations/mask-size-after-finish-1a.html @@ -0,0 +1,26 @@ + + +mask-size animation after finish + +
+ diff --git a/layout/reftests/css-animations/mask-size-after-finish-1b.html b/layout/reftests/css-animations/mask-size-after-finish-1b.html new file mode 100644 index 000000000000..289ced7d812f --- /dev/null +++ b/layout/reftests/css-animations/mask-size-after-finish-1b.html @@ -0,0 +1,35 @@ + + +mask-size animation after finish + +
+ diff --git a/layout/reftests/css-animations/mask-size-in-delay-1a.html b/layout/reftests/css-animations/mask-size-in-delay-1a.html new file mode 100644 index 000000000000..7adaf00bbdad --- /dev/null +++ b/layout/reftests/css-animations/mask-size-in-delay-1a.html @@ -0,0 +1,19 @@ + +mask-size animation in delay phase + +
diff --git a/layout/reftests/css-animations/mask-size-in-delay-1b.html b/layout/reftests/css-animations/mask-size-in-delay-1b.html new file mode 100644 index 000000000000..c2c987ee7a02 --- /dev/null +++ b/layout/reftests/css-animations/mask-size-in-delay-1b.html @@ -0,0 +1,29 @@ + +mask-size animation in delay phase + +
diff --git a/layout/reftests/css-animations/reftest.list b/layout/reftests/css-animations/reftest.list index bf9fa7058c17..306d04e3ca76 100644 --- a/layout/reftests/css-animations/reftest.list +++ b/layout/reftests/css-animations/reftest.list @@ -41,3 +41,12 @@ fails == background-position-in-delay.html background-position-ref.html # This t == background-position-after-finish.html background-position-ref.html fails == background-position-running.html background-position-ref.html # This test fails the reftest-opaque-layer check since animating background-position currently creates an active layer, and reftest-opaque-layer only handles items assigned to PaintedLayers. fails == background-position-important.html background-position-ref.html # This test fails the reftest-opaque-layer check since animating background-position overridden by a non-animated !important style also creates an active layer, and reftest-opaque-layer only handles items that are assigned to PaintedLayers. + +== mask-position-after-finish-1a.html mask-anim-ref.html +== mask-position-after-finish-1b.html mask-anim-ref.html +== mask-position-in-delay-1a.html mask-anim-ref.html +== mask-position-in-delay-1b.html mask-anim-ref.html +== mask-size-after-finish-1a.html mask-anim-ref.html +== mask-size-after-finish-1b.html mask-anim-ref.html +== mask-size-in-delay-1a.html mask-anim-ref.html +== mask-size-in-delay-1b.html mask-anim-ref.html