(element)
| 3269 | // of Element.extend that acts like Prototype.K _except_ when the element |
| 3270 | // is one of the problematic types. |
| 3271 | function extend_IE8(element) { |
| 3272 | if (!element || elementIsExtended(element)) return element; |
| 3273 | |
| 3274 | var t = element.tagName; |
| 3275 | if (t && (/^(?:object|applet|embed)$/i.test(t))) { |
| 3276 | extendElementWith(element, Element.Methods); |
| 3277 | extendElementWith(element, Element.Methods.Simulated); |
| 3278 | extendElementWith(element, Element.Methods.ByTag[t.toUpperCase()]); |
| 3279 | } |
| 3280 | |
| 3281 | return element; |
| 3282 | } |
| 3283 | |
| 3284 | // If the browser lets us extend specific elements, we can replace `extend` |
| 3285 | // with a thinner version (or, ideally, an empty version). |
nothing calls this directly
no test coverage detected