fix(linear_progress): Add aria, tests and better animations

This set of changes adds expected progress-bar aria attributes. It also
adds a small unit test suite. Finally, the animations have been
converted to transforms in order to engage hardware acceleration,
particularly on mobile devices.

Fixes #297
Oops. Well, that should have been obvious ;) I'll get that in there.
As far as max value, it's written under the assumption that the value range
is 0 -100. No arbitrary values. I think that if we get a use case for that
from the community, maybe we can address it then. Thoughts?

On Mon, Sep 29, 2014 at 4:47 PM, Marcy Sutton <notifications@github.com>
wrote:

> In src/components/linearProgress/linearProgress.js:
>
> > @@ -47,22 +47,38 @@ function MaterialLinearProgressDirective($timeout) {
> >        '<div class="bar bar1"></div>' +
> >        '<div class="bar bar2"></div>' +
> >        '</div>',
> > -    link: function(scope, element, attr) {
> > -      var bar1 = angular.element(element[0].querySelector('.bar1')),
> > -          bar2 = angular.element(element[0].querySelector('.bar2')),
> > -          container = angular.element(element[0].querySelector('.container'));
> > +    compile: function compile(tElement, tAttrs, transclude) {
> > +      tElement.attr('aria-valuemin', 0);
>
> Also needs role="progressbar"
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/angular/material/pull/339/files#r18182174>.
>



-- 
Rob Eisenberg,
President - Blue Spire
www.durandaljs.com