From 77b503194c93c92268633b3f6b0d5573aa7f58a3 Mon Sep 17 00:00:00 2001 From: CJKu Date: Tue, 12 Apr 2016 21:58:23 +0800 Subject: [PATCH] Bug 759568 - Part 5. reftest for background-clip:text; r=dbaron MozReview-Commit-ID: DXl7mHnTxbL --- .../background-clip-text-1-ref.html | 19 ++++++++++++++ .../backgrounds/background-clip-text-1a.html | 24 +++++++++++++++++ .../backgrounds/background-clip-text-1b.html | 24 +++++++++++++++++ .../backgrounds/background-clip-text-1c.html | 26 +++++++++++++++++++ .../backgrounds/background-clip-text-1d.html | 23 ++++++++++++++++ layout/reftests/backgrounds/reftest.list | 6 +++++ 6 files changed, 122 insertions(+) create mode 100644 layout/reftests/backgrounds/background-clip-text-1-ref.html create mode 100644 layout/reftests/backgrounds/background-clip-text-1a.html create mode 100644 layout/reftests/backgrounds/background-clip-text-1b.html create mode 100644 layout/reftests/backgrounds/background-clip-text-1c.html create mode 100644 layout/reftests/backgrounds/background-clip-text-1d.html diff --git a/layout/reftests/backgrounds/background-clip-text-1-ref.html b/layout/reftests/backgrounds/background-clip-text-1-ref.html new file mode 100644 index 000000000000..ee50a864695c --- /dev/null +++ b/layout/reftests/backgrounds/background-clip-text-1-ref.html @@ -0,0 +1,19 @@ + + + + background-clip: text reference + + +
+ + + + + + + + TEXT clip + +
+ + \ No newline at end of file diff --git a/layout/reftests/backgrounds/background-clip-text-1a.html b/layout/reftests/backgrounds/background-clip-text-1a.html new file mode 100644 index 000000000000..77926604bb5d --- /dev/null +++ b/layout/reftests/backgrounds/background-clip-text-1a.html @@ -0,0 +1,24 @@ + + + + background-clip: text + + + +
+ TEXT clip +
+
+ + diff --git a/layout/reftests/backgrounds/background-clip-text-1b.html b/layout/reftests/backgrounds/background-clip-text-1b.html new file mode 100644 index 000000000000..e29b2c1784fc --- /dev/null +++ b/layout/reftests/backgrounds/background-clip-text-1b.html @@ -0,0 +1,24 @@ + + + + background-clip: text + + + +
+

TEXT clip

+
+
+ + diff --git a/layout/reftests/backgrounds/background-clip-text-1c.html b/layout/reftests/backgrounds/background-clip-text-1c.html new file mode 100644 index 000000000000..56f707300e6c --- /dev/null +++ b/layout/reftests/backgrounds/background-clip-text-1c.html @@ -0,0 +1,26 @@ + + + + background-clip: text + + + +
+
+

TEXT clip

+
+
+
+ + diff --git a/layout/reftests/backgrounds/background-clip-text-1d.html b/layout/reftests/backgrounds/background-clip-text-1d.html new file mode 100644 index 000000000000..e0a1f5817c62 --- /dev/null +++ b/layout/reftests/backgrounds/background-clip-text-1d.html @@ -0,0 +1,23 @@ + + + + background-clip: text + + + +
+ TEXT clip +
+
+ + diff --git a/layout/reftests/backgrounds/reftest.list b/layout/reftests/backgrounds/reftest.list index 5e05558e2e1a..101e8da11ca2 100644 --- a/layout/reftests/backgrounds/reftest.list +++ b/layout/reftests/backgrounds/reftest.list @@ -165,3 +165,9 @@ fuzzy-if(skiaContent,1,8) == background-multiple-with-border-radius.html backgro == background-repeat-large-area.html background-repeat-large-area-ref.html fuzzy(30,474) fuzzy-if(skiaContent,31,474) == background-tiling-zoom-1.html background-tiling-zoom-1-ref.html + +pref(layout.css.background-clip-text.enabled,true) == background-clip-text-1a.html background-clip-text-1-ref.html +pref(layout.css.background-clip-text.enabled,true) == background-clip-text-1b.html background-clip-text-1-ref.html +pref(layout.css.background-clip-text.enabled,true) == background-clip-text-1c.html background-clip-text-1-ref.html +pref(layout.css.background-clip-text.enabled,true) == background-clip-text-1d.html background-clip-text-1-ref.html +pref(layout.css.background-clip-text.enabled,false) != background-clip-text-1a.html background-clip-text-1-ref.html