From e18cad6f88c7b3151722d5b58616badbea75ddf6 Mon Sep 17 00:00:00 2001 From: timmywil Date: Thu, 4 Aug 2011 18:56:49 -0400 Subject: [PATCH] Add test page for crashing IE8 when the testElement in support has a background (will run from the test suite). Supplements #9823. --- test/data/support/testElementCrash.html | 19 +++++++++++++++++++ test/unit/support.js | 5 +++++ 2 files changed, 24 insertions(+) create mode 100644 test/data/support/testElementCrash.html diff --git a/test/data/support/testElementCrash.html b/test/data/support/testElementCrash.html new file mode 100644 index 000000000..db2c45500 --- /dev/null +++ b/test/data/support/testElementCrash.html @@ -0,0 +1,19 @@ + + + + + + + + + + + + + diff --git a/test/unit/support.js b/test/unit/support.js index b87e0919f..4733b2529 100644 --- a/test/unit/support.js +++ b/test/unit/support.js @@ -53,3 +53,8 @@ supportIFrameTest( "body background is not lost if set prior to loading jQuery ( } ok( passed, "Same support properties" ); }); + +supportIFrameTest( "A background on the testElement does not cause IE8 to crash (#9823)", "testElementCrash", function() { + expect(1); + ok( true, "IE8 does not crash" ); +}); -- 2.39.5