Skip to content

Commit bc9e573

Browse files
committed
Tests: make top of the HTML suite compliant with style guide
See http://contribute.jquery.org/style-guide/html/ (cherry-picked from 8356281) Closes gh-2098
1 parent 9368a8c commit bc9e573

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

test/index.html

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,20 @@
1-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr" id="html">
1+
<!doctype html>
2+
<html lang="en" id="html">
33
<head>
4-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
5-
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
4+
<meta charset="utf-8">
65
<title>jQuery Test Suite</title>
7-
<link rel="Stylesheet" media="screen" href="../external/qunit/qunit.css" />
8-
<link rel="Stylesheet" media="screen" href="data/testsuite.css" />
9-
<!-- Includes -->
6+
<link rel="stylesheet" href="../external/qunit/qunit.css" />
7+
<link rel="stylesheet" href="data/testsuite.css" />
108

119
<!--
12-
We have to use previous jQuery to ensure testability with
10+
We have to use previous jQuery as helper to ensure testability with
1311
ajax-free builds (and non-interference when changing ajax internals)
1412
-->
1513
<script src="data/jquery-1.9.1.js"></script>
1614

1715
<script src="../external/qunit/qunit.js"></script>
1816
<script src="../external/requirejs/require.js"></script>
1917
<script src="../external/sinon/fake_timers.js"></script>
20-
<script src="../external/sinon/timers_ie.js"></script>
2118
<!-- See testinit for the list of tests -->
2219
<script src="data/testinit.js"></script>
2320

@@ -28,13 +25,6 @@
2825
<script src="jquery.js"></script>
2926

3027
<script>
31-
// html5shiv, enabling HTML5 elements to be used with jQuery
32-
( "abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup " +
33-
"mark meter nav output progress section summary time video"
34-
).replace(/\w+/g, function(n) {
35-
document.createElement(n);
36-
});
37-
3828
// Load tests if they have not been loaded
3929
// This is in a different script tag to ensure that
4030
// jQuery is on the page when the testrunner executes

0 commit comments

Comments
 (0)