From c110dc4977507770f084a5deaf57c8d433580c12 Mon Sep 17 00:00:00 2001 From: Wesley Cho Date: Sat, 11 Jun 2016 07:10:34 -0700 Subject: [PATCH] docs(guide): add note about value attribute - Add note about value attribute for the progress tag with IE --- docs/content/guide/ie.ngdoc | 11 +++++++++-- docs/content/guide/interpolation.ngdoc | 2 +- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/content/guide/ie.ngdoc b/docs/content/guide/ie.ngdoc index 6a7b2920eb3d..afe35b7ee4d0 100644 --- a/docs/content/guide/ie.ngdoc +++ b/docs/content/guide/ie.ngdoc @@ -29,6 +29,13 @@ To ensure your Angular application works on IE please consider: 1. Use `ng-style` tags instead of `style="{{ someCss }}"`. The latter works in Chrome and Firefox but does not work in Internet Explorer <= 11 (the most recent version at time of writing). -2. For the `type` attribute of buttons, use `ng-attr-type` tags instead of - `type="{{ someExpression }}"`. If using the latter, Internet Explorer overwrites the expression +2. For the `type` attribute of buttons, use `ng-attr-type` tags instead of + `type="{{ someExpression }}"`. If using the latter, Internet Explorer overwrites the expression with `type="submit"` before Angular has a chance to interpolate it. +3. For the `value` attribute of progress, use `ng-attr-value` tags instead of + `value="{{ someExpression}}"`. If using the latter, Internet Explorer overwrites the expression + with `value="0"` before Angular has a chance to interpolate it. +4. For the `placeholder` attribute of textarea, use `ng-attr-placeholder` tags instead + of `placeholder="{{ someExpression }}"`. If using the latter, Internet Explorer will error + on accessing the `nodeValue` on a parentless `TextNode` in Internet Explorer 10 & 11 + (see [issue 5025](https://github.com/angular/angular.js/issues/5025)). diff --git a/docs/content/guide/interpolation.ngdoc b/docs/content/guide/interpolation.ngdoc index 6cb52f71273f..f1d07df1ca69 100644 --- a/docs/content/guide/interpolation.ngdoc +++ b/docs/content/guide/interpolation.ngdoc @@ -104,7 +104,7 @@ can be used with `ngAttr` instead. The following is a list of known problematic - **size** in `