Skip to content

Commit e7cf04b

Browse files
intellixpetebacondarwin
authored andcommitted
docs(angular.element): css() method does not retrieve computed styles
The jQuery css() getter functionality utilises getComputedStyle() whereas jqLite only retrieves what is declared inline on an element. Closes angular#7599
1 parent 607f016 commit e7cf04b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/jqLite.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
* - [`children()`](http://api.jquery.com/children/) - Does not support selectors
4545
* - [`clone()`](http://api.jquery.com/clone/)
4646
* - [`contents()`](http://api.jquery.com/contents/)
47-
* - [`css()`](http://api.jquery.com/css/)
47+
* - [`css()`](http://api.jquery.com/css/) - Only retrieves inline-styles, does not call `getComputedStyles()`
4848
* - [`data()`](http://api.jquery.com/data/)
4949
* - [`detach()`](http://api.jquery.com/detach/)
5050
* - [`empty()`](http://api.jquery.com/empty/)

0 commit comments

Comments
 (0)