From 17451fc593a60aeaa535749b114cf1750d065242 Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 16 Apr 2015 22:33:16 +1200 Subject: [PATCH] docs(angular.element): css() api incompatibility. "When a number is passed as the value, jQuery will convert it to a string and add px to the end of that string." http://api.jquery.com/css/#css2 jqLite does not appear to do this. I can submit if fix desired. --- src/jqLite.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jqLite.js b/src/jqLite.js index a59b5d992803..9dd8c9203e65 100644 --- a/src/jqLite.js +++ b/src/jqLite.js @@ -55,7 +55,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/) - Only retrieves inline-styles, does not call `getComputedStyle()` + * - [`css()`](http://api.jquery.com/css/) - Only retrieves inline-styles, does not call `getComputedStyle()`. On write, does not convert numbers to strings and append 'px'. * - [`data()`](http://api.jquery.com/data/) * - [`detach()`](http://api.jquery.com/detach/) * - [`empty()`](http://api.jquery.com/empty/)