( name, doc )
| 5585 | |
| 5586 | // Called only from within defaultDisplay |
| 5587 | function actualDisplay( name, doc ) { |
| 5588 | var elem = jQuery( doc.createElement( name ) ).appendTo( doc.body ), |
| 5589 | |
| 5590 | display = jQuery.css( elem[ 0 ], "display" ); |
| 5591 | |
| 5592 | // We don't have any data stored on the element, |
| 5593 | // so use "detach" method as fast way to get rid of the element |
| 5594 | elem.detach(); |
| 5595 | |
| 5596 | return display; |
| 5597 | } |
| 5598 | |
| 5599 | /** |
| 5600 | * Try to determine the default display value of an element |
no test coverage detected