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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/script-tests/background-clip-text.js

Issue 1708173002: Remove support of the -webkit-text value from {-webkit-,}background-clip (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update tests Created 4 years, 10 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/css/script-tests/background-clip-text.js
diff --git a/third_party/WebKit/LayoutTests/fast/css/script-tests/background-clip-text.js b/third_party/WebKit/LayoutTests/fast/css/script-tests/background-clip-text.js
index 76a6ceebb90405abd18a228eda607702be50d54c..a0e60e354c69d22198a03318a9d6dc8a6e92acc1 100644
--- a/third_party/WebKit/LayoutTests/fast/css/script-tests/background-clip-text.js
+++ b/third_party/WebKit/LayoutTests/fast/css/script-tests/background-clip-text.js
@@ -1,4 +1,4 @@
-description("This tests checks that the '-webkit-text' and 'text' keywords are \
+description("This tests checks that the 'text' keyword is \
parsed correctly in the 'background-clip' and '-webkit-background-clip' \
properties, and that 'background-clip' is parsed correctly in the \
'background' shorthand.");
@@ -13,8 +13,6 @@ function test(declaration, property)
document.body.removeChild(div);
return result;
}
-shouldBe('test("background-clip: -webkit-text", "background-clip")', '"-webkit-text"');
-shouldBeEqualToString('test("background-clip: -webkit-text", "-webkit-background-clip")', '');
shouldBe('test("background-clip: content-box", "background-clip")', '"content-box"');
shouldBe('test("background-clip: padding-box", "background-clip")', '"padding-box"');
@@ -23,9 +21,6 @@ shouldBe('test("background-clip: border-box", "background-clip")', '"border-box"
shouldBeEqualToString('test("background-clip: text", "background-clip")', '');
shouldBeEqualToString('test("background-clip: text", "-webkit-background-clip")', '');
-shouldBeEqualToString('test("-webkit-background-clip: -webkit-text", "background-clip")', '');
-shouldBe('test("-webkit-background-clip: -webkit-text", "-webkit-background-clip")', '"-webkit-text"');
-
shouldBeEqualToString('test("-webkit-background-clip: text", "background-clip")', '');
shouldBe('test("-webkit-background-clip: text", "-webkit-background-clip")', '"text"');
shouldBeEqualToString('test("background: url() padding-box", "-webkit-background-clip")', '');

Powered by Google App Engine
This is Rietveld 408576698