]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Use pull request #11021 from DanielRuf/chore/compability-update-browserslist-9123...
authorDaniel Ruf <daniel.ruf@ueberbit.de>
Sat, 16 Jun 2018 08:08:07 +0000 (10:08 +0200)
committerNicolas Coden <nicolas@ncoden.fr>
Sat, 16 Jun 2018 20:58:48 +0000 (22:58 +0200)
6999b7ada chore: update the browserslist config according to the compability table
94d6eca09 chore: drop support for Android 2.3 - 4.4

Co-Authored-By: Daniel Ruf <daniel@daniel-ruf.de>
Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
docs/assets/img/gulpfile.js
docs/pages/compatibility.md
docs/pages/sass.md
gulp/config.js
gulp/tasks/customizer.js

index 218e47e85ee0a0118100b9b7a4cd594628a530bb..29df4da6dd034ac1cc083df9573f3256edbfd3a7 100755 (executable)
@@ -84,7 +84,7 @@ gulp.task('sass', function() {
     })
       .on('error', $.sass.logError))
     .pipe($.autoprefixer({
-      browsers: ['last 2 versions', 'ie >= 9']
+      browsers: ['last 2 versions', 'ie >= 9', 'android >= 4.4', 'ios >= 7']
     }))
     // .pipe(uncss)
     .pipe(gulp.dest('./dist/assets/css'));
index 204b83920e27d5758c44cea8352cfdba1b4bf3ea..f9223db08e9ffb509082cd00c20ead4be3c1cab7 100644 (file)
@@ -16,7 +16,7 @@ tags:
   <tr><td>Firefox</td></tr>
   <tr><td>Safari</td></tr>
   <tr><td>Opera</td></tr>
-  <tr><td>Mobile Safari</td></tr>
+  <tr><td>Mobile Safari<sup>1</sup></td></tr>
   <tr><td>IE Mobile</td></tr>
   <tr><td>Edge</td></tr>
   <tr>
@@ -25,10 +25,12 @@ tags:
   </tr>
   <tr>
     <td>Android Browser</td>
-    <td class="works">Versions 2.3+</td>
+    <td class="works">Versions 4.4+</td>
   </tr>
 </table>
 
+<sup>1</sup>iOS 7+ is actively supported but with some known bugs.
+
 ---
 
 ## What Won't Work?
index 6234587ac36a0ddf08ded0adcfd270c7bf4d8363..1cc63af80b779a82381fdfe4899bd109a55d3c4d 100644 (file)
@@ -30,7 +30,7 @@ To get the proper browser support, use these Autoprefixer settings:
 
 ```js
 autoprefixer({
-  browsers: ['last 2 versions', 'ie >= 9', 'Android >= 2.3', 'ios >= 7']
+  browsers: ['last 2 versions', 'ie >= 9', 'android >= 4.4', 'ios >= 7']
 });
 ```
 
index 1c5884c18d76f5bbb6ba148884f31d6a2b069a6e..4c89f6131eccaa390030156c7746c863a674cd30 100644 (file)
@@ -48,7 +48,7 @@ module.exports = {
   CSS_COMPATIBILITY: [
     'last 2 versions',
     'ie >= 9',
-    'Android >= 2.3',
+    'android >= 4.4',
     'ios >= 7'
   ],
 
index f4bffcd686d90c3e05786c7a7ba7a2a49b34c25d..9a8cbe27d6e8f443661b111880a340369b87e576 100644 (file)
@@ -33,7 +33,8 @@ var OUTPUT_DIR = ARGS.output || 'custom-build';
 var COMPATIBILITY = [
   'last 2 versions',
   'ie >= 9',
-  'and_chr >= 2.3'
+  'android >= 4.4',
+  'ios >= 7'
 ];
 var CUSTOMIZER_CONFIG;
 var MODULE_LIST;