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

Unified Diff: lib/src/paper-checkbox/test/basic.html

Issue 1418513006: update elements and fix some bugs (Closed) Base URL: git@github.com:dart-lang/polymer_elements.git@master
Patch Set: code review updates Created 5 years, 2 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: lib/src/paper-checkbox/test/basic.html
diff --git a/lib/src/paper-checkbox/test/basic.html b/lib/src/paper-checkbox/test/basic.html
index 38e2a4cc1eefe6986e6b7ace7191ca8fccec1c31..5461266388dc9e2161797761961d2f688609467b 100644
--- a/lib/src/paper-checkbox/test/basic.html
+++ b/lib/src/paper-checkbox/test/basic.html
@@ -96,16 +96,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
c1.checked = true;
assert.isTrue(c1.validate());
});
-
- test('checkbox label can be updated', function() {
- Polymer.dom(c1).textContent = 'Batman';
- c1.updateAriaLabel();
- assert.isTrue(c1.getAttribute('aria-label') == 'Batman');
-
- Polymer.dom(c1).textContent = 'Robin';
- c1.updateAriaLabel();
- assert.isTrue(c1.getAttribute('aria-label') == 'Robin');
- });
});
suite('a11y', function() {
@@ -126,10 +116,6 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
assert.isTrue(!c1.getAttribute('aria-label'));
});
- test('checkbox with a label sets an aria label', function() {
- assert.isTrue(c2.getAttribute('aria-label') == "Batman");
- });
-
test('checkbox respects the user set aria-label', function() {
var c = fixture('AriaLabel');
assert.isTrue(c.getAttribute('aria-label') == "Batman");
« no previous file with comments | « lib/src/paper-checkbox/paper-checkbox.html ('k') | lib/src/paper-dialog-behavior/paper-dialog-behavior.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698