Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/cssKeywordValue.html

Issue 2097093002: [Typed OM] Rename cssString methods to cssText (Closed) Base URL:
Patch Set: Update usage in csspaint logging for tests Created 4 years, 6 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/typedcssom/cssKeywordValue.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssKeywordValue.html b/third_party/WebKit/LayoutTests/typedcssom/cssKeywordValue.html
index b73ab0fa1237325db1491e647df2829da9954088..420f03076858e45a31e774ba7bd951013c71c327 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/cssKeywordValue.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssKeywordValue.html
@@ -8,12 +8,12 @@ test(function() {
}, "Constructor should throw an error if given an empty string");
test(function() {
- assert_equals(new CSSKeywordValue('initial').cssString, 'initial');
- assert_equals(new CSSKeywordValue('center').cssString, 'center');
- assert_equals(new CSSKeywordValue('customLemon').cssString, 'customLemon');
- assert_equals(new CSSKeywordValue(' Hello World').cssString, CSS.escape(' Hello World'));
- assert_equals(new CSSKeywordValue('3').cssString, CSS.escape('3'));
-}, 'cssString returns a string with a format similar to CSS.escape. This test also ' +
+ assert_equals(new CSSKeywordValue('initial').cssText, 'initial');
+ assert_equals(new CSSKeywordValue('center').cssText, 'center');
+ assert_equals(new CSSKeywordValue('customLemon').cssText, 'customLemon');
+ assert_equals(new CSSKeywordValue(' Hello World').cssText, CSS.escape(' Hello World'));
+ assert_equals(new CSSKeywordValue('3').cssText, CSS.escape('3'));
+}, 'cssText returns a string with a format similar to CSS.escape. This test also ' +
'implies that toCSSValue supports all keywords including custom identifiers');
test(function() {
« no previous file with comments | « third_party/WebKit/LayoutTests/typedcssom/cssCalcLength.html ('k') | third_party/WebKit/LayoutTests/typedcssom/cssMatrix.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698