Lines Matching refs:body
123 return !!(element && element === document.body);
174 var body = document.body;
177 overflow: body.style.overflow,
178 padding: body.style.padding ? body.style.padding : null,
179 paddingTop: body.style.paddingTop ? body.style.paddingTop : null,
180 paddingRight: body.style.paddingRight ? body.style.paddingRight : null,
181 paddingBottom: body.style.paddingBottom ? body.style.paddingBottom : null,
182 paddingLeft: body.style.paddingLeft ? body.style.paddingLeft : null
184 if (body.style.padding) {
185 body.style.padding = "0";
187 if (body.style.paddingTop) {
188 body.style.paddingTop = "0";
190 if (body.style.paddingRight) {
191 body.style.paddingRight = "0";
193 if (body.style.paddingBottom) {
194 body.style.paddingBottom = "0";
196 if (body.style.paddingLeft) {
197 body.style.paddingLeft = "0";
199 body.style.overflow = "hidden";
211 var body = document.body;
214 body.style.padding = backupBodyPadding.padding;
217 body.style.paddingTop = backupBodyPadding.paddingTop;
220 body.style.paddingRight = backupBodyPadding.paddingRight;
223 body.style.paddingBottom = backupBodyPadding.paddingBottom;
226 body.style.paddingLeft = backupBodyPadding.paddingLeft;
228 body.style.overflow = backupBodyPadding.overflow;
314 var element = document.body;