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

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

Issue 2097093002: [Typed OM] Rename cssString methods to cssText (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rename-transformvalue
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/cssPositionValue.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/cssPositionValue.html b/third_party/WebKit/LayoutTests/typedcssom/cssPositionValue.html
index 12c84599ed24d9f9d229960f1eba972fa51e0f30..462c9eadb59961f9ad5f2a6e754efc9f59893036 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/cssPositionValue.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/cssPositionValue.html
@@ -6,14 +6,14 @@
test(function() {
assert_equals(new CSSPositionValue(new CSSSimpleLength(50, 'px'),
- new CSSCalcLength({px: -10, em: -3.2, pt: 0})).cssString, '50px calc((-3.2em - 10px) + 0pt)');
+ new CSSCalcLength({px: -10, em: -3.2, pt: 0})).cssText, '50px calc((-3.2em - 10px) + 0pt)');
assert_equals(new CSSPositionValue(new CSSSimpleLength(50, 'px'),
- new CSSSimpleLength(2, 'em')).cssString, '50px 2em');
+ new CSSSimpleLength(2, 'em')).cssText, '50px 2em');
assert_equals(new CSSPositionValue(new CSSCalcLength({px: -10, em: -3.2, pt: 0}),
- new CSSCalcLength({px: -10, em: 3.2})).cssString, 'calc((-3.2em - 10px) + 0pt) calc(3.2em - 10px)');
+ new CSSCalcLength({px: -10, em: 3.2})).cssText, 'calc((-3.2em - 10px) + 0pt) calc(3.2em - 10px)');
assert_equals(new CSSPositionValue(new CSSCalcLength({px: -10, em: -3.2, pt: 0}),
- new CSSSimpleLength(10, 'percent')).cssString, 'calc((-3.2em - 10px) + 0pt) 10%');
-}, "cssString returns a string with the x and y positions cssStrings separated by a space");
+ new CSSSimpleLength(10, 'percent')).cssText, 'calc((-3.2em - 10px) + 0pt) 10%');
+}, "cssText returns a string with the x and y positions cssStrings separated by a space");
</script>

Powered by Google App Engine
This is Rietveld 408576698