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

Unified Diff: third_party/polymer/components/iron-collapse/test/horizontal.html

Issue 2113853002: Run bower update (Closed) Base URL: https://github.com/catapult-project/catapult@polymer10-migration
Patch Set: 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/polymer/components/iron-collapse/test/horizontal.html
diff --git a/third_party/polymer/components/iron-collapse/test/horizontal.html b/third_party/polymer/components/iron-collapse/test/horizontal.html
index 24230b1e81bd775be1755d859a69d8e0c790503e..5b5ed1e9a925113e93d25ba970805d5905b4b52d 100644
--- a/third_party/polymer/components/iron-collapse/test/horizontal.html
+++ b/third_party/polymer/components/iron-collapse/test/horizontal.html
@@ -55,7 +55,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
});
test('default opened width', function() {
- assert.equal(collapse.style.width, 'auto');
+ assert.equal(collapse.style.width, '');
});
test('set opened to false, then to true', function(done) {
@@ -63,21 +63,21 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
collapse.addEventListener('transitionend', function() {
if (collapse.opened) {
// Check finalSize after animation is done.
- assert.equal(collapse.style.width, 'auto');
+ assert.equal(collapse.style.width, '');
done();
} else {
// Check if size is still 0px.
- assert.equal(collapse.style.width, '0px');
+ assert.equal(collapse.style.maxWidth, '0px');
// Trigger 2nd toggle.
collapse.opened = true;
// Size should be immediately set.
- assert.equal(collapse.style.width, collapseWidth);
+ assert.equal(collapse.style.maxWidth, collapseWidth);
}
});
// Trigger 1st toggle.
collapse.opened = false;
// Size should be immediately set.
- assert.equal(collapse.style.width, '0px');
+ assert.equal(collapse.style.maxWidth, '0px');
});
});

Powered by Google App Engine
This is Rietveld 408576698