From c46e9da7f68bd682fc9ff1452b7fe63df1227151 Mon Sep 17 00:00:00 2001 From: YujiSoftware Date: Wed, 2 Mar 2022 20:01:54 +0900 Subject: Migrate to Compat macro (zh-tw) --- .../analysernode/getbytefrequencydata/index.html | 53 +-- files/zh-tw/web/api/analysernode/index.html | 53 +-- .../api/animationevent/animationevent/index.html | 50 +-- files/zh-tw/web/api/animationevent/index.html | 104 +---- files/zh-tw/web/api/blob/blob/index.html | 68 +--- files/zh-tw/web/api/blob/size/index.html | 52 +-- files/zh-tw/web/api/blob/type/index.html | 52 +-- .../canvas_api/tutorial/drawing_text/index.html | 60 --- .../canvasrenderingcontext2d/clearrect/index.html | 54 +-- .../web/api/canvasrenderingcontext2d/index.html | 54 +-- files/zh-tw/web/api/characterdata/index.html | 72 +--- files/zh-tw/web/api/clients/index.html | 52 +-- files/zh-tw/web/api/clipboardevent/index.html | 64 +-- files/zh-tw/web/api/closeevent/index.html | 49 +-- files/zh-tw/web/api/cssstylesheet/index.html | 52 +-- .../web/api/cssstylesheet/insertrule/index.html | 83 +--- files/zh-tw/web/api/datatransfer/index.html | 87 +---- files/zh-tw/web/api/devicemotionevent/index.html | 52 +-- .../web/api/deviceorientationevent/index.html | 60 +-- files/zh-tw/web/api/document/body/index.html | 52 +-- .../api/document/createdocumentfragment/index.html | 52 +-- .../web/api/document/createelement/index.html | 86 +---- .../web/api/document/createtextnode/index.html | 48 +-- .../web/api/document/createtreewalker/index.html | 81 +--- .../zh-tw/web/api/document/defaultview/index.html | 54 +-- files/zh-tw/web/api/document/designmode/index.html | 56 +-- .../api/document/getelementsbyclassname/index.html | 48 +-- files/zh-tw/web/api/document/head/index.html | 52 +-- .../web/api/document/queryselector/index.html | 49 +-- .../web/api/document/registerelement/index.html | 50 +-- files/zh-tw/web/api/documentfragment/index.html | 142 +------ files/zh-tw/web/api/documenttype/index.html | 114 +----- files/zh-tw/web/api/domparser/index.html | 80 +--- files/zh-tw/web/api/domtokenlist/index.html | 52 +-- .../web/api/dragevent/datatransfer/index.html | 58 +-- files/zh-tw/web/api/dragevent/index.html | 58 +-- files/zh-tw/web/api/element/classlist/index.html | 70 +--- .../zh-tw/web/api/element/getattribute/index.html | 27 +- files/zh-tw/web/api/element/index.html | 363 +---------------- .../web/api/element/insertadjacenthtml/index.html | 48 +-- .../web/api/element/touchcancel_event/index.html | 54 +-- files/zh-tw/web/api/errorevent/index.html | 80 +--- .../web/api/event/defaultprevented/index.html | 51 +-- files/zh-tw/web/api/event/istrusted/index.html | 56 +-- .../api/event/stopimmediatepropagation/index.html | 48 +-- files/zh-tw/web/api/event/target/index.html | 52 +-- .../web/api/eventtarget/dispatchevent/index.html | 54 +-- files/zh-tw/web/api/eventtarget/index.html | 54 +-- .../api/eventtarget/removeeventlistener/index.html | 98 +---- files/zh-tw/web/api/file/file/index.html | 52 +-- files/zh-tw/web/api/file_handle_api/index.html | 49 +-- files/zh-tw/web/api/filereader/error/index.html | 58 +-- files/zh-tw/web/api/filereader/index.html | 92 +---- .../zh-tw/web/api/filereader/readystate/index.html | 54 +-- files/zh-tw/web/api/filesystem/index.html | 54 +-- files/zh-tw/web/api/formdata/get/index.html | 75 +--- files/zh-tw/web/api/formdata/index.html | 146 +------ files/zh-tw/web/api/gainnode/gain/index.html | 57 +-- files/zh-tw/web/api/gainnode/index.html | 80 +--- .../web/api/geolocation/clearwatch/index.html | 52 +-- .../api/geolocation/getcurrentposition/index.html | 52 +-- files/zh-tw/web/api/geolocation/index.html | 52 +-- .../web/api/geolocation/watchposition/index.html | 52 +-- .../api/geolocationcoordinates/accuracy/index.html | 52 +-- .../api/geolocationcoordinates/altitude/index.html | 52 +-- .../altitudeaccuracy/index.html | 52 +-- .../api/geolocationcoordinates/heading/index.html | 52 +-- .../web/api/geolocationcoordinates/index.html | 52 +-- .../api/geolocationcoordinates/latitude/index.html | 52 +-- .../geolocationcoordinates/longitude/index.html | 52 +-- .../api/geolocationcoordinates/speed/index.html | 52 +-- .../web/api/geolocationposition/coords/index.html | 52 +-- files/zh-tw/web/api/geolocationposition/index.html | 52 +-- .../api/geolocationposition/timestamp/index.html | 52 +-- .../api/geolocationpositionerror/code/index.html | 52 +-- .../web/api/geolocationpositionerror/index.html | 52 +-- .../geolocationpositionerror/message/index.html | 52 +-- files/zh-tw/web/api/globaleventhandlers/index.html | 430 +-------------------- .../web/api/globaleventhandlers/onclick/index.html | 54 +-- .../web/api/globaleventhandlers/onclose/index.html | 54 +-- files/zh-tw/web/api/history/index.html | 100 +---- files/zh-tw/web/api/history_api/index.html | 79 +--- files/zh-tw/web/api/htmlcanvaselement/index.html | 169 +------- .../web/api/htmlcanvaselement/todataurl/index.html | 50 +-- files/zh-tw/web/api/htmlelement/click/index.html | 78 +--- files/zh-tw/web/api/htmlelement/index.html | 280 +------------- .../zh-tw/web/api/htmlelement/innertext/index.html | 48 +-- files/zh-tw/web/api/htmlformelement/index.html | 52 +-- files/zh-tw/web/api/htmlimageelement/index.html | 254 +----------- files/zh-tw/web/api/htmlinputelement/index.html | 210 +--------- .../api/htmlselectelement/checkvalidity/index.html | 56 +-- files/zh-tw/web/api/htmlselectelement/index.html | 142 +------ files/zh-tw/web/api/idbdatabase/index.html | 73 +--- files/zh-tw/web/api/indexeddb_api/index.html | 68 ---- files/zh-tw/web/api/keyboardevent/index.html | 240 +----------- .../web/api/keyboardevent/keyboardevent/index.html | 52 +-- files/zh-tw/web/api/mediaquerylist/index.html | 48 +-- .../api/mediasource/activesourcebuffers/index.html | 61 +-- .../zh-tw/web/api/mediasource/duration/index.html | 61 +-- .../web/api/mediasource/mediasource/index.html | 57 +-- .../web/api/mediasource/readystate/index.html | 61 +-- files/zh-tw/web/api/messageevent/index.html | 51 +-- files/zh-tw/web/api/mouseevent/index.html | 138 +------ files/zh-tw/web/api/mutationobserver/index.html | 53 +-- files/zh-tw/web/api/namednodemap/index.html | 72 +--- .../zh-tw/web/api/navigator/geolocation/index.html | 52 +-- .../navigator/registerprotocolhandler/index.html | 50 +-- files/zh-tw/web/api/node/clonenode/index.html | 79 +--- files/zh-tw/web/api/node/index.html | 235 +---------- files/zh-tw/web/api/node/ownerdocument/index.html | 52 +-- files/zh-tw/web/api/node/textcontent/index.html | 48 +-- files/zh-tw/web/api/nodelist/index.html | 79 +--- files/zh-tw/web/api/notification/index.html | 160 +------- files/zh-tw/web/api/notifications_api/index.html | 110 +----- files/zh-tw/web/api/pointer_lock_api/index.html | 58 +-- files/zh-tw/web/api/progressevent/index.html | 78 +--- files/zh-tw/web/api/proximity_events/index.html | 67 +--- files/zh-tw/web/api/range/index.html | 111 +----- files/zh-tw/web/api/screen/orientation/index.html | 54 +-- files/zh-tw/web/api/server-sent_events/index.html | 48 --- files/zh-tw/web/api/touch/index.html | 105 +---- files/zh-tw/web/api/touch_events/index.html | 71 +--- files/zh-tw/web/api/touchevent/index.html | 72 +--- files/zh-tw/web/api/touchlist/index.html | 59 +-- files/zh-tw/web/api/uievent/index.html | 92 +---- files/zh-tw/web/api/uievent/uievent/index.html | 50 +-- files/zh-tw/web/api/url/createobjecturl/index.html | 73 +--- files/zh-tw/web/api/url/index.html | 106 +---- files/zh-tw/web/api/validitystate/index.html | 72 +--- files/zh-tw/web/api/vibration_api/index.html | 49 +-- files/zh-tw/web/api/web_audio_api/index.html | 49 +-- files/zh-tw/web/api/web_workers_api/index.html | 118 ------ .../web_workers_api/using_web_workers/index.html | 122 ------ files/zh-tw/web/api/websocket/index.html | 73 +--- files/zh-tw/web/api/websockets_api/index.html | 96 +---- files/zh-tw/web/api/webvr_api/index.html | 85 +--- files/zh-tw/web/api/wheelevent/index.html | 100 +---- .../api/window/domcontentloaded_event/index.html | 56 +-- .../web/api/window/getcomputedstyle/index.html | 70 +--- files/zh-tw/web/api/window/location/index.html | 49 +-- .../web/api/window/requestidlecallback/index.html | 54 +-- files/zh-tw/web/api/windoweventhandlers/index.html | 96 +---- .../windoweventhandlers/onbeforeunload/index.html | 70 +--- .../web/api/xmlhttprequest/readystate/index.html | 50 +-- .../readystatechange_event/index.html | 52 +-- .../zh-tw/web/api/xmlhttprequest/status/index.html | 52 +-- .../web/api/xmlhttprequesteventtarget/index.html | 56 +-- files/zh-tw/web/css/@font-face/index.html | 112 +----- files/zh-tw/web/css/@media/height/index.html | 50 +-- files/zh-tw/web/css/@media/index.html | 106 +---- files/zh-tw/web/css/@viewport/index.html | 60 +-- files/zh-tw/web/css/_colon_first-child/index.html | 50 +-- .../zh-tw/web/css/_colon_first-of-type/index.html | 52 +-- files/zh-tw/web/css/_colon_target/index.html | 48 +-- .../web/css/_doublecolon_first-letter/index.html | 80 +--- files/zh-tw/web/css/box-shadow/index.html | 115 +----- files/zh-tw/web/css/clip/index.html | 50 +-- files/zh-tw/web/css/css_animations/index.html | 57 +-- .../web/css/css_backgrounds_and_borders/index.html | 48 --- files/zh-tw/web/css/css_box_model/index.html | 48 --- .../basic_concepts_of_flexbox/index.html | 93 +---- .../web/css/css_lists_and_counters/index.html | 48 --- files/zh-tw/web/css/css_positioning/index.html | 48 --- files/zh-tw/web/css/css_transitions/index.html | 54 --- .../using_css_transitions/index.html | 64 +-- .../zh-tw/web/css/descendant_combinator/index.html | 48 +-- files/zh-tw/web/css/height/index.html | 76 +--- files/zh-tw/web/css/media_queries/index.html | 48 --- .../media_queries/testing_media_queries/index.html | 48 +-- files/zh-tw/web/css/object-fit/index.html | 50 +-- files/zh-tw/web/css/white-space/index.html | 91 +---- files/zh-tw/web/guide/woff/index.html | 50 +-- files/zh-tw/web/html/element/blockquote/index.html | 48 +-- files/zh-tw/web/html/element/button/index.html | 135 +------ files/zh-tw/web/html/element/canvas/index.html | 78 +--- files/zh-tw/web/html/element/code/index.html | 48 +-- files/zh-tw/web/html/element/hr/index.html | 50 +-- files/zh-tw/web/html/element/input/index.html | 306 +-------------- .../zh-tw/web/html/element/input/submit/index.html | 48 +-- files/zh-tw/web/html/element/meter/index.html | 48 +-- files/zh-tw/web/html/element/optgroup/index.html | 48 +-- files/zh-tw/web/html/element/summary/index.html | 50 +-- files/zh-tw/web/html/element/time/index.html | 51 +-- .../html/global_attributes/data-_star_/index.html | 50 +-- files/zh-tw/web/html/global_attributes/index.html | 305 +-------------- .../web/http/headers/x-frame-options/index.html | 58 +-- .../reference/global_objects/boolean/index.html | 4 +- files/zh-tw/web/mathml/index.html | 51 +-- 188 files changed, 181 insertions(+), 14171 deletions(-) (limited to 'files/zh-tw/web') diff --git a/files/zh-tw/web/api/analysernode/getbytefrequencydata/index.html b/files/zh-tw/web/api/analysernode/getbytefrequencydata/index.html index d6b226dd8f..74e3785968 100644 --- a/files/zh-tw/web/api/analysernode/getbytefrequencydata/index.html +++ b/files/zh-tw/web/api/analysernode/getbytefrequencydata/index.html @@ -89,58 +89,7 @@ draw();

