From eeddb651b6e8deb8ecabc2bc5bc28c8ead25cca5 Mon Sep 17 00:00:00 2001 From: YujiSoftware Date: Wed, 2 Mar 2022 20:16:44 +0900 Subject: Migrate to multiple Compat macro (zh-tw) --- files/zh-tw/web/api/fullscreen_api/index.html | 86 ++++++--------------------- 1 file changed, 17 insertions(+), 69 deletions(-) (limited to 'files/zh-tw/web/api/fullscreen_api') diff --git a/files/zh-tw/web/api/fullscreen_api/index.html b/files/zh-tw/web/api/fullscreen_api/index.html index 182f96c922..881d22bbac 100644 --- a/files/zh-tw/web/api/fullscreen_api/index.html +++ b/files/zh-tw/web/api/fullscreen_api/index.html @@ -133,78 +133,26 @@ if (elem.requestFullscreen) {

瀏覽器兼容性

-

Although  Gecko , Trident, and WebKit implement a draft of this API, there are some subtle differences. This document doesn't necessarily try to call them all into focus. The article will be revised as the spec and implementations fall closer into alignment with one another.

- -

{{ CompatibilityTable() }}

- -
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari
Basic support15 {{ property_prefix("-webkit") }}{{ CompatGeckoDesktop("9.0") }} {{ property_prefix("-moz") }}11 {{ property_prefix("-ms") }}12.105.0 {{ property_prefix("-webkit") }}
fullscreenEnabled20 {{ property_prefix("-webkit") }}{{ CompatGeckoDesktop("10.0") }} {{ property_prefix("-moz") }}11 {{ property_prefix("-ms") }}12.105.1 {{ property_prefix("-webkit") }}
-
+

Document.fullscreen

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
FeatureAndroidChromeFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{ CompatUnknown() }}28 {{ property_prefix("-webkit") }}{{ CompatGeckoMobile("9.0") }}{{ property_prefix("-moz") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
fullscreenEnabled{{ CompatUnknown() }}28 {{ property_prefix("-webkit") }}{{ CompatGeckoMobile("10.0") }} {{ property_prefix("moz") }}{{ CompatUnknown() }}{{ CompatUnknown() }}{{ CompatUnknown() }}
-
+{{Compat("api.Document.fullscreen")}} + +

Document.fullscreenElement

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

Document.fullscreenEnabled

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

Document.exitFullscreen

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

Element.requestFullscreen

-

Gecko notes

+{{Compat("api.Element.requestFullscreen")}} -

Although this API was introduced in Gecko 9.0 {{ geckoRelease("9.0") }}, it's not enabled by default in that release. To enable it, set the full-screen-api.enabled preference to true. The API is enabled by default in Gecko 10.0 {{ geckoRelease("10.0") }}. In Gecko all the API is spelt "fullScreen".

規範

-- cgit v1.2.3-54-g00ecf