| OLD | NEW |
| 1 <!doctype html> | 1 <!doctype html> |
| 2 <!-- | 2 <!-- |
| 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. | 3 Copyright (c) 2015 The Polymer Project Authors. All rights reserved. |
| 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt | 4 This code may only be used under the BSD style license found at http://polymer.g
ithub.io/LICENSE.txt |
| 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt | 5 The complete set of authors may be found at http://polymer.github.io/AUTHORS.txt |
| 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt | 6 The complete set of contributors may be found at http://polymer.github.io/CONTRI
BUTORS.txt |
| 7 Code distributed by Google as part of the polymer project is also | 7 Code distributed by Google as part of the polymer project is also |
| 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt | 8 subject to an additional IP rights grant found at http://polymer.github.io/PATEN
TS.txt |
| 9 --> | 9 --> |
| 10 <html> | 10 <html> |
| 11 <head> | 11 <head> |
| 12 <title>disabled-state</title> | 12 <title>disabled-state</title> |
| 13 | 13 |
| 14 <script src="../../webcomponentsjs/webcomponents-lite.js"></script> | 14 <script src="../../webcomponentsjs/webcomponents-lite.js"></script> |
| 15 <script src="../../web-component-tester/browser.js"></script> | 15 <script src="../../web-component-tester/browser.js"></script> |
| 16 <script src="../../test-fixture/test-fixture-mocha.js"></script> | |
| 17 | |
| 18 <link rel="import" href="../../polymer/polymer.html"> | |
| 19 <link rel="import" href="../../test-fixture/test-fixture.html"> | |
| 20 <link rel="import" href="test-elements.html"> | 16 <link rel="import" href="test-elements.html"> |
| 21 </head> | 17 </head> |
| 22 <body> | 18 <body> |
| 23 | 19 |
| 24 <test-fixture id="TrivialDisabledState"> | 20 <test-fixture id="TrivialDisabledState"> |
| 25 <template> | 21 <template> |
| 26 <test-control></test-control> | 22 <test-control></test-control> |
| 27 </template> | 23 </template> |
| 28 </test-fixture> | 24 </test-fixture> |
| 29 | 25 |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 | 72 |
| 77 test('adds `aria-disabled` to the target', function() { | 73 test('adds `aria-disabled` to the target', function() { |
| 78 expect(disableTarget.getAttribute('aria-disabled')).to.be.eql('true'); | 74 expect(disableTarget.getAttribute('aria-disabled')).to.be.eql('true'); |
| 79 }); | 75 }); |
| 80 }); | 76 }); |
| 81 }); | 77 }); |
| 82 </script> | 78 </script> |
| 83 | 79 |
| 84 </body> | 80 </body> |
| 85 </html> | 81 </html> |
| OLD | NEW |