浏览代码

Improved documentation about validators
Closes #5043

Geremia Taglialatela 10 年之前
父节点
当前提交
1325579119
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 0 0
      css/font-awesome.min.css
  2. 6 0
      src/get-started.html

文件差异内容过多而无法显示
+ 0 - 0
css/font-awesome.min.css


+ 6 - 0
src/get-started.html

@@ -140,6 +140,12 @@ $ gem install font-awesome-sass
     </ol>
     </ol>
   </section>
   </section>
 
 
+  <section id="support-validators">
+    <h2 class="page-header">Validators</h2>
+    <p>In order to provide the best possible experience to old and buggy browsers, Font Awesome uses <a href="http://browserhacks.com">CSS browser hacks</a> in several places to target special CSS to certain browser versions in order to work around bugs in the browsers themselves. These hacks understandably cause CSS validators to complain that they are invalid. In a couple places, we also use bleeding-edge CSS features that aren't yet fully standardized, but these are used purely for progressive enhancement.</p>
+    <p>These validation warnings don't matter in practice since the non-hacky portion of our CSS does fully validate and the hacky portions don't interfere with the proper functioning of the non-hacky portion, hence why we deliberately ignore these particular warnings.</p>
+  </section>
+
   <section class="need-ie7">
   <section class="need-ie7">
     <h2 class="page-header">Need IE7 Support?</h2>
     <h2 class="page-header">Need IE7 Support?</h2>
     <p>
     <p>

部分文件因为文件数量过多而无法显示