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

Unified Diff: third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html

Issue 2403423002: [CSSTypedOM] Computed StylePropertyMap use ComputedStyle for Lengths (Closed)
Patch Set: Use StyleValueFactory & ComputedStyleCSSValueMapping for unsupported Created 3 years, 11 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/typedcssom/computedstyle/left.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html
diff --git a/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html b/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html
index 5140e8bf4b26b8062d3dd3780ab723cd8bd0f511..504b5318f992280d17333294d852ea1ce08ff00d 100644
--- a/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html
+++ b/third_party/WebKit/LayoutTests/typedcssom/computedstyle/computedStylePropertyMap.html
@@ -21,19 +21,6 @@ test(function() {
}, "Computed StyleMap.getProperties returns the same number of properties as ComputedStyle");
test(function() {
- var properties = computedStyleMap.getProperties();
- for (var i = 0; i < properties.length; i++) {
- var property = properties[i];
- var styleValues = computedStyleMap.getAll(property);
- if (styleValues.length == 1) {
- // TODO(meade): Remove this if statement once all properties are supported.
- // TODO(meade): Handle sequence types.
- assert_equals(computedStyleMap.get(property).cssText, computedStyle[property]);
- }
- }
-}, 'Properties retrieved from ComputedStyleMap reflect the same values as from ComputedStyle');
-
-test(function() {
testElement.style.border = '1px solid #00ff00';
var styleValue = computedStyleMap.get('border');
assert_equals(styleValue.constructor, CSSStyleValue);
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/typedcssom/computedstyle/left.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698