Skip to content
This repository
Browse code

Adiciona tabela de suporte dos navegadores ao post Battery API (#169)

  • Loading branch information...
commit 2587f6f28bee4c4173ad7257e143fb1124f07c29 1 parent 36119d4
Almir Filho almirfilho authored

Showing 1 changed file with 35 additions and 0 deletions. Show diff stats Hide diff stats

  1. +35 0 _source/_posts/2013-03-21-battery-api.md
35 _source/_posts/2013-03-21-battery-api.md
Source Rendered
@@ -212,9 +212,44 @@ Com a Battery API será possível aos desenvolvedores ter um *feedback* mais
212 212 apurado em relação a este tipo de problema, o que auxiliará na tomada de decisão
213 213 e consequentemente na melhora da qualidade de *software*.
214 214
  215 +<table class="support">
  216 + <thead>
  217 + <tr>
  218 + <th class="subject"><h2>Suporte</h2></th>
  219 + <th class="browser chrome"><div class="i"></div></th>
  220 + <th class="browser safari"><div class="i"></div></th>
  221 + <th class="browser firefox"><div class="i"></div></th>
  222 + <th class="browser ie"><div class="i"></div></th>
  223 + <th class="browser opera"><div class="i"></div></th>
  224 + </tr>
  225 + <tr>
  226 + <th></th>
  227 + <th colspan="5" class="base"></th>
  228 + </tr>
  229 + </thead>
  230 + <tbody>
  231 + <tr>
  232 + <td class="property">Battery API</td>
  233 + <td>--</td>
  234 + <td>--</td>
  235 + <td>16 *</td>
  236 + <td>--</td>
  237 + <td>--</td>
  238 + </tr>
  239 + </tbody>
  240 + <tfoot>
  241 + <tr>
  242 + <td colspan="6">
  243 + * O Firefox já dava suporte prefixado desde a versão 10 (<code>mozBattery</code>)
  244 + </td>
  245 + </tr>
  246 + </tfoot>
  247 +</table>
  248 +
215 249 <aside class="fonte">
216 250 <h3>Referência</h3>
217 251 <ul>
218 252 <li>→<a href="http://www.w3.org/TR/battery-status/" alt="Battery Status API" title="Battery Status API">Battery Status API</a> <span class="comment">// W3C</span></li>
  253 + <li>→<a href="https://developer.mozilla.org/en-US/docs/DOM/window.navigator.battery" alt="window.navigator.battery" title="window.navigator.battery">window.navigator.battery</a> <span class="comment">// MDN</span></li>
219 254 </ul>
220 255 </aside>

0 comments on commit 2587f6f

Please sign in to comment.
Something went wrong with that request. Please try again.