Commit Graph

19 Commits

Author SHA1 Message Date
John Resig
e3463946e1 Make sure that non-px values aren't manipulated before input to height/width. 2010-09-21 17:12:42 -04:00
jeresig
37b607d281 Split apart jQuery.css into jQuery.css (computed values) and jQuery.style (currently set values). 2010-09-16 10:00:56 -04:00
jeresig
ebaf374f2a Add .css(Function) incoming value tests. 2010-01-07 13:52:20 -05:00
jeresig
0bb4fd0af7 No need for the try/finally logic in the css tests, won't even work as expected. 2010-01-07 13:44:53 -05:00
jeresig
1ea539b4f0 Add some extra tests to make sure we can get the value of hyphenated CSS properties, for #3732. 2009-12-22 11:54:54 -05:00
jeresig
de65985933 Make sure that some height/width is set for the nothiddendiv before checking. 2009-12-16 17:08:10 -05:00
John Resig
4e9fed3b16 Made sure that css('width') and height returned string values, not numerical values. Fixes #5627. 2009-12-09 20:51:58 -08:00
jeresig
aae0617c83 Made sure that css() in IE handles negative non-px values correctly. Fixes #3331. 2009-12-05 15:12:02 -05:00
jeresig
8a33a855b5 Tweaked a CSS test to handle differences in font-size % support in browsers. 2009-12-03 12:34:27 -05:00
Yehuda Katz
64e4a879f9 Fix css("opacity") to not clobber other filters in IE. Closes #4707. 2009-12-01 11:40:28 -08:00
John Resig
449e099b97 Landing tweak from 'haruka' that fixes non-pixel fontSize values in IE. Fixes #760. 2009-11-11 14:17:16 -05:00
Yehuda Katz
7cfec99858 Uses the more stable font-size as a sentinel 2009-07-13 21:50:58 +00:00
Yehuda Katz
c0802e5d21 Test Tweak to normalize the CSS results across browsers 2009-07-13 19:48:08 +00:00
Yehuda Katz
4ae7234736 Updates css() tests to use hex rather than color names 2009-07-13 19:24:23 +00:00
Yehuda Katz
e8eff25f3b Added test for css(String, Function) and css(Object) where values are Functions; fixed css(Object) 2009-07-12 18:31:26 +00:00
Brandon Aaron
ec3ebd3e8a opacity is now retrieved from stylesheet in IE. fixes #3981 2009-05-14 14:44:31 +00:00
Brandon Aaron
6a049246a1 fix for #4216. css now ignores negative numbers for width and height when passed an object of props and vals. 2009-04-22 05:23:53 +00:00
John Resig
4130319e97 Added explicit module names to the new unit tests. 2009-04-20 17:05:18 +00:00
Brandon Aaron
d7d908b05a decoupling styles retrieval from the attr method 2009-03-22 23:25:03 +00:00