Bug Tracker

Custom Query (13852 matches)


Show under each result:

Results (13 - 15 of 13852)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#11760 notabug animate width of inline object in ie7 changes display to inline-block [email protected]

ie7 does not support inline-block

if you set zoom = 1 and display = inline it does the same as inline-block

it looks like this is taken care of on lines 8562-8567 but it doesn't work on ie7. It sets display to inline-block instead of setting zoom to 1

jquery.1.7.2.js line 8562 - 8567

if ( !jQuery.support.inlineBlockNeedsLayout || defaultDisplay( this.nodeName ) === "inline" )
  this.style.display = "inline-block";
  this.style.zoom = 1;

#11852 notabug Use context parameter in .load jaubourg anonymous

I know this is very trivial, but it is an enhancement never the less.

The .load function (ajax) assigns this to self on line 7159.

It would be better to use the context parameter of the $.ajax function as follows and then omitting the assignment to self.

        url: url,
        type: type,
        dataType: "html",
        data: params,
        context: this,
        // Complete callback (responseText is used internally)
        complete: function( jqXHR, status, responseText ) {
                // Store the response as specified by the jqXHR object
                responseText = jqXHR.responseText;
                // If successful, inject the HTML into all the matched elements
                if ( jqXHR.isResolved() ) {
                        // #4825: Get the actual response in case
                        // a dataFilter is present in ajaxSettings
                        jqXHR.done(function( r ) {
                                responseText = r;
                        // See if a selector was specified
                        // (Target element is this - coming from context)
                        this.html( selector ?
                                // Create a dummy div to hold the results
                                        // inject the contents of the document in, removing the scripts
                                        // to avoid any 'Permission Denied' errors in IE
                                        .append(responseText.replace(rscript, ""))

                                        // Locate the specified elements
                                        .find(selector) :

                                // If not, just inject the full result
                                responseText );

                if ( callback ) {
                        this.each( callback, [ responseText, status, jqXHR ] );

Patch: http://pastebin.com/A5cYSQKV

In case you are interested where this could have any relevance see this: http://stackoverflow.com/a/10864327/1238764

#11887 notabug Add an entry for $.cssNumber to the API docs BillyRayPreachersSon BillyRayPreachersSon

I think it would be worthwhile adding an entry for $.cssNumber to the API docs, alongside the existing entry for $.cssHooks.

At present, the only mention of it is right at the bottom of the entry for $.cssHooks, and so it's very easy to miss.

The main reason I think it might be a useful addition is for anyone wondering why setting the line-height style without a value does not give the same results as setting the font-size style without a value, e.g.:

        var size = 10;
        el.css({ fontSize:size, lineHeight:size });

Personally, I'd add it to both the "CSS" and "Mainpulation -> Style Properties" categories, as those would be the places I'd be looking if I had the aforementioned issue.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Note: See TracQuery for help on using queries.