Author: Kamil Tekiela (kamil-tekiela)
Date: 2022-07-13T17:31:07+01:00

Commit: 
https://github.com/php/web-php/commit/25784fa653488a42110bc88f7ea272b7afc90d7c
Raw diff: 
https://github.com/php/web-php/commit/25784fa653488a42110bc88f7ea272b7afc90d7c.diff

Drop IE support including IE 7 & 9 shims

Changed paths:
  D  js/ext/html5.js
  D  styles/workarounds.ie7.css
  D  styles/workarounds.ie9.css
  M  include/header.inc


Diff:

diff --git a/include/header.inc b/include/header.inc
index 212739666..18ca57b39 100644
--- a/include/header.inc
+++ b/include/header.inc
@@ -86,24 +86,6 @@ if (!isset($config["languages"])) {
 <link rel="stylesheet" type="text/css" href="/cached.php?t=<?php echo 
$modified?>&amp;f=<?php echo $filename?>" media="screen">
 <?php endforeach ?>
 
- <!--[if lte IE 7]>
- <link rel="stylesheet" type="text/css" href="<?php echo $MYSITE 
?>styles/workarounds.ie7.css" media="screen">
- <![endif]-->
-
- <!--[if lte IE 8]>
- <script>
-  window.brokenIE = true;
- </script>
- <![endif]-->
-
- <!--[if lte IE 9]>
- <link rel="stylesheet" type="text/css" href="<?php echo $MYSITE 
?>styles/workarounds.ie9.css" media="screen">
- <![endif]-->
-
- <!--[if IE]>
- <script src="<?php echo $MYSITE ?>js/ext/html5.js"></script>
- <![endif]-->
-
 <?php if (!empty($_SERVER["BASE_HREF"])): ?>
  <base href="<?php echo $_SERVER["BASE_HREF"] ?>">
 <?php endif ?>
diff --git a/js/ext/html5.js b/js/ext/html5.js
deleted file mode 100644
index 3587bf734..000000000
--- a/js/ext/html5.js
+++ /dev/null
@@ -1,6 +0,0 @@
-// html5shiv MIT @rem remysharp.com/html5-enabling-script
-// iepp v1.6.2 MIT @jon_neal iecss.com/print-protector
-/*@cc_on(function(m,c){var 
z="abbr|article|aside|audio|canvas|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video";function
 n(d){for(var a=-1;++a<o;)d.createElement(i[a])}function p(d,a){for(var 
e=-1,b=d.length,j,q=[];++e<b;){j=d[e];if((a=j.media||a)!="screen")q.push(p(j.imports,a),j.cssText)}return
 q.join("")}var 
g=c.createElement("div");g.innerHTML="<z>i</z>";if(g.childNodes.length!==1){var 
i=z.split("|"),o=i.length,s=RegExp("(^|\\s)("+z+")",
-"gi"),t=RegExp("<(/*)("+z+")","gi"),u=RegExp("(^|[^\\n]*?\\s)("+z+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),r=c.createDocumentFragment(),k=c.documentElement;g=k.firstChild;var
 
h=c.createElement("body"),l=c.createElement("style"),f;n(c);n(r);g.insertBefore(l,
-g.firstChild);l.media="print";m.attachEvent("onbeforeprint",function(){var 
d=-1,a=p(c.styleSheets,"all"),e=[],b;for(f=f||c.body;(b=u.exec(a))!=null;)e.push((b[1]+b[2]+b[3]).replace(s,"$1.iepp_$2")+b[4]);for(l.styleSheet.cssText=e.join("\n");++d<o;){a=c.getElementsByTagName(i[d]);e=a.length;for(b=-1;++b<e;)if(a[b].className.indexOf("iepp_")<0)a[b].className+="
 
iepp_"+i[d]}r.appendChild(f);k.appendChild(h);h.className=f.className;h.innerHTML=f.innerHTML.replace(t,"<$1font")});m.attachEvent("onafterprint",
-function(){h.innerHTML="";k.removeChild(h);k.appendChild(f);l.styleSheet.cssText=""})}})(this,document);@*/
\ No newline at end of file
diff --git a/styles/workarounds.ie7.css b/styles/workarounds.ie7.css
deleted file mode 100644
index 21e6163c8..000000000
--- a/styles/workarounds.ie7.css
+++ /dev/null
@@ -1,14 +0,0 @@
-#layout {
-    background: white;
-    width: 1170px;
-    margin: 0 auto 1.5em;
-}
-.docs code.parameter {
-    font-size: 1em;
-}
-code, pre.info, .docs .classsynopsis, .docs .classsynopsis code {
-    font-size: 0.875em;
-}
-.refentry, #allnotes {
-    margin: 1.5em;
-}
diff --git a/styles/workarounds.ie9.css b/styles/workarounds.ie9.css
deleted file mode 100644
index ba84cb8f0..000000000
--- a/styles/workarounds.ie9.css
+++ /dev/null
@@ -1,6 +0,0 @@
-#confTeaser td {
-    /* No version of IE currently available (including IE 9) supports setting
-     * the display on td elements to anything other than table-cell. The float
-     * masks the problem without really fixing it. */
-    float: left;
-}

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to