瀏覽器支援度

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatChrome(10.0)}}{{property_prefix("webkit")}}{{CompatGeckoDesktop(25.0)}} {{CompatNo}}15.0{{property_prefix("webkit")}}
- 22 (unprefixed)
6.0{{property_prefix("webkit")}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari MobileChrome for Android
Basic support{{CompatUnknown}}26.01.2{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}33.0
-
+{{Compat("api.AnalyserNode.getByteFrequencyData")}}

參看

diff --git a/files/zh-tw/web/api/analysernode/index.html b/files/zh-tw/web/api/analysernode/index.html index 875993cea9..c3fc672e17 100644 --- a/files/zh-tw/web/api/analysernode/index.html +++ b/files/zh-tw/web/api/analysernode/index.html @@ -166,58 +166,7 @@ function draw() {

Browser compatibility

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatChrome(10.0)}}{{property_prefix("webkit")}}{{CompatGeckoDesktop(25.0)}} {{CompatNo}}15.0 {{property_prefix("webkit")}}
- 22
6.0{{property_prefix("webkit")}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari MobileChrome for Android
Basic support{{CompatUnknown}}26.01.2{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}33.0
-
+{{Compat("api.AnalyserNode")}}

See also

diff --git a/files/zh-tw/web/api/animationevent/animationevent/index.html b/files/zh-tw/web/api/animationevent/animationevent/index.html index eebaac85f0..489d38b58c 100644 --- a/files/zh-tw/web/api/animationevent/animationevent/index.html +++ b/files/zh-tw/web/api/animationevent/animationevent/index.html @@ -71,55 +71,7 @@ original_slug: Web/API/AnimationEvent/initAnimationEvent

Browser compatibility

-

{{ CompatibilityTable }}

- -
- - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support{{CompatVersionUnknown}}{{ CompatGeckoDesktop("6.0") }}
- Removed in {{ CompatGeckoDesktop("23.0") }}
10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - -
FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatVersionUnknown}}{{ CompatGeckoMobile("6.0") }}
- Removed in {{ CompatGeckoMobile("23.0") }}
10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
-
+{{Compat("api.AnimationEvent.AnimationEvent")}}

See also

diff --git a/files/zh-tw/web/api/animationevent/index.html b/files/zh-tw/web/api/animationevent/index.html index d4528894b5..759ddbb558 100644 --- a/files/zh-tw/web/api/animationevent/index.html +++ b/files/zh-tw/web/api/animationevent/index.html @@ -70,109 +70,7 @@ translation_of: Web/API/AnimationEvent

瀏覽器兼容性

-

