mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 17:14:58 -05:00
Tests: make top of the HTML suite compliant with style guide
See http://contribute.jquery.org/style-guide/html/
(cherry-picked from 8356281bed)
Closes gh-2098
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
<!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
|
||||
|
||||
Reference in New Issue
Block a user