Home | History | Annotate | Download | only in jquery

Lines Matching refs:margin

5536 var rmargin = (/^margin/);
5635 container.style.cssText = "border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;" +
5646 "box-sizing:border-box;display:block;margin-top:1%;top:1%;" +
5679 // Check if div with explicit width and no margin-right incorrectly
5680 // gets computed margin-right based on width of container. (#3333)
5681 // WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
5686 // Reset CSS: box-sizing; display; margin; border; padding
5691 "box-sizing:content-box;display:block;margin:0;border:0;padding:0";
5786 // Both box models exclude margin, so add it if we want it
5787 if ( extra === "margin" ) {
5797 // At this point, extra isn't border nor margin, so remove border
5798 if ( extra !== "margin" ) {
6086 margin: "",
6344 attrs[ "margin" + which ] = attrs[ "padding" + which ] = type;
9107 // Margin is only for outerHeight, outerWidth
9108 jQuery.fn[ funcName ] = function( margin, value ) {
9109 var chainable = arguments.length && ( defaultExtra || typeof margin !== "boolean" ),
9110 extra = defaultExtra || ( margin === true || value === true ? "margin" : "border" );
9141 }, type, chainable ? margin : undefined, chainable, null );