{{CompatibilityTable()}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
特點ChromeFirefox (Gecko)Internet ExplorerOperaSafari
基本支持1.0 {{ property_prefix("webkit") }}{{CompatGeckoDesktop("6.0")}}10.012 {{property_prefix("O")}}
- 12.10
- 15.0 {{ property_prefix("webkit") }}
4.0 {{ property_prefix("webkit") }}
AnimationEvent()構造函數{{CompatNo}}{{CompatGeckoDesktop("23.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
initAnimationEvent(){{non-standard_inline}} {{deprecated_inline}}1.0{{CompatGeckoDesktop("6.0")}}
- 在{{CompatGeckoDesktop("23.0")}}刪除
10.0124
pseudoelement{{CompatNo}}{{CompatGeckoDesktop("23.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
特點AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari MobileChrome for Android
基本支持{{CompatVersionUnknown}}{{ property_prefix("webkit") }}{{ CompatGeckoMobile("6.0") }}10.012 {{ property_prefix("o") }}
- 12.10
- 15.0 {{ property_prefix("webkit") }}
{{CompatVersionUnknown}}{{ property_prefix("webkit") }}{{CompatChrome(43.0)}}
AnimationEvent()構造函數{{CompatNo}}{{CompatGeckoMobile("23.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
initAnimationEvent(){{non-standard_inline}} {{deprecated_inline}}{{CompatVersionUnknown}}{{CompatGeckoMobile("6.0")}}
- 在{{CompatGeckoMobile("23.0")}}刪除
10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
pseudoelement{{CompatNo}}{{CompatGeckoMobile("23.0")}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
+{{Compat("api.AnimationEvent")}}

另請參見

diff --git a/files/zh-tw/web/api/blob/blob/index.html b/files/zh-tw/web/api/blob/blob/index.html index 26fb1e8ef7..69d0e1f322 100644 --- a/files/zh-tw/web/api/blob/blob/index.html +++ b/files/zh-tw/web/api/blob/blob/index.html @@ -48,73 +48,7 @@ var oMyBlob = new Blob(aFileParts, {type : 'text/html'}); // the blob

瀏覽器相容性

-

{{CompatibilityTable}}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
功能ChromeFirefox (Gecko)Internet ExplorerOperaSafari
-

基礎支援

-
20{{CompatGeckoDesktop("13.0")}} [1]1012.108
在 Workers 中{{CompatUnknown}}{{CompatGeckoDesktop("14.0")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
-
- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
功能AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
基礎支援{{CompatUnknown}}{{CompatGeckoMobile("13.0")}} [1]{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}
在 Workers 中{{CompatUnknown}}{{CompatGeckoMobile("14.0")}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}
-
- -

[1] 在 Firefox 16 以前,第二個參數若被設為 nullundefined 會導致錯誤而不是當成一個空鍵值。

+{{Compat("api.Blob.Blob")}}

參見

diff --git a/files/zh-tw/web/api/blob/size/index.html b/files/zh-tw/web/api/blob/size/index.html index 0abccad27d..2003a88cde 100644 --- a/files/zh-tw/web/api/blob/size/index.html +++ b/files/zh-tw/web/api/blob/size/index.html @@ -55,57 +55,7 @@ for (var i = 0; i < files.length; i++) {

瀏覽器相容性

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - -
功能ChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
File.size5{{CompatVersionUnknown}}{{CompatGeckoDesktop("2")}}10.011.105.1
-
- -
- - - - - - - - - - - - - - - - - - - - - -
功能AndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
File.size{{CompatNo}}{{CompatVersionUnknown}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
+{{Compat("api.Blob.size")}}

參見

diff --git a/files/zh-tw/web/api/blob/type/index.html b/files/zh-tw/web/api/blob/type/index.html index ee2a231724..26aefb3a1a 100644 --- a/files/zh-tw/web/api/blob/type/index.html +++ b/files/zh-tw/web/api/blob/type/index.html @@ -55,57 +55,7 @@ for (i = 0; i < files.length; i++) {

瀏覽器相容性

-
{{CompatibilityTable}}
- -
- - - - - - - - - - - - - - - - - - - - - -
功能ChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
File.type5{{CompatVersionUnknown}}{{CompatGeckoDesktop("2")}}10.011.105.1
-
- -
- - - - - - - - - - - - - - - - - - - - - -
功能AndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
File.type{{CompatNo}}{{CompatVersionUnknown}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
-
+{{Compat("api.Blob.type")}}

參見

diff --git a/files/zh-tw/web/api/canvas_api/tutorial/drawing_text/index.html b/files/zh-tw/web/api/canvas_api/tutorial/drawing_text/index.html index cfafa8a5a8..57b6b5aff4 100644 --- a/files/zh-tw/web/api/canvas_api/tutorial/drawing_text/index.html +++ b/files/zh-tw/web/api/canvas_api/tutorial/drawing_text/index.html @@ -334,64 +334,4 @@ ctx.stroke()
  • 所有的繪圖都使用即時變化來完成。
  • -

    其它範例

    - - -

    瀏覽器兼容性

    - -

    {{ CompatibilityTable() }}

    - -
    -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support1+3.5+9.010.54.0
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support2.1{{ CompatUnknown() }}9.011.03.2
    -
    -
    - -

     

    diff --git a/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html b/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html index c6f1baaaa8..8cfd514373 100644 --- a/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html +++ b/files/zh-tw/web/api/canvasrenderingcontext2d/clearrect/index.html @@ -126,59 +126,7 @@ window.addEventListener("load", drawCanvas);

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidChrome for AndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    -
    +{{Compat("api.CanvasRenderingContext2D.clearRect")}}

    參見

    diff --git a/files/zh-tw/web/api/canvasrenderingcontext2d/index.html b/files/zh-tw/web/api/canvasrenderingcontext2d/index.html index 31aa34ecdf..bc73e2e3ce 100644 --- a/files/zh-tw/web/api/canvasrenderingcontext2d/index.html +++ b/files/zh-tw/web/api/canvasrenderingcontext2d/index.html @@ -376,59 +376,7 @@ ctx.fillRect(10, 10, 55, 50); // draws the rectangle at position 10, 10 with a

    瀏覽器相容性

    -
    {{CompatibilityTable}}
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support{{CompatChrome("1")}}{{CompatVersionUnknown}}{{CompatGeckoDesktop("1.8")}}{{CompatIE("9")}}{{CompatOpera("9")}}{{CompatSafari("2")}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidChrome for AndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    +{{Compat("api.CanvasRenderingContext2D")}}

    相容性註記

    diff --git a/files/zh-tw/web/api/characterdata/index.html b/files/zh-tw/web/api/characterdata/index.html index 5e39a14822..2714f98c51 100644 --- a/files/zh-tw/web/api/characterdata/index.html +++ b/files/zh-tw/web/api/characterdata/index.html @@ -77,77 +77,7 @@ translation_of: Web/API/CharacterData

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support1.0{{CompatVersionUnknown}}{{CompatGeckoDesktop("1.0")}}6{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    Implements {{domxref("ChildNode")}} interface.{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatGeckoDesktop("25.0")}} [1]{{CompatNo}}{{CompatUnknown}}{{CompatNo}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatGeckoMobile("1.0")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    Implements {{domxref("ChildNode")}} interface.{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatGeckoMobile("25.0")}} [1]{{CompatNo}}{{CompatUnknown}}{{CompatNo}}
    -
    - -

    [1] Two properties, nextElementSibling and previousElementSibling, have been moved to the {{domxref("NonDocumentTypeChildNode")}} interface, also implemented by CharacterData.

    +{{Compat("api.CharacterData")}}

    參見

    diff --git a/files/zh-tw/web/api/clients/index.html b/files/zh-tw/web/api/clients/index.html index 000e36a804..63a4270970 100644 --- a/files/zh-tw/web/api/clients/index.html +++ b/files/zh-tw/web/api/clients/index.html @@ -50,57 +50,7 @@ translation_of: Web/API/Clients

    Browser compatibility

    -
    {{CompatibilityTable}}
    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support{{CompatChrome(40.0)}}{{ CompatGeckoDesktop("44.0") }}{{CompatNo}}{{CompatUnknown}}{{CompatNo}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari MobileChrome for Android
    Basic support{{CompatUnknown}}{{ CompatGeckoMobile("44.0") }}{{ CompatVersionUnknown }}{{CompatNo}}{{CompatUnknown}}{{CompatNo}}{{CompatUnknown}}
    -
    +{{Compat("api.Clients")}}

    See also

    diff --git a/files/zh-tw/web/api/clipboardevent/index.html b/files/zh-tw/web/api/clipboardevent/index.html index 7353cf4978..7629051327 100644 --- a/files/zh-tw/web/api/clipboardevent/index.html +++ b/files/zh-tw/web/api/clipboardevent/index.html @@ -48,69 +48,7 @@ translation_of: Web/API/ClipboardEvent

    瀏覽器相容性

    -

    {{ CompatibilityTable() }}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}4.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    clipboardData{{CompatVersionUnknown}}{{CompatGeckoDesktop("22.0")}}5.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}4.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    clipboardData{{CompatVersionUnknown}}{{CompatGeckoMobile("22.0")}}5.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    -
    +{{Compat("api.ClipboardEvent")}}

    參見

    diff --git a/files/zh-tw/web/api/closeevent/index.html b/files/zh-tw/web/api/closeevent/index.html index b5b10d19b2..27956ba2d6 100644 --- a/files/zh-tw/web/api/closeevent/index.html +++ b/files/zh-tw/web/api/closeevent/index.html @@ -96,51 +96,4 @@ original_slug: WebSockets/WebSockets_reference/CloseEvent
  • WebSocket
  • 瀏覽器兼容

    -

    {{ CompatibilityTable() }}

    -
    - - - - - - - - - - - - - - - - - - - -
    功能ChromeFirefox (Gecko)Internet ExplorerOperaSafari
    基本支援{{ CompatUnknown() }}{{ CompatNo() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    -
    -
    - - - - - - - - - - - - - - - - - - - -
    功能AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    基本支援{{ CompatUnknown() }}{{ CompatNo() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    -
    -

    Gecko 備註

    -

    此時此刻,Gecko 送至監聽器的 "close" 事件僅是簡單事件。

    -

    {{ languages ( {"en": "en/WebSockets/WebSockets_reference/CloseEvent"} ) }}

    +{{Compat("api.CloseEvent")}} diff --git a/files/zh-tw/web/api/cssstylesheet/index.html b/files/zh-tw/web/api/cssstylesheet/index.html index 01abf1a942..d59efba049 100644 --- a/files/zh-tw/web/api/cssstylesheet/index.html +++ b/files/zh-tw/web/api/cssstylesheet/index.html @@ -128,57 +128,7 @@ translation_of: Web/API/CSSStyleSheet

    Browser compatibility

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}9.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    -
    +{{Compat("api.CSSStyleSheet")}}

    See also

    diff --git a/files/zh-tw/web/api/cssstylesheet/insertrule/index.html b/files/zh-tw/web/api/cssstylesheet/insertrule/index.html index 3cd8ba5a87..6994593be7 100644 --- a/files/zh-tw/web/api/cssstylesheet/insertrule/index.html +++ b/files/zh-tw/web/api/cssstylesheet/insertrule/index.html @@ -127,88 +127,7 @@ function addStylesheetRules (rules) {

    Browser compatibility

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}9{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    index is optional{{CompatChrome(60)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatOpera(47)}}{{CompatUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroid WebviewChrome for AndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    index is optional{{CompatChrome(60)}}{{CompatChrome(60)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatOperaMobile(47)}}{{CompatUnknown}}
    -
    - -

    Legacy browser support

    - - +{{Compat("api.CSSStyleSheet.insertRule")}}

    See also

    diff --git a/files/zh-tw/web/api/datatransfer/index.html b/files/zh-tw/web/api/datatransfer/index.html index d202c3b876..2ffaf4c593 100644 --- a/files/zh-tw/web/api/datatransfer/index.html +++ b/files/zh-tw/web/api/datatransfer/index.html @@ -107,92 +107,7 @@ translation_of: Web/API/DataTransfer

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support4{{CompatVersionUnknown}}3.5 [2]
    - {{CompatGeckoDesktop(52)}}[3]
    10 [1] [2]123.1 [2]
    {{domxref("DataTransfer.items", "items")}} property4{{CompatVersionUnknown}}50{{CompatNo}}12{{CompatNo}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidAndroid WebviewChrome for AndroidEdgeFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari Mobile
    Basic support{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    - {{CompatGeckoMobile(52)}}[3]
    {{CompatNo}}{{CompatIE("10")}}[1][2]{{CompatNo}}{{CompatNo}}
    {{domxref("DataTransfer.items", "items")}} property{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatVersionUnknown}}{{CompatGeckoMobile(50)}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
    -
    - -

    [1] Partial support refers to not supporting {{domxref("DataTransfer.setDragImage()")}} [CanIUse.com].

    - -

    [2] Does not support {{domxref("DataTransfer.items")}} property.

    - -

    [3] As of Firefox 52, the {{domxref("DataTransfer.types")}} property returns a frozen array of {{domxref("DOMString")}}s as per spec, rather than a {{domxref("DOMStringList")}}.

    +{{Compat("api.DataTransfer")}}

    參見

    diff --git a/files/zh-tw/web/api/devicemotionevent/index.html b/files/zh-tw/web/api/devicemotionevent/index.html index f21723a1e3..03a8d593c6 100644 --- a/files/zh-tw/web/api/devicemotionevent/index.html +++ b/files/zh-tw/web/api/devicemotionevent/index.html @@ -53,57 +53,7 @@ translation_of: Web/API/DeviceMotionEvent

    瀏覽器相容性

    -

    {{ CompatibilityTable() }}

    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support{{ CompatVersionUnknown() }}{{CompatVersionUnknown}}{{CompatGeckoDesktop("6")}}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
    Basic support{{ CompatVersionUnknown() }}{{CompatVersionUnknown}}{{CompatGeckoMobile("6")}}{{ CompatNo() }}{{ CompatNo() }}4.2
    -
    +{{Compat("api.DeviceMotionEvent")}}

    參見

    diff --git a/files/zh-tw/web/api/deviceorientationevent/index.html b/files/zh-tw/web/api/deviceorientationevent/index.html index 38bc8f5261..8b5528c9fa 100644 --- a/files/zh-tw/web/api/deviceorientationevent/index.html +++ b/files/zh-tw/web/api/deviceorientationevent/index.html @@ -51,65 +51,7 @@ translation_of: Web/API/DeviceOrientationEvent

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support7.0 [1]{{CompatVersionUnknown}}6 [2]{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidAndroid WebviewEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari MobileChrome for Android
    Basic support3.0{{CompatVersionUnknown}} [1]{{CompatVersionUnknown}}6 [2]{{CompatNo}}{{CompatNo}}4.2{{CompatVersionUnknown}} [1]
    -
    - -

    [1] Before version 50, Chrome provided absolute values instead of relative values for this event. Developers still needing absolute values may use the {{domxref("ondeviceorientationabsolute")}} event.

    - -

    [2] Firefox 3.6, 4, and 5 supported mozOrientation instead of the standard DeviceOrientationEvent interface

    +{{Compat("api.DeviceOrientationEvent")}}

    參見

    diff --git a/files/zh-tw/web/api/document/body/index.html b/files/zh-tw/web/api/document/body/index.html index a33d2a7901..b460c50680 100644 --- a/files/zh-tw/web/api/document/body/index.html +++ b/files/zh-tw/web/api/document/body/index.html @@ -69,57 +69,7 @@ alert(document.body.id); // "newBodyElement"

    瀏覽器相容性

    -
    {{CompatibilityTable}}
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support1{{CompatVersionUnknown}}269.6 (possibly earlier)4 (possibly earlier)
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}5 (probably earlier)
    -
    +{{Compat("api.Document.body")}}

    參見

    diff --git a/files/zh-tw/web/api/document/createdocumentfragment/index.html b/files/zh-tw/web/api/document/createdocumentfragment/index.html index efdd4c31e6..73190921e0 100644 --- a/files/zh-tw/web/api/document/createdocumentfragment/index.html +++ b/files/zh-tw/web/api/document/createdocumentfragment/index.html @@ -76,57 +76,7 @@ element.appendChild(fragment);

    瀏覽器相容性

    -
    {{CompatibilityTable}}
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    特色Firefox (Gecko)ChromeEdgeInternet ExplorerOperaSafari
    基礎支援{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    特色Firefox Mobile (Gecko)AndroidEdgeIE MobileOpera MobileSafari Mobile
    基礎支援{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    +{{Compat("api.Document.createDocumentFragment")}}

    更多參考

    diff --git a/files/zh-tw/web/api/document/createelement/index.html b/files/zh-tw/web/api/document/createelement/index.html index 2d847004cc..b89f63e21a 100644 --- a/files/zh-tw/web/api/document/createelement/index.html +++ b/files/zh-tw/web/api/document/createelement/index.html @@ -82,91 +82,7 @@ function addElement () {

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}[1][2]{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    options argument{{CompatVersionUnknown}}[3]{{CompatUnknown}}{{CompatGeckoDesktop(50)}}[4][5]{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidAndroid WebviewEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    options argument{{CompatVersionUnknown}}{{CompatVersionUnknown}}[3]{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}[3]
    -
    - -

    [1] Starting with Gecko 22.0 {{geckoRelease("22.0")}} createElement() no longer uses the {{domxref("HTMLSpanElement")}} interface when the argument is "bgsounds", "multicol", or "image".  Instead, HTMLUnknownElement is used for "bgsound" and "multicol" and {{domxref("HTMLElement")}} HTMLElement is used for "image".

    - -

    [2] The Gecko implementation of createElement doesn't conform to the DOM spec for XUL and XHTML documents: localName and namespaceURI are not set to null on the created element. See {{ Bug(280692) }} for details.

    - -

    [3] In previous versions of the specification, this argument was just a string whose value was the custom element's tag name. For example: document.createElement("button", "custom-button") rather than document.createElement("button", {id: "custom-button"}). For the sake of backwards compatibility, Chrome accepts both forms.

    - -

    [4] See [3] above: like Chrome, Firefox accepts a string instead of an object here, but only from version 51 onwards. In version 50,  options must be an object.

    - -

    [5] To experiment with custom elements in Firefox, you must set the dom.webcomponents.enabled and dom.webcomponents.customelements.enabled preferences to true.

    +{{Compat("api.Document.createElement")}}

    參見

    diff --git a/files/zh-tw/web/api/document/createtextnode/index.html b/files/zh-tw/web/api/document/createtextnode/index.html index 80d3d562b9..b90420cf8b 100644 --- a/files/zh-tw/web/api/document/createtextnode/index.html +++ b/files/zh-tw/web/api/document/createtextnode/index.html @@ -71,50 +71,4 @@ function addTextNode(text) {

    Browser compatibility

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
    Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    +{{Compat("api.Document.createTextNode")}} diff --git a/files/zh-tw/web/api/document/createtreewalker/index.html b/files/zh-tw/web/api/document/createtreewalker/index.html index 5e1b889c32..24582215c5 100644 --- a/files/zh-tw/web/api/document/createtreewalker/index.html +++ b/files/zh-tw/web/api/document/createtreewalker/index.html @@ -139,85 +139,8 @@ while(treeWalker.nextNode()) nodeList.push(treeWalker.currentNode);

    Browser compatibility

    -

    {{CompatibilityTable}}

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support1.0{{CompatGeckoDesktop("1.8.1")}}9.09.03.0
    whatToShow and filter optional1.0{{CompatGeckoDesktop("12")}}{{CompatNo}}{{CompatVersionUnknown}}3.0
    expandEntityReferences {{obsolete_inline}}1.0{{CompatGeckoDesktop("1.8.1")}}
    - Removed in {{CompatGeckoDesktop("12")}}
    9.09.03.0
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatVersionUnknown}}{{CompatGeckoMobile("1.8.1")}}{{CompatVersionUnknown}}9.03.0
    whatToShow and filter optional{{CompatVersionUnknown}}{{CompatGeckoDesktop("12")}}{{CompatNo}}{{CompatVersionUnknown}}3.0
    expandEntityReferences {{obsolete_inline}}{{CompatVersionUnknown}}{{CompatGeckoDesktop("1.8.1")}}
    - Removed in {{CompatGeckoDesktop("12")}}
    {{CompatVersionUnknown}}9.03.0
    -
    +{{Compat("api.Document.createTreeWalker")}} +

    See also

    瀏覽器兼容

    -

    {{ CompatibilityTable() }}

    -
    - - - - - - - - - - - - - - - - - - - -
    功能ChromeFirefox (Gecko)Internet ExplorerOperaSafari
    基本支援{{ CompatUnknown() }}{{ CompatGeckoDesktop("2.0") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    -
    -
    - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    基本支援{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    -
    -

    Gecko 備註

    -
    -

    此時此刻,Gecko 不支援 ArrayBuffer 或 {{ domxref("Blob") }} 作為 data

    -
    -

    {{ languages ( {"en": "en/WebSockets/WebSockets_reference/MessageEvent"} ) }}

    +{{Compat("api.MessageEvent")}} diff --git a/files/zh-tw/web/api/mouseevent/index.html b/files/zh-tw/web/api/mouseevent/index.html index 43f2a3a26d..dd69b77cfc 100644 --- a/files/zh-tw/web/api/mouseevent/index.html +++ b/files/zh-tw/web/api/mouseevent/index.html @@ -172,143 +172,7 @@ document.getElementById("button").addEventListener('click', simulateClick);瀏覽器相容性 -

    {{ CompatibilityTable() }}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support{{CompatVersionUnknown()}}{{CompatVersionUnknown()}}{{CompatVersionUnknown()}}{{CompatVersionUnknown()}}{{CompatVersionUnknown()}}{{CompatVersionUnknown()}}
    {{domxref("MouseEvent.movementX","movementX")}}
    - {{domxref("MouseEvent.movementY","movementY")}}
    {{CompatChrome(37)}}{{CompatVersionUnknown()}}{{CompatVersionUnknown()}} {{property_prefix("moz")}}{{ CompatUnknown() }}{{CompatVersionUnknown()}}{{ CompatUnknown() }}
    {{ domxref("MouseEvent.buttons", "buttons") }}{{CompatChrome(43)}}{{CompatVersionUnknown()}}{{ CompatVersionUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{CompatNo}}
    {{ domxref("MouseEvent.which", "which") }}{{CompatChrome(1)}}{{CompatVersionUnknown()}}1.09.05.01.0
    {{domxref("MouseEvent.getModifierState()", "getModifierState()")}}{{CompatChrome(47)}}{{CompatVersionUnknown()}}{{CompatGeckoDesktop(15)}}{{CompatVersionUnknown()}}{{CompatVersionUnknown()}}{{CompatVersionUnknown()}}
    {{domxref("MouseEvent.mozPressure", "mozPressure")}} and {{domxref("MouseEvent.mozInputSource", "mozInputSource")}} {{non-standard_inline}}{{CompatNo}}{{ CompatUnknown() }}{{CompatGeckoDesktop(2)}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
    {{domxref("MouseEvent.MouseEvent", "MouseEvent()")}}{{CompatChrome(45)}}{{ CompatUnknown() }}{{CompatGeckoDesktop(11)}}9.0{{CompatVersionUnknown()}}{{ CompatUnknown() }}
    {{domxref("MouseEvent.region")}}{{CompatChrome(51)}}[1]{{ CompatUnknown() }}{{CompatGeckoDesktop(32)}}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    {{domxref("MouseEvent.offsetX")}}, and {{domxref("MouseEvent.offsetY")}}{{CompatVersionUnknown()}}9{{CompatGeckoDesktop(40)}}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    {{domxref("MouseEvent.screenX")}}, {{domxref("MouseEvent.screenY")}}, {{domxref("MouseEvent.clientX")}}, and {{domxref("MouseEvent.Y")}} are double instead of long.{{CompatChrome(56)}}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidChrome for AndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatNo}}{{CompatNo}}{{CompatVersionUnknown}}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    -
    - -

    [1] Requires enabling the ExperimentalCanvasFeatures flag.

    +{{Compat("api.MouseEvent")}}

    參見

    diff --git a/files/zh-tw/web/api/mutationobserver/index.html b/files/zh-tw/web/api/mutationobserver/index.html index e2e1e50bfd..24d6cb1bc8 100644 --- a/files/zh-tw/web/api/mutationobserver/index.html +++ b/files/zh-tw/web/api/mutationobserver/index.html @@ -222,55 +222,4 @@ observer.disconnect();

    Browser compatibility

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support18 {{property_prefix("-webkit")}}
    - 26
    {{CompatGeckoDesktop(14)}}11156.0 {{property_prefix("-webkit")}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
    Basic support{{CompatUnknown}}18 {{property_prefix("-webkit")}}
    - 26
    {{CompatGeckoMobile(14)}}11 (8.1)156 {{property_prefix("-webkit")}}
    - 7
    -
    +{{Compat("api.MutationObserver")}} diff --git a/files/zh-tw/web/api/namednodemap/index.html b/files/zh-tw/web/api/namednodemap/index.html index 1aafe72d0a..e5df7f970f 100644 --- a/files/zh-tw/web/api/namednodemap/index.html +++ b/files/zh-tw/web/api/namednodemap/index.html @@ -77,77 +77,7 @@ translation_of: Web/API/NamedNodeMap

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    Deals with {{domxref("Attr")}} rather than {{domxref("Node")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatGeckoDesktop(22)}}[1]{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    Deals with {{domxref("Attr")}} rather than {{domxref("Node")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatGeckoMobile(22)}}[1]{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -

    [1] In Gecko 22 this interface was named mozNamedAttrMap. In Gecko 34 it was named back to NamedNodeMap.

    +{{Compat("api.NamedNodeMap")}}

    參見

    diff --git a/files/zh-tw/web/api/navigator/geolocation/index.html b/files/zh-tw/web/api/navigator/geolocation/index.html index 7c709b0b21..229980e7bc 100644 --- a/files/zh-tw/web/api/navigator/geolocation/index.html +++ b/files/zh-tw/web/api/navigator/geolocation/index.html @@ -37,57 +37,7 @@ translation_of: Web/API/Navigator/geolocation

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support5{{CompatGeckoDesktop("1.9.1")}}910.60
    - {{CompatNo}} 15.0
    - 16.0
    5
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatGeckoMobile("4")}}{{CompatUnknown}}10.60{{CompatUnknown}}
    -
    +{{Compat("api.Navigator.geolocation")}}

    請參考

    diff --git a/files/zh-tw/web/api/navigator/registerprotocolhandler/index.html b/files/zh-tw/web/api/navigator/registerprotocolhandler/index.html index 2ffd20da9d..f12987d26f 100644 --- a/files/zh-tw/web/api/navigator/registerprotocolhandler/index.html +++ b/files/zh-tw/web/api/navigator/registerprotocolhandler/index.html @@ -108,55 +108,7 @@ translation_of: Web/API/Navigator/registerProtocolHandler

    Browser compatibility

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support13[1]{{CompatGeckoDesktop("1.9")}}{{CompatUnknown}}11.60{{CompatUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatUnknown}}{{CompatGeckoMobile("3.5")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -

    [1] Protocol whitelist includes mailto, mms, nntp, rtsp, and webcal. Custom protocols must be prefixed with web+.

    +{{Compat("api.Navigator.registerProtocolHandler")}}

    See also

    diff --git a/files/zh-tw/web/api/node/clonenode/index.html b/files/zh-tw/web/api/node/clonenode/index.html index 2bd1998650..a1e8960137 100644 --- a/files/zh-tw/web/api/node/clonenode/index.html +++ b/files/zh-tw/web/api/node/clonenode/index.html @@ -80,81 +80,4 @@ var p_prime = p.cloneNode(true);

    瀏覽器相容性

    -
    {{CompatibilityTable}}
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    deep as an optional parameter -

    {{CompatVersionUnknown}}[1]

    -
    {{CompatUnknown}}{{CompatGeckoDesktop("13.0")}}{{CompatVersionUnknown}}{{CompatUnknown}} -

    {{CompatVersionUnknown}}[1]

    -
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidChrome for AndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    deep as an optional parameter{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatGeckoMobile("13.0")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -

    [1] Default value for the deep parameter is false.

    +{{Compat("api.Node.cloneNode")}} diff --git a/files/zh-tw/web/api/node/index.html b/files/zh-tw/web/api/node/index.html index 074f903e0a..24e17586e5 100644 --- a/files/zh-tw/web/api/node/index.html +++ b/files/zh-tw/web/api/node/index.html @@ -293,237 +293,4 @@ document.body.removeAll();

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support{{CompatVersionUnknown}}[1]{{CompatVersionUnknown}}{{CompatGeckoDesktop("1.0")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}[1]{{CompatVersionUnknown}}[1]
    getFeature(){{obsolete_inline}}{{CompatNo}}{{CompatUnknown}}{{CompatGeckoDesktop("1.0")}}
    - {{CompatNo}}{{CompatGeckoDesktop("7.0")}}
    {{CompatUnknown}}{{CompatNo}}{{CompatNo}}
    getUserData(), setUserData() and hasAttributes() {{deprecated_inline}}{{CompatNo}}{{CompatUnknown}}{{CompatGeckoDesktop("1.0")}}
    - {{CompatNo}}{{CompatGeckoDesktop("22.0")}}
    {{CompatUnknown}}{{CompatNo}}{{CompatNo}}
    isSameNode(){{CompatVersionUnknown}}{{CompatUnknown}}{{CompatGeckoDesktop("1.0")}}
    - Removed in {{CompatGeckoDesktop("10")}}
    - Returned in {{CompatGeckoDesktop("48")}}
    {{CompatUnknown}}{{CompatNo}}{{CompatNo}}
    isSupported() {{obsolete_inline}}{{CompatNo}}{{CompatUnknown}}{{CompatGeckoDesktop("1.0")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    attributes{{CompatNo}}{{CompatUnknown}}{{CompatGeckoDesktop("1.0")}}
    - {{CompatNo}}{{CompatGeckoDesktop("22.0")}}[2]
    {{CompatNo}}{{CompatNo}}{{CompatNo}}
    rootNode(){{CompatUnknown}}{{CompatUnknown}}CompatGeckoDesktop(48)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    namespaceURI, localName, prefix {{obsolete_inline}}{{CompatVersionUnknown}}
    - {{CompatNo}}46.0[3]
    {{CompatUnknown}}{{CompatVersionUnknown}}
    - {{CompatNo}}48.0[3]
    {{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    getRootNode(), and rootNode deprecated{{CompatChrome(54.0)}}{{CompatUnknown}}{{CompatGeckoDesktop(53)}}{{CompatUnknown}}{{CompatOpera(41)}}{{CompatUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidAndroid WebviewEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari MobileChrome for Android
    Basic support{{CompatUnknown}}{{CompatVersionUnknown}}[1]{{CompatVersionUnknown}}{{CompatGeckoMobile("1.0")}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}[1]{{CompatVersionUnknown}}[1]{{CompatVersionUnknown}}[1]
    getFeature(){{obsolete_inline}}{{CompatNo}}{{CompatNo}}{{CompatUnknown}}{{CompatGeckoMobile("1.0")}}
    - {{CompatNo}}{{CompatGeckoDesktop("7.0")}}
    {{CompatUnknown}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
    getUserData(), setUserData() and hasAttributes() {{deprecated_inline}}{{CompatNo}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatNo}}
    isSameNode(){{CompatUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}} -

    {{CompatGeckoDesktop("1.0")}}
    - Removed in {{CompatGeckoDesktop("10")}}
    - Returned in {{CompatGeckoDesktop("48")}}

    -
    {{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}
    isSupported() {{obsolete_inline}}{{CompatUnknown}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatNo}}
    attributes{{CompatUnknown}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatNo}}
    rootNode(){{CompatUnknown}}{{CompatNo}}{{CompatUnknown}}{{CompatGeckoMobile(48)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatNo}}
    namespaceURI, localName, prefix {{obsolete_inline}}{{CompatUnknown}}{{CompatNo}}{{CompatUnknown}}{{CompatVersionUnknown}}
    - {{CompatNo}}48.0[3]
    {{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatNo}}
    getRootNode(), and rootNode deprecated{{CompatNo}}{{CompatChrome(54.0)}}{{CompatUnknown}}{{CompatGeckoMobile(53)}}{{CompatUnknown}}{{CompatOperaMobile(41)}}{{CompatUnknown}}{{CompatChrome(54.0)}}
    -
    - -

    [1] WebKit and old versions of Blink incorrectly do not make Node inherit from {{domxref("EventTarget")}}.

    - -

    [2] In Gecko 22.0 {{geckoRelease("22.0")}} the attributes property was moved to {{domxref("Element")}}.

    - -

    [3] The properties were moved to the {{domxref("Element")}} and {{domxref("Attr")}} APIs according to the DOM4 standard.

    +{{Compat("api.Node")}} diff --git a/files/zh-tw/web/api/node/ownerdocument/index.html b/files/zh-tw/web/api/node/ownerdocument/index.html index 33e8e641e8..5c472edd3a 100644 --- a/files/zh-tw/web/api/node/ownerdocument/index.html +++ b/files/zh-tw/web/api/node/ownerdocument/index.html @@ -58,54 +58,4 @@ var html = d.documentElement;

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}[1]6.0[2]{{CompatVersionUnknown}}{{CompatUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatUnknown}}{{CompatVersionUnknown}}[1]{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -

    [1] Starting in Gecko 9.0 {{geckoRelease("9.0")}}, the ownerDocument of doctype nodes (that is, nodes for which {{domxref("Node.nodeType")}} is Node.DOCUMENT_TYPE_NODE or 10) is no longer null. Instead, the ownerDocument is the document on which document.implementation.createDocumentType() was called.

    - -

    [2] http://msdn.microsoft.com/en-us/library/ie/ms534315(v=vs.85).aspx

    +{{Compat("api.Node.ownerDocument")}} diff --git a/files/zh-tw/web/api/node/textcontent/index.html b/files/zh-tw/web/api/node/textcontent/index.html index 9375396158..075df31603 100644 --- a/files/zh-tw/web/api/node/textcontent/index.html +++ b/files/zh-tw/web/api/node/textcontent/index.html @@ -76,53 +76,7 @@ document.getElementById("divA").textContent = "This is some text";

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support1+299.64 (possibly earlier)3 (possibly earlier)
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    +{{Compat("api.Node.textContent")}}

    規範

    diff --git a/files/zh-tw/web/api/nodelist/index.html b/files/zh-tw/web/api/nodelist/index.html index f431bd1761..a31cc62615 100644 --- a/files/zh-tw/web/api/nodelist/index.html +++ b/files/zh-tw/web/api/nodelist/index.html @@ -139,81 +139,4 @@ elements.addEventListener("click", function() {

    瀏覽器相容性

    -
    {{CompatibilityTable}}
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    entries(), keys(), values(), forEach(){{CompatChrome(51)}}{{CompatNo}}{{CompatGeckoDesktop(50)}}{{CompatNo}}3810 (maybe prior)
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidAndroid WebviewEdgeFirefox Mobile (Gecko)Firefox OS (Gecko)IE MobileOpera MobileSafari MobileChrome for Android
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    entries(), keys(), values(), forEach(){{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatGeckoMobile(50)}}{{CompatUnknown}}{{CompatNo}}{{CompatUnknown}}10 (maybe prior){{CompatChrome(51)}}
    -
    +{{Compat("api.NodeList")}} diff --git a/files/zh-tw/web/api/notification/index.html b/files/zh-tw/web/api/notification/index.html index fc1e0f9434..ca27b6413e 100644 --- a/files/zh-tw/web/api/notification/index.html +++ b/files/zh-tw/web/api/notification/index.html @@ -188,165 +188,7 @@ translation_of: Web/API/Notification

    瀏覽器支援度

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support5{{property_prefix("webkit")}}[1]
    - 22
    4.0 {{property_prefix("moz")}}[2]
    - 22
    {{CompatNo}}256[3]
    icon5{{property_prefix("webkit")}}[1]
    - 22
    4.0 {{property_prefix("moz")}}[2]
    - 22
    {{CompatNo}}25{{CompatNo}}
    Available in workers{{CompatUnknown}}{{CompatGeckoDesktop("41.0")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    silent{{CompatChrome(43.0)}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
    noscreen, renotify, sound, sticky{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidAndroid WebviewFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari MobileChrome for Android
    Basic support{{CompatUnknown}} -

    {{CompatVersionUnknown}}

    -
    4.0{{property_prefix("moz")}}[2]
    - 22
    1.0.1{{property_prefix("moz")}}[2]
    - 1.2
    {{CompatNo}}{{CompatUnknown}}{{CompatNo}} -

    {{CompatVersionUnknown}}

    -
    icon{{CompatUnknown}}{{CompatVersionUnknown}}4.0{{property_prefix("moz")}}[2]
    - 22
    1.0.1{{property_prefix("moz")}}[2]
    - 1.2
    {{CompatNo}}{{CompatUnknown}}{{CompatNo}}{{CompatVersionUnknown}}
    Available in workers{{CompatUnknown}}{{CompatUnknown}}{{CompatGeckoMobile("41.0")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    silent{{CompatNo}}{{CompatChrome(43.0)}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatChrome(43.0)}}
    noscreen, renotify, sound, sticky{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
    -
    - -

    [1] Before Chrome 22, the support for notification followed an old prefixed version of the specification and used the {{domxref("window.navigator.webkitNotifications","navigator.webkitNotifications")}} object to instantiate a new notification.

    - -

    Before Chrome 32, {{domxref("Notification.permission")}} was not supported.

    - -

    Before Chrome 42, service worker additions were not supported.

    - -

    [2] Prior to Firefox 22 (Firefox OS <1.2), the instantiation of a new notification must be done with the {{domxref("window.navigator.mozNotification", "navigator.mozNotification")}} object through its createNotification method.

    - -

    Prior to Firefox 22 (Firefox OS <1.2), the Notification was displayed when calling the show method and supported only the click and close events.

    - -

    Nick Desaulniers wrote a Notification shim to cover both newer and older implementations.

    - -

    One particular Firefox OS issue is that you can pass a path to an icon to use in the notification, but if the app is packaged you cannot use a relative path like /my_icon.png. You also can't use window.location.origin + "/my_icon.png" because window.location.origin is null in packaged apps. The manifest origin field fixes this, but it is only available in Firefox OS 1.1+. A potential solution for supporting Firefox OS <1.1 is to pass an absolute URL to an externally hosted version of the icon. This is less than ideal as the notification is displayed immediately without the icon, then the icon is fetched, but it works on all versions of Firefox OS.

    - -

    When using notifications  in a Firefox OS app, be sure to add the desktop-notification permission in your manifest file. Notifications can be used at any permission level, hosted or above: "permissions": { "desktop-notification": {} }

    - -

    [3] Safari started to support notification with Safari 6, but only on Mac OSX 10.8+ (Mountain Lion).

    +{{Compat("api.Notification")}}

    延伸閱讀

    diff --git a/files/zh-tw/web/api/notifications_api/index.html b/files/zh-tw/web/api/notifications_api/index.html index 8cf3276371..bfbed6c58f 100644 --- a/files/zh-tw/web/api/notifications_api/index.html +++ b/files/zh-tw/web/api/notifications_api/index.html @@ -73,115 +73,7 @@ translation_of: Web/API/Notifications_API

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support5{{property_prefix("webkit")}}[1]
    - 22
    {{CompatGeckoDesktop("2.0")}}{{property_prefix("moz")}}[2]
    - {{CompatGeckoDesktop("22.0")}}
    {{CompatNo}}256[3]
    Available in workers{{CompatUnknown}}{{CompatGeckoDesktop("41.0")}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    Service worker additions -

    {{CompatChrome(42.0)}}

    -
    {{CompatGeckoDesktop("42.0")}}[4]{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidAndroid WebviewFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari MobileChrome for Android
    Basic support{{CompatUnknown}} -

    {{CompatVersionUnknown}}

    -
    {{CompatGeckoMobile(2.0)}}{{property_prefix("moz")}}[2]
    - {{CompatGeckoMobile(22.0)}}
    1.0.1{{property_prefix("moz")}}[2]
    - 1.2
    {{CompatNo}}{{CompatUnknown}}{{CompatNo}} -

    {{CompatVersionUnknown}}

    -
    Available in workers{{CompatUnknown}}{{CompatUnknown}}{{CompatGeckoMobile(41.0)}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    Service worker additions{{CompatNo}}{{CompatNo}}{{CompatGeckoMobile(42.0)}}[4]{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatChrome(42.0)}}
    -
    - -

    [1] Before Chrome 22, the support for notification followed an old prefixed version of the specification and used the {{domxref("window.navigator.webkitNotifications","navigator.webkitNotifications")}} object to instantiate a new notification. Before Chrome 32, {{domxref("Notification.permission")}} was not supported.

    - -

    [2] Prior to Firefox 22 (Firefox OS <1.2), the instantiation of a new notification was done with the {{domxref("window.navigator.mozNotification", "navigator.mozNotification")}} object through its createNotification() method. In addition, the Notification was displayed when calling the show() method and supported only the click and close events (Nick Desaulniers wrote a Notification shim to cover both newer and older implementations.)

    - -

    [3] Safari started to support notification with Safari 6, but only on Mac OSX 10.8+ (Mountain Lion).

    - -

    [4] Firefox 42 has shipped with web notifications from Service Workers disabled.

    +{{Compat("api.Notification")}}

    Firefox OS permissions

    diff --git a/files/zh-tw/web/api/pointer_lock_api/index.html b/files/zh-tw/web/api/pointer_lock_api/index.html index e37e5ceea5..9e0fcc0b6c 100644 --- a/files/zh-tw/web/api/pointer_lock_api/index.html +++ b/files/zh-tw/web/api/pointer_lock_api/index.html @@ -220,63 +220,7 @@ document.exitPointerLock();

    瀏覽器相容性

    -

    {{ CompatibilityTable() }}

    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support -

    Targeting 23{{ property_prefix("webkit") }}*

    - -

    See CR/72574

    -
    -

    {{ CompatGeckoDesktop("14.0") }}

    - -

    {{bug("633602") }}

    -
    {{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
    Basic support{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
    -
    - -

    * 需啟動 about:flags 中的功能;或以 --enable-pointer-lock 旗標啟動 Chrome。

    +{{Compat("api.Element.requestPointerLock")}}

    另可參閱

    diff --git a/files/zh-tw/web/api/progressevent/index.html b/files/zh-tw/web/api/progressevent/index.html index 250df9b338..3e1e88e53b 100644 --- a/files/zh-tw/web/api/progressevent/index.html +++ b/files/zh-tw/web/api/progressevent/index.html @@ -76,83 +76,7 @@ translation_of: Web/API/ProgressEvent

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support1.0{{CompatGeckoDesktop("1.9.1")}}10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    initProgressEvent() {{non-standard_inline}}{{deprecated_inline}}{{CompatNo}}[1]{{CompatNo}}[2]10.0{{CompatNo}}[4]{{CompatNo}}[3]
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidAndroid WebviewFirefox Mobile (Gecko)IE MobileOpera MobileSafari MobileChrome for Android
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatGeckoMobile("1.9.1")}}10.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    initProgressEvent() {{non-standard_inline}}{{deprecated_inline}}{{CompatNo}}[3]{{CompatNo}}{{CompatNo}}[2]10.0{{CompatNo}}[4]{{CompatNo}}[3]{{CompatNo}}
    -
    - -

    [1] This feature was implemented in Chrome 1.0, but removed in Chrome 17.0.

    - -

    [2] This feature was implemented in Gecko 1.9.1 {{geckoRelease("1.9.1")}}, but removed in Gecko 22 {{geckoRelease("22")}}.

    - -

    [3] This feature was removed at some point.

    - -

    [4] This feature was removed in Opera 15.0.

    +{{Compat("api.ProgressEvent")}}

    參見

    diff --git a/files/zh-tw/web/api/proximity_events/index.html b/files/zh-tw/web/api/proximity_events/index.html index f6464480f8..9e1e814db3 100644 --- a/files/zh-tw/web/api/proximity_events/index.html +++ b/files/zh-tw/web/api/proximity_events/index.html @@ -44,71 +44,8 @@ translation_of: Web/API/Proximity_Events -

    瀏覽器相容性

    -

    {{ CompatibilityTable() }}

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    {{domxref("DeviceProximityEvent")}}{{CompatNo()}}{{CompatVersionUnknown()}}{{CompatNo()}}{{CompatNo()}}{{CompatNo()}}
    {{domxref("UserProximityEvent")}}{{CompatNo()}}{{CompatVersionUnknown()}}{{CompatNo()}}{{CompatNo()}}{{CompatNo()}}
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    {{domxref("DeviceProximityEvent")}}{{CompatNo()}}{{CompatNo()}}{{ CompatGeckoMobile("15.0") }}{{CompatNo()}}{{CompatNo()}}{{CompatNo()}}
    {{domxref("UserProximityEvent")}}{{CompatNo()}}{{CompatNo()}}{{CompatVersionUnknown()}}{{CompatNo()}}{{CompatNo()}}{{CompatNo()}}
    -
    + +

    另可參閱

    瀏覽器兼容

    -

    {{ CompatibilityTable() }}

    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    功能ChromeFirefox (Gecko)Internet ExplorerOperaSafari
    版本 -76 {{ obsolete_inline() }}6{{ CompatGeckoDesktop("2.0") }}{{ CompatNo() }}11.00 (禁用)5.0.1
    協定版本 7{{ CompatNo() }} -

    {{ CompatGeckoDesktop("6.0") }}

    -
    - 請用 MozWebSocket
    -
    {{ CompatNo() }}{{ CompatNo() }}{{ CompatNo() }}
    協定版本 1014 -

    {{ CompatGeckoDesktop("7.0") }}

    -
    - 請用 MozWebSocket
    -
    HTML5 Labs{{ CompatUnknown() }}{{ CompatUnknown() }}
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    功能AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    版本 -76 {{ obsolete_inline() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    協定版本 7{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    協定版本 8 (IETF 草案 10){{ CompatUnknown() }}{{ CompatGeckoMobile("7.0") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    -
    -

    Gecko 附註

    -

    Firefox 的 WebSockets 支援正在持續追蹤發展中的 WebSocket 規範。Firefox 6 實作底層協定版號 7,Firefox 7 實作協定版號 8(IETF 草案 10 的內容)。Firefox mobile 在 7.0 版支援 WebSocket。

    -
    -

    Gecko 6.0 之前,不該存在的 WebSocket 物件使得某些開發者認為 WebSocket 服務沒有前輟,此物件已被更名為 MozWebSocket

    -
    -
    -

    自從 Gecko 7.0,偏好設定 network.websocket.max-connections 可以用來設定 WebSocket 連線同時開啟的最大個數。預設值為 200。

    -
    -
    - 警告:雖然不是唯一的理由,但是目前 WebSockets 被 Firefox 4 與 5 禁用的關鍵原因是一個協定設計上的安全問題,因此不建議在生產環境下使用這些 Firefox 版本的 WebSockets。若仍想測試 WebSockets,你可以開啟 about:config 並設定 network.websocket.enabled 的取值至 true,並需要同時設定 network.websocket.override-security-block 的取值至 true 才能允許 WebSocket 連線的初始化。
    +{{Compat("api.WebSocket")}} diff --git a/files/zh-tw/web/api/webvr_api/index.html b/files/zh-tw/web/api/webvr_api/index.html index 926a1c3b25..dd9db2716f 100644 --- a/files/zh-tw/web/api/webvr_api/index.html +++ b/files/zh-tw/web/api/webvr_api/index.html @@ -149,90 +149,7 @@ translation_of: Web/API/WebVR_API

    Browser compatibility

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support{{CompatNo}}[1]{{CompatVersionUnknown}}{{CompatGeckoDesktop(55)}}[2]{{CompatNo}}{{CompatNo}}{{CompatNo}}
    Gamepad extensions{{CompatNo}}{{CompatNo}}{{CompatNo}}[4]{{CompatNo}}{{CompatNo}}{{CompatNo}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari MobileChrome for AndroidSamsung Internet for GearVR
    Basic support{{CompatNo}}{{CompatNo}}{{CompatGeckoMobile(55)}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatVersionUnknown}}[3]{{CompatVersionUnknown}}
    -  
    Gamepad extensions{{CompatNo}}{{CompatNo}}{{CompatNo}}[4]{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}
    -
    - -

    [1] API Available on all platforms behind a flag, but currently only works on desktop in an experimental version of Chrome (other builds won't return any devices when {{domxref("Navigator.getVRDisplays()")}} is invoked).

    - -

    [2] Currently only Windows support is enabled by default. Mac support is available in Firefox Nightly.

    - -

    [3] Currently supported only by Google Daydream.

    - -

    [4] Enabled in Firefox Nightly and Beta, versions 55 and above. Enabled/disabled by the dom.gamepad-extensions.enabled pref.

    +{{Compat("api.Navigator.getVRDisplays")}}

    See also

    diff --git a/files/zh-tw/web/api/wheelevent/index.html b/files/zh-tw/web/api/wheelevent/index.html index e7446cc044..63b39552fb 100644 --- a/files/zh-tw/web/api/wheelevent/index.html +++ b/files/zh-tw/web/api/wheelevent/index.html @@ -83,105 +83,7 @@ translation_of: Web/API/WheelEvent

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    功能ChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    基本功能31{{ CompatVersionUnknown }}{{ CompatGeckoDesktop("17.0") }}{{ CompatIE("9.0") }}187.0
    window.WheelEvent{{CompatVersionUnknown}}{{ CompatVersionUnknown }}{{ CompatGeckoDesktop("17.0") }}{{ CompatIE("9.0") }}{{CompatVersionUnknown}}{{CompatVersionUnknown}} [1]
    WheelEvent + Ctrl[2]實現按住縮放功能{{CompatVersionUnknown}}{{CompatUnknown}}{{ CompatGeckoDesktop("55.0") }}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    功能AndroidAndroid WebviewEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
    基本功能{{CompatNo}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{ CompatGeckoMobile("17.0") }}{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatNo}}{{CompatVersionUnknown}}
    window.WheelEvent{{CompatNo}}{{CompatVersionUnknown}}{{CompatUnknown}}{{ CompatGeckoMobile("17.0") }}{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}
    WheelEvent + Ctrl[2]實現按住縮放功能{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{ CompatGeckoMobile("55.0") }}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}
    -
    - -

    [1] 嚴格說,Safari並非真正支援WheelEvent,只不過會返回window.WheelEvent物件。

    - -

    [2] 這樣在觸控平面上,比如觸控螢幕或是觸控板上,開發者就可根據用戶按住縮放手勢來實現簡單的縮放功能 (滑鼠滾輪 + Ctrl 習慣上用於縮放)。

    +{{Compat("api.WheelEvent")}}

    參見

    diff --git a/files/zh-tw/web/api/window/domcontentloaded_event/index.html b/files/zh-tw/web/api/window/domcontentloaded_event/index.html index 54d0497519..ed2e701f8d 100644 --- a/files/zh-tw/web/api/window/domcontentloaded_event/index.html +++ b/files/zh-tw/web/api/window/domcontentloaded_event/index.html @@ -67,61 +67,7 @@ original_slug: Web/Events/DOMContentLoaded

    瀏覽器相容性

    -

    {{ CompatibilityTable() }}

    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support0.2{{ CompatGeckoDesktop("1") }}9.09.03.1
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{ CompatVersionUnknown() }}{{ CompatGeckoMobile("1") }}{{ CompatUnknown() }}{{ CompatVersionUnknown() }}{{ CompatVersionUnknown() }}
    -
    - -

    Bubbling for this event is supported by at least Gecko 1.9.2, Chrome 6, and Safari 4.

    - -

    Cross-browser fallback

    - -

    Internet Explorer 8 supports the <code>readystatechange</code> event, which can be used to detect that the DOM is ready. In earlier version of Internet Explorer, this state can be detected by regularily trying to execute <code>document.documentElement.doScroll("left");</code>, as this snippet will throw an error until the DOM is ready.

    - -

    General-purpose JS libraries such as jQuery offer cross-browser methods to detect that the DOM is ready. There are also standalone scripts that offer this feature : contentloaded.js (supports only one listener) and jquery.documentReady.js (doesn't depend on jQuery, despite its name).

    +{{Compat("api.Window.DOMContentLoaded_event")}} diff --git a/files/zh-tw/web/api/window/getcomputedstyle/index.html b/files/zh-tw/web/api/window/getcomputedstyle/index.html index 8dd0f24bad..09a3f58f03 100644 --- a/files/zh-tw/web/api/window/getcomputedstyle/index.html +++ b/files/zh-tw/web/api/window/getcomputedstyle/index.html @@ -115,75 +115,7 @@ var style = window.getComputedStyle(elem1, null);

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}9{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    pseudo-element support{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatVersionUnknown}}915{{CompatVersionUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatVersionUnknown}}WP7 Mango{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    pseudo-element support{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatNo}}{{CompatUnknown}}{{CompatUnknown}}
    -
    +{{Compat("api.Window.getComputedStyle")}}

    規範

    diff --git a/files/zh-tw/web/api/window/location/index.html b/files/zh-tw/web/api/window/location/index.html index a887f88ee0..b156a5808c 100644 --- a/files/zh-tw/web/api/window/location/index.html +++ b/files/zh-tw/web/api/window/location/index.html @@ -323,51 +323,4 @@ span.intLink {

    See also

    Manipulating the browser history

    Browser compatibility

    -

    {{ CompatibilityTable() }}

    -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    -
    -
    - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
    Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    -
    -

    Specification

    -

    HTML Specification: window . location

    -

    {{ languages( { "fr": "fr/DOM/window.location", "ja": "ja/DOM/window.location" } ) }}

    +{{Compat("api.Window.location")}} diff --git a/files/zh-tw/web/api/window/requestidlecallback/index.html b/files/zh-tw/web/api/window/requestidlecallback/index.html index 743e7b2a39..afbaecdbc3 100644 --- a/files/zh-tw/web/api/window/requestidlecallback/index.html +++ b/files/zh-tw/web/api/window/requestidlecallback/index.html @@ -55,59 +55,7 @@ translation_of: Web/API/Window/requestIdleCallback

    Browser compatibility

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support{{CompatChrome(47)}}{{CompatGeckoDesktop(53)}} [1]{{CompatNo}}{{CompatOpera(34)}}{{CompatNo}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroid WebviewChrome for AndroidFirefox Mobile (Gecko)Firefox OSIE MobileOpera MobileSafari Mobile
    Basic support{{CompatChrome(47)}}{{CompatChrome(47)}}{{CompatGeckoMobile(53)}} [1]{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -

    [1] requestIdleCallback() is implemented in Firefox 53 but is disabled by default; to enable it, set the preference dom.requestIdleCallback.enabled to true. It is enabled by default starting in Firefox 55.

    +{{Compat("api.Window.requestIdleCallback")}}

    See also

    diff --git a/files/zh-tw/web/api/windoweventhandlers/index.html b/files/zh-tw/web/api/windoweventhandlers/index.html index a18e59094f..9783139347 100644 --- a/files/zh-tw/web/api/windoweventhandlers/index.html +++ b/files/zh-tw/web/api/windoweventhandlers/index.html @@ -79,101 +79,7 @@ translation_of: Web/API/WindowEventHandlers

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureFirefox (Gecko)ChromeInternet ExplorerOperaSafari
    Basic support{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    onhashchange{{CompatGeckoDesktop(1.9.2)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    onlanguage{{experimental_inline}}{{CompatGeckoDesktop(32)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    onstorage{{CompatGeckoDesktop(45)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureFirefox Mobile (Gecko)AndroidIE MobileOpera MobileSafari Mobile
    Basic support{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    onhashchange{{CompatGeckoMobile(1.9.2)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    onlanguage{{experimental_inline}}{{CompatGeckoMobile(32)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    onstorage{{CompatGeckoDesktop(45)}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    +{{Compat("api.WindowEventHandlers")}}

    參見

    diff --git a/files/zh-tw/web/api/windoweventhandlers/onbeforeunload/index.html b/files/zh-tw/web/api/windoweventhandlers/onbeforeunload/index.html index 66ba170df5..6a7379bd26 100644 --- a/files/zh-tw/web/api/windoweventhandlers/onbeforeunload/index.html +++ b/files/zh-tw/web/api/windoweventhandlers/onbeforeunload/index.html @@ -76,75 +76,7 @@ translation_of: Web/API/WindowEventHandlers/onbeforeunload

    Browser compatibility

    -
    {{CompatibilityTable}}
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support{{CompatChrome(1.0)}}14123
    Custom text support removed{{CompatChrome(51.0)}}{{CompatGeckoMobile("44.0")}} 389.1
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidAndroid WebviewFirefox Mobile (Gecko)IE PhoneOpera MobileSafari MobileChrome for Android
    Basic support{{CompatUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}(no) defect{{CompatVersionUnknown}}
    Custom text support removed{{CompatUnknown}}{{CompatChrome(51.0)}}{{CompatGeckoMobile("44.0")}}   {{CompatChrome(51.0)}}
    -
    +{{Compat("api.WindowEventHandlers.onbeforeunload")}}

    See also

    diff --git a/files/zh-tw/web/api/xmlhttprequest/readystate/index.html b/files/zh-tw/web/api/xmlhttprequest/readystate/index.html index 3f7e909fe0..63b4a24b47 100644 --- a/files/zh-tw/web/api/xmlhttprequest/readystate/index.html +++ b/files/zh-tw/web/api/xmlhttprequest/readystate/index.html @@ -97,52 +97,4 @@ xhr.send(null);

    瀏覽器相容性

    -
    {{CompatibilityTable}}
    - -
    - - - - - - - - - - - - - - - - - - - -
    功能ChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    基本支援{{CompatChrome(1)}}{{CompatGeckoDesktop("1.0")}}[1]{{CompatIe(7)}}{{CompatVersionUnknown}}{{CompatSafari("1.2")}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    功能AndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    基本支援{{CompatUnknown}}1.0{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    +{{Compat("api.XMLHttpRequest.readyState")}} diff --git a/files/zh-tw/web/api/xmlhttprequest/readystatechange_event/index.html b/files/zh-tw/web/api/xmlhttprequest/readystatechange_event/index.html index 79d776fec6..feae1d44e8 100644 --- a/files/zh-tw/web/api/xmlhttprequest/readystatechange_event/index.html +++ b/files/zh-tw/web/api/xmlhttprequest/readystatechange_event/index.html @@ -61,54 +61,4 @@ xhr.send();

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support{{CompatChrome(1)}}{{CompatGeckoDesktop(1.0)}}{{CompatIe(7)}}[1]{{CompatVersionUnknown}}{{CompatSafari(1.2)}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatUnknown}}1.0{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -

    [1] Internet Explorer version 5 and 6 supported ajax calls using ActiveXObject().

    +{{Compat("api.XMLHttpRequest.readystatechange_event")}} diff --git a/files/zh-tw/web/api/xmlhttprequest/status/index.html b/files/zh-tw/web/api/xmlhttprequest/status/index.html index c54ece9939..bd62ed68fd 100644 --- a/files/zh-tw/web/api/xmlhttprequest/status/index.html +++ b/files/zh-tw/web/api/xmlhttprequest/status/index.html @@ -56,57 +56,7 @@ xhr.send(null);

    Browser compatibility

    -
    {{CompatibilityTable}}
    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support{{CompatChrome(1)}}{{CompatGeckoDesktop("1.0")}}[1]{{CompatIe(7)}}[1]{{CompatVersionUnknown}}{{CompatSafari("1.2")}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{CompatUnknown}}1.0{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -

    [1] Internet Explorer versions 5 and 6 lacked the XMLHttpRequest object, but provided a way to make AJAX requests using ActiveXObject.

    +{{Compat("api.XMLHttpRequest.status")}}

    See also

    diff --git a/files/zh-tw/web/api/xmlhttprequesteventtarget/index.html b/files/zh-tw/web/api/xmlhttprequesteventtarget/index.html index 41045ab17f..cea3ce765c 100644 --- a/files/zh-tw/web/api/xmlhttprequesteventtarget/index.html +++ b/files/zh-tw/web/api/xmlhttprequesteventtarget/index.html @@ -47,61 +47,7 @@ translation_of: Web/API/XMLHttpRequestEventTarget

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
    Basic support1{{CompatVersionUnknown}}{{CompatGeckoDesktop("1.0")}}7{{CompatVersionUnknown}}1.2
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidChrome for AndroidEdgeFirefox Mobile (Gecko)IE PhoneOpera MobileSafari Mobile
    Basic support{{CompatUnknown}}1.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -

     

    +{{Compat("api.XMLHttpRequestEventTarget")}}

    參見

    diff --git a/files/zh-tw/web/css/@font-face/index.html b/files/zh-tw/web/css/@font-face/index.html index ef31a61619..d40fb8f249 100644 --- a/files/zh-tw/web/css/@font-face/index.html +++ b/files/zh-tw/web/css/@font-face/index.html @@ -122,117 +122,7 @@ translation_of: Web/CSS/@font-face

    瀏覽器相容性

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    功能特色Firefox (Gecko)ChromeInternet ExplorerOperaSafari
    基本支援{{CompatGeckoDesktop("1.9.1")}}4.04.010.03.1
    WOFF{{CompatGeckoDesktop("1.9.1")}}6.09.011.105.1
    SVG 字型{{CompatNo}}
    - {{unimplemented_inline(119490)}}
    {{CompatNo}}
    unicode-range -

    yes ({{bug(443976)}})

    -
    9.0{{CompatVersionUnknown}}{{CompatVersionUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    功能特色AndroidFirefox 行動版 (Gecko)IE 行動版Opera MiniOpera 行動版Safari 行動版
    基本支援{{CompatVersionUnknown}}{{CompatGeckoMobile("1.9.1")}}{{CompatUnknown}}{{CompatNo}}10.0{{CompatVersionUnknown}}
    WOFF{{CompatNo}}{{CompatGeckoMobile("5.0")}}{{CompatUnknown}}{{CompatNo}}11.0{{CompatNo}}
    SVG 字型{{CompatNo}}{{CompatNo}}
    - {{unimplemented_inline(119490)}}
    {{CompatUnknown}}{{CompatNo}}10.0{{CompatVersionUnknown}}
    unicode-range     {{CompatVersionUnknown}}
    -
    - -

    注意事項

    - - +{{Compat("css.at-rules.font-face")}}

    詳見

    diff --git a/files/zh-tw/web/css/@media/height/index.html b/files/zh-tw/web/css/@media/height/index.html index cb15e99e80..9d556e3e45 100644 --- a/files/zh-tw/web/css/@media/height/index.html +++ b/files/zh-tw/web/css/@media/height/index.html @@ -26,52 +26,4 @@ translation_of: Web/CSS/@media/height

    瀏覽器相容性

    -

    {{ CompatibilityTable() }}

    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    -
    - -
    - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
    -
    - -

     

    +{{Compat("css.at-rules.media.height")}} diff --git a/files/zh-tw/web/css/@media/index.html b/files/zh-tw/web/css/@media/index.html index 08ca289860..9f739a1e7f 100644 --- a/files/zh-tw/web/css/@media/index.html +++ b/files/zh-tw/web/css/@media/index.html @@ -263,111 +263,7 @@ translation_of: Web/CSS/@media

    Browser compatibility

    -

    {{CompatibilityTable}}

    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureChromeEdgeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support (all, print, screen)1.0{{CompatVersionUnknown}}{{ CompatGeckoDesktop(1.7) }}6.09.21.3
    speech{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}9.2{{CompatNo}}
    Media features1.0{{CompatVersionUnknown}}{{ CompatGeckoDesktop(1.7) }}9.09.21.3
    display-mode media feature{{CompatUnknown}}{{CompatNo}}{{ CompatGeckoDesktop(47) }}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidEdgeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support (all, print, screen)1.0{{CompatVersionUnknown}}{{ CompatGeckoMobile(1.7) }}{{CompatVersionUnknown}}9.03.1
    speech{{CompatNo}}{{CompatNo}}{{CompatNo}}{{CompatNo}}9.0{{CompatNo}}
    Media features1.0{{CompatVersionUnknown}}{{ CompatGeckoMobile(1.7) }}{{CompatVersionUnknown}}9.03.1
    display-mode media feature{{CompatUnknown}}{{CompatNo}}{{CompatVersionUnknown}}{{CompatUnknown}}{{CompatUnknown}}{{CompatUnknown}}
    -
    +{{Compat("css.at-rules.media")}}

    See also

    diff --git a/files/zh-tw/web/css/@viewport/index.html b/files/zh-tw/web/css/@viewport/index.html index 7e55775592..8bcb7a184d 100644 --- a/files/zh-tw/web/css/@viewport/index.html +++ b/files/zh-tw/web/css/@viewport/index.html @@ -91,66 +91,8 @@ translation_of: Web/CSS/@viewport

    Browser compatibility

    -

    {{CompatibilityTable}}

    +{{Compat("css.at-rules.viewport")}} -
    - - - - - - - - - - - - - - - - - - - -
    FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
    Basic support29 (behind a flag) [4]{{CompatNo()}} [2]10 {{property_prefix("-ms")}}11.10
    - Removed in 15
    - Reintroduced behind a flag in 16
    {{CompatNo}} [3]
    -
    - -
    - - - - - - - - - - - - - - - - - - - - - -
    FeatureAndroidChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
    Basic support4.429{{CompatNo}} [2]10{{property_prefix("-ms")}}[1]11.10
    - Removed in 15
    - Reintroduced behind a flag in 16
    {{CompatNo}} [3]
    -
    - -

    [1] There is a bug in IE Mobile 10 on older versions of Windows Phone 8, where device-width, when used within @-ms-viewport, evaluates to the screen width in physical pixels rather than normalized CSS pixels, which is wrong according to the specification. However, when used within a viewport {{HTMLElement("meta")}} tag, device-width evaluates correctly. According to Microsoft, this bug was fixed in Windows Phone 8 Update 3 (a.k.a. GDR3), although there are some reports that the Lumia Black GDR3 update did not fix the bug (at least on the Lumia 920). For more details and a workaround, see Tim Kadlec's blog post "Windows Phone 8 and Device-Width".

    - -

    [2]: See {{bug(747754, 'summary')}}

    - -

    [3]: See {{webkitbug(95959)}}

    -

    [4]: See Chromium issue #235457: Enable @viewport on all platforms

    See also