Browse Source

Improved documentation about validators
Closes #5043

Geremia Taglialatela 10 năm trước cách đây
mục cha
commit
1325579119
2 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 0 0
      css/font-awesome.min.css
  2. 6 0
      src/get-started.html

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
css/font-awesome.min.css


+ 6 - 0
src/get-started.html

@@ -140,6 +140,12 @@ $ gem install font-awesome-sass
     </ol>
   </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">
     <h2 class="page-header">Need IE7 Support?</h2>
     <p>

Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác