aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2018-09-19 10:41:16 +0300
committerXhmikosR <[email protected]>2018-10-08 20:12:34 +0300
commitbfc052ad5a6854363cb40c8b9bdd55c35b151321 (patch)
tree98a7cd55ede5a09b7904403829753bcf03bf5992 /js
parent08529515e5031142b072289e118230e25628728b (diff)
downloadbootstrap-bfc052ad5a6854363cb40c8b9bdd55c35b151321.tar.xz
bootstrap-bfc052ad5a6854363cb40c8b9bdd55c35b151321.zip
Fix HTML validation errors and lint tests too.
Diffstat (limited to 'js')
-rw-r--r--js/tests/index.html2
-rw-r--r--js/tests/visual/affix-with-sticky-footer.html2
-rw-r--r--js/tests/visual/affix.html2
-rw-r--r--js/tests/visual/alert.html2
-rw-r--r--js/tests/visual/button.html2
-rw-r--r--js/tests/visual/carousel.html2
-rw-r--r--js/tests/visual/collapse.html6
-rw-r--r--js/tests/visual/dropdown.html4
-rw-r--r--js/tests/visual/modal.html4
-rw-r--r--js/tests/visual/popover.html2
-rw-r--r--js/tests/visual/scrollspy.html5
-rw-r--r--js/tests/visual/tab.html2
-rw-r--r--js/tests/visual/tooltip.html2
13 files changed, 18 insertions, 19 deletions
diff --git a/js/tests/index.html b/js/tests/index.html
index 987f52ab6..3234dc7a8 100644
--- a/js/tests/index.html
+++ b/js/tests/index.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<title>Bootstrap Plugin Test Suite</title>
diff --git a/js/tests/visual/affix-with-sticky-footer.html b/js/tests/visual/affix-with-sticky-footer.html
index da94d022d..693ff2bd1 100644
--- a/js/tests/visual/affix-with-sticky-footer.html
+++ b/js/tests/visual/affix-with-sticky-footer.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
diff --git a/js/tests/visual/affix.html b/js/tests/visual/affix.html
index 630044fa4..c4de977f4 100644
--- a/js/tests/visual/affix.html
+++ b/js/tests/visual/affix.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
diff --git a/js/tests/visual/alert.html b/js/tests/visual/alert.html
index 525dc2ba4..01d899721 100644
--- a/js/tests/visual/alert.html
+++ b/js/tests/visual/alert.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
diff --git a/js/tests/visual/button.html b/js/tests/visual/button.html
index 51f853429..7e5c377f3 100644
--- a/js/tests/visual/button.html
+++ b/js/tests/visual/button.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
diff --git a/js/tests/visual/carousel.html b/js/tests/visual/carousel.html
index 93e1d9b6d..59eec06cf 100644
--- a/js/tests/visual/carousel.html
+++ b/js/tests/visual/carousel.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
diff --git a/js/tests/visual/collapse.html b/js/tests/visual/collapse.html
index 748f54a7c..951c9747d 100644
--- a/js/tests/visual/collapse.html
+++ b/js/tests/visual/collapse.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -70,9 +70,9 @@
Collapse with an XSS
</button>
- <button class="btn" data-toggle="collapse" data-parent="<img src=1 onerror=\'alert(0)\'>" href="#collapseThree">
+ <a role="button" class="btn btn-primary" data-toggle="collapse" data-parent="<img src=1 onerror=\'alert(0)\'>" href="#collapseThree">
Collapse with an XSS in data-parent
- </button>
+ </a>
</div>
<!-- JavaScript Includes -->
diff --git a/js/tests/visual/dropdown.html b/js/tests/visual/dropdown.html
index 53c0ee3ea..7fce8375a 100644
--- a/js/tests/visual/dropdown.html
+++ b/js/tests/visual/dropdown.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -22,7 +22,7 @@
<h1>Dropdown <small>Bootstrap Visual Test</small></h1>
</div>
- <nav id="navbar-example" class="navbar navbar-default navbar-static" role="navigation">
+ <nav id="navbar-example" class="navbar navbar-default navbar-static">
<div class="container-fluid">
<div class="navbar-header">
<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".bs-example-js-navbar-collapse">
diff --git a/js/tests/visual/modal.html b/js/tests/visual/modal.html
index ac2bdc448..947d61c34 100644
--- a/js/tests/visual/modal.html
+++ b/js/tests/visual/modal.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -182,7 +182,7 @@ function reportFirefoxTestResult(result) {
if (!firefoxTestDone) {
$('#ff-bug-test-result')
.addClass(result ? 'text-success' : 'text-danger')
- .text(result ? 'PASS' : 'FAIL')
+ .text(result ? 'PASS' : 'FAIL')
}
firefoxTestDone = true
}
diff --git a/js/tests/visual/popover.html b/js/tests/visual/popover.html
index c2ad92255..1bca49966 100644
--- a/js/tests/visual/popover.html
+++ b/js/tests/visual/popover.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
diff --git a/js/tests/visual/scrollspy.html b/js/tests/visual/scrollspy.html
index bc801ba9c..6dfa1e11c 100644
--- a/js/tests/visual/scrollspy.html
+++ b/js/tests/visual/scrollspy.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -22,7 +22,7 @@
<div class="container">
- <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
+ <nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button class="navbar-toggle collapsed" type="button" data-toggle="collapse" data-target=".js-navbar-scrollspy">
@@ -94,7 +94,6 @@
<p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p>
<p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p>
<p>Ad leggings keytar, brunch id art party dolor labore. Pitchfork yr enim lo-fi before they sold out qui. Tumblr farm-to-table bicycle rights whatever. Anim keffiyeh carles cardigan. Velit seitan mcsweeney's photo booth 3 wolf moon irure. Cosby sweater lomo jean shorts, williamsburg hoodie minim qui you probably haven't heard of them et cardigan trust fund culpa biodiesel wes anderson aesthetic. Nihil tattooed accusamus, cred irony biodiesel keffiyeh artisan ullamco consequat.</p>
- </p>
</div>
diff --git a/js/tests/visual/tab.html b/js/tests/visual/tab.html
index 3b6b97f5e..0476e28be 100644
--- a/js/tests/visual/tab.html
+++ b/js/tests/visual/tab.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
diff --git a/js/tests/visual/tooltip.html b/js/tests/visual/tooltip.html
index e3d6ab8d2..38fe59b27 100644
--- a/js/tests/visual/tooltip.html
+++ b/js/tests/visual/tooltip.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
-<html>
+<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">