Sounds reasonable. You should file a bug with this information attached: http://dev.jquery.com/newticket
--John On Wed, Mar 4, 2009 at 6:21 PM, Daniel Friesen <[email protected]> wrote: > > I just did a little check after noticing something while developing. But > .css('margin'); and .css('padding'); are fairly inconsistent, could be > considered buggy even. > Issue is present in both 1.3.2 and 1.2.6 > > Test case uploaded to: > http://test.4query.org/combined-css/ > > I've tested in Firefox3, Midori (WebKit browser), and Opera 9.64, test > case output for them: > Firefox: http://test.4query.org/combined-css/firefox.html > Midori: http://test.4query.org/combined-css/midori.txt > Opera: http://test.4query.org/combined-css/opera.txt > > Firefox outputs "t r b l" form whenever it has the data, while midori > and opera output the shortened combined value form. > Firefox and Midori both do not report margin/padding when defined in a > style tag instead of on .style; However they do report marginLeft (style > was defined like #a { margin: ...; }) > Opera is the only one that reports margin/padding when defined in a > style tag. > > If it's something we want to fix, it should be easy to handle by mapping > margin/padding or whatever combined formats to queries for the four trbl > values and combine them together. > > -- > ~Daniel Friesen (Dantman, Nadir-Seen-Fire) [http://nadir-seen-fire.com] > -Nadir-Point & Wiki-Tools (http://nadir-point.com) (http://wiki-tools.com) > -MonkeyScript (http://monkeyscript.org) > -Animepedia (http://anime.wikia.com) > -Narutopedia (http://naruto.wikia.com) > -Soul Eater Wiki (http://souleater.wikia.com) > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
