( name, doc )
| 6700 | |
| 6701 | // Called only from within defaultDisplay |
| 6702 | function actualDisplay( name, doc ) { |
| 6703 | var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), |
| 6704 | |
| 6705 | display = jQuery.css( elem[ 0 ], "display" ); |
| 6706 | |
| 6707 | // We don't have any data stored on the element, |
| 6708 | // so use "detach" method as fast way to get rid of the element |
| 6709 | elem.detach(); |
| 6710 | |
| 6711 | return display; |
| 6712 | } |
| 6713 | |
| 6714 | /** |
| 6715 | * Try to determine the default display value of an element |
no test coverage detected