aboutsummaryrefslogtreecommitdiff
path: root/files/fr/web/api/window/matchmedia/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/fr/web/api/window/matchmedia/index.html')
-rw-r--r--files/fr/web/api/window/matchmedia/index.html73
1 files changed, 24 insertions, 49 deletions
diff --git a/files/fr/web/api/window/matchmedia/index.html b/files/fr/web/api/window/matchmedia/index.html
index 1237675eeb..ecc1644b62 100644
--- a/files/fr/web/api/window/matchmedia/index.html
+++ b/files/fr/web/api/window/matchmedia/index.html
@@ -18,57 +18,32 @@ translation_of: Web/API/Window/matchMedia
}</pre>
<p>Ce code permet de gérer la mise en page d'une manière différente quand l'écran est moins large.</p>
<p>Voir <a href="/en-US/docs/DOM/Using_media_queries_from_code" title="/en-US/docs/DOM/Using_media_queries_from_code">Utiliser les media queries avec du code</a> pour plus d'exemples.</p>
-<h2 id="Browser_compatibility" name="Browser_compatibility">Compatibilité des navigateurs</h2>
-<p>{{CompatibilityTable()}}</p>
-<div id="compat-desktop">
- <table class="compat-table">
+
+<h2 id="Specifications">Spécifications</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">Spécification</th>
+ <th scope="col">Statut</th>
+ <th scope="col">Commentaire</th>
+ </tr>
+ </thead>
<tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>9</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>10 PP3 {{property_prefix("ms")}}</td>
- <td>{{CompatNo()}}</td>
- <td>5.1</td>
- </tr>
+ <tr>
+ <td>{{SpecName("CSSOM View", "#dom-window-matchmedia", "Window.matchMedia()")}}</td>
+ <td>{{Spec2("CSSOM View")}}</td>
+ <td>Définition initiale.</td>
+ </tr>
</tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>3.0</td>
- <td>{{CompatGeckoMobile("6.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>5</td>
- </tr>
- </tbody>
- </table>
-</div>
-<h2 id="Specification" name="Specification">Spécification</h2>
-<ul>
- <li><a class="external" href="http://dev.w3.org/csswg/cssom-view/#the-mediaquerylist-interface">The CSSOM View Module: The MediaQueryList Interface</a></li>
-</ul>
-<h2 id="See_also" name="See_also">Voir aussi</h2>
+</table>
+
+<h2 id="Browser_compatibility">Compatibilité des navigateurs</h2>
+
+<p>{{Compat("api.Window.matchMedia")}}</p>
+
+<h2 id="See_also">Voir aussi</h2>
+
<ul>
<li><a href="/en-US/docs/CSS/Media_queries" title="CSS/Media queries">Media queries</a></li>
<li><a href="/en-US/docs/DOM/Using_media_queries_from_code" title="CSS/Using media queries from code">Using media queries from code</a></li>