Skip to content

Commit

Permalink
Remove IE8 support (wikimedia#394)
Browse files Browse the repository at this point in the history
Removing html5shiv and bump browserlist.

Bug: [T258997](https://phabricator.wikimedia.org/T258997)
  • Loading branch information
Volker-E authored Jul 28, 2020
1 parent 2c1dea7 commit ed07dd1
Show file tree
Hide file tree
Showing 24 changed files with 1 addition and 93 deletions.
4 changes: 0 additions & 4 deletions components/button-groups.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="../js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="../fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="../js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions components/buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="../js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="../fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="../js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions components/checkboxes.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="../js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="../fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="../js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions components/comboboxes.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="../js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="../fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="../js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions components/dropdowns.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="../js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="../fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="../js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions components/file-inputs.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="../js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="../fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="../js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions components/links.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="../js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="../fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="../js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions components/messages.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="../js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="../fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="../js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions components/number-inputs.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="../js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="../fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="../js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions components/radio-buttons.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="../js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="../fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="../js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions components/text-inputs-and-textarea.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="../js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="../fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="../js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions components/toggle-switches.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="../js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="../fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="../js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions design-principles.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions design-principles_accessibility.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions js/vendor/ie/html5shiv-3.7.3.min.js

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"Chrome >= 12",
"Edge >= 12",
"Firefox >= 3.6",
"IE >= 8",
"IE >= 9",
"iOS >= 7.1",
"Opera >= 12.10",
"Safari >= 5.1"
Expand Down
4 changes: 0 additions & 4 deletions resources.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions visual-style.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="js/wikimedia-design-style-guide.min.js" async></script>
Expand Down
4 changes: 0 additions & 4 deletions visual-style_colors.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions visual-style_icons.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions visual-style_illustrations.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions visual-style_images.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="js/matomo-tracking.min.js"></script>
Expand Down
4 changes: 0 additions & 4 deletions visual-style_typography.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
<script>
document.documentElement.className = document.documentElement.className.replace(/\bjs--off\b/,'js--on');
</script>
<!--[if lt IE 9]>
<script>window.html5={'shivCSS':false};</script>
<script src="js/vendor/ie/html5shiv-3.7.3.min.js"></script>
<![endif]-->
<link rel="dns-prefetch" href="https://piwik.wikimedia.org/">
<link rel="preload" href="fonts/Charter_regular.woff2" as="font" type="font/woff2" crossorigin>
<script src="js/matomo-tracking.min.js"></script>
Expand Down

0 comments on commit ed07dd1

Please sign in to comment.