From e7cf04bad33bd86ce5508069abff7023bff40097 Mon Sep 17 00:00:00 2001 From: Dominic Watson Date: Tue, 27 May 2014 11:47:27 +0200 Subject: [PATCH] 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 --- src/jqLite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jqLite.js b/src/jqLite.js index 67b06023..b199f390 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -44,7 +44,7 @@ * - [`children()`](http://api.jquery.com/children/) - Does not support selectors * - [`clone()`](http://api.jquery.com/clone/) * - [`contents()`](http://api.jquery.com/contents/) - * - [`css()`](http://api.jquery.com/css/) + * - [`css()`](http://api.jquery.com/css/) - Only retrieves inline-styles, does not call `getComputedStyles()` * - [`data()`](http://api.jquery.com/data/) * - [`detach()`](http://api.jquery.com/detach/) * - [`empty()`](http://api.jquery.com/empty/)