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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_setGet.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/inlinestyle/inlineStylePropertyMap_setGet.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_setGet.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_setGet.html
index c882278b6950821e66d463251ddc8746b233b988..71bfaaa827497f197e8d7bcce6a47c2ac4cd3828 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_setGet.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_setGet.html
@@ -8,19 +8,19 @@
test(function() {
testElement.styleMap.set('width', new CSSSimpleLength(10, 'px'));
- assert_equals(testElement.styleMap.get('width').cssString, '10px');
+ assert_equals(testElement.styleMap.get('width').cssText, '10px');
}, "Setting and getting round trips");
test(function() {
testElement.styleMap.set('WIDTH', new CSSSimpleLength(40, 'px'));
- assert_equals(testElement.styleMap.get('WiDtH').cssString, '40px');
+ assert_equals(testElement.styleMap.get('WiDtH').cssText, '40px');
testElement.styleMap.set('wIdTh', new CSSSimpleLength(50, 'px'));
- assert_equals(testElement.styleMap.get('width').cssString, '50px');
+ assert_equals(testElement.styleMap.get('width').cssText, '50px');
}, "Setting and getting is not case sensitive");
test(function() {
testElement.style.width = '20px';
- assert_equals(testElement.styleMap.get('width').cssString, '20px');
+ assert_equals(testElement.styleMap.get('width').cssText, '20px');
}, "Changes to element.style are reflected in the element.styleMap");
test(function() {
@@ -39,7 +39,7 @@ test(function() {
assert_throws(new TypeError(), function() {
testElement.styleMap.set('width', new CSSNumberValue(4));
});
- assert_equals(testElement.styleMap.get('width').cssString, '2px');
+ assert_equals(testElement.styleMap.get('width').cssText, '2px');
}, "Attempting to set an invalid type for a property does not change the value");
test(function() {

Powered by Google App Engine
This is Rietveld 408576698