( name, doc )
| 6440 | |
| 6441 | // Called only from within defaultDisplay |
| 6442 | function actualDisplay( name, doc ) { |
| 6443 | var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), |
| 6444 | |
| 6445 | display = jQuery.css( elem[ 0 ], "display" ); |
| 6446 | |
| 6447 | // We don't have any data stored on the element, |
| 6448 | // so use "detach" method as fast way to get rid of the element |
| 6449 | elem.detach(); |
| 6450 | |
| 6451 | return display; |
| 6452 | } |
| 6453 | |
| 6454 | /** |
| 6455 | * Try to determine the default display value of an element |
no test coverage detected