aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/htmlcanvaselement/getcontext/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/htmlcanvaselement/getcontext/index.html')
-rw-r--r--files/ru/web/api/htmlcanvaselement/getcontext/index.html147
1 files changed, 1 insertions, 146 deletions
diff --git a/files/ru/web/api/htmlcanvaselement/getcontext/index.html b/files/ru/web/api/htmlcanvaselement/getcontext/index.html
index 2569342750..c1fc3042ee 100644
--- a/files/ru/web/api/htmlcanvaselement/getcontext/index.html
+++ b/files/ru/web/api/htmlcanvaselement/getcontext/index.html
@@ -114,152 +114,7 @@ console.log(ctx); // CanvasRenderingContext2D { ... }
<h2 id="Совместимость_браузеров">Совместимость браузеров</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <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 (<code>2d</code> context)</td>
- <td>{{CompatChrome(4)}}</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}</td>
- <td>{{CompatIE(9)}}</td>
- <td>{{CompatOpera(9)}}</td>
- <td>{{CompatSafari(3.1)}}</td>
- </tr>
- <tr>
- <td><code>webgl</code> context</td>
- <td>{{CompatChrome(9)}}<sup>[1]</sup><br>
- {{CompatChrome(33)}}</td>
- <td>{{CompatGeckoDesktop('1.9.2')}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop('24')}}</td>
- <td>11.0<sup>[2]</sup></td>
- <td>9.0<sup>[3]</sup></td>
- <td>5.1<sup>[2]</sup></td>
- </tr>
- <tr>
- <td><code>webgl2</code> context {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop('25')}}<sup>[4]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>2d <code>alpha</code> context attribute</td>
- <td>32</td>
- <td>{{CompatGeckoDesktop(30)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>
- <p><code>failIfMajorPerformanceCaveat</code> attribute</p>
- </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>bitmaprenderer context</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(46)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support (<code>2d</code> context)</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.2")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>webgl</code> context</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>webgl2</code> context {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>2d <code>alpha</code> context attribute</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(30)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>failIfMajorPerformanceCaveat</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>bitmaprenderer context</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(46)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Chrome 9 and Gecko 1.9.2 initially implemented this as <code>experimental-webgl</code>. Since Chrome 33 and Gecko 24 it is implemented as the standard <code>webgl</code>.</p>
-
-<p>[2] Internet Explorer 11, WebKit 5.1 and Firefox Mobile implemented this as <code>experimental-webgl</code>.</p>
-
-<p>[3] Opera 9 implemented this as <code>experimental-webgl</code>, behind a user preference, in version 15.0 the user preference got removed.</p>
-
-<p>[4] Gecko 25 implements this as "<code>experimental-webgl2</code>" behind the user preference <code>webgl.enable-prototype-webgl2</code>. Starting with Gecko 42, the string "webgl2" is used behind the same preference.</p>
+<p>{{Compat("api.HTMLCanvasElement.getContext")}}</p>
<h2 id="Смотрите_также">Смотрите также</h2>