diff options
author | YujiSoftware <yuji.software+github@gmail.com> | 2022-03-02 20:01:54 +0900 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-03-04 01:02:45 +0800 |
commit | c46e9da7f68bd682fc9ff1452b7fe63df1227151 (patch) | |
tree | fe6c6e20521b16a22ec64755b88a39effd81a4d7 /files/zh-tw/web/api/filereader | |
parent | e671353fc364cef89441d031e0e8b9300b67951b (diff) | |
download | translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.gz translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.bz2 translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.zip |
Migrate to Compat macro (zh-tw)
Diffstat (limited to 'files/zh-tw/web/api/filereader')
-rw-r--r-- | files/zh-tw/web/api/filereader/error/index.html | 58 | ||||
-rw-r--r-- | files/zh-tw/web/api/filereader/index.html | 92 | ||||
-rw-r--r-- | files/zh-tw/web/api/filereader/readystate/index.html | 54 |
3 files changed, 3 insertions, 201 deletions
diff --git a/files/zh-tw/web/api/filereader/error/index.html b/files/zh-tw/web/api/filereader/error/index.html index 572509db9e..b723f07953 100644 --- a/files/zh-tw/web/api/filereader/error/index.html +++ b/files/zh-tw/web/api/filereader/error/index.html @@ -37,63 +37,7 @@ translation_of: Web/API/FileReader/error <h2 id="瀏覽器相容性">瀏覽器相容性</h2> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Firefox (Gecko)</th> - <th>Chrome</th> - <th>Edge</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td> - <td>7</td> - <td>{{CompatVersionUnknown}}</td> - <td>10<sup>[2]</sup></td> - <td>12.02<sup>[3]</sup></td> - <td>6.0.2</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>Feature</th> - <th>Firefox Mobile (Gecko)</th> - <th>Android</th> - <th>Edge</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>Basic support</td> - <td>32</td> - <td>3</td> - <td>{{CompatVersionUnknown}}</td> - <td>10</td> - <td>11.5</td> - <td>6.1</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Prior to Gecko 2.0 beta 7 (Firefox 4.0 beta 7), all {{domxref("Blob")}} parameters below were {{domxref("File")}} parameters; this has since been updated to match the specification correctly. Prior to Gecko 13.0 {{geckoRelease("13.0")}} the <code>FileReader.error</code> property returned a {{domxref("FileError")}} object. This interface has been removed and <code>FileReader.error</code> is now returning the {{domxref("DOMError")}} object as defined in the latest FileAPI draft.</p> - -<p>[2] IE9 has a <a href="http://html5labs.interoperabilitybridges.com/prototypes/fileapi/fileapi/info">File API Lab</a>.</p> - -<p>[3] Opera has <a href="http://www.opera.com/docs/specs/presto28/file/">partial support</a> in 11.1.</p> +{{Compat("api.FileReader.error")}} <h2 id="閱讀更多">閱讀更多</h2> diff --git a/files/zh-tw/web/api/filereader/index.html b/files/zh-tw/web/api/filereader/index.html index 4b80e334a4..6bf3eb6ef4 100644 --- a/files/zh-tw/web/api/filereader/index.html +++ b/files/zh-tw/web/api/filereader/index.html @@ -112,97 +112,7 @@ translation_of: Web/API/FileReader <h2 id="瀏覽器相容性">瀏覽器相容性</h2> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>功能</th> - <th>Firefox (Gecko)</th> - <th>Chrome</th> - <th>Edge</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>基本支援</td> - <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td> - <td>7</td> - <td>{{CompatVersionUnknown}}</td> - <td>10<sup>[2]</sup></td> - <td>12.02<sup>[2]</sup></td> - <td>6.0</td> - </tr> - <tr> - <td>在 Web Workers 的支援</td> - <td>{{CompatGeckoDesktop(46)}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatNo}}</td> - </tr> - <tr> - <td><code>error</code> property uses {{domxref("DOMException")}}, not {{domxref("DOMError")}}</td> - <td>{{CompatGeckoDesktop(58)}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>功能</th> - <th>Firefox Mobile (Gecko)</th> - <th>Android</th> - <th>Edge</th> - <th>IE Mobile</th> - <th>Opera Mobile</th> - <th>Safari Mobile</th> - </tr> - <tr> - <td>基本支援</td> - <td>32</td> - <td>3</td> - <td>{{CompatVersionUnknown}}</td> - <td>10</td> - <td>11.5</td> - <td>6.1</td> - </tr> - <tr> - <td>在 Web Workers 的支援</td> - <td>{{CompatGeckoMobile(46)}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatVersionUnknown}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatNo}}</td> - </tr> - <tr> - <td><code>error</code> property uses {{domxref("DOMException")}}, not {{domxref("DOMError")}}</td> - <td>{{CompatGeckoMobile(58)}}</td> - <td>{{CompatUnknown()}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatNo}}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] 在 Gecko 2.0 beta 7 (Firefox 4.0 beta 7) 以前,所有的 {{domxref("Blob")}} 參數都屬於 {{domxref("File")}} 參數;之後為了更符合規範,所以更新了這個特徵。在 Gecko 13.0 {{geckoRelease("13.0")}} 以前,<code>FileReader.error</code> 屬性回傳了 {{domxref("FileError")}} 物件。這個介面之後被移除、而 <code>FileReader.error</code> 目前會回傳 {{domxref("DOMError")}} 並定義為 FileAPI draft。</p> - -<p>[2] Opera 在 11.1 <a href="http://www.opera.com/docs/specs/presto28/file/">有限度支援</a>。</p> +{{Compat("api.FileReader")}} <h2 id="參見">參見</h2> diff --git a/files/zh-tw/web/api/filereader/readystate/index.html b/files/zh-tw/web/api/filereader/readystate/index.html index f6ff1fa5f6..0d09e2a8b6 100644 --- a/files/zh-tw/web/api/filereader/readystate/index.html +++ b/files/zh-tw/web/api/filereader/readystate/index.html @@ -37,59 +37,7 @@ translation_of: Web/API/FileReader/readyState <h2 id="瀏覽器相容性">瀏覽器相容性</h2> -<p>{{CompatibilityTable}}</p> - -<div id="compat-desktop"> -<table class="compat-table"> - <tbody> - <tr> - <th>功能</th> - <th>Firefox (Gecko)</th> - <th>Chrome</th> - <th>Internet Explorer</th> - <th>Opera</th> - <th>Safari</th> - </tr> - <tr> - <td>基本支援</td> - <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td> - <td>7</td> - <td>10<sup>[2]</sup></td> - <td>12.02<sup>[3]</sup></td> - <td>6.0.2</td> - </tr> - </tbody> -</table> -</div> - -<div id="compat-mobile"> -<table class="compat-table"> - <tbody> - <tr> - <th>功能</th> - <th>Firefox 手機版 (Gecko)</th> - <th>Android</th> - <th>IE 手機版</th> - <th>Opera 手機版</th> - <th>Safari 手機版</th> - </tr> - <tr> - <td>基本支援</td> - <td>32</td> - <td>3</td> - <td>10</td> - <td>11.5</td> - <td>6.1</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Prior to Gecko 2.0 beta 7 (Firefox 4.0 beta 7), all {{domxref("Blob")}} parameters below were {{domxref("File")}} parameters; this has since been updated to match the specification correctly. Prior to Gecko 13.0 {{geckoRelease("13.0")}} the <code>FileReader.error</code> property returned a {{domxref("FileError")}} object. This interface has been removed and <code>FileReader.error</code> is now returning the {{domxref("DOMError")}} object as defined in the latest FileAPI draft.</p> - -<p>[2] IE9 has a <a href="http://html5labs.interoperabilitybridges.com/prototypes/fileapi/fileapi/info">File API Lab</a>.</p> - -<p>[3] Opera has <a href="http://www.opera.com/docs/specs/presto28/file/">partial support</a> in 11.1.</p> +{{Compat("api.FileReader.readyState")}} <h2 id="閱讀更多">閱讀更多</h2> |