From ed07dd1a3cd34cfe667aa1c8c497412f239ec585 Mon Sep 17 00:00:00 2001 From: Volker E Date: Tue, 28 Jul 2020 17:57:35 +0200 Subject: [PATCH] Remove IE8 support (#394) Removing html5shiv and bump browserlist. Bug: [T258997](https://phabricator.wikimedia.org/T258997) --- components/button-groups.html | 4 ---- components/buttons.html | 4 ---- components/checkboxes.html | 4 ---- components/comboboxes.html | 4 ---- components/dropdowns.html | 4 ---- components/file-inputs.html | 4 ---- components/links.html | 4 ---- components/messages.html | 4 ---- components/number-inputs.html | 4 ---- components/radio-buttons.html | 4 ---- components/text-inputs-and-textarea.html | 4 ---- components/toggle-switches.html | 4 ---- design-principles.html | 4 ---- design-principles_accessibility.html | 4 ---- index.html | 4 ---- js/vendor/ie/html5shiv-3.7.3.min.js | 4 ---- package.json | 2 +- resources.html | 4 ---- visual-style.html | 4 ---- visual-style_colors.html | 4 ---- visual-style_icons.html | 4 ---- visual-style_illustrations.html | 4 ---- visual-style_images.html | 4 ---- visual-style_typography.html | 4 ---- 24 files changed, 1 insertion(+), 93 deletions(-) delete mode 100644 js/vendor/ie/html5shiv-3.7.3.min.js diff --git a/components/button-groups.html b/components/button-groups.html index fef2b0c0..2271a244 100644 --- a/components/button-groups.html +++ b/components/button-groups.html @@ -12,10 +12,6 @@ - diff --git a/components/buttons.html b/components/buttons.html index 15315272..a5984a51 100644 --- a/components/buttons.html +++ b/components/buttons.html @@ -12,10 +12,6 @@ - diff --git a/components/checkboxes.html b/components/checkboxes.html index 8ad672a8..e4ff9f1f 100644 --- a/components/checkboxes.html +++ b/components/checkboxes.html @@ -12,10 +12,6 @@ - diff --git a/components/comboboxes.html b/components/comboboxes.html index 65a9e749..52f49984 100644 --- a/components/comboboxes.html +++ b/components/comboboxes.html @@ -12,10 +12,6 @@ - diff --git a/components/dropdowns.html b/components/dropdowns.html index a7583a07..abf16b8a 100644 --- a/components/dropdowns.html +++ b/components/dropdowns.html @@ -12,10 +12,6 @@ - diff --git a/components/file-inputs.html b/components/file-inputs.html index 70d993ae..c4a1eef6 100644 --- a/components/file-inputs.html +++ b/components/file-inputs.html @@ -12,10 +12,6 @@ - diff --git a/components/links.html b/components/links.html index ed31003e..14036076 100644 --- a/components/links.html +++ b/components/links.html @@ -12,10 +12,6 @@ - diff --git a/components/messages.html b/components/messages.html index 5d194e64..47ee2660 100644 --- a/components/messages.html +++ b/components/messages.html @@ -12,10 +12,6 @@ - diff --git a/components/number-inputs.html b/components/number-inputs.html index 6388c585..43c67718 100644 --- a/components/number-inputs.html +++ b/components/number-inputs.html @@ -12,10 +12,6 @@ - diff --git a/components/radio-buttons.html b/components/radio-buttons.html index c22c01ed..f57f80d4 100644 --- a/components/radio-buttons.html +++ b/components/radio-buttons.html @@ -12,10 +12,6 @@ - diff --git a/components/text-inputs-and-textarea.html b/components/text-inputs-and-textarea.html index c6447a0a..f4218280 100644 --- a/components/text-inputs-and-textarea.html +++ b/components/text-inputs-and-textarea.html @@ -12,10 +12,6 @@ - diff --git a/components/toggle-switches.html b/components/toggle-switches.html index 2b8a0772..749fa15f 100644 --- a/components/toggle-switches.html +++ b/components/toggle-switches.html @@ -12,10 +12,6 @@ - diff --git a/design-principles.html b/design-principles.html index afa924a0..d5c843bb 100644 --- a/design-principles.html +++ b/design-principles.html @@ -12,10 +12,6 @@ - diff --git a/design-principles_accessibility.html b/design-principles_accessibility.html index 2605d727..087e6ebf 100644 --- a/design-principles_accessibility.html +++ b/design-principles_accessibility.html @@ -12,10 +12,6 @@ - diff --git a/index.html b/index.html index dedbebda..868007b4 100644 --- a/index.html +++ b/index.html @@ -12,10 +12,6 @@ - diff --git a/js/vendor/ie/html5shiv-3.7.3.min.js b/js/vendor/ie/html5shiv-3.7.3.min.js deleted file mode 100644 index 1a01c94b..00000000 --- a/js/vendor/ie/html5shiv-3.7.3.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/** -* @preserve HTML5 Shiv 3.7.3 | @afarkas @jdalton @jon_neal @rem | MIT/GPL2 Licensed -*/ -!function(a,b){function c(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x",d.insertBefore(c.lastChild,d.firstChild)}function d(){var a=t.elements;return"string"==typeof a?a.split(" "):a}function e(a,b){var c=t.elements;"string"!=typeof c&&(c=c.join(" ")),"string"!=typeof a&&(a=a.join(" ")),t.elements=c+" "+a,j(b)}function f(a){var b=s[a[q]];return b||(b={},r++,a[q]=r,s[r]=b),b}function g(a,c,d){if(c||(c=b),l)return c.createElement(a);d||(d=f(c));var e;return e=d.cache[a]?d.cache[a].cloneNode():p.test(a)?(d.cache[a]=d.createElem(a)).cloneNode():d.createElem(a),!e.canHaveChildren||o.test(a)||e.tagUrn?e:d.frag.appendChild(e)}function h(a,c){if(a||(a=b),l)return a.createDocumentFragment();c=c||f(a);for(var e=c.frag.cloneNode(),g=0,h=d(),i=h.length;i>g;g++)e.createElement(h[g]);return e}function i(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return t.shivMethods?g(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+d().join().replace(/[\w\-:]+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(t,b.frag)}function j(a){a||(a=b);var d=f(a);return!t.shivCSS||k||d.hasCSS||(d.hasCSS=!!c(a,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),l||i(a,d),a}var k,l,m="3.7.3",n=a.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,p=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,q="_html5shiv",r=0,s={};!function(){try{var a=b.createElement("a");a.innerHTML="",k="hidden"in a,l=1==a.childNodes.length||function(){b.createElement("a");var a=b.createDocumentFragment();return"undefined"==typeof a.cloneNode||"undefined"==typeof a.createDocumentFragment||"undefined"==typeof a.createElement}()}catch(c){k=!0,l=!0}}();var t={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:m,shivCSS:n.shivCSS!==!1,supportsUnknownElements:l,shivMethods:n.shivMethods!==!1,type:"default",shivDocument:j,createElement:g,createDocumentFragment:h,addElements:e};a.html5=t,j(b),"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:this,document); diff --git a/package.json b/package.json index d3e99b77..cd7aa53c 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "Chrome >= 12", "Edge >= 12", "Firefox >= 3.6", - "IE >= 8", + "IE >= 9", "iOS >= 7.1", "Opera >= 12.10", "Safari >= 5.1" diff --git a/resources.html b/resources.html index 35f916be..20707ac7 100644 --- a/resources.html +++ b/resources.html @@ -12,10 +12,6 @@ - diff --git a/visual-style.html b/visual-style.html index e3992c00..2321ed8e 100644 --- a/visual-style.html +++ b/visual-style.html @@ -12,10 +12,6 @@ - diff --git a/visual-style_colors.html b/visual-style_colors.html index 54c90a1d..94d2b2a9 100644 --- a/visual-style_colors.html +++ b/visual-style_colors.html @@ -12,10 +12,6 @@ - diff --git a/visual-style_icons.html b/visual-style_icons.html index 399bf43e..39183640 100644 --- a/visual-style_icons.html +++ b/visual-style_icons.html @@ -12,10 +12,6 @@ - diff --git a/visual-style_illustrations.html b/visual-style_illustrations.html index bdd238b6..78c50ae8 100644 --- a/visual-style_illustrations.html +++ b/visual-style_illustrations.html @@ -12,10 +12,6 @@ - diff --git a/visual-style_images.html b/visual-style_images.html index fc345c79..b539442f 100644 --- a/visual-style_images.html +++ b/visual-style_images.html @@ -12,10 +12,6 @@ - diff --git a/visual-style_typography.html b/visual-style_typography.html index 3d2ac5cd..55536c04 100644 --- a/visual-style_typography.html +++ b/visual-style_typography.html @@ -12,10 +12,6 @@ -