aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/manipulation.js
diff options
context:
space:
mode:
authorMichał Gołębiowski <m.goleb@gmail.com>2013-08-27 00:54:13 +0200
committerMichał Gołębiowski <m.goleb@gmail.com>2013-09-06 03:38:22 +0200
commitbbbdd947256a3fcd788fb9d4f306046082a1ef1f (patch)
tree2fc5a02969653d281a44a7b3ff6426b5561c8140 /test/unit/manipulation.js
parent776012b8b3898fad2e0727880f1dc4af5c7b33c1 (diff)
downloadjquery-bbbdd947256a3fcd788fb9d4f306046082a1ef1f.tar.gz
jquery-bbbdd947256a3fcd788fb9d4f306046082a1ef1f.zip
Fix #10814. Make support tests lazy and broken out to components.
Diffstat (limited to 'test/unit/manipulation.js')
-rw-r--r--test/unit/manipulation.js12
1 files changed, 3 insertions, 9 deletions
diff --git a/test/unit/manipulation.js b/test/unit/manipulation.js
index 38d38a2b6..fae407751 100644
--- a/test/unit/manipulation.js
+++ b/test/unit/manipulation.js
@@ -1796,15 +1796,9 @@ test( "Cloned, detached HTML5 elems (#10667,10670)", function() {
// First clone
$clone = $section.clone();
- // Infer that the test is being run in IE<=8
- if ( $clone[ 0 ].outerHTML && !jQuery.support.opacity ) {
- // This branch tests cloning nodes by reading the outerHTML, used only in IE<=8
- equal( $clone[ 0 ].outerHTML, "<section></section>", "detached clone outerHTML matches '<section></section>'" );
- } else {
- // This branch tests a known behaviour in modern browsers that should never fail.
- // Included for expected test count symmetry (expecting 1)
- equal( $clone[ 0 ].nodeName, "SECTION", "detached clone nodeName matches 'SECTION' in modern browsers" );
- }
+ // This branch tests a known behaviour in modern browsers that should never fail.
+ // Included for expected test count symmetry (expecting 1)
+ equal( $clone[ 0 ].nodeName, "SECTION", "detached clone nodeName matches 'SECTION'" );
// Bind an event
$section.on( "click", function() {