Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 029ac8c

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 #7599
1 parent 45b896a commit 029ac8c

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
@@ -43,7 +43,7 @@
4343
* - [`children()`](http://api.jquery.com/children/) - Does not support selectors
4444
* - [`clone()`](http://api.jquery.com/clone/)
4545
* - [`contents()`](http://api.jquery.com/contents/)
46-
* - [`css()`](http://api.jquery.com/css/)
46+
* - [`css()`](http://api.jquery.com/css/) - Only retrieves inline-styles, does not call `getComputedStyles()`
4747
* - [`data()`](http://api.jquery.com/data/)
4848
* - [`empty()`](http://api.jquery.com/empty/)
4949
* - [`eq()`](http://api.jquery.com/eq/)

0 commit comments

Comments
 (0)