I couldn't find a bug for this general issue... although I did find a similar bug but that was for show() and table elements. I do not have a demo page, but this page would work:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/ TR/html4/strict.dtd"> <html lang="en"> <head> <meta http-equiv="Content-Script-Type" content="text/javascript"> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv="Content-Style-Type" content="text/css"> <script src="http://jqueryjs.googlecode.com/files/jquery-1.3.2.js" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ console.log($('<span/>').css('display')); // outputs 'block', should be 'inline' console.log($('<div/>').addClass('inline').css('display')); // outputs 'block', should be 'inline' }); </script> <style> .inline { display: inline; } </style> </head> <body> </body> </html> On Mar 2, 5:19 pm, John Resig <[email protected]> wrote: > You linked to some code snippets but do you have a demo page online > anywhere? And is there a bug filed related to this topic? > > --John > > On Mon, Mar 2, 2009 at 11:45 AM, sliver <[email protected]> wrote: > > > Posting a link to this thread here for possible bug in 1.3.2? > > >http://groups.google.com/group/jquery-en/browse_thread/thread/b1e5b33... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
