Commit bc9e5736 authored by Oleg Gaidarenko's avatar Oleg Gaidarenko

Tests: make top of the HTML suite compliant with style guide

See http://contribute.jquery.org/style-guide/html/

(cherry-picked from 8356281bed643bb3d56ad02f52580a0e20dc0237)
Closes gh-2098
parent 9368a8cd
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr" id="html">
<!doctype html>
<html lang="en" id="html">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<meta charset="utf-8">
<title>jQuery Test Suite</title>
<link rel="Stylesheet" media="screen" href="../external/qunit/qunit.css" />
<link rel="Stylesheet" media="screen" href="data/testsuite.css" />
<!-- Includes -->
<link rel="stylesheet" href="../external/qunit/qunit.css" />
<link rel="stylesheet" href="data/testsuite.css" />
<!--
We have to use previous jQuery to ensure testability with
We have to use previous jQuery as helper to ensure testability with
ajax-free builds (and non-interference when changing ajax internals)
-->
<script src="data/jquery-1.9.1.js"></script>
......@@ -17,7 +15,6 @@
<script src="../external/qunit/qunit.js"></script>
<script src="../external/requirejs/require.js"></script>
<script src="../external/sinon/fake_timers.js"></script>
<script src="../external/sinon/timers_ie.js"></script>
<!-- See testinit for the list of tests -->
<script src="data/testinit.js"></script>
......@@ -28,13 +25,6 @@
<script src="jquery.js"></script>
<script>
// html5shiv, enabling HTML5 elements to be used with jQuery
( "abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup " +
"mark meter nav output progress section summary time video"
).replace(/\w+/g, function(n) {
document.createElement(n);
});
// Load tests if they have not been loaded
// This is in a different script tag to ensure that
// jQuery is on the page when the testrunner executes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment