diff options
Diffstat (limited to 'files/zh-cn/web/api/canvaspattern')
-rw-r--r-- | files/zh-cn/web/api/canvaspattern/index.html | 63 | ||||
-rw-r--r-- | files/zh-cn/web/api/canvaspattern/settransform/index.html | 50 |
2 files changed, 3 insertions, 110 deletions
diff --git a/files/zh-cn/web/api/canvaspattern/index.html b/files/zh-cn/web/api/canvaspattern/index.html index 0fe68e2fb4..cfdd692916 100644 --- a/files/zh-cn/web/api/canvaspattern/index.html +++ b/files/zh-cn/web/api/canvaspattern/index.html @@ -40,67 +40,8 @@ translation_of: Web/API/CanvasPattern </table> <h2 id="浏览器兼容性">浏览器兼容性</h2> <div> - {{CompatibilityTable}}</div> -<div id="compat-desktop"> - <table class="compat-table"> - <tbody> - <tr> - <th>功能</th> - <th>Chrome</th> - <th>Firefox (Gecko)</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>基本的支持</td> - <td>4.0</td> - <td>{{CompatGeckoDesktop("1.9.2")}}</td> - <td>9.0</td> - <td>9.0</td> - <td>3.1</td> - </tr> - <tr> - <td><code>setTransform()</code>{{experimental_inline}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatGeckoDesktop("33")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> - </table> -</div> -<div id="compat-mobile"> - <table class="compat-table"> - <tbody> - <tr> - <th>功能</th> - <th>Android</th> - <th>Firefox Mobile (Gecko)</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本的支持</td> - <td>2.1</td> - <td>{{CompatGeckoMobile("1.9.2")}}</td> - <td>{{CompatUnknown}}</td> - <td>10.0</td> - <td>3.2</td> - </tr> - <tr> - <td><code>setTransform()</code>{{experimental_inline}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatGeckoMobile("33")}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> - </table> -</div> +{{Compat("api.CanvasPattern")}} + <h2 id="查看相关">查看相关</h2> <ul> <li>{{domxref("CanvasRenderingContext2D.createPattern()")}}</li> diff --git a/files/zh-cn/web/api/canvaspattern/settransform/index.html b/files/zh-cn/web/api/canvaspattern/settransform/index.html index d53a0bf44b..52f5857d99 100644 --- a/files/zh-cn/web/api/canvaspattern/settransform/index.html +++ b/files/zh-cn/web/api/canvaspattern/settransform/index.html @@ -122,55 +122,7 @@ window.addEventListener("load", drawCanvas); <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</td> - <td>{{CompatUnknown}}</td> - <td>{{ CompatGeckoDesktop("33") }}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</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</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{ CompatGeckoMobile("33") }}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - <td>{{CompatUnknown}}</td> - </tr> - </tbody> -</table> -</div> +{{Compat("api.CanvasPattern.setTransform")}} <h2 id="参见">参见</h2> |