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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getProperties.html

Issue 2005683002: Typed CSSOM: Rename SimpleLength to CSSSimpleLength (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix SimpleLengthType compile errors Created 4 years, 7 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_getProperties.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getProperties.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getProperties.html
index 8b4d0e87a6106ca9eda13c1d7f65522b99180cf5..e8a834f89abf0b6ca1b1ca463b2ded1d0734cbda 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getProperties.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/inlineStylePropertyMap_getProperties.html
@@ -13,12 +13,12 @@ test(function() {
test(function() {
testElement.style = '';
- testElement.styleMap.set('width', new SimpleLength(10, 'px'));
+ testElement.styleMap.set('width', new CSSSimpleLength(10, 'px'));
assert_array_equals(testElement.styleMap.getProperties(), ['width']);
}, "getProperties returns the name of a property if it is set");
test(function() {
- testElement.styleMap.set('width', new SimpleLength(10, 'px'));
+ testElement.styleMap.set('width', new CSSSimpleLength(10, 'px'));
assert_array_equals(testElement.styleMap.getProperties(), ['width']);
testElement.styleMap.get('height');
@@ -26,7 +26,7 @@ test(function() {
}, "Accessing another property doesn't add a spurious result");
test(function() {
- testElement.styleMap.set('width', new SimpleLength(10, 'px'));
+ testElement.styleMap.set('width', new CSSSimpleLength(10, 'px'));
assert_array_equals(testElement.styleMap.getProperties(), ['width']);
testElement.styleMap.delete('width');
@@ -34,10 +34,10 @@ test(function() {
}, "property name does not appear in result after deletion");
test(function() {
- testElement.styleMap.set('width', new SimpleLength(10, 'px'));
+ testElement.styleMap.set('width', new CSSSimpleLength(10, 'px'));
assert_array_equals(testElement.styleMap.getProperties(), ['width']);
- testElement.styleMap.set('border-top-width', new SimpleLength(10, 'px'));
+ testElement.styleMap.set('border-top-width', new CSSSimpleLength(10, 'px'));
var result = testElement.styleMap.getProperties();
// TODO(meade): The spec should describe an order for this.
assert_equals(2, result.length, 2);

Powered by Google App Engine
This is Rietveld 408576698