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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/computedstyle/pseudo-elements.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/computedstyle/pseudo-elements.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/computedstyle/pseudo-elements.html b/third_party/WebKit/LayoutTests/typedcssom/computedstyle/pseudo-elements.html
index 1becbe8850fcabf8b206be23dda008a1ee2146af..600cfa99562b7292df3d16531f13d07a3a7df88c 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/computedstyle/pseudo-elements.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/computedstyle/pseudo-elements.html
@@ -20,8 +20,8 @@
var computedStyleMap = getComputedStyleMap(testElement);
var pseudoComputedStyleMap = getComputedStyleMap(testElement, '::after');
test(function() {
- assert_equals(computedStyleMap.get('border-top-width').cssString, '5px');
- assert_equals(pseudoComputedStyleMap.get('border-top-width').cssString, '1px');
+ assert_equals(computedStyleMap.get('border-top-width').cssText, '5px');
+ assert_equals(pseudoComputedStyleMap.get('border-top-width').cssText, '1px');
}, 'get on Computed StyleMap of pseudo element returns correct styles');
test(function() {
@@ -29,7 +29,7 @@ test(function() {
var styleValueList = pseudoComputedStyleMap.getAll('border-top-width');
assert_equals(styleValueList.length, 1);
- assert_equals(styleValueList[0].cssString, '1px');
+ assert_equals(styleValueList[0].cssText, '1px');
}, 'getAll on Computed StyleMap of pseudo element returns list of correct styles');
</script>

Powered by Google App Engine
This is Rietveld 408576698