diff options
author | Richard Gibson <richard.gibson@gmail.com> | 2013-02-18 23:52:29 -0500 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-02-22 20:13:36 -0500 |
commit | 59f5adb622dd6bc3419bbaa9cc2d4acd7a0b08b9 (patch) | |
tree | 721e7b0e1b7222379d24acf648707d3f4d68fdac /test/unit/dimensions.js | |
parent | 9338a69e307c0051ef50d6365c5f45872a9d7ef7 (diff) | |
download | jquery-59f5adb622dd6bc3419bbaa9cc2d4acd7a0b08b9.tar.gz jquery-59f5adb622dd6bc3419bbaa9cc2d4acd7a0b08b9.zip |
No ticket: Revise unit tests in anticipation of Sizzle-free builds
Diffstat (limited to 'test/unit/dimensions.js')
-rw-r--r-- | test/unit/dimensions.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/dimensions.js b/test/unit/dimensions.js index 680b08320..64094c2e5 100644 --- a/test/unit/dimensions.js +++ b/test/unit/dimensions.js @@ -296,8 +296,8 @@ test("getting dimensions shouldnt modify runtimeStyle see #9233", function() { test( "table dimensions", 2, function() { var table = jQuery("<table><colgroup><col/><col/></colgroup><tbody><tr><td></td><td>a</td></tr><tr><td></td><td>a</td></tr></tbody></table>").appendTo("#qunit-fixture"), - tdElem = table.find("tr:eq(0) td:eq(0)"), - colElem = table.find("col:eq(1)").width( 300 ); + tdElem = table.find("td").first(), + colElem = table.find("col").first().width( 300 ); table.find("td").css({ "margin": 0, "padding": 0 }); |