aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-02 20:22:51 +0900
committerIrvin <irvinfly@gmail.com>2022-03-04 01:03:17 +0800
commit9a110dee28ae2ef12ee014b98fda6bae6ee48edb (patch)
tree6525763f4313d7d8f42aefa699765f61ee1c63df /files
parenteeddb651b6e8deb8ecabc2bc5bc28c8ead25cca5 (diff)
downloadtranslated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.gz
translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.tar.bz2
translated-content-9a110dee28ae2ef12ee014b98fda6bae6ee48edb.zip
Migrate to Compat macro (zh-cn)
Diffstat (limited to 'files')
-rw-r--r--files/zh-cn/web/api/ambientlightsensor/ambientlightsensor/index.html54
-rw-r--r--files/zh-cn/web/api/ambientlightsensor/illuminance/index.html54
-rw-r--r--files/zh-cn/web/api/ambientlightsensor/index.html54
-rw-r--r--files/zh-cn/web/api/analysernode/fftsize/index.html57
-rw-r--r--files/zh-cn/web/api/analysernode/frequencybincount/index.html53
-rw-r--r--files/zh-cn/web/api/analysernode/getbytefrequencydata/index.html53
-rw-r--r--files/zh-cn/web/api/analysernode/smoothingtimeconstant/index.html53
-rw-r--r--files/zh-cn/web/api/animation/animation/index.html50
-rw-r--r--files/zh-cn/web/api/animation/cancel/index.html50
-rw-r--r--files/zh-cn/web/api/animation/cancel_event/index.html50
-rw-r--r--files/zh-cn/web/api/animation/currenttime/index.html54
-rw-r--r--files/zh-cn/web/api/animation/effect/index.html50
-rw-r--r--files/zh-cn/web/api/animation/finished/index.html50
-rw-r--r--files/zh-cn/web/api/animation/id/index.html50
-rw-r--r--files/zh-cn/web/api/animation/playstate/index.html56
-rw-r--r--files/zh-cn/web/api/animationevent/animationevent/index.html67
-rw-r--r--files/zh-cn/web/api/animationevent/animationname/index.html50
-rw-r--r--files/zh-cn/web/api/animationevent/index.html102
-rw-r--r--files/zh-cn/web/api/animationtimeline/index.html56
-rw-r--r--files/zh-cn/web/api/attr/index.html58
-rw-r--r--files/zh-cn/web/api/attr/namespaceuri/index.html50
-rw-r--r--files/zh-cn/web/api/audiobuffer/copyfromchannel/index.html80
-rw-r--r--files/zh-cn/web/api/audiobuffer/duration/index.html57
-rw-r--r--files/zh-cn/web/api/audiobuffer/length/index.html57
-rw-r--r--files/zh-cn/web/api/audiobuffer/numberofchannels/index.html57
-rw-r--r--files/zh-cn/web/api/audiobuffersourcenode/index.html73
-rw-r--r--files/zh-cn/web/api/audiocontext/audiocontext/index.html54
-rw-r--r--files/zh-cn/web/api/audiocontext/close/index.html54
-rw-r--r--files/zh-cn/web/api/audiocontext/createmediaelementsource/index.html65
-rw-r--r--files/zh-cn/web/api/audiocontext/createmediastreamdestination/index.html53
-rw-r--r--files/zh-cn/web/api/audiocontext/createmediastreamsource/index.html57
-rw-r--r--files/zh-cn/web/api/audiocontext/resume/index.html52
-rw-r--r--files/zh-cn/web/api/audiocontext/suspend/index.html52
-rw-r--r--files/zh-cn/web/api/audiodestinationnode/index.html53
-rw-r--r--files/zh-cn/web/api/audiodestinationnode/maxchannelcount/index.html53
-rw-r--r--files/zh-cn/web/api/audionode/index.html81
-rw-r--r--files/zh-cn/web/api/audioparam/index.html112
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/createanalyser/index.html53
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/createbiquadfilter/index.html57
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/createbuffer/index.html53
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/createbuffersource/index.html53
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/createchannelmerger/index.html57
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/createchannelsplitter/index.html57
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/createconstantsource/index.html71
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/createconvolver/index.html53
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/createdelay/index.html57
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/createscriptprocessor/index.html57
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/createwaveshaper/index.html57
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/currenttime/index.html53
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/decodeaudiodata/index.html74
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/destination/index.html53
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/index.html157
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/listener/index.html53
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/samplerate/index.html53
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/state/index.html52
-rw-r--r--files/zh-cn/web/api/baseaudiocontext/statechange_event/index.html52
-rw-r--r--files/zh-cn/web/api/batterymanager/charging/index.html2
-rw-r--r--files/zh-cn/web/api/batterymanager/index.html58
-rw-r--r--files/zh-cn/web/api/beforeinstallpromptevent/index.html74
-rw-r--r--files/zh-cn/web/api/beforeinstallpromptevent/prompt/index.html56
-rw-r--r--files/zh-cn/web/api/biquadfilternode/index.html53
-rw-r--r--files/zh-cn/web/api/blob/blob/index.html66
-rw-r--r--files/zh-cn/web/api/blob/slice/index.html62
-rw-r--r--files/zh-cn/web/api/blobbuilder/index.html74
-rw-r--r--files/zh-cn/web/api/bluetooth/index.html58
-rw-r--r--files/zh-cn/web/api/bluetooth/requestdevice/index.html52
-rw-r--r--files/zh-cn/web/api/cache/add/index.html94
-rw-r--r--files/zh-cn/web/api/cache/addall/index.html94
-rw-r--r--files/zh-cn/web/api/cache/delete/index.html77
-rw-r--r--files/zh-cn/web/api/cache/index.html132
-rw-r--r--files/zh-cn/web/api/cache/keys/index.html58
-rw-r--r--files/zh-cn/web/api/cache/match/index.html78
-rw-r--r--files/zh-cn/web/api/caches/index.html54
-rw-r--r--files/zh-cn/web/api/cachestorage/delete/index.html54
-rw-r--r--files/zh-cn/web/api/cachestorage/has/index.html56
-rw-r--r--files/zh-cn/web/api/cachestorage/keys/index.html54
-rw-r--r--files/zh-cn/web/api/canvascapturemediastreamtrack/index.html50
-rw-r--r--files/zh-cn/web/api/canvasgradient/addcolorstop/index.html50
-rw-r--r--files/zh-cn/web/api/canvasgradient/index.html50
-rw-r--r--files/zh-cn/web/api/canvaspattern/index.html63
-rw-r--r--files/zh-cn/web/api/canvaspattern/settransform/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html59
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/arcto/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/beginpath/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/beziercurveto/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/clip/index.html67
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/closepath/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/createpattern/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/currenttransform/index.html57
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/drawwidgetasonscreen/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/fill/index.html67
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/fillrect/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/filltext/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/filter/index.html56
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/globalalpha/index.html62
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/imagesmoothingquality/index.html52
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html73
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/ispointinstroke/index.html67
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/linecap/index.html56
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/linejoin/index.html56
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/lineto/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/miterlimit/index.html62
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/moveto/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/putimagedata/index.html57
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/resettransform/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/restore/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/rotate/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/save/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html58
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/shadowblur/index.html63
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/shadowcolor/index.html63
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/shadowoffsetx/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/shadowoffsety/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/stroke/index.html67
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/stroketext/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/textalign/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/transform/index.html50
-rw-r--r--files/zh-cn/web/api/canvasrenderingcontext2d/translate/index.html50
-rw-r--r--files/zh-cn/web/api/characterdata/index.html66
-rw-r--r--files/zh-cn/web/api/cleartimeout/index.html58
-rw-r--r--files/zh-cn/web/api/client/index.html67
-rw-r--r--files/zh-cn/web/api/client/postmessage/index.html59
-rw-r--r--files/zh-cn/web/api/clipboardevent/index.html64
-rw-r--r--files/zh-cn/web/api/closeevent/index.html71
-rw-r--r--files/zh-cn/web/api/console/clear/index.html64
-rw-r--r--files/zh-cn/web/api/console/count/index.html70
-rw-r--r--files/zh-cn/web/api/console/dir/index.html70
-rw-r--r--files/zh-cn/web/api/console/dirxml/index.html70
-rw-r--r--files/zh-cn/web/api/console/error/index.html106
-rw-r--r--files/zh-cn/web/api/console/group/index.html47
-rw-r--r--files/zh-cn/web/api/console/groupcollapsed/index.html49
-rw-r--r--files/zh-cn/web/api/console/groupend/index.html72
-rw-r--r--files/zh-cn/web/api/console/info/index.html97
-rw-r--r--files/zh-cn/web/api/console/log/index.html77
-rw-r--r--files/zh-cn/web/api/console/profile/index.html70
-rw-r--r--files/zh-cn/web/api/console/timestamp/index.html64
-rw-r--r--files/zh-cn/web/api/console/warn/index.html88
-rw-r--r--files/zh-cn/web/api/createimagebitmap/index.html114
-rw-r--r--files/zh-cn/web/api/credential_management_api/index.html90
-rw-r--r--files/zh-cn/web/api/credentialscontainer/index.html94
-rw-r--r--files/zh-cn/web/api/crypto/subtle/index.html50
-rw-r--r--files/zh-cn/web/api/crypto_property/index.html52
-rw-r--r--files/zh-cn/web/api/cryptokey/index.html54
-rw-r--r--files/zh-cn/web/api/css/escape/index.html54
-rw-r--r--files/zh-cn/web/api/css/supports/index.html56
-rw-r--r--files/zh-cn/web/api/css_font_loading_api/index.html52
-rw-r--r--files/zh-cn/web/api/cssstyledeclaration/getpropertypriority/index.html56
-rw-r--r--files/zh-cn/web/api/cssstyledeclaration/item/index.html56
-rw-r--r--files/zh-cn/web/api/cssstyledeclaration/removeproperty/index.html56
-rw-r--r--files/zh-cn/web/api/cssstyledeclaration/setproperty/index.html61
-rw-r--r--files/zh-cn/web/api/csssupportsrule/index.html52
-rw-r--r--files/zh-cn/web/api/customevent/initcustomevent/index.html48
-rw-r--r--files/zh-cn/web/api/datatransfer/effectallowed/index.html59
-rw-r--r--files/zh-cn/web/api/datatransfer/files/index.html58
-rw-r--r--files/zh-cn/web/api/datatransfer/setdata/index.html58
-rw-r--r--files/zh-cn/web/api/datatransfer/setdragimage/index.html54
-rw-r--r--files/zh-cn/web/api/datatransfer/types/index.html62
-rw-r--r--files/zh-cn/web/api/datatransferitem/index.html58
-rw-r--r--files/zh-cn/web/api/devicemotionevent/acceleration/index.html52
-rw-r--r--files/zh-cn/web/api/devicemotionevent/accelerationincludinggravity/index.html52
-rw-r--r--files/zh-cn/web/api/devicemotionevent/interval/index.html52
-rw-r--r--files/zh-cn/web/api/devicemotionevent/rotationrate/index.html52
-rw-r--r--files/zh-cn/web/api/deviceorientationevent/absolute/index.html54
-rw-r--r--files/zh-cn/web/api/deviceorientationevent/beta/index.html54
-rw-r--r--files/zh-cn/web/api/deviceorientationevent/gamma/index.html54
-rw-r--r--files/zh-cn/web/api/deviceorientationevent/index.html56
-rw-r--r--files/zh-cn/web/api/deviceproximityevent/index.html50
-rw-r--r--files/zh-cn/web/api/document/caretrangefrompoint/index.html58
-rw-r--r--files/zh-cn/web/api/document/characterset/index.html79
-rw-r--r--files/zh-cn/web/api/document/createelementns/index.html67
-rw-r--r--files/zh-cn/web/api/document/dir/index.html50
-rw-r--r--files/zh-cn/web/api/document/drag_event/index.html54
-rw-r--r--files/zh-cn/web/api/document/dragend_event/index.html56
-rw-r--r--files/zh-cn/web/api/document/dragenter_event/index.html54
-rw-r--r--files/zh-cn/web/api/document/dragleave_event/index.html54
-rw-r--r--files/zh-cn/web/api/document/dragover_event/index.html54
-rw-r--r--files/zh-cn/web/api/document/dragstart_event/index.html54
-rw-r--r--files/zh-cn/web/api/document/drop_event/index.html54
-rw-r--r--files/zh-cn/web/api/document/exitfullscreen/index.html57
-rw-r--r--files/zh-cn/web/api/document/exitpointerlock/index.html61
-rw-r--r--files/zh-cn/web/api/document/fullscreen/index.html66
-rw-r--r--files/zh-cn/web/api/document/fullscreenelement/index.html58
-rw-r--r--files/zh-cn/web/api/document/fullscreenenabled/index.html59
-rw-r--r--files/zh-cn/web/api/document/fullscreenerror_event/index.html54
-rw-r--r--files/zh-cn/web/api/document/hasfocus/index.html56
-rw-r--r--files/zh-cn/web/api/document/head/index.html47
-rw-r--r--files/zh-cn/web/api/document/location/index.html47
-rw-r--r--files/zh-cn/web/api/document/origin/index.html50
-rw-r--r--files/zh-cn/web/api/document/pointerlockelement/index.html61
-rw-r--r--files/zh-cn/web/api/document/querycommandstate/index.html54
-rw-r--r--files/zh-cn/web/api/document/querycommandsupported/index.html48
-rw-r--r--files/zh-cn/web/api/document/scripts/index.html49
-rw-r--r--files/zh-cn/web/api/document/scrollingelement/index.html58
-rw-r--r--files/zh-cn/web/api/document/selectionchange_event/index.html75
-rw-r--r--files/zh-cn/web/api/document/selectstart_event/index.html54
-rw-r--r--files/zh-cn/web/api/document/touchmove_event/index.html54
-rw-r--r--files/zh-cn/web/api/documentfragment/documentfragment/index.html48
-rw-r--r--files/zh-cn/web/api/domerror/index.html54
-rw-r--r--files/zh-cn/web/api/domexception/domexception/index.html52
-rw-r--r--files/zh-cn/web/api/domhighrestimestamp/index.html48
-rw-r--r--files/zh-cn/web/api/domimplementation/hasfeature/index.html63
-rw-r--r--files/zh-cn/web/api/domimplementation/index.html114
-rw-r--r--files/zh-cn/web/api/domtokenlist/toggle/index.html70
-rw-r--r--files/zh-cn/web/api/dragevent/datatransfer/index.html58
-rw-r--r--files/zh-cn/web/api/dragevent/dragevent/index.html54
-rw-r--r--files/zh-cn/web/api/dragevent/index.html60
-rw-r--r--files/zh-cn/web/api/element/animate/index.html96
-rw-r--r--files/zh-cn/web/api/element/assignedslot/index.html54
-rw-r--r--files/zh-cn/web/api/element/before/index.html52
-rw-r--r--files/zh-cn/web/api/element/blur_event/index.html52
-rw-r--r--files/zh-cn/web/api/element/childelementcount/index.html48
-rw-r--r--files/zh-cn/web/api/element/children/index.html50
-rw-r--r--files/zh-cn/web/api/element/classname/index.html50
-rw-r--r--files/zh-cn/web/api/element/click_event/index.html67
-rw-r--r--files/zh-cn/web/api/element/compositionend_event/index.html54
-rw-r--r--files/zh-cn/web/api/element/compositionupdate_event/index.html54
-rw-r--r--files/zh-cn/web/api/element/copy_event/index.html70
-rw-r--r--files/zh-cn/web/api/element/cut_event/index.html73
-rw-r--r--files/zh-cn/web/api/element/dblclick_event/index.html72
-rw-r--r--files/zh-cn/web/api/element/dommousescroll_event/index.html48
-rw-r--r--files/zh-cn/web/api/element/focus_event/index.html54
-rw-r--r--files/zh-cn/web/api/element/focusout_event/index.html52
-rw-r--r--files/zh-cn/web/api/element/getattribute/index.html27
-rw-r--r--files/zh-cn/web/api/element/getattributenames/index.html52
-rw-r--r--files/zh-cn/web/api/element/getelementsbyclassname/index.html47
-rw-r--r--files/zh-cn/web/api/element/getelementsbytagname/index.html60
-rw-r--r--files/zh-cn/web/api/element/getelementsbytagnamens/index.html67
-rw-r--r--files/zh-cn/web/api/element/insertadjacentelement/index.html48
-rw-r--r--files/zh-cn/web/api/element/insertadjacenttext/index.html48
-rw-r--r--files/zh-cn/web/api/element/localname/index.html50
-rw-r--r--files/zh-cn/web/api/element/mousedown_event/index.html72
-rw-r--r--files/zh-cn/web/api/element/mouseenter_event/index.html83
-rw-r--r--files/zh-cn/web/api/element/mouseleave_event/index.html83
-rw-r--r--files/zh-cn/web/api/element/mousewheel_event/index.html88
-rw-r--r--files/zh-cn/web/api/element/namespaceuri/index.html50
-rw-r--r--files/zh-cn/web/api/element/nextelementsibling/index.html66
-rw-r--r--files/zh-cn/web/api/element/outerhtml/index.html48
-rw-r--r--files/zh-cn/web/api/element/prefix/index.html54
-rw-r--r--files/zh-cn/web/api/element/previouselementsibling/index.html72
-rw-r--r--files/zh-cn/web/api/element/queryselectorall/index.html48
-rw-r--r--files/zh-cn/web/api/element/requestfullscreen/index.html90
-rw-r--r--files/zh-cn/web/api/element/scrollleftmax/index.html48
-rw-r--r--files/zh-cn/web/api/element/scrolltopmax/index.html48
-rw-r--r--files/zh-cn/web/api/element/shadowroot/index.html54
-rw-r--r--files/zh-cn/web/api/event/cancelbubble/index.html54
-rw-r--r--files/zh-cn/web/api/event/composed/index.html56
-rw-r--r--files/zh-cn/web/api/event/initevent/index.html54
-rw-r--r--files/zh-cn/web/api/event/srcelement/index.html50
-rw-r--r--files/zh-cn/web/api/eventsource/close/index.html69
-rw-r--r--files/zh-cn/web/api/eventsource/eventsource/index.html64
-rw-r--r--files/zh-cn/web/api/eventsource/onerror/index.html69
-rw-r--r--files/zh-cn/web/api/eventsource/onopen/index.html69
-rw-r--r--files/zh-cn/web/api/extendableevent/index.html71
-rw-r--r--files/zh-cn/web/api/fetchevent/index.html56
-rw-r--r--files/zh-cn/web/api/fetchevent/respondwith/index.html56
-rw-r--r--files/zh-cn/web/api/file/file/index.html52
-rw-r--r--files/zh-cn/web/api/file/lastmodified/index.html52
-rw-r--r--files/zh-cn/web/api/file/type/index.html54
-rw-r--r--files/zh-cn/web/api/file/webkitrelativepath/index.html50
-rw-r--r--files/zh-cn/web/api/file_handle_api/index.html48
-rw-r--r--files/zh-cn/web/api/fileexception/index.html50
-rw-r--r--files/zh-cn/web/api/filereader/abort/index.html54
-rw-r--r--files/zh-cn/web/api/filereader/error/index.html54
-rw-r--r--files/zh-cn/web/api/filereader/index.html92
-rw-r--r--files/zh-cn/web/api/filereader/readasarraybuffer/index.html54
-rw-r--r--files/zh-cn/web/api/filereader/readasbinarystring/index.html54
-rw-r--r--files/zh-cn/web/api/filereader/readastext/index.html56
-rw-r--r--files/zh-cn/web/api/filereader/readystate/index.html54
-rw-r--r--files/zh-cn/web/api/filereader/result/index.html54
-rw-r--r--files/zh-cn/web/api/filesystem/index.html50
-rw-r--r--files/zh-cn/web/api/filesystemdirectoryentry/index.html102
-rw-r--r--files/zh-cn/web/api/filesystemfileentry/index.html80
-rw-r--r--files/zh-cn/web/api/filesystemsync/index.html50
-rw-r--r--files/zh-cn/web/api/fontface/index.html54
-rw-r--r--files/zh-cn/web/api/fontfaceset/check/index.html54
-rw-r--r--files/zh-cn/web/api/fontfaceset/index.html75
-rw-r--r--files/zh-cn/web/api/formdata/append/index.html94
-rw-r--r--files/zh-cn/web/api/formdata/entries/index.html75
-rw-r--r--files/zh-cn/web/api/formdata/formdata/index.html91
-rw-r--r--files/zh-cn/web/api/formdata/get/index.html75
-rw-r--r--files/zh-cn/web/api/formdata/getall/index.html75
-rw-r--r--files/zh-cn/web/api/formdata/has/index.html75
-rw-r--r--files/zh-cn/web/api/formdata/keys/index.html72
-rw-r--r--files/zh-cn/web/api/formdata/set/index.html75
-rw-r--r--files/zh-cn/web/api/formdata/values/index.html75
-rw-r--r--files/zh-cn/web/api/gainnode/gain/index.html57
-rw-r--r--files/zh-cn/web/api/geolocation/clearwatch/index.html52
-rw-r--r--files/zh-cn/web/api/geolocation/getcurrentposition/index.html52
-rw-r--r--files/zh-cn/web/api/geolocation/index.html52
-rw-r--r--files/zh-cn/web/api/geolocation/watchposition/index.html52
-rw-r--r--files/zh-cn/web/api/geolocation_api/index.html64
-rw-r--r--files/zh-cn/web/api/geolocationcoordinates/index.html52
-rw-r--r--files/zh-cn/web/api/geolocationposition/index.html53
-rw-r--r--files/zh-cn/web/api/geolocationpositionerror/index.html52
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/index.html272
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onabort/index.html55
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onanimationcancel/index.html58
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onanimationend/index.html59
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onanimationiteration/index.html59
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html52
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/ondragleave/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/ondrop/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/ongotpointercapture/index.html58
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html58
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onpointercancel/index.html58
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onpointerdown/index.html58
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onpointermove/index.html56
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onpointerup/index.html56
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onselectionchange/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onselectstart/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/ontouchcancel/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/ontouchmove/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/ontouchstart/index.html54
-rw-r--r--files/zh-cn/web/api/globaleventhandlers/onwheel/index.html58
-rw-r--r--files/zh-cn/web/api/headers/delete/index.html58
-rw-r--r--files/zh-cn/web/api/headers/entries/index.html52
-rw-r--r--files/zh-cn/web/api/headers/get/index.html58
-rw-r--r--files/zh-cn/web/api/headers/has/index.html62
-rw-r--r--files/zh-cn/web/api/headers/headers/index.html58
-rw-r--r--files/zh-cn/web/api/headers/index.html76
-rw-r--r--files/zh-cn/web/api/htmlanchorelement/hash/index.html60
-rw-r--r--files/zh-cn/web/api/htmlanchorelement/href/index.html60
-rw-r--r--files/zh-cn/web/api/htmlanchorelement/index.html80
-rw-r--r--files/zh-cn/web/api/htmlanchorelement/origin/index.html62
-rw-r--r--files/zh-cn/web/api/htmlanchorelement/password/index.html54
-rw-r--r--files/zh-cn/web/api/htmlanchorelement/pathname/index.html62
-rw-r--r--files/zh-cn/web/api/htmlanchorelement/referrerpolicy/index.html52
-rw-r--r--files/zh-cn/web/api/htmlanchorelement/search/index.html62
-rw-r--r--files/zh-cn/web/api/htmlanchorelement/tostring/index.html58
-rw-r--r--files/zh-cn/web/api/htmlanchorelement/username/index.html54
-rw-r--r--files/zh-cn/web/api/htmlareaelement/index.html80
-rw-r--r--files/zh-cn/web/api/htmlbaseelement/index.html48
-rw-r--r--files/zh-cn/web/api/htmlbodyelement/index.html151
-rw-r--r--files/zh-cn/web/api/htmlbuttonelement/index.html96
-rw-r--r--files/zh-cn/web/api/htmlcanvaselement/capturestream/index.html54
-rw-r--r--files/zh-cn/web/api/htmlcanvaselement/height/index.html54
-rw-r--r--files/zh-cn/web/api/htmlcanvaselement/width/index.html54
-rw-r--r--files/zh-cn/web/api/htmldialogelement/index.html64
-rw-r--r--files/zh-cn/web/api/htmlelement/hidden/index.html54
-rw-r--r--files/zh-cn/web/api/htmlelement/index.html211
-rw-r--r--files/zh-cn/web/api/htmlelement/iscontenteditable/index.html50
-rw-r--r--files/zh-cn/web/api/htmlelement/offsetleft/index.html58
-rw-r--r--files/zh-cn/web/api/htmlelement/outertext/index.html54
-rw-r--r--files/zh-cn/web/api/htmlelement/title/index.html51
-rw-r--r--files/zh-cn/web/api/htmlelement/transitionend_event/index.html59
-rw-r--r--files/zh-cn/web/api/htmlformelement/index.html48
-rw-r--r--files/zh-cn/web/api/htmlheadelement/index.html66
-rw-r--r--files/zh-cn/web/api/htmlhtmlelement/index.html48
-rw-r--r--files/zh-cn/web/api/htmliframeelement/index.html188
-rw-r--r--files/zh-cn/web/api/htmlimageelement/image/index.html52
-rw-r--r--files/zh-cn/web/api/htmlimageelement/referrerpolicy/index.html54
-rw-r--r--files/zh-cn/web/api/htmlinputelement/index.html237
-rw-r--r--files/zh-cn/web/api/htmllabelelement/index.html48
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/audiotracks/index.html50
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/autoplay/index.html50
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/buffered/index.html50
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/controls/index.html50
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/currenttime/index.html54
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/loop/index.html54
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/networkstate/index.html56
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/paused/index.html50
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/readystate/index.html52
-rw-r--r--files/zh-cn/web/api/htmlmediaelement/srcobject/index.html59
-rw-r--r--files/zh-cn/web/api/htmlprogresselement/index.html72
-rw-r--r--files/zh-cn/web/api/htmlscriptelement/index.html105
-rw-r--r--files/zh-cn/web/api/htmlselectelement/checkvalidity/index.html56
-rw-r--r--files/zh-cn/web/api/htmlselectelement/setcustomvalidity/index.html58
-rw-r--r--files/zh-cn/web/api/htmlslotelement/index.html54
-rw-r--r--files/zh-cn/web/api/htmlunknownelement/index.html52
-rw-r--r--files/zh-cn/web/api/htmlvideoelement/index.html98
-rw-r--r--files/zh-cn/web/api/idbcursor/direction/index.html51
-rw-r--r--files/zh-cn/web/api/idbcursor/index.html52
-rw-r--r--files/zh-cn/web/api/idbcursor/key/index.html113
-rw-r--r--files/zh-cn/web/api/idbdatabase/index.html73
-rw-r--r--files/zh-cn/web/api/idbfactory/index.html56
-rw-r--r--files/zh-cn/web/api/idbindex/index.html92
-rw-r--r--files/zh-cn/web/api/idbobjectstore/opencursor/index.html52
-rw-r--r--files/zh-cn/web/api/idbrequest/index.html50
-rw-r--r--files/zh-cn/web/api/idbtransaction/index.html56
-rw-r--r--files/zh-cn/web/api/idledeadline/index.html56
-rw-r--r--files/zh-cn/web/api/imagebitmap/index.html70
-rw-r--r--files/zh-cn/web/api/imagedata/data/index.html48
-rw-r--r--files/zh-cn/web/api/imagedata/height/index.html48
-rw-r--r--files/zh-cn/web/api/imagedata/index.html8
-rw-r--r--files/zh-cn/web/api/imagedata/width/index.html48
-rw-r--r--files/zh-cn/web/api/indexeddb/index.html102
-rw-r--r--files/zh-cn/web/api/inputevent/iscomposing/index.html48
-rw-r--r--files/zh-cn/web/api/installevent/index.html54
-rw-r--r--files/zh-cn/web/api/intersectionobserver/root/index.html60
-rw-r--r--files/zh-cn/web/api/issecurecontext/index.html50
-rw-r--r--files/zh-cn/web/api/keyboardevent/altkey/index.html50
-rw-r--r--files/zh-cn/web/api/keyboardevent/charcode/index.html54
-rw-r--r--files/zh-cn/web/api/keyboardevent/ctrlkey/index.html52
-rw-r--r--files/zh-cn/web/api/keyboardevent/iscomposing/index.html50
-rw-r--r--files/zh-cn/web/api/keyboardevent/keyboardevent/index.html70
-rw-r--r--files/zh-cn/web/api/keyboardevent/keycode/index.html58
-rw-r--r--files/zh-cn/web/api/keyboardevent/repeat/index.html52
-rw-r--r--files/zh-cn/web/api/keyboardevent/shiftkey/index.html52
-rw-r--r--files/zh-cn/web/api/localfilesystemsync/index.html50
-rw-r--r--files/zh-cn/web/api/location/index.html112
-rw-r--r--files/zh-cn/web/api/location/reload/index.html50
-rw-r--r--files/zh-cn/web/api/media_source_extensions_api/index.html57
-rw-r--r--files/zh-cn/web/api/media_streams_api/index.html57
-rw-r--r--files/zh-cn/web/api/mediadevices/devicechange_event/index.html61
-rw-r--r--files/zh-cn/web/api/mediadevices/getsupportedconstraints/index.html54
-rw-r--r--files/zh-cn/web/api/mediadevices/ondevicechange/index.html52
-rw-r--r--files/zh-cn/web/api/mediaelementaudiosourcenode/index.html74
-rw-r--r--files/zh-cn/web/api/mediakeysession/index.html79
-rw-r--r--files/zh-cn/web/api/mediakeysession/load/index.html58
-rw-r--r--files/zh-cn/web/api/mediaquerylist/index.html48
-rw-r--r--files/zh-cn/web/api/mediarecorder/index.html56
-rw-r--r--files/zh-cn/web/api/mediarecorder/istypesupported/index.html54
-rw-r--r--files/zh-cn/web/api/mediasession/index.html52
-rw-r--r--files/zh-cn/web/api/mediasource/addsourcebuffer/index.html61
-rw-r--r--files/zh-cn/web/api/mediasource/readystate/index.html61
-rw-r--r--files/zh-cn/web/api/mediastream/addtrack/index.html67
-rw-r--r--files/zh-cn/web/api/mediastream/id/index.html52
-rw-r--r--files/zh-cn/web/api/mediastream_recording_api/index.html62
-rw-r--r--files/zh-cn/web/api/mediastream_recording_api/using_the_mediastream_recording_api/index.html56
-rw-r--r--files/zh-cn/web/api/mediastreamaudiosourcenode/index.html74
-rw-r--r--files/zh-cn/web/api/mediastreamaudiosourcenode/mediastreamaudiosourcenode/index.html53
-rw-r--r--files/zh-cn/web/api/mediastreamevent/index.html54
-rw-r--r--files/zh-cn/web/api/mediastreamtrack/index.html88
-rw-r--r--files/zh-cn/web/api/mediatrackconstraints/index.html135
-rw-r--r--files/zh-cn/web/api/messagechannel/port1/index.html76
-rw-r--r--files/zh-cn/web/api/messagechannel/port2/index.html76
-rw-r--r--files/zh-cn/web/api/messageevent/index.html62
-rw-r--r--files/zh-cn/web/api/messageevent/messageevent/index.html70
-rw-r--r--files/zh-cn/web/api/messageport/onmessage/index.html76
-rw-r--r--files/zh-cn/web/api/mimetype/index.html52
-rw-r--r--files/zh-cn/web/api/mouseevent/altkey/index.html48
-rw-r--r--files/zh-cn/web/api/mouseevent/buttons/index.html62
-rw-r--r--files/zh-cn/web/api/mouseevent/ctrlkey/index.html48
-rw-r--r--files/zh-cn/web/api/mouseevent/initmouseevent/index.html48
-rw-r--r--files/zh-cn/web/api/mouseevent/metakey/index.html48
-rw-r--r--files/zh-cn/web/api/mouseevent/movementx/index.html60
-rw-r--r--files/zh-cn/web/api/mouseevent/movementy/index.html58
-rw-r--r--files/zh-cn/web/api/mouseevent/offsetx/index.html73
-rw-r--r--files/zh-cn/web/api/mouseevent/offsety/index.html73
-rw-r--r--files/zh-cn/web/api/mouseevent/pagex/index.html76
-rw-r--r--files/zh-cn/web/api/mouseevent/pagey/index.html76
-rw-r--r--files/zh-cn/web/api/mouseevent/shiftkey/index.html52
-rw-r--r--files/zh-cn/web/api/mouseevent/x/index.html52
-rw-r--r--files/zh-cn/web/api/mouseevent/y/index.html52
-rw-r--r--files/zh-cn/web/api/mousescrollevent/index.html48
-rw-r--r--files/zh-cn/web/api/namednodemap/index.html67
-rw-r--r--files/zh-cn/web/api/navigation_timing_api/index.html48
-rw-r--r--files/zh-cn/web/api/navigator/credentials/index.html54
-rw-r--r--files/zh-cn/web/api/navigator/donottrack/index.html55
-rw-r--r--files/zh-cn/web/api/navigator/geolocation/index.html2
-rw-r--r--files/zh-cn/web/api/navigator/getbattery/index.html62
-rw-r--r--files/zh-cn/web/api/navigator/getgamepads/index.html60
-rw-r--r--files/zh-cn/web/api/navigator/getusermedia/index.html62
-rw-r--r--files/zh-cn/web/api/navigator/maxtouchpoints/index.html56
-rw-r--r--files/zh-cn/web/api/navigator/mediadevices/index.html60
-rw-r--r--files/zh-cn/web/api/navigator/permissions/index.html56
-rw-r--r--files/zh-cn/web/api/navigator/serviceworker/index.html54
-rw-r--r--files/zh-cn/web/api/navigator/vibrate/index.html60
-rw-r--r--files/zh-cn/web/api/networkinformation/downlink/index.html70
-rw-r--r--files/zh-cn/web/api/networkinformation/index.html62
-rw-r--r--files/zh-cn/web/api/networkinformation/rtt/index.html67
-rw-r--r--files/zh-cn/web/api/node/clonenode/index.html79
-rw-r--r--files/zh-cn/web/api/node/contains/index.html48
-rw-r--r--files/zh-cn/web/api/node/isconnected/index.html6
-rw-r--r--files/zh-cn/web/api/node/isequalnode/index.html48
-rw-r--r--files/zh-cn/web/api/node/ownerdocument/index.html52
-rw-r--r--files/zh-cn/web/api/node/parentnode/index.html47
-rw-r--r--files/zh-cn/web/api/nodefilter/acceptnode/index.html52
-rw-r--r--files/zh-cn/web/api/nodeiterator/index.html52
-rw-r--r--files/zh-cn/web/api/nodelist/entries/index.html54
-rw-r--r--files/zh-cn/web/api/notification/actions/index.html84
-rw-r--r--files/zh-cn/web/api/notification/badge/index.html54
-rw-r--r--files/zh-cn/web/api/notification/body/index.html99
-rw-r--r--files/zh-cn/web/api/notification/close/index.html84
-rw-r--r--files/zh-cn/web/api/notification/data/index.html96
-rw-r--r--files/zh-cn/web/api/notification/dir/index.html99
-rw-r--r--files/zh-cn/web/api/notification/index.html76
-rw-r--r--files/zh-cn/web/api/notification/notification/index.html213
-rw-r--r--files/zh-cn/web/api/notification/permission/index.html99
-rw-r--r--files/zh-cn/web/api/notification/requestpermission/index.html102
-rw-r--r--files/zh-cn/web/api/notifications_api/index.html110
-rw-r--r--files/zh-cn/web/api/offlineaudiocontext/index.html117
-rw-r--r--files/zh-cn/web/api/offlineaudiocontext/length/index.html54
-rw-r--r--files/zh-cn/web/api/offlineaudiocontext/offlineaudiocontext/index.html56
-rw-r--r--files/zh-cn/web/api/offlineaudiocontext/suspend/index.html54
-rw-r--r--files/zh-cn/web/api/origin/index.html50
-rw-r--r--files/zh-cn/web/api/oscillatornode/detune/index.html57
-rw-r--r--files/zh-cn/web/api/oscillatornode/frequency/index.html57
-rw-r--r--files/zh-cn/web/api/oscillatornode/index.html80
-rw-r--r--files/zh-cn/web/api/oscillatornode/oscillatornode/index.html54
-rw-r--r--files/zh-cn/web/api/oscillatornode/setperiodicwave/index.html57
-rw-r--r--files/zh-cn/web/api/path2d/addpath/index.html50
-rw-r--r--files/zh-cn/web/api/path2d/index.html64
-rw-r--r--files/zh-cn/web/api/path2d/path2d/index.html48
-rw-r--r--files/zh-cn/web/api/paymentaddress/index.html56
-rw-r--r--files/zh-cn/web/api/performance/clearmarks/index.html58
-rw-r--r--files/zh-cn/web/api/performance/clearmeasures/index.html58
-rw-r--r--files/zh-cn/web/api/performance/mark/index.html58
-rw-r--r--files/zh-cn/web/api/performance/onresourcetimingbufferfull/index.html64
-rw-r--r--files/zh-cn/web/api/performance/timeorigin/index.html50
-rw-r--r--files/zh-cn/web/api/performanceobserver/observe/index.html54
-rw-r--r--files/zh-cn/web/api/performancepainttiming/index.html52
-rw-r--r--files/zh-cn/web/api/pointer_lock_api/index.html58
-rw-r--r--files/zh-cn/web/api/progressevent/lengthcomputable/index.html52
-rw-r--r--files/zh-cn/web/api/promiserejectionevent/index.html50
-rw-r--r--files/zh-cn/web/api/promiserejectionevent/promiserejectionevent/index.html50
-rw-r--r--files/zh-cn/web/api/pushmanager/subscribe/index.html59
-rw-r--r--files/zh-cn/web/api/pushmessagedata/index.html59
-rw-r--r--files/zh-cn/web/api/pushmessagedata/json/index.html59
-rw-r--r--files/zh-cn/web/api/range/clonerange/index.html52
-rw-r--r--files/zh-cn/web/api/range/collapsed/index.html48
-rw-r--r--files/zh-cn/web/api/range/deletecontents/index.html52
-rw-r--r--files/zh-cn/web/api/range/endcontainer/index.html52
-rw-r--r--files/zh-cn/web/api/range/insertnode/index.html56
-rw-r--r--files/zh-cn/web/api/range/range/index.html48
-rw-r--r--files/zh-cn/web/api/range/setend/index.html52
-rw-r--r--files/zh-cn/web/api/range/setstart/index.html48
-rw-r--r--files/zh-cn/web/api/range/startcontainer/index.html52
-rw-r--r--files/zh-cn/web/api/readablestreamdefaultreader/index.html56
-rw-r--r--files/zh-cn/web/api/request/method/index.html63
-rw-r--r--files/zh-cn/web/api/request/url/index.html63
-rw-r--r--files/zh-cn/web/api/response/arraybuffer/index.html60
-rw-r--r--files/zh-cn/web/api/response/blob/index.html65
-rw-r--r--files/zh-cn/web/api/response/bodyused/index.html65
-rw-r--r--files/zh-cn/web/api/response/clone/index.html63
-rw-r--r--files/zh-cn/web/api/response/formdata/index.html64
-rw-r--r--files/zh-cn/web/api/response/ok/index.html59
-rw-r--r--files/zh-cn/web/api/response/status/index.html63
-rw-r--r--files/zh-cn/web/api/response/statustext/index.html63
-rw-r--r--files/zh-cn/web/api/response/type/index.html65
-rw-r--r--files/zh-cn/web/api/rtcdatachannel/index.html52
-rw-r--r--files/zh-cn/web/api/rtcpeerconnection/addicecandidate/index.html96
-rw-r--r--files/zh-cn/web/api/rtcpeerconnection/icecandidate_event/index.html54
-rw-r--r--files/zh-cn/web/api/rtcpeerconnection/iceconnectionstate/index.html52
-rw-r--r--files/zh-cn/web/api/rtcpeerconnection/onaddstream/index.html52
-rw-r--r--files/zh-cn/web/api/rtcpeerconnection/ondatachannel/index.html54
-rw-r--r--files/zh-cn/web/api/rtcpeerconnection/ontrack/index.html52
-rw-r--r--files/zh-cn/web/api/rtcpeerconnection/removestream/index.html52
-rw-r--r--files/zh-cn/web/api/rtcpeerconnection/rtcpeerconnection/index.html76
-rw-r--r--files/zh-cn/web/api/rtcpeerconnection/setremotedescription/index.html52
-rw-r--r--files/zh-cn/web/api/rtcsessiondescription/index.html54
-rw-r--r--files/zh-cn/web/api/screen/lockorientation/index.html90
-rw-r--r--files/zh-cn/web/api/scriptprocessornode/index.html57
-rw-r--r--files/zh-cn/web/api/selection/anchornode/index.html50
-rw-r--r--files/zh-cn/web/api/selection/anchoroffset/index.html50
-rw-r--r--files/zh-cn/web/api/selection/collapsetoend/index.html50
-rw-r--r--files/zh-cn/web/api/selection/containsnode/index.html52
-rw-r--r--files/zh-cn/web/api/selection/deletefromdocument/index.html50
-rw-r--r--files/zh-cn/web/api/selection/extend/index.html70
-rw-r--r--files/zh-cn/web/api/selection/focusnode/index.html50
-rw-r--r--files/zh-cn/web/api/selection/focusoffset/index.html50
-rw-r--r--files/zh-cn/web/api/selection/modify/index.html50
-rw-r--r--files/zh-cn/web/api/selection/rangecount/index.html50
-rw-r--r--files/zh-cn/web/api/selection/setbaseandextent/index.html52
-rw-r--r--files/zh-cn/web/api/selection/tostring/index.html50
-rw-r--r--files/zh-cn/web/api/selection/type/index.html52
-rw-r--r--files/zh-cn/web/api/service_worker_api/index.html112
-rw-r--r--files/zh-cn/web/api/serviceworker/index.html56
-rw-r--r--files/zh-cn/web/api/serviceworker/onstatechange/index.html56
-rw-r--r--files/zh-cn/web/api/serviceworker/scripturl/index.html56
-rw-r--r--files/zh-cn/web/api/serviceworker/state/index.html56
-rw-r--r--files/zh-cn/web/api/serviceworkercontainer/index.html50
-rw-r--r--files/zh-cn/web/api/serviceworkercontainer/register/index.html54
-rw-r--r--files/zh-cn/web/api/serviceworkerglobalscope/index.html94
-rw-r--r--files/zh-cn/web/api/serviceworkerregistration/active/index.html72
-rw-r--r--files/zh-cn/web/api/serviceworkerregistration/index.html113
-rw-r--r--files/zh-cn/web/api/serviceworkerregistration/pushmanager/index.html56
-rw-r--r--files/zh-cn/web/api/shadowroot/innerhtml/index.html52
-rw-r--r--files/zh-cn/web/api/shadowroot/mode/index.html56
-rw-r--r--files/zh-cn/web/api/speechgrammar/index.html74
-rw-r--r--files/zh-cn/web/api/speechgrammar/speechgrammar/index.html74
-rw-r--r--files/zh-cn/web/api/speechgrammar/src/index.html74
-rw-r--r--files/zh-cn/web/api/speechgrammar/weight/index.html74
-rw-r--r--files/zh-cn/web/api/speechrecognitionresult/index.html74
-rw-r--r--files/zh-cn/web/api/speechrecognitionresult/isfinal/index.html74
-rw-r--r--files/zh-cn/web/api/speechsynthesis/paused/index.html56
-rw-r--r--files/zh-cn/web/api/storage/clear/index.html62
-rw-r--r--files/zh-cn/web/api/storage/getitem/index.html62
-rw-r--r--files/zh-cn/web/api/storage/key/index.html62
-rw-r--r--files/zh-cn/web/api/storage/length/index.html62
-rw-r--r--files/zh-cn/web/api/storage/removeitem/index.html62
-rw-r--r--files/zh-cn/web/api/subtlecrypto/index.html50
-rw-r--r--files/zh-cn/web/api/svgaelement/index.html48
-rw-r--r--files/zh-cn/web/api/svganimatedangle/index.html54
-rw-r--r--files/zh-cn/web/api/svgcircleelement/index.html48
-rw-r--r--files/zh-cn/web/api/svgelement/index.html81
-rw-r--r--files/zh-cn/web/api/svgpathelement/index.html48
-rw-r--r--files/zh-cn/web/api/text/assignedslot/index.html54
-rw-r--r--files/zh-cn/web/api/text/index.html119
-rw-r--r--files/zh-cn/web/api/text/text/index.html48
-rw-r--r--files/zh-cn/web/api/text/wholetext/index.html52
-rw-r--r--files/zh-cn/web/api/textencoder/textencoder/index.html48
-rw-r--r--files/zh-cn/web/api/textmetrics/width/index.html48
-rw-r--r--files/zh-cn/web/api/timeranges/index.html52
-rw-r--r--files/zh-cn/web/api/touch/touch/index.html54
-rw-r--r--files/zh-cn/web/api/transitionevent/index.html108
-rw-r--r--files/zh-cn/web/api/uievent/detail/index.html48
-rw-r--r--files/zh-cn/web/api/uievent/index.html92
-rw-r--r--files/zh-cn/web/api/url/origin/index.html60
-rw-r--r--files/zh-cn/web/api/urlsearchparams/append/index.html52
-rw-r--r--files/zh-cn/web/api/urlsearchparams/delete/index.html52
-rw-r--r--files/zh-cn/web/api/urlsearchparams/set/index.html52
-rw-r--r--files/zh-cn/web/api/urlsearchparams/sort/index.html54
-rw-r--r--files/zh-cn/web/api/urlsearchparams/tostring/index.html52
-rw-r--r--files/zh-cn/web/api/urlsearchparams/urlsearchparams/index.html88
-rw-r--r--files/zh-cn/web/api/vibration_api/index.html49
-rw-r--r--files/zh-cn/web/api/videoplaybackquality/index.html57
-rw-r--r--files/zh-cn/web/api/vrdisplay/index.html50
-rw-r--r--files/zh-cn/web/api/vrdisplay/requestanimationframe/index.html50
-rw-r--r--files/zh-cn/web/api/vrpose/index.html50
-rw-r--r--files/zh-cn/web/api/vrpose/timestamp/index.html50
-rw-r--r--files/zh-cn/web/api/web_animations_api/index.html60
-rw-r--r--files/zh-cn/web/api/web_animations_api/keyframe_formats/index.html52
-rw-r--r--files/zh-cn/web/api/web_audio_api/index.html53
-rw-r--r--files/zh-cn/web/api/webgl_api/constants/index.html50
-rw-r--r--files/zh-cn/web/api/webgl_api/types/index.html50
-rw-r--r--files/zh-cn/web/api/webgl_api/using_extensions/index.html496
-rw-r--r--files/zh-cn/web/api/webglrenderingcontext/activetexture/index.html50
-rw-r--r--files/zh-cn/web/api/webglrenderingcontext/getsupportedextensions/index.html479
-rw-r--r--files/zh-cn/web/api/webglrenderingcontext/isbuffer/index.html56
-rw-r--r--files/zh-cn/web/api/webglrenderingcontext/isenabled/index.html50
-rw-r--r--files/zh-cn/web/api/webgluniformlocation/index.html69
-rw-r--r--files/zh-cn/web/api/websockets_api/index.html151
-rw-r--r--files/zh-cn/web/api/webvr_api/index.html65
-rw-r--r--files/zh-cn/web/api/wheelevent/deltamode/index.html52
-rw-r--r--files/zh-cn/web/api/wheelevent/deltax/index.html54
-rw-r--r--files/zh-cn/web/api/wheelevent/deltay/index.html54
-rw-r--r--files/zh-cn/web/api/wheelevent/deltaz/index.html54
-rw-r--r--files/zh-cn/web/api/window/cancelanimationframe/index.html60
-rw-r--r--files/zh-cn/web/api/window/cancelidlecallback/index.html54
-rw-r--r--files/zh-cn/web/api/window/clearimmediate/index.html47
-rw-r--r--files/zh-cn/web/api/window/deviceorientation_event/index.html50
-rw-r--r--files/zh-cn/web/api/window/event/index.html54
-rw-r--r--files/zh-cn/web/api/window/frameelement/index.html47
-rw-r--r--files/zh-cn/web/api/window/getdefaultcomputedstyle/index.html64
-rw-r--r--files/zh-cn/web/api/window/innerheight/index.html52
-rw-r--r--files/zh-cn/web/api/window/languagechange_event/index.html50
-rw-r--r--files/zh-cn/web/api/window/onappinstalled/index.html54
-rw-r--r--files/zh-cn/web/api/window/onbeforeinstallprompt/index.html54
-rw-r--r--files/zh-cn/web/api/window/outerheight/index.html47
-rw-r--r--files/zh-cn/web/api/window/outerwidth/index.html47
-rw-r--r--files/zh-cn/web/api/window/pageshow_event/index.html50
-rw-r--r--files/zh-cn/web/api/window/pagexoffset/index.html54
-rw-r--r--files/zh-cn/web/api/window/pageyoffset/index.html54
-rw-r--r--files/zh-cn/web/api/window/popstate_event/index.html48
-rw-r--r--files/zh-cn/web/api/window/scrolly/index.html55
-rw-r--r--files/zh-cn/web/api/window/visualviewport/index.html52
-rw-r--r--files/zh-cn/web/api/windowclient/index.html75
-rw-r--r--files/zh-cn/web/api/windowclient/navigate/index.html56
-rw-r--r--files/zh-cn/web/api/windoweventhandlers/index.html96
-rw-r--r--files/zh-cn/web/api/windoweventhandlers/onafterprint/index.html54
-rw-r--r--files/zh-cn/web/api/windoweventhandlers/onbeforeunload/index.html48
-rw-r--r--files/zh-cn/web/api/windoweventhandlers/onlanguagechange/index.html50
-rw-r--r--files/zh-cn/web/api/windoweventhandlers/onmessage/index.html52
-rw-r--r--files/zh-cn/web/api/windoweventhandlers/onmessageerror/index.html76
-rw-r--r--files/zh-cn/web/api/windoweventhandlers/onstorage/index.html54
-rw-r--r--files/zh-cn/web/api/worker/onmessage/index.html50
-rw-r--r--files/zh-cn/web/api/worker/postmessage/index.html52
-rw-r--r--files/zh-cn/web/api/worker/terminate/index.html54
-rw-r--r--files/zh-cn/web/api/workerglobalscope/index.html128
-rw-r--r--files/zh-cn/web/api/xmlhttprequest/getresponseheader/index.html61
-rw-r--r--files/zh-cn/web/api/xmlhttprequest/html_in_xmlhttprequest/index.html51
-rw-r--r--files/zh-cn/web/api/xmlhttprequest/open/index.html53
-rw-r--r--files/zh-cn/web/api/xmlhttprequest/readystatechange_event/index.html52
-rw-r--r--files/zh-cn/web/api/xmlhttprequest/responsetext/index.html52
-rw-r--r--files/zh-cn/web/api/xmlhttprequest/responseurl/index.html52
-rw-r--r--files/zh-cn/web/api/xmlhttprequest/responsexml/index.html54
-rw-r--r--files/zh-cn/web/api/xmlhttprequest/send/index.html119
-rw-r--r--files/zh-cn/web/api/xmlhttprequest/setrequestheader/index.html53
-rw-r--r--files/zh-cn/web/api/xmlhttprequest/timeout_event/index.html56
-rw-r--r--files/zh-cn/web/api/xmlhttprequest/upload/index.html50
-rw-r--r--files/zh-cn/web/api/xmlhttprequest/withcredentials/index.html54
-rw-r--r--files/zh-cn/web/css/-webkit-mask-attachment/index.html49
-rw-r--r--files/zh-cn/web/css/-webkit-overflow-scrolling/index.html51
-rw-r--r--files/zh-cn/web/css/-webkit-touch-callout/index.html50
-rw-r--r--files/zh-cn/web/css/@counter-style/index.html48
-rw-r--r--files/zh-cn/web/css/@font-face/font-family/index.html52
-rw-r--r--files/zh-cn/web/css/@font-face/font-style/index.html51
-rw-r--r--files/zh-cn/web/css/@font-feature-values/index.html50
-rw-r--r--files/zh-cn/web/css/@import/index.html48
-rw-r--r--files/zh-cn/web/css/@media/width/index.html48
-rw-r--r--files/zh-cn/web/css/@namespace/index.html58
-rw-r--r--files/zh-cn/web/css/_colon_-moz-window-inactive/index.html56
-rw-r--r--files/zh-cn/web/css/_colon_default/index.html48
-rw-r--r--files/zh-cn/web/css/_colon_dir/index.html48
-rw-r--r--files/zh-cn/web/css/_colon_disabled/index.html48
-rw-r--r--files/zh-cn/web/css/_colon_first/index.html52
-rw-r--r--files/zh-cn/web/css/_colon_fullscreen/index.html77
-rw-r--r--files/zh-cn/web/css/_colon_hover/index.html79
-rw-r--r--files/zh-cn/web/css/_colon_nth-child/index.html48
-rw-r--r--files/zh-cn/web/css/_colon_only-of-type/index.html48
-rw-r--r--files/zh-cn/web/css/_colon_optional/index.html48
-rw-r--r--files/zh-cn/web/css/_colon_required/index.html48
-rw-r--r--files/zh-cn/web/css/_colon_root/index.html52
-rw-r--r--files/zh-cn/web/css/_colon_visited/index.html56
-rw-r--r--files/zh-cn/web/css/_doublecolon_-webkit-progress-bar/index.html48
-rw-r--r--files/zh-cn/web/css/_doublecolon_first-letter/index.html80
-rw-r--r--files/zh-cn/web/css/_doublecolon_first-line/index.html64
-rw-r--r--files/zh-cn/web/css/_doublecolon_grammar-error/index.html50
-rw-r--r--files/zh-cn/web/css/_doublecolon_placeholder/index.html72
-rw-r--r--files/zh-cn/web/css/animation-duration/index.html51
-rw-r--r--files/zh-cn/web/css/animation-iteration-count/index.html57
-rw-r--r--files/zh-cn/web/css/animation-name/index.html51
-rw-r--r--files/zh-cn/web/css/animation-play-state/index.html55
-rw-r--r--files/zh-cn/web/css/appearance/index.html56
-rw-r--r--files/zh-cn/web/css/background-blend-mode/index.html48
-rw-r--r--files/zh-cn/web/css/background-color/index.html50
-rw-r--r--files/zh-cn/web/css/background-origin/index.html72
-rw-r--r--files/zh-cn/web/css/border-bottom-color/index.html50
-rw-r--r--files/zh-cn/web/css/border-bottom-left-radius/index.html102
-rw-r--r--files/zh-cn/web/css/border-bottom-right-radius/index.html102
-rw-r--r--files/zh-cn/web/css/border-bottom-style/index.html54
-rw-r--r--files/zh-cn/web/css/border-color/index.html2
-rw-r--r--files/zh-cn/web/css/border-image-outset/index.html2
-rw-r--r--files/zh-cn/web/css/border-image-repeat/index.html50
-rw-r--r--files/zh-cn/web/css/border-left/index.html52
-rw-r--r--files/zh-cn/web/css/border-radius/index.html134
-rw-r--r--files/zh-cn/web/css/border-right/index.html52
-rw-r--r--files/zh-cn/web/css/border-spacing/index.html48
-rw-r--r--files/zh-cn/web/css/border-top-left-radius/index.html94
-rw-r--r--files/zh-cn/web/css/border-top-right-radius/index.html86
-rw-r--r--files/zh-cn/web/css/child_combinator/index.html48
-rw-r--r--files/zh-cn/web/css/class_selectors/index.html50
-rw-r--r--files/zh-cn/web/css/clip/index.html52
-rw-r--r--files/zh-cn/web/css/column-count/index.html74
-rw-r--r--files/zh-cn/web/css/column-fill/index.html48
-rw-r--r--files/zh-cn/web/css/column-rule-color/index.html50
-rw-r--r--files/zh-cn/web/css/column-rule-style/index.html48
-rw-r--r--files/zh-cn/web/css/column-rule-width/index.html48
-rw-r--r--files/zh-cn/web/css/column-rule/index.html48
-rw-r--r--files/zh-cn/web/css/column-span/index.html50
-rw-r--r--files/zh-cn/web/css/content/index.html56
-rw-r--r--files/zh-cn/web/css/counter-increment/index.html48
-rw-r--r--files/zh-cn/web/css/css_backgrounds_and_borders/index.html48
-rw-r--r--files/zh-cn/web/css/css_flexible_box_layout/index.html50
-rw-r--r--files/zh-cn/web/css/css_fonts/index.html48
-rw-r--r--files/zh-cn/web/css/css_masking/index.html64
-rw-r--r--files/zh-cn/web/css/css_positioning/index.html48
-rw-r--r--files/zh-cn/web/css/css_shapes/index.html48
-rw-r--r--files/zh-cn/web/css/css_transitions/index.html54
-rw-r--r--files/zh-cn/web/css/cssom_view/index.html50
-rw-r--r--files/zh-cn/web/css/flex-direction/index.html60
-rw-r--r--files/zh-cn/web/css/flex-flow/index.html51
-rw-r--r--files/zh-cn/web/css/flex-shrink/index.html64
-rw-r--r--files/zh-cn/web/css/font-size-adjust/index.html57
-rw-r--r--files/zh-cn/web/css/font-size/index.html50
-rw-r--r--files/zh-cn/web/css/font-smooth/index.html50
-rw-r--r--files/zh-cn/web/css/font-stretch/index.html52
-rw-r--r--files/zh-cn/web/css/gradient/linear-gradient()/index.html167
-rw-r--r--files/zh-cn/web/css/gradient/repeating-linear-gradient()/index.html139
-rw-r--r--files/zh-cn/web/css/gradient/repeating-radial-gradient()/index.html94
-rw-r--r--files/zh-cn/web/css/hyphens/index.html687
-rw-r--r--files/zh-cn/web/css/integer/index.html48
-rw-r--r--files/zh-cn/web/css/isolation/index.html52
-rw-r--r--files/zh-cn/web/css/justify-content/index.html174
-rw-r--r--files/zh-cn/web/css/list-style-image/index.html48
-rw-r--r--files/zh-cn/web/css/list-style-position/index.html50
-rw-r--r--files/zh-cn/web/css/list-style/index.html48
-rw-r--r--files/zh-cn/web/css/margin-bottom/index.html56
-rw-r--r--files/zh-cn/web/css/margin-left/index.html56
-rw-r--r--files/zh-cn/web/css/margin-right/index.html56
-rw-r--r--files/zh-cn/web/css/margin-top/index.html56
-rw-r--r--files/zh-cn/web/css/mask-image/index.html94
-rw-r--r--files/zh-cn/web/css/max-width/index.html71
-rw-r--r--files/zh-cn/web/css/number/index.html56
-rw-r--r--files/zh-cn/web/css/order/index.html75
-rw-r--r--files/zh-cn/web/css/outline-offset/index.html48
-rw-r--r--files/zh-cn/web/css/outline-style/index.html72
-rw-r--r--files/zh-cn/web/css/overflow-y/index.html52
-rw-r--r--files/zh-cn/web/css/overflow/index.html52
-rw-r--r--files/zh-cn/web/css/padding-bottom/index.html52
-rw-r--r--files/zh-cn/web/css/padding-inline-start/index.html52
-rw-r--r--files/zh-cn/web/css/padding-right/index.html52
-rw-r--r--files/zh-cn/web/css/padding-top/index.html52
-rw-r--r--files/zh-cn/web/css/page-break-after/index.html70
-rw-r--r--files/zh-cn/web/css/position_value/index.html80
-rw-r--r--files/zh-cn/web/css/resize/index.html66
-rw-r--r--files/zh-cn/web/css/scroll-snap-coordinate/index.html52
-rw-r--r--files/zh-cn/web/css/scroll-snap-destination/index.html52
-rw-r--r--files/zh-cn/web/css/scroll-snap-points-x/index.html52
-rw-r--r--files/zh-cn/web/css/scroll-snap-points-y/index.html52
-rw-r--r--files/zh-cn/web/css/string/index.html67
-rw-r--r--files/zh-cn/web/css/text-align/index.html137
-rw-r--r--files/zh-cn/web/css/text-justify/index.html58
-rw-r--r--files/zh-cn/web/css/text-overflow/index.html127
-rw-r--r--files/zh-cn/web/css/text-rendering/index.html77
-rw-r--r--files/zh-cn/web/css/text-transform/index.html180
-rw-r--r--files/zh-cn/web/css/transform-box/index.html52
-rw-r--r--files/zh-cn/web/css/transition-delay/index.html54
-rw-r--r--files/zh-cn/web/css/transition-duration/index.html52
-rw-r--r--files/zh-cn/web/css/transition-property/index.html70
-rw-r--r--files/zh-cn/web/css/transition-timing-function/index.html53
-rw-r--r--files/zh-cn/web/css/type_selectors/index.html50
-rw-r--r--files/zh-cn/web/css/universal_selectors/index.html67
-rw-r--r--files/zh-cn/web/css/url()/index.html48
-rw-r--r--files/zh-cn/web/css/will-change/index.html50
-rw-r--r--files/zh-cn/web/css/word-spacing/index.html48
-rw-r--r--files/zh-cn/web/html/cors_enabled_image/index.html50
-rw-r--r--files/zh-cn/web/html/element/acronym/index.html48
-rw-r--r--files/zh-cn/web/html/element/applet/index.html50
-rw-r--r--files/zh-cn/web/html/element/area/index.html50
-rw-r--r--files/zh-cn/web/html/element/b/index.html52
-rw-r--r--files/zh-cn/web/html/element/basefont/index.html52
-rw-r--r--files/zh-cn/web/html/element/bgsound/index.html50
-rw-r--r--files/zh-cn/web/html/element/big/index.html52
-rw-r--r--files/zh-cn/web/html/element/blink/index.html52
-rw-r--r--files/zh-cn/web/html/element/caption/index.html48
-rw-r--r--files/zh-cn/web/html/element/code/index.html47
-rw-r--r--files/zh-cn/web/html/element/col/index.html96
-rw-r--r--files/zh-cn/web/html/element/content/index.html50
-rw-r--r--files/zh-cn/web/html/element/dd/index.html50
-rw-r--r--files/zh-cn/web/html/element/dfn/index.html48
-rw-r--r--files/zh-cn/web/html/element/dl/index.html48
-rw-r--r--files/zh-cn/web/html/element/dt/index.html48
-rw-r--r--files/zh-cn/web/html/element/em/index.html48
-rw-r--r--files/zh-cn/web/html/element/figcaption/index.html48
-rw-r--r--files/zh-cn/web/html/element/hgroup/index.html48
-rw-r--r--files/zh-cn/web/html/element/i/index.html50
-rw-r--r--files/zh-cn/web/html/element/input/button/index.html108
-rw-r--r--files/zh-cn/web/html/element/input/checkbox/index.html65
-rw-r--r--files/zh-cn/web/html/element/input/color/index.html69
-rw-r--r--files/zh-cn/web/html/element/input/date/index.html56
-rw-r--r--files/zh-cn/web/html/element/input/number/index.html55
-rw-r--r--files/zh-cn/web/html/element/input/tel/index.html55
-rw-r--r--files/zh-cn/web/html/element/kbd/index.html48
-rw-r--r--files/zh-cn/web/html/element/keygen/index.html56
-rw-r--r--files/zh-cn/web/html/element/li/index.html48
-rw-r--r--files/zh-cn/web/html/element/map/index.html65
-rw-r--r--files/zh-cn/web/html/element/mark/index.html48
-rw-r--r--files/zh-cn/web/html/element/marquee/index.html106
-rw-r--r--files/zh-cn/web/html/element/meter/index.html58
-rw-r--r--files/zh-cn/web/html/element/p/index.html48
-rw-r--r--files/zh-cn/web/html/element/rp/index.html48
-rw-r--r--files/zh-cn/web/html/element/rt/index.html52
-rw-r--r--files/zh-cn/web/html/element/rtc/index.html48
-rw-r--r--files/zh-cn/web/html/element/script/index.html142
-rw-r--r--files/zh-cn/web/html/element/shadow/index.html50
-rw-r--r--files/zh-cn/web/html/element/source/index.html100
-rw-r--r--files/zh-cn/web/html/element/time/index.html50
-rw-r--r--files/zh-cn/web/html/element/tr/index.html110
-rw-r--r--files/zh-cn/web/html/global_attributes/dir/index.html51
-rw-r--r--files/zh-cn/web/html/global_attributes/draggable/index.html50
-rw-r--r--files/zh-cn/web/html/global_attributes/hidden/index.html50
-rw-r--r--files/zh-cn/web/html/global_attributes/itemid/index.html50
-rw-r--r--files/zh-cn/web/html/global_attributes/itemprop/index.html48
-rw-r--r--files/zh-cn/web/html/global_attributes/itemref/index.html50
-rw-r--r--files/zh-cn/web/html/global_attributes/itemscope/index.html50
-rw-r--r--files/zh-cn/web/html/global_attributes/itemtype/index.html50
-rw-r--r--files/zh-cn/web/html/global_attributes/lang/index.html50
-rw-r--r--files/zh-cn/web/html/global_attributes/spellcheck/index.html50
-rw-r--r--files/zh-cn/web/html/global_attributes/style/index.html50
-rw-r--r--files/zh-cn/web/html/global_attributes/title/index.html67
-rw-r--r--files/zh-cn/web/html/global_attributes/translate/index.html50
-rw-r--r--files/zh-cn/web/javascript/reference/global_objects/number/min_safe_integer/index.html5
-rw-r--r--files/zh-cn/web/manifest/index.html86
-rw-r--r--files/zh-cn/web/mathml/element/maction/index.html126
-rw-r--r--files/zh-cn/web/mathml/element/math/index.html154
-rw-r--r--files/zh-cn/web/mathml/element/mroot/index.html101
-rw-r--r--files/zh-cn/web/mathml/element/mspace/index.html84
-rw-r--r--files/zh-cn/web/mathml/element/msqrt/index.html101
-rw-r--r--files/zh-cn/web/mathml/element/msub/index.html118
-rw-r--r--files/zh-cn/web/security/subresource_integrity/index.html68
-rw-r--r--files/zh-cn/web/svg/element/a/index.html52
-rw-r--r--files/zh-cn/web/svg/element/altglyph/index.html52
-rw-r--r--files/zh-cn/web/svg/element/animate/index.html50
-rw-r--r--files/zh-cn/web/svg/element/animatecolor/index.html46
-rw-r--r--files/zh-cn/web/svg/element/circle/index.html50
-rw-r--r--files/zh-cn/web/svg/element/defs/index.html50
-rw-r--r--files/zh-cn/web/svg/element/desc/index.html48
-rw-r--r--files/zh-cn/web/svg/element/ellipse/index.html50
-rw-r--r--files/zh-cn/web/svg/element/feimage/index.html56
-rw-r--r--files/zh-cn/web/svg/element/filter/index.html52
-rw-r--r--files/zh-cn/web/svg/element/g/index.html50
-rw-r--r--files/zh-cn/web/svg/element/glyphref/index.html50
-rw-r--r--files/zh-cn/web/svg/element/image/index.html50
-rw-r--r--files/zh-cn/web/svg/element/line/index.html50
-rw-r--r--files/zh-cn/web/svg/element/lineargradient/index.html54
-rw-r--r--files/zh-cn/web/svg/element/marker/index.html50
-rw-r--r--files/zh-cn/web/svg/element/metadata/index.html50
-rw-r--r--files/zh-cn/web/svg/element/path/index.html50
-rw-r--r--files/zh-cn/web/svg/element/polygon/index.html50
-rw-r--r--files/zh-cn/web/svg/element/polyline/index.html50
-rw-r--r--files/zh-cn/web/svg/element/rect/index.html50
-rw-r--r--files/zh-cn/web/svg/element/script/index.html50
-rw-r--r--files/zh-cn/web/svg/element/stop/index.html50
-rw-r--r--files/zh-cn/web/svg/element/style/index.html50
-rw-r--r--files/zh-cn/web/svg/element/svg/index.html52
-rw-r--r--files/zh-cn/web/svg/element/switch/index.html52
-rw-r--r--files/zh-cn/web/svg/element/symbol/index.html52
-rw-r--r--files/zh-cn/web/svg/element/text/index.html50
-rw-r--r--files/zh-cn/web/svg/element/title/index.html66
-rw-r--r--files/zh-cn/web/svg/element/tref/index.html48
-rw-r--r--files/zh-cn/web/svg/element/tspan/index.html52
-rw-r--r--files/zh-cn/web/svg/element/use/index.html80
-rw-r--r--files/zh-cn/web/svg/svg_as_an_image/index.html82
896 files changed, 899 insertions, 55388 deletions
diff --git a/files/zh-cn/web/api/ambientlightsensor/ambientlightsensor/index.html b/files/zh-cn/web/api/ambientlightsensor/ambientlightsensor/index.html
index 2796585693..0f2d172c11 100644
--- a/files/zh-cn/web/api/ambientlightsensor/ambientlightsensor/index.html
+++ b/files/zh-cn/web/api/ambientlightsensor/ambientlightsensor/index.html
@@ -41,56 +41,4 @@ translation_of: Web/API/AmbientLightSensor/AmbientLightSensor
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(54.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(54.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(54.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AmbientLightSensor.AmbientLightSensor")}}
diff --git a/files/zh-cn/web/api/ambientlightsensor/illuminance/index.html b/files/zh-cn/web/api/ambientlightsensor/illuminance/index.html
index c17c74869c..302bd16103 100644
--- a/files/zh-cn/web/api/ambientlightsensor/illuminance/index.html
+++ b/files/zh-cn/web/api/ambientlightsensor/illuminance/index.html
@@ -40,56 +40,4 @@ original_slug: Web/API/AmbientLightSensor/reading
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(54.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(54.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(54.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AmbientLightSensor.illuminance")}}
diff --git a/files/zh-cn/web/api/ambientlightsensor/index.html b/files/zh-cn/web/api/ambientlightsensor/index.html
index 9210b449ac..3ba6e0e16d 100644
--- a/files/zh-cn/web/api/ambientlightsensor/index.html
+++ b/files/zh-cn/web/api/ambientlightsensor/index.html
@@ -42,56 +42,4 @@ translation_of: Web/API/AmbientLightSensor
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(54.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(54.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(54.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AmbientLightSensor")}}
diff --git a/files/zh-cn/web/api/analysernode/fftsize/index.html b/files/zh-cn/web/api/analysernode/fftsize/index.html
index 5ce7d04462..3baa916990 100644
--- a/files/zh-cn/web/api/analysernode/fftsize/index.html
+++ b/files/zh-cn/web/api/analysernode/fftsize/index.html
@@ -98,62 +98,7 @@ function draw() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AnalyserNode.fftSize")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/api/analysernode/frequencybincount/index.html b/files/zh-cn/web/api/analysernode/frequencybincount/index.html
index 5ddcd887de..dfeb4419b7 100644
--- a/files/zh-cn/web/api/analysernode/frequencybincount/index.html
+++ b/files/zh-cn/web/api/analysernode/frequencybincount/index.html
@@ -81,58 +81,7 @@ draw();</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AnalyserNode.frequencyBinCount")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/api/analysernode/getbytefrequencydata/index.html b/files/zh-cn/web/api/analysernode/getbytefrequencydata/index.html
index a16460525b..a4fe7b79a9 100644
--- a/files/zh-cn/web/api/analysernode/getbytefrequencydata/index.html
+++ b/files/zh-cn/web/api/analysernode/getbytefrequencydata/index.html
@@ -91,58 +91,7 @@ draw();</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AnalyserNode.getByteFrequencyData")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/api/analysernode/smoothingtimeconstant/index.html b/files/zh-cn/web/api/analysernode/smoothingtimeconstant/index.html
index 4e9b92954e..d27bfafd47 100644
--- a/files/zh-cn/web/api/analysernode/smoothingtimeconstant/index.html
+++ b/files/zh-cn/web/api/analysernode/smoothingtimeconstant/index.html
@@ -92,58 +92,7 @@ draw();</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AnalyserNode.smoothingTimeConstant")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/api/animation/animation/index.html b/files/zh-cn/web/api/animation/animation/index.html
index 178bd25fcb..fdc9cbe87c 100644
--- a/files/zh-cn/web/api/animation/animation/index.html
+++ b/files/zh-cn/web/api/animation/animation/index.html
@@ -48,55 +48,7 @@ translation_of: Web/API/Animation/Animation
<h2 id="浏览器支持">浏览器支持</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(48)}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(48)}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1]  {{domxref("KeyframeEffect")}} 和 {{domxref("DocumentTimeline")}} 接口目前在发行版本中是关闭的, 所以目前无法使用.</p>
+{{Compat("api.Animation.Animation")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/api/animation/cancel/index.html b/files/zh-cn/web/api/animation/cancel/index.html
index 768e63f5fe..79739548fa 100644
--- a/files/zh-cn/web/api/animation/cancel/index.html
+++ b/files/zh-cn/web/api/animation/cancel/index.html
@@ -51,55 +51,7 @@ translation_of: Web/API/Animation/cancel
<h2 id="浏览器兼容">浏览器兼容</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(39.0)}}</td>
- <td>{{CompatGeckoDesktop(48)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(48)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] The Web Animations API is only enabled by default in Firefox Developer Edition and Nightly builds. You can enable it in beta and release builds by setting the preference <code>dom.animations-api.core.enabled</code> to <code>true</code>, and can disable it in any Firefox version by setting this preference to <code>false</code>.</p>
+{{Compat("api.Animation.cancel")}}
<h2 id="相关内容" style="line-height: 30px; font-size: 2.14285714285714rem;">相关内容</h2>
diff --git a/files/zh-cn/web/api/animation/cancel_event/index.html b/files/zh-cn/web/api/animation/cancel_event/index.html
index 339ac7e40f..ca88558f16 100644
--- a/files/zh-cn/web/api/animation/cancel_event/index.html
+++ b/files/zh-cn/web/api/animation/cancel_event/index.html
@@ -53,55 +53,7 @@ original_slug: Web/API/Animation/oncancel
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatChrome(39.0)}}</td>
- <td>{{CompatGeckoDesktop(48)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(48)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Web Animations API 默认在 Firefox Developer Edition 和 Nightly builds 被启用。你可以在设置属性 <code>dom.animations-api.core.enabled 为 true 时在 Beta 和 发行版 开启这个功能,</code>你可以设置为 <code>false </code>来禁用这个功能。</p>
+{{Compat("api.Animation.cancel_event")}}
<h2 id="参见" style="line-height: 30px; font-size: 2.14285714285714rem;">参见</h2>
diff --git a/files/zh-cn/web/api/animation/currenttime/index.html b/files/zh-cn/web/api/animation/currenttime/index.html
index 25c3ca441d..424affba20 100644
--- a/files/zh-cn/web/api/animation/currenttime/index.html
+++ b/files/zh-cn/web/api/animation/currenttime/index.html
@@ -51,59 +51,7 @@ element.currentTime =<em> someValue;</em></pre>
<h2 id="浏览器支持">浏览器支持</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(39.0)}}</td>
- <td>{{CompatGeckoDesktop(48)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(39.0)}}</td>
- <td>{{CompatGeckoMobile(48)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(39.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+{{Compat("api.Animation.currentTime")}}
<h2 id="相关内容" style="line-height: 30px; font-size: 2.14285714285714rem;">相关内容</h2>
diff --git a/files/zh-cn/web/api/animation/effect/index.html b/files/zh-cn/web/api/animation/effect/index.html
index 4061f383e9..cc18acb42c 100644
--- a/files/zh-cn/web/api/animation/effect/index.html
+++ b/files/zh-cn/web/api/animation/effect/index.html
@@ -41,55 +41,7 @@ animation.effect = new KeyframeEffect({ opacity: [ 1, 0 ] }, 300);
<h2 id="浏览器支持">浏览器支持</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+{{Compat("api.Animation.effect")}}
<h2 id="相关内容" style="line-height: 30px; font-size: 2.14285714285714rem;">相关内容</h2>
diff --git a/files/zh-cn/web/api/animation/finished/index.html b/files/zh-cn/web/api/animation/finished/index.html
index b94e2d2d9b..20df7d4b28 100644
--- a/files/zh-cn/web/api/animation/finished/index.html
+++ b/files/zh-cn/web/api/animation/finished/index.html
@@ -57,55 +57,7 @@ translation_of: Web/API/Animation/finished
<h2 id="浏览器支持">浏览器支持</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+{{Compat("api.Animation.finished")}}
<h2 id="相关内容" style="line-height: 30px; font-size: 2.14285714285714rem;">相关内容</h2>
diff --git a/files/zh-cn/web/api/animation/id/index.html b/files/zh-cn/web/api/animation/id/index.html
index 29e267b854..5af1cdbdd0 100644
--- a/files/zh-cn/web/api/animation/id/index.html
+++ b/files/zh-cn/web/api/animation/id/index.html
@@ -50,55 +50,7 @@ animation.<em>id</em> = "newId";
<h2 id="浏览器支持">浏览器支持</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(39.0)}}</td>
- <td>{{CompatGeckoDesktop(48)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(48)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+{{Compat("api.Animation.id")}}
<h2 id="相关文档" style="line-height: 30px; font-size: 2.14285714285714rem;">相关文档</h2>
diff --git a/files/zh-cn/web/api/animation/playstate/index.html b/files/zh-cn/web/api/animation/playstate/index.html
index b3bedac354..cbe1965308 100644
--- a/files/zh-cn/web/api/animation/playstate/index.html
+++ b/files/zh-cn/web/api/animation/playstate/index.html
@@ -91,61 +91,7 @@ tears.forEach(function(el) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(39.0)}} [1]</td>
- <td>{{CompatGeckoDesktop(48)}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(39.0)}} [1]</td>
- <td>{{CompatChrome(39.0)}} [1]</td>
- <td>{{CompatGeckoMobile(48)}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Chrome 50之前, <code>idle</code> 这项属性只用在还没开始的动画上,而在Chrome 50之后, 以 <code>paused显示</code>.</p>
-
-<p>[2] 默认情况下,Web Animations API 只在Firefox Developer Edition 和 Nightly builds可用。您可以在测试版和公开版的设置里通过配置偏好来启用,将<code>dom.animations-api.core.enabled</code> 设为 <code>true</code>, 然后也可在任何版本的Firefox上通过设置为<code>false来</code>禁用它。</p>
+{{Compat("api.Animation.playState")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/animationevent/animationevent/index.html b/files/zh-cn/web/api/animationevent/animationevent/index.html
index 7df7872946..14aa5c0777 100644
--- a/files/zh-cn/web/api/animationevent/animationevent/index.html
+++ b/files/zh-cn/web/api/animationevent/animationevent/index.html
@@ -50,72 +50,7 @@ translation_of: Web/API/AnimationEvent/AnimationEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{ CompatGeckoDesktop("23.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>pseudoElement</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("23.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("23.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(43.0)}}</td>
- </tr>
- <tr>
- <td><code>pseudoElement</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("23.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AnimationEvent.AnimationEvent")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/animationevent/animationname/index.html b/files/zh-cn/web/api/animationevent/animationname/index.html
index 646e8cb4c1..746db23df1 100644
--- a/files/zh-cn/web/api/animationevent/animationname/index.html
+++ b/files/zh-cn/web/api/animationevent/animationname/index.html
@@ -32,55 +32,7 @@ translation_of: Web/API/AnimationEvent/animationName
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("6.0") }}</td>
- <td>10.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(43.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AnimationEvent.animationName")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/animationevent/index.html b/files/zh-cn/web/api/animationevent/index.html
index a6358ac380..75179fd925 100644
--- a/files/zh-cn/web/api/animationevent/index.html
+++ b/files/zh-cn/web/api/animationevent/index.html
@@ -63,107 +63,7 @@ translation_of: Web/API/AnimationEvent
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0 {{ property_prefix("webkit") }}</td>
- <td>{{ CompatGeckoDesktop("6.0") }}</td>
- <td>10.0</td>
- <td>12 {{ property_prefix("o") }}<br>
- 12.10 (without prefix)<br>
- 15.0 {{ property_prefix("webkit") }}</td>
- <td>4.0 {{ property_prefix("webkit") }}</td>
- </tr>
- <tr>
- <td><code>AnimationEvent()</code> constructor</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("23.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>initAnimationEvent()</code> {{non-standard_inline}}{{deprecated_inline}}</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("6.0") }}<br>
- Removed in {{ CompatGeckoDesktop("23.0") }}</td>
- <td>10.0</td>
- <td>12</td>
- <td>4.0</td>
- </tr>
- <tr>
- <td><code>pseudoelement</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("23.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}{{ property_prefix("webkit") }}</td>
- <td>{{ CompatGeckoMobile("6.0") }}</td>
- <td>10.0</td>
- <td>12 {{ property_prefix("o") }}<br>
- 12.10 (without prefix)<br>
- 15.0 {{ property_prefix("webkit") }}</td>
- <td>{{CompatVersionUnknown}}{{ property_prefix("webkit") }}</td>
- </tr>
- <tr>
- <td><code>AnimationEvent()</code> constructor</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("23.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>initAnimationEvent()</code> {{non-standard_inline}}{{deprecated_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("6.0") }}<br>
- Removed in {{ CompatGeckoMobile("23.0") }}</td>
- <td>10.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>pseudoelement</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("23.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AnimationEvent")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/animationtimeline/index.html b/files/zh-cn/web/api/animationtimeline/index.html
index bdb6b06907..819b6ac915 100644
--- a/files/zh-cn/web/api/animationtimeline/index.html
+++ b/files/zh-cn/web/api/animationtimeline/index.html
@@ -33,61 +33,7 @@ translation_of: Web/API/AnimationTimeline
<h2 id="浏览器兼容性"><font><font>浏览器兼容性</font></font></h2>
-<p><font><font>{{CompatibilityTable}}</font></font></p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th><font><font>Chrome</font></font></th>
- <th><font><font>Firefox (Gecko)</font></font></th>
- <th><font><font>Internet Explorer</font></font></th>
- <th><font><font>Opera</font></font></th>
- <th><font><font>Safari (WebKit)</font></font></th>
- </tr>
- <tr>
- <td><font><font>基本支持</font></font></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- <td><font><font>{{CompatGeckoDesktop(48)}} </font></font><sup><font><font>[1]</font></font></sup></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th><font><font>Android</font></font></th>
- <th><font><font>Android Webview</font></font></th>
- <th><font><font>Firefox Mobile (Gecko)</font></font></th>
- <th><font><font>Firefox OS</font></font></th>
- <th><font><font>IE Mobile</font></font></th>
- <th><font><font>Opera Mobile</font></font></th>
- <th><font><font>Safari Mobile</font></font></th>
- <th><font><font>Chrome for Android</font></font></th>
- </tr>
- <tr>
- <td><font><font>基本支持</font></font></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- <td><font><font>{{CompatGeckoMobile(48)}} </font></font><sup><font><font>[1]</font></font></sup></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- </tr>
- </tbody>
-</table>
-
-<p><font><font>[1] Web动画API仅在Firefox Developer Edition和Nightly构建中默认启用。</font><font>您可以在测试启用它,并发布版本通过设定的偏好</font></font><code>dom.animations-api.core.enabled</code><font><font>来</font></font><code>true</code><font><font>,并且可以通过设置此优先于任何版本的Firefox禁用它</font></font><code>false</code><font><font>。</font></font></p>
-</div>
+{{Compat("api.AnimationTimeline")}}
<h2 id="参见"><font><font>参见</font></font></h2>
diff --git a/files/zh-cn/web/api/attr/index.html b/files/zh-cn/web/api/attr/index.html
index a87717916d..ad4f79e0f3 100644
--- a/files/zh-cn/web/api/attr/index.html
+++ b/files/zh-cn/web/api/attr/index.html
@@ -172,63 +172,7 @@ translation_of: Web/API/Attr
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] As of Chrome 45, this property no longer inherits from Node.</p>
+{{Compat("api.Attr")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/attr/namespaceuri/index.html b/files/zh-cn/web/api/attr/namespaceuri/index.html
index eab2e0094c..997a75c16e 100644
--- a/files/zh-cn/web/api/attr/namespaceuri/index.html
+++ b/files/zh-cn/web/api/attr/namespaceuri/index.html
@@ -61,55 +61,7 @@ translation_of: Web/API/Attr/namespaceURI
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特征</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>46.0<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop("48.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特征</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("48.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 此API以前在 {{domxref("Node")}} API上可用。</p>
+{{Compat("api.Attr.namespaceURI")}}
<h2 id="其他文章">其他文章</h2>
diff --git a/files/zh-cn/web/api/audiobuffer/copyfromchannel/index.html b/files/zh-cn/web/api/audiobuffer/copyfromchannel/index.html
index 2cbcf3a57b..19eb228e49 100644
--- a/files/zh-cn/web/api/audiobuffer/copyfromchannel/index.html
+++ b/files/zh-cn/web/api/audiobuffer/copyfromchannel/index.html
@@ -50,85 +50,7 @@ myArrayBuffer.copyFromChannel(anotherArray,1,0);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(14.0)}} {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(27)}}</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Unprefixed</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(27)}}</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(28.0)}} {{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td>Unprefixed</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(43.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioBuffer.copyFromChannel")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/audiobuffer/duration/index.html b/files/zh-cn/web/api/audiobuffer/duration/index.html
index 42b804569e..e46e3d3038 100644
--- a/files/zh-cn/web/api/audiobuffer/duration/index.html
+++ b/files/zh-cn/web/api/audiobuffer/duration/index.html
@@ -64,62 +64,7 @@ button.onclick = function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>23</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>25</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioBuffer.duration")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/audiobuffer/length/index.html b/files/zh-cn/web/api/audiobuffer/length/index.html
index 054584f83b..f73ba0c12b 100644
--- a/files/zh-cn/web/api/audiobuffer/length/index.html
+++ b/files/zh-cn/web/api/audiobuffer/length/index.html
@@ -65,62 +65,7 @@ button.onclick = function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>23</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>25</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioBuffer.length")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/audiobuffer/numberofchannels/index.html b/files/zh-cn/web/api/audiobuffer/numberofchannels/index.html
index 5ea379d53a..47ab680997 100644
--- a/files/zh-cn/web/api/audiobuffer/numberofchannels/index.html
+++ b/files/zh-cn/web/api/audiobuffer/numberofchannels/index.html
@@ -68,62 +68,7 @@ button.onclick = function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>23</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>25</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioBuffer.numberOfChannels")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/audiobuffersourcenode/index.html b/files/zh-cn/web/api/audiobuffersourcenode/index.html
index d811cef4d6..b1e0fc2963 100644
--- a/files/zh-cn/web/api/audiobuffersourcenode/index.html
+++ b/files/zh-cn/web/api/audiobuffersourcenode/index.html
@@ -145,78 +145,7 @@ button.onclick = function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop("23.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td><code>detune</code> property</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("40.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile("25.0")}}</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td><code>detune</code> property</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] As of Chrome 42.0 setting AudioBufferSourceNode.buffer more than once is deprecated. A deprecation message is displayed if the buffer attribute is assigned more than once.</p>
+{{Compat("api.AudioBufferSourceNode")}}
<h2 id="相关页面">相关页面</h2>
diff --git a/files/zh-cn/web/api/audiocontext/audiocontext/index.html b/files/zh-cn/web/api/audiocontext/audiocontext/index.html
index a7f5a96d1f..9b9921d0e6 100644
--- a/files/zh-cn/web/api/audiocontext/audiocontext/index.html
+++ b/files/zh-cn/web/api/audiocontext/audiocontext/index.html
@@ -44,56 +44,4 @@ translation_of: Web/API/AudioContext/AudioContext
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(42)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(42)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioContext.AudioContext")}}
diff --git a/files/zh-cn/web/api/audiocontext/close/index.html b/files/zh-cn/web/api/audiocontext/close/index.html
index 68a2198776..a9a20e8a3a 100644
--- a/files/zh-cn/web/api/audiocontext/close/index.html
+++ b/files/zh-cn/web/api/audiocontext/close/index.html
@@ -53,59 +53,7 @@ audioCtx.close().then(function() { ... });
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{CompatGeckoDesktop(40.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioContext.close")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/audiocontext/createmediaelementsource/index.html b/files/zh-cn/web/api/audiocontext/createmediaelementsource/index.html
index 9b7aec1420..f69460db5e 100644
--- a/files/zh-cn/web/api/audiocontext/createmediaelementsource/index.html
+++ b/files/zh-cn/web/api/audiocontext/createmediaelementsource/index.html
@@ -95,70 +95,7 @@ gainNode.connect(audioCtx.destination);</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22</td>
- <td>
- <p>6.0{{property_prefix("webkit")}}</p>
-
- <p>- buggy! not working -</p>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>
- <p>{{CompatUnknown}}</p>
-
- <p>- buggy! not working -</p>
- </td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioContext.createMediaElementSource")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/audiocontext/createmediastreamdestination/index.html b/files/zh-cn/web/api/audiocontext/createmediastreamdestination/index.html
index c934a2fd2d..97b5bb3dc2 100644
--- a/files/zh-cn/web/api/audiocontext/createmediastreamdestination/index.html
+++ b/files/zh-cn/web/api/audiocontext/createmediastreamdestination/index.html
@@ -101,58 +101,7 @@ var destination = audioCtx.createMediaStreamDestination();</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioContext.createMediaStreamDestination")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/audiocontext/createmediastreamsource/index.html b/files/zh-cn/web/api/audiocontext/createmediastreamsource/index.html
index 8ded5b30d6..93da733542 100644
--- a/files/zh-cn/web/api/audiocontext/createmediastreamsource/index.html
+++ b/files/zh-cn/web/api/audiocontext/createmediastreamsource/index.html
@@ -116,62 +116,7 @@ pre.innerHTML = myScript.innerHTML;</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioContext.createMediaStreamSource")}}
<h2 id="查看更多">查看更多</h2>
diff --git a/files/zh-cn/web/api/audiocontext/resume/index.html b/files/zh-cn/web/api/audiocontext/resume/index.html
index 6491b15d4e..eb34ae11b0 100644
--- a/files/zh-cn/web/api/audiocontext/resume/index.html
+++ b/files/zh-cn/web/api/audiocontext/resume/index.html
@@ -59,57 +59,7 @@ audioCtx.resume().then(function() { ... });
<h2 id="兼容性">兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(41.0)}}</td>
- <td>{{CompatGeckoDesktop(40.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(41.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioContext.resume")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/audiocontext/suspend/index.html b/files/zh-cn/web/api/audiocontext/suspend/index.html
index 1e01cff97a..525fc0d525 100644
--- a/files/zh-cn/web/api/audiocontext/suspend/index.html
+++ b/files/zh-cn/web/api/audiocontext/suspend/index.html
@@ -55,57 +55,7 @@ audioCtx.suspend().then(function() { ... });
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(41.0)}}</td>
- <td>{{CompatGeckoDesktop(40.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(41.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioContext.suspend")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/audiodestinationnode/index.html b/files/zh-cn/web/api/audiodestinationnode/index.html
index 3faf507be0..473a471124 100644
--- a/files/zh-cn/web/api/audiodestinationnode/index.html
+++ b/files/zh-cn/web/api/audiodestinationnode/index.html
@@ -81,58 +81,7 @@ gainNode.connect(audioCtx.destination);</pre>
<h2 id="浏览器支持">浏览器支持</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>23</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- <td>25</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioDestinationNode")}}
<h2 id="其他">其他</h2>
diff --git a/files/zh-cn/web/api/audiodestinationnode/maxchannelcount/index.html b/files/zh-cn/web/api/audiodestinationnode/maxchannelcount/index.html
index 3e3a9ec874..23902ff602 100644
--- a/files/zh-cn/web/api/audiodestinationnode/maxchannelcount/index.html
+++ b/files/zh-cn/web/api/audiodestinationnode/maxchannelcount/index.html
@@ -53,58 +53,7 @@ gainNode.connect(audioCtx.destination);</pre>
<h2 id="浏览器兼容">浏览器兼容</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioDestinationNode.maxChannelCount")}}
<h2 id="其他">其他</h2>
diff --git a/files/zh-cn/web/api/audionode/index.html b/files/zh-cn/web/api/audionode/index.html
index 1c08f81dc4..ef3ae65a0e 100644
--- a/files/zh-cn/web/api/audionode/index.html
+++ b/files/zh-cn/web/api/audionode/index.html
@@ -282,86 +282,7 @@ translation_of: Web/API/AudioNode
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("webkit")}}</td>
- <td>Activated on Nightly only</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>channelCount</code> <code>channelCountMode</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}} (?)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>connect</code><code>(AudioParam)</code></td>
- <td>{{CompatNo}}</td>
- <td>Activated on Nightly only</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>Activated on Nightly only</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>channelCount</code><br>
- <code>channelCountMode</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}} (?)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>connect</code><code>(AudioParam)</code></td>
- <td>{{CompatNo}}</td>
- <td>Activated on Nightly only</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioNode")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/api/audioparam/index.html b/files/zh-cn/web/api/audioparam/index.html
index 64949ad580..af31212d17 100644
--- a/files/zh-cn/web/api/audioparam/index.html
+++ b/files/zh-cn/web/api/audioparam/index.html
@@ -96,117 +96,7 @@ biquadFilter.gain.value = 25;</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(14)}} {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(23)}}</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td>Unprefixed</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>minValue</code> and <code>maxValue</code></td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>39</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>cancelAndHoldAtTime()</code></td>
- <td>{{CompatChrome(57)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatChrome(28)}} {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(25)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td>Unprefixed</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>minValue</code> and <code>maxValue</code></td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>39</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>cancelAndHoldAtTime()</code></td>
- <td>{{CompatChrome(57)}}</td>
- <td>{{CompatChrome(57)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioParam")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/createanalyser/index.html b/files/zh-cn/web/api/baseaudiocontext/createanalyser/index.html
index b302a0ab96..4876c235d6 100644
--- a/files/zh-cn/web/api/baseaudiocontext/createanalyser/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/createanalyser/index.html
@@ -95,58 +95,7 @@ function draw() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.createAnalyser")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/createbiquadfilter/index.html b/files/zh-cn/web/api/baseaudiocontext/createbiquadfilter/index.html
index 7f8210c2f4..4bffd0c359 100644
--- a/files/zh-cn/web/api/baseaudiocontext/createbiquadfilter/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/createbiquadfilter/index.html
@@ -74,62 +74,7 @@ biquadFilter.gain.value = 25;</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0 {{property_prefix("webkit")}}<br>
- 22</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.createBiquadFilter")}}
<h2 id="sect1"> </h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/createbuffer/index.html b/files/zh-cn/web/api/baseaudiocontext/createbuffer/index.html
index ad3c86621b..21e6822ef0 100644
--- a/files/zh-cn/web/api/baseaudiocontext/createbuffer/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/createbuffer/index.html
@@ -122,58 +122,7 @@ button.onclick = function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0 {{property_prefix("webkit")}}<br>
- 22</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.createBuffer")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/createbuffersource/index.html b/files/zh-cn/web/api/baseaudiocontext/createbuffersource/index.html
index 701ca8e220..6ef3a1ea61 100644
--- a/files/zh-cn/web/api/baseaudiocontext/createbuffersource/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/createbuffersource/index.html
@@ -91,58 +91,7 @@ button.onclick = function() {
<h2 id="浏览器支持">浏览器支持</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.createBufferSource")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/createchannelmerger/index.html b/files/zh-cn/web/api/baseaudiocontext/createchannelmerger/index.html
index 2031548322..33a08220db 100644
--- a/files/zh-cn/web/api/baseaudiocontext/createchannelmerger/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/createchannelmerger/index.html
@@ -80,62 +80,7 @@ ac.decodeAudioData(someStereoBuffer, function(data) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.createChannelMerger")}}
<h2 id="相关页面">相关页面</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/createchannelsplitter/index.html b/files/zh-cn/web/api/baseaudiocontext/createchannelsplitter/index.html
index 37c482b6fd..5559f4abbe 100644
--- a/files/zh-cn/web/api/baseaudiocontext/createchannelsplitter/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/createchannelsplitter/index.html
@@ -75,62 +75,7 @@ ac.decodeAudioData(someStereoBuffer, function(data) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.createChannelSplitter")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/createconstantsource/index.html b/files/zh-cn/web/api/baseaudiocontext/createconstantsource/index.html
index 6bff3de1e9..ead559b0c4 100644
--- a/files/zh-cn/web/api/baseaudiocontext/createconstantsource/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/createconstantsource/index.html
@@ -38,73 +38,4 @@ translation_of: Web/API/BaseAudioContext/createConstantSource
<h2 id="Browser_Compatibility">Browser Compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(56.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(43)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Implemented on <code>AudioContext</code></td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(56.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(43)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(56.0)}}</td>
- </tr>
- <tr>
- <td>Implemented on <code>AudioContext</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>26.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.createConstantSource")}}
diff --git a/files/zh-cn/web/api/baseaudiocontext/createconvolver/index.html b/files/zh-cn/web/api/baseaudiocontext/createconvolver/index.html
index ae97d90aac..cbc9df83d3 100644
--- a/files/zh-cn/web/api/baseaudiocontext/createconvolver/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/createconvolver/index.html
@@ -72,58 +72,7 @@ convolver.buffer = concertHallBuffer;</pre>
<h2 id="浏览器兼容">浏览器兼容</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.createConvolver")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/createdelay/index.html b/files/zh-cn/web/api/baseaudiocontext/createdelay/index.html
index baae047758..f683ed9320 100644
--- a/files/zh-cn/web/api/baseaudiocontext/createdelay/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/createdelay/index.html
@@ -150,62 +150,7 @@ synthDelay.delayTime.value = delay1;
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.createDelay")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/createscriptprocessor/index.html b/files/zh-cn/web/api/baseaudiocontext/createscriptprocessor/index.html
index e8c722c908..a76105a5b6 100644
--- a/files/zh-cn/web/api/baseaudiocontext/createscriptprocessor/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/createscriptprocessor/index.html
@@ -136,62 +136,7 @@ source.onended = function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.createScriptProcessor")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/createwaveshaper/index.html b/files/zh-cn/web/api/baseaudiocontext/createwaveshaper/index.html
index 10986c407e..3daf01ec8d 100644
--- a/files/zh-cn/web/api/baseaudiocontext/createwaveshaper/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/createwaveshaper/index.html
@@ -70,62 +70,7 @@ distortion.oversample = '4x';</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.createWaveShaper")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/currenttime/index.html b/files/zh-cn/web/api/baseaudiocontext/currenttime/index.html
index 57e190cb46..cd69ad1df4 100644
--- a/files/zh-cn/web/api/baseaudiocontext/currenttime/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/currenttime/index.html
@@ -53,58 +53,7 @@ console.log(audioCtx.currentTime);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.currentTime")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/decodeaudiodata/index.html b/files/zh-cn/web/api/baseaudiocontext/decodeaudiodata/index.html
index 9200638c57..bd8c8f5e9c 100644
--- a/files/zh-cn/web/api/baseaudiocontext/decodeaudiodata/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/decodeaudiodata/index.html
@@ -143,79 +143,7 @@ pre.innerHTML = myScript.innerHTML;</pre>
<h2 id="浏览器支持">浏览器支持</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td>Promise-based syntax</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(33.0)}}</td>
- </tr>
- <tr>
- <td>Promise-based syntax</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.decodeAudioData")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/destination/index.html b/files/zh-cn/web/api/baseaudiocontext/destination/index.html
index c1ebabfc81..b581857091 100644
--- a/files/zh-cn/web/api/baseaudiocontext/destination/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/destination/index.html
@@ -55,58 +55,7 @@ gainNode.connect(audioCtx.destination);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.destination")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/index.html b/files/zh-cn/web/api/baseaudiocontext/index.html
index 5d11d7fe82..8fdd551600 100644
--- a/files/zh-cn/web/api/baseaudiocontext/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/index.html
@@ -126,162 +126,7 @@ var finish = audioCtx.destination;
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td><code>baseLatency</code></td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>createConstantSource()</code></td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(52)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(43)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>createStereoPanner()</code></td>
- <td>{{CompatChrome(42)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(37.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>onstatechange</code>, <code>state</code>, <code>suspend()</code>, <code>resume()</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(40.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatSafari(8.0)}}</td>
- </tr>
- <tr>
- <td>Unprefixed</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>2.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>baseLatency</code></td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>createConstantSource()</code></td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(52)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>createStereoPanner()</code></td>
- <td>{{CompatChrome(42)}}</td>
- <td>{{CompatChrome(42)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>onstatechange</code>, <code>state</code>, <code>suspend()</code>, <code>resume()</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Unprefixed</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(43)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/listener/index.html b/files/zh-cn/web/api/baseaudiocontext/listener/index.html
index 64e97d31cc..732d63ada3 100644
--- a/files/zh-cn/web/api/baseaudiocontext/listener/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/listener/index.html
@@ -53,58 +53,7 @@ var myListener = audioCtx.listener;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.listener")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/samplerate/index.html b/files/zh-cn/web/api/baseaudiocontext/samplerate/index.html
index d888951ef6..2f484c1c7e 100644
--- a/files/zh-cn/web/api/baseaudiocontext/samplerate/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/samplerate/index.html
@@ -53,58 +53,7 @@ console.log(audioCtx.sampleRate);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.sampleRate")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/state/index.html b/files/zh-cn/web/api/baseaudiocontext/state/index.html
index df6b383bc9..3e20c7289f 100644
--- a/files/zh-cn/web/api/baseaudiocontext/state/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/state/index.html
@@ -53,57 +53,7 @@ var myState = audioCtx.state;</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{CompatGeckoDesktop(40.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.state")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/baseaudiocontext/statechange_event/index.html b/files/zh-cn/web/api/baseaudiocontext/statechange_event/index.html
index 88adcced3b..6c93c9a8b6 100644
--- a/files/zh-cn/web/api/baseaudiocontext/statechange_event/index.html
+++ b/files/zh-cn/web/api/baseaudiocontext/statechange_event/index.html
@@ -43,57 +43,7 @@ audioCtx.onstatechange = function() { ... };</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{CompatGeckoDesktop(40.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BaseAudioContext.statechange_event")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/batterymanager/charging/index.html b/files/zh-cn/web/api/batterymanager/charging/index.html
index dd836b7730..3255a84143 100644
--- a/files/zh-cn/web/api/batterymanager/charging/index.html
+++ b/files/zh-cn/web/api/batterymanager/charging/index.html
@@ -51,6 +51,8 @@ translation_of: Web/API/BatteryManager/charging
</tbody>
</table>
+{{Compat("api.BatteryManager.charging")}}
+
<h2 id="Browser_compatibility浏览器兼容性CompatibilityTable">Browser compatibility浏览器兼容性<span style="color: #3b3c40; font-size: 14px; font-weight: normal; line-height: 1.5;">{{CompatibilityTable}}</span></h2>
<div id="compat-desktop">
diff --git a/files/zh-cn/web/api/batterymanager/index.html b/files/zh-cn/web/api/batterymanager/index.html
index 050fc2a432..d527e6073e 100644
--- a/files/zh-cn/web/api/batterymanager/index.html
+++ b/files/zh-cn/web/api/batterymanager/index.html
@@ -62,63 +62,7 @@ translation_of: Web/API/BatteryManager
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatChrome(39.0)}}</td>
- <td>{{CompatGeckoDesktop("10")}} {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>25</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{CompatGeckoMobile("10")}} {{property_prefix("moz")}}<br>
- {{CompatGeckoMobile("16")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>25<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(42.0)}}<sup>[2]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Firefox 10.0中默认无效,但可设定preference <code>dom.battery.enabled</code>为<code>true从而使其有效化。</code>自Firefox 11.0起,<code>mozBattery默认有效。</code>Battery API现能被支持与Android,Windows,和安装了UPower的Linux。自Gecko 18.0 {{geckoRelease("18.0")}}也能支持MacOS。Firefox还为被弃用的{{domxref("navigator.battery")}}提供支持。</p>
-
-<p>[2] {{domxref("BatteryManager.chargingTime")}}和{{domxref("BatteryManager.dischargingTime")}}的值总是等于无穷。</p>
+{{Compat("api.BatteryManager")}}
<h2 id="其他">其他</h2>
diff --git a/files/zh-cn/web/api/beforeinstallpromptevent/index.html b/files/zh-cn/web/api/beforeinstallpromptevent/index.html
index 914a63588a..7932a6509d 100644
--- a/files/zh-cn/web/api/beforeinstallpromptevent/index.html
+++ b/files/zh-cn/web/api/beforeinstallpromptevent/index.html
@@ -54,76 +54,4 @@ translation_of: Web/API/BeforeInstallPromptEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p>{{CompatChrome(44.0)}} [1]</p>
- </td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>prompt()</code> method.</td>
- <td>{{CompatChrome(45.0)}} [1]</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>
- <p>{{CompatChrome(44.0)}} [1]</p>
- </td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>
- <p>{{CompatChrome(44.0)}} [1]</p>
- </td>
- </tr>
- <tr>
- <td><code>prompt()</code> method.</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(45.0)}} [1]</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(45.0)}} [1]</td>
- </tr>
- </tbody>
-</table>
-
-<p>[1] <font face="Consolas, Liberation Mono, Courier, monospace">B</font>ehind the flag<em>chrome://flags/#bypass-app-banner-engagement-checks</em></p>
+{{Compat("api.BeforeInstallPromptEvent")}}
diff --git a/files/zh-cn/web/api/beforeinstallpromptevent/prompt/index.html b/files/zh-cn/web/api/beforeinstallpromptevent/prompt/index.html
index 265147affe..0b7fd14474 100644
--- a/files/zh-cn/web/api/beforeinstallpromptevent/prompt/index.html
+++ b/files/zh-cn/web/api/beforeinstallpromptevent/prompt/index.html
@@ -49,58 +49,4 @@ window.addEventListener("beforeinstallprompt", function(e) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(45.0)}} [1]</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(45.0)}} [1]</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(45.0)}} [1]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Behind the flag: chrome://flags/#bypass-app-banner-engagement-checks</p>
+{{Compat("api.BeforeInstallPromptEvent.prompt")}}
diff --git a/files/zh-cn/web/api/biquadfilternode/index.html b/files/zh-cn/web/api/biquadfilternode/index.html
index ce149cc218..cf98dcd496 100644
--- a/files/zh-cn/web/api/biquadfilternode/index.html
+++ b/files/zh-cn/web/api/biquadfilternode/index.html
@@ -155,58 +155,7 @@ translation_of: Web/API/BiquadFilterNode
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50)}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(50)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.BiquadFilterNode")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/api/blob/blob/index.html b/files/zh-cn/web/api/blob/blob/index.html
index 481b6a9d82..fce782fda1 100644
--- a/files/zh-cn/web/api/blob/blob/index.html
+++ b/files/zh-cn/web/api/blob/blob/index.html
@@ -48,71 +48,7 @@ var oMyBlob = new Blob(aFileParts, {type : 'text/html'}); // 得到 blob</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>20</td>
- <td>{{CompatGeckoDesktop("13.0")}} [1]</td>
- <td>10</td>
- <td>12.10</td>
- <td>8</td>
- </tr>
- <tr>
- <td>in Workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("14.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("13.0")}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>in Workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("14.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Firefox16之前,如果第二个参数被设置为<code>null</code>或者<code>undefined</code>,会导致错误,不会自动设置为空字典。</p>
+{{Compat("api.Blob.Blob")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/blob/slice/index.html b/files/zh-cn/web/api/blob/slice/index.html
index 7b0dff2d4d..c0d7ccfa9b 100644
--- a/files/zh-cn/web/api/blob/slice/index.html
+++ b/files/zh-cn/web/api/blob/slice/index.html
@@ -47,67 +47,7 @@ translation_of: Web/API/Blob/slice
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>10 {{property_prefix("webkit")}}‡<br>
- 21</td>
- <td>5 {{ property_prefix("moz") }}‡<br>
- 13</td>
- <td>10</td>
- <td>12</td>
- <td>5.1 (<a class="external" href="http://trac.webkit.org/changeset/83873">534.29</a>) {{ property_prefix("webkit") }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("13.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="实现_slice_的一些声明">实现 slice() 的一些声明</h3>
-
-<p><code>slice()</code> 方法第二个参数的默认值将会传入原始 Blob 的长度。 如果你在调用的时候传入的 <span style="font-family: 'Courier New','Andale Mono',monospace; line-height: normal;">start + length</span> 超出了原始 <span style="font-family: 'Courier New','Andale Mono',monospace; line-height: normal;">Blob</span> 的长度,那么返回的 <span style="font-family: 'Courier New','Andale Mono',monospace; line-height: normal;">Blob </span> 对象将会包含从 start 到原始数据的末尾。</p>
-
-<p>那个版本的 slice() 在 <a class="link-https" href="https://hg.mozilla.org/mozilla-central/rev/1b3947ed93c6" style="line-height: 1.5;">Firefox 4</a>、<span style="line-height: 1.5;"> </span><a class="external" href="http://trac.webkit.org/changeset/55670" style="line-height: 1.5;">WebKit</a> 和 <a class="external" href="http://www.opera.com/docs/specs/presto28/file/#blob" style="line-height: 1.5;">Opera 11.10</a> 中实现了。但是它的语法和 Array.slice() 以及 String.slice() 有所出入,所以 Gecko 和 Webkit 移除掉了它的支持并且加上了新语法的支持 <span style="line-height: 1.5;"> </span><span style="line-height: 1.5;">{{ manch("mozSlice") }}/</span><code style="line-height: 1.5; font-size: 14px;"><a class="external" href="http://trac.webkit.org/changeset/83873" style="line-height: 1.5;">Blob.webkitSlice</a>。</code></p>
-
-<p>从 Gecko 13.0 {{ geckoRelease("13.0") }} 和 Chrome 21 开始, {{ manch("slice") }} 就再也没有浏览器前缀了。</p>
-
-<h3 id="Gecko_notes">Gecko notes</h3>
-
-<p>在先前的 Gecko 12.0 {{ geckoRelease("12.0") }}, 有一个 bug 会影响到 {{ manch("slice") }} 的行为; 他在 <code>start</code> 和 end 位置组成的范围超出 signed 64-bit 值的范围的时候不工作; 这个问题已经被解决,现在支持传入 unsigned 64-bit 值.</p>
+{{Compat("api.Blob.slice")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/blobbuilder/index.html b/files/zh-cn/web/api/blobbuilder/index.html
index 1750cc61c1..219cd8f858 100644
--- a/files/zh-cn/web/api/blobbuilder/index.html
+++ b/files/zh-cn/web/api/blobbuilder/index.html
@@ -92,78 +92,8 @@ void append(
<h6 id="返回值_2">返回值</h6>
<p>一个{{ domxref("File") }}对象.</p>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>8<br>
- As <code>WebKitBlobBuilder</code> †</td>
- <td>{{ CompatGeckoDesktop("6.0") }}<br>
- As <code>MozBlobBuilder</code></td>
- <td>10<br>
- As <code>MSBlobBuilder</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}†</td>
- </tr>
- <tr>
- <td><code>getfile()</code> {{ non-standard_inline() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoDesktop("8.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>3<br>
- As <code>WebKitBlobBuilder</code></td>
- <td>{{ CompatGeckoMobile("6.0") }}<br>
- As <code>MozBlobBuilder</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>getfile()</code> {{ non-standard_inline() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("8.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<h3 id="注BlobBuilder已被废弃">注:BlobBuilder已被废弃</h3>
-<ul>
- <li>从Firefox 14开始,使用<code>MozBlobBuilder</code>会在Web控制台显示一条警告消息: <code>MozBlobBuilder</code>已被废弃,请使用{{ domxref("Blob") }}来代替.</li>
- <li>从Firefox 18开始,<code>MozBlobBuilder</code>已被删除.</li>
- <li>WebKit has deprecated <code>WebKitBlobBuilder</code> and has made its support configurable. Currently Safari disables the feature in Nightly, so it will never likely to ship in the final version. On the other hand, Chrome, which has supported it since Chrome 8, still enables the feature. So Chrome might continue to support the feature. (See this <a class="external" href="http://trac.webkit.org/changeset/115666">WebKit changeset</a> for details).</li>
-</ul>
+{{Compat("api.BlobBuilder")}}
+
<h2 id="相关链接">相关链接</h2>
<ul>
<li>{{ spec("http://dev.w3.org/2009/dap/file-system/file-writer.html#idl-def-BlobBuilder", "File API Specification: BlobBuilder", "ED") }}</li>
diff --git a/files/zh-cn/web/api/bluetooth/index.html b/files/zh-cn/web/api/bluetooth/index.html
index cd46b72ee7..c2d5cfdc26 100644
--- a/files/zh-cn/web/api/bluetooth/index.html
+++ b/files/zh-cn/web/api/bluetooth/index.html
@@ -55,60 +55,4 @@ Bluetooth implements ServiceEventHandlers;</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome (45.0)}} [1]</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome (48.0)}} [2]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 注意事项:仅谷歌浏览器可用</p>
-
-<p>[2] 注意事项:仅安卓6以上可用</p>
+{{Compat("api.Bluetooth")}}
diff --git a/files/zh-cn/web/api/bluetooth/requestdevice/index.html b/files/zh-cn/web/api/bluetooth/requestdevice/index.html
index abfad37108..6a3d3f4689 100644
--- a/files/zh-cn/web/api/bluetooth/requestdevice/index.html
+++ b/files/zh-cn/web/api/bluetooth/requestdevice/index.html
@@ -92,54 +92,4 @@ navigator.bluetooth.requestDevice(options).then(function(device) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome (56)}}</td>
- <td> </td>
- <td> </td>
- <td>{{CompatOpera(43)}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome (56)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatOperaMobile(43)}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Bluetooth.requestDevice")}}
diff --git a/files/zh-cn/web/api/cache/add/index.html b/files/zh-cn/web/api/cache/add/index.html
index dbce4c5b21..3a7e257467 100644
--- a/files/zh-cn/web/api/cache/add/index.html
+++ b/files/zh-cn/web/api/cache/add/index.html
@@ -95,99 +95,7 @@ translation_of: Web/API/Cache/add
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Require HTTPS</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>TypeError</code> if request is not successful</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(47.0)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- <tr>
- <td>Require HTTPS</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- <tr>
- <td><code>TypeError</code> if request is not successful</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 &amp; 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.Cache.add")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/cache/addall/index.html b/files/zh-cn/web/api/cache/addall/index.html
index fad889eab9..bf9330aa4c 100644
--- a/files/zh-cn/web/api/cache/addall/index.html
+++ b/files/zh-cn/web/api/cache/addall/index.html
@@ -99,99 +99,7 @@ translation_of: Web/API/Cache/addAll
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Require HTTPS</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>TypeError</code> if request is not successful</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(47.0)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- <tr>
- <td>Require HTTPS</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- <tr>
- <td><code>TypeError</code> if request is not successful</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 &amp; 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.Cache.addAll")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/cache/delete/index.html b/files/zh-cn/web/api/cache/delete/index.html
index f6b20ab981..903b34dea0 100644
--- a/files/zh-cn/web/api/cache/delete/index.html
+++ b/files/zh-cn/web/api/cache/delete/index.html
@@ -64,82 +64,7 @@ translation_of: Web/API/Cache/delete
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(39)}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(24)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>All options supported</td>
- <td>{{CompatChrome(54.0)}}</td>
- <td> </td>
- <td> </td>
- <td>{{CompatOpera(41)}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(39)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}<sup>[1]</sup></td>
- </tr>
- <tr>
- <td>All options supported</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatOperaMobile(41)}}</td>
- <td> </td>
- <td>{{CompatChrome(54.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] The options parameter only supports <code>ignoreSearch</code>, and <code>cacheName</code>. </p>
-
-<p>[2] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 &amp; 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.Cache.delete")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/cache/index.html b/files/zh-cn/web/api/cache/index.html
index 9e51499607..a52f47b354 100644
--- a/files/zh-cn/web/api/cache/index.html
+++ b/files/zh-cn/web/api/cache/index.html
@@ -139,137 +139,7 @@ self.addEventListener('fetch', function(event) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{CompatGeckoDesktop(39)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>add()</td>
- <td>{{CompatChrome(44.0)}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>addAll()</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>matchAll()</td>
- <td>{{CompatChrome(47.0)}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Require HTTPS for <code>add()</code>, <code>addAll()</code>, and <code>put()</code></td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(39)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- <tr>
- <td>add()</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(44.0)}}</td>
- </tr>
- <tr>
- <td>addAll()</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- <tr>
- <td>matchAll()</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- <tr>
- <td>Require HTTPS for <code>add()</code>, <code>addAll()</code>, and <code>put()</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 Extended Support Release</a> (ESR.)</p>
+{{Compat("api.Cache")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/cache/keys/index.html b/files/zh-cn/web/api/cache/keys/index.html
index 10be6eb859..e1ba2b8da1 100644
--- a/files/zh-cn/web/api/cache/keys/index.html
+++ b/files/zh-cn/web/api/cache/keys/index.html
@@ -69,63 +69,7 @@ translation_of: Web/API/Cache/keys
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(39)}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(39)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}<sup>[1]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 可选参数只支持 <code>ignoreSearch 和</code> <code>cacheName </code>。</p>
-
-<p>[2] Service workers (以及<a href="/en-US/docs/Web/API/Push_API">Push</a>) 在 <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 Extended Support Release</a> (ESR) 中已经被禁止了。</p>
+{{Compat("api.Cache.keys")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/cache/match/index.html b/files/zh-cn/web/api/cache/match/index.html
index 6670556654..93cace04e7 100644
--- a/files/zh-cn/web/api/cache/match/index.html
+++ b/files/zh-cn/web/api/cache/match/index.html
@@ -86,83 +86,7 @@ translation_of: Web/API/Cache/match
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}} [1]</td>
- <td>{{CompatGeckoDesktop(39)}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(24)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>All options supported</td>
- <td>{{CompatChrome(54.0)}}</td>
- <td></td>
- <td></td>
- <td>{{CompatOpera(41)}}</td>
- <td></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(39)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}} [1]</td>
- </tr>
- <tr>
- <td>All options supported</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td></td>
- <td></td>
- <td></td>
- <td>{{CompatOperaMobile(41)}}</td>
- <td></td>
- <td>{{CompatChrome(54.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] The options parameter only supports <code>ignoreSearch</code>, and <code>cacheName</code>. </li>
- <li>[2] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 &amp; 52 Extended Support Releases</a> (ESR.)</li>
-</ul>
+{{Compat("api.Cache.match")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/api/caches/index.html b/files/zh-cn/web/api/caches/index.html
index 73c9fe5b30..f6d318d5a5 100644
--- a/files/zh-cn/web/api/caches/index.html
+++ b/files/zh-cn/web/api/caches/index.html
@@ -64,59 +64,7 @@ original_slug: Web/API/WindowOrWorkerGlobalScope/caches
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>40.0</td>
- <td>{{CompatGeckoDesktop(42)}}<br>
- {{CompatGeckoDesktop(52)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(42)}}<br>
- {{CompatGeckoMobile(52)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] <code>caches 现在被定义在</code> {{domxref("WindowOrWorkerGlobalScope")}} 中的mixin里.</p>
+{{Compat("api.caches")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/cachestorage/delete/index.html b/files/zh-cn/web/api/cachestorage/delete/index.html
index d41dd26026..22e343166d 100644
--- a/files/zh-cn/web/api/cachestorage/delete/index.html
+++ b/files/zh-cn/web/api/cachestorage/delete/index.html
@@ -62,59 +62,7 @@ translation_of: Web/API/CacheStorage/delete
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{CompatGeckoDesktop(44)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(44)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 &amp; 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.CacheStorage.delete")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/cachestorage/has/index.html b/files/zh-cn/web/api/cachestorage/has/index.html
index b9e985a673..50f60411d3 100644
--- a/files/zh-cn/web/api/cachestorage/has/index.html
+++ b/files/zh-cn/web/api/cachestorage/has/index.html
@@ -60,61 +60,7 @@ translation_of: Web/API/CacheStorage/has
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(44)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(44)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) 在 <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 &amp; 52 Extended Support Releases</a> (ESR.)被默认禁用。</p>
+{{Compat("api.CacheStorage.has")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/cachestorage/keys/index.html b/files/zh-cn/web/api/cachestorage/keys/index.html
index 57f7148a28..0cc7f11494 100644
--- a/files/zh-cn/web/api/cachestorage/keys/index.html
+++ b/files/zh-cn/web/api/cachestorage/keys/index.html
@@ -59,59 +59,7 @@ translation_of: Web/API/CacheStorage/keys
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(44)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(27)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40)}}</td>
- <td>{{CompatChrome(40)}}</td>
- <td>{{CompatGeckoMobile(44)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatOperaMobile(27)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 &amp; 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.CacheStorage.keys")}}
<h2 id="亦可参考">亦可参考</h2>
diff --git a/files/zh-cn/web/api/canvascapturemediastreamtrack/index.html b/files/zh-cn/web/api/canvascapturemediastreamtrack/index.html
index a6a2e34ccc..fe1690b3ba 100644
--- a/files/zh-cn/web/api/canvascapturemediastreamtrack/index.html
+++ b/files/zh-cn/web/api/canvascapturemediastreamtrack/index.html
@@ -47,55 +47,7 @@ original_slug: Web/API/CanvasCaptureMediaStream
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatGeckoDesktop('41')}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile('41')}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Disabled by default; set the preference <code>canvas.capturestream.enabled</code> to <code>true</code> to activate.</p>
+{{Compat("api.CanvasCaptureMediaStreamTrack")}}
<h2 id="其他参考资料">其他参考资料</h2>
diff --git a/files/zh-cn/web/api/canvasgradient/addcolorstop/index.html b/files/zh-cn/web/api/canvasgradient/addcolorstop/index.html
index 3d8de40534..9da7d26ccb 100644
--- a/files/zh-cn/web/api/canvasgradient/addcolorstop/index.html
+++ b/files/zh-cn/web/api/canvasgradient/addcolorstop/index.html
@@ -113,55 +113,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasGradient.addColorStop")}}
<h2 id="请参阅">请参阅</h2>
diff --git a/files/zh-cn/web/api/canvasgradient/index.html b/files/zh-cn/web/api/canvasgradient/index.html
index a504dc443b..eedb3672f5 100644
--- a/files/zh-cn/web/api/canvasgradient/index.html
+++ b/files/zh-cn/web/api/canvasgradient/index.html
@@ -46,55 +46,7 @@ translation_of: Web/API/CanvasGradient
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>4.0</td>
- <td>{{CompatGeckoDesktop("3.6")}} [1]</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>2.1</td>
- <td>{{CompatGeckoMobile("3.6")}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>10.0</td>
- <td>3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Gecko 5.0 {{geckoRelease("5.0")}} 以前,通过调用<code>addColorStop()</code>添加颜色断点时给定非有限的值,会错误的抛出 <code>SYNTAX_ERR</code> 而不是<code>INDEX_SIZE_ERR</code>。</p>
+{{Compat("api.CanvasGradient")}}
<h2 id="请参考">请参考</h2>
diff --git a/files/zh-cn/web/api/canvaspattern/index.html b/files/zh-cn/web/api/canvaspattern/index.html
index 0fe68e2fb4..cfdd692916 100644
--- a/files/zh-cn/web/api/canvaspattern/index.html
+++ b/files/zh-cn/web/api/canvaspattern/index.html
@@ -40,67 +40,8 @@ translation_of: Web/API/CanvasPattern
</table>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
<div>
- {{CompatibilityTable}}</div>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本的支持</td>
- <td>4.0</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>3.1</td>
- </tr>
- <tr>
- <td><code>setTransform()</code>{{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("33")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本的支持</td>
- <td>2.1</td>
- <td>{{CompatGeckoMobile("1.9.2")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>10.0</td>
- <td>3.2</td>
- </tr>
- <tr>
- <td><code>setTransform()</code>{{experimental_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("33")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.CanvasPattern")}}
+
<h2 id="查看相关">查看相关</h2>
<ul>
<li>{{domxref("CanvasRenderingContext2D.createPattern()")}}</li>
diff --git a/files/zh-cn/web/api/canvaspattern/settransform/index.html b/files/zh-cn/web/api/canvaspattern/settransform/index.html
index d53a0bf44b..52f5857d99 100644
--- a/files/zh-cn/web/api/canvaspattern/settransform/index.html
+++ b/files/zh-cn/web/api/canvaspattern/settransform/index.html
@@ -122,55 +122,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop("33") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("33") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasPattern.setTransform")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html
index 5201304b84..18d65ba716 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/arc/index.html
@@ -152,64 +152,7 @@ for (i=0;i&lt;4;i++){
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Gecko-specific_注解">Gecko-specific 注解</h3>
-
-<p>从 Gecko 2.0 {{geckoRelease("2.0")}}开始:</p>
-
-<ul>
- <li><code>anticlockwise</code> 参数是可选的,</li>
- <li>描述了 radius 为负数会抛出 {{domxref("DOMError", "IndexSizeError")}} 错误(“索引或长度为负数,或者超过允许的数值”)。</li>
-</ul>
+{{Compat("api.CanvasRenderingContext2D.arc")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/arcto/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/arcto/index.html
index 0754d05560..2d60c0e6fc 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/arcto/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/arcto/index.html
@@ -155,55 +155,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.arcTo")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/beginpath/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/beginpath/index.html
index 31b8890dd2..8deb2d15f5 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/beginpath/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/beginpath/index.html
@@ -116,55 +116,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.beginPath")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/beziercurveto/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/beziercurveto/index.html
index bbcf56f458..ec35f38276 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/beziercurveto/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/beziercurveto/index.html
@@ -133,55 +133,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.bezierCurveTo")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/clip/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/clip/index.html
index 03fbe7848a..ab90b6a8f2 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/clip/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/clip/index.html
@@ -117,72 +117,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Path parameter</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop(31) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Path parameter</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile(31) }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.clip")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/closepath/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/closepath/index.html
index cc8d70d2cf..e9208b4a80 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/closepath/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/closepath/index.html
@@ -102,55 +102,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.closePath")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/createpattern/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/createpattern/index.html
index fd6c4d7d0e..a892eeab65 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/createpattern/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/createpattern/index.html
@@ -142,55 +142,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.createPattern")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/currenttransform/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/currenttransform/index.html
index 75302a7302..f8b34ae045 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/currenttransform/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/currenttransform/index.html
@@ -113,62 +113,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatNo}}<br>
- {{bug(928150)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Chrome-specific注解">Chrome-specific注解</h3>
-
-<ul>
- <li>此特征默认无效。需要启用<code>ExperimentalCanvasFeatures</code> 标志进行测试。</li>
-</ul>
+{{Compat("api.CanvasRenderingContext2D.currentTransform")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/drawwidgetasonscreen/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/drawwidgetasonscreen/index.html
index 4ea928da29..df39b43bc7 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/drawwidgetasonscreen/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/drawwidgetasonscreen/index.html
@@ -31,55 +31,7 @@ translation_of: Web/API/CanvasRenderingContext2D/drawWidgetAsOnScreen
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.drawWidgetAsOnScreen")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/fill/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/fill/index.html
index a117a7eabd..5a88d7c9df 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/fill/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/fill/index.html
@@ -110,72 +110,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Path parameter</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop(31) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Path parameter</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile(31) }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.fill")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/fillrect/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/fillrect/index.html
index 81cff04162..faa93be79c 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/fillrect/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/fillrect/index.html
@@ -119,55 +119,7 @@ ctx.fillRect(0, 0, canvas.width, canvas.height);</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.fillRect")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/filltext/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/filltext/index.html
index bfb0e5f33b..47c2afc00e 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/filltext/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/filltext/index.html
@@ -112,55 +112,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("1.9.1") }}</td>
- <td>{{ CompatIE(9) }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1.9.1") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.fillText")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/filter/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/filter/index.html
index 00cf5d5b78..bccf8226b3 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/filter/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/filter/index.html
@@ -123,61 +123,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("35") }} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("35") }} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Gecko-specific_注解">Gecko-specific 注解</h3>
-
-<ul>
- <li>[1] <code>filter</code> 属性默认是无效的。你可以通过设置 <code>canvas.filters.enabled</code> 的值为true进行启用。</li>
-</ul>
+{{Compat("api.CanvasRenderingContext2D.filter")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/globalalpha/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/globalalpha/index.html
index a12923f33f..1c926561bb 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/globalalpha/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/globalalpha/index.html
@@ -147,67 +147,7 @@ for (i=0;i&lt;7;i++){
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Gecko-specific_注解">Gecko-specific 注解</h3>
-
-<ul>
- <li>从 Gecko 5.0开始, 对 <code>globalAlpha</code> 指定无效的值不再抛出 <code>SYNTAX_ERR</code> 异常; 它们已经被默默地忽略了。</li>
-</ul>
-
-<h3 id="WebKitBlink-specific_注解">WebKit/Blink-specific 注解</h3>
-
-<ul>
- <li>在基于 WebKit- 和 Blink- 的浏览器中, 除了此属性外,还实现了一个不标准的并且不赞成使用的方法 <code>ctx.setAlpha()</code> 。</li>
-</ul>
+{{Compat("api.CanvasRenderingContext2D.globalAlpha")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/imagesmoothingquality/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/imagesmoothingquality/index.html
index fe8fee4b4b..64eede4d13 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/imagesmoothingquality/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/imagesmoothingquality/index.html
@@ -122,57 +122,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(54.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(41)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(54.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(41)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(54.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.imageSmoothingQuality")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html
index 3bbe842e75..c83440c2b1 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinpath/index.html
@@ -126,78 +126,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Path parameter</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop(31) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Path parameter</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile(31) }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Compatibility_注解">Compatibility 注解</h3>
-
-<ul>
- <li>在 Gecko 7.0 (Firefox 7.0 / Thunderbird 7.0 / SeaMonkey 2.4)之前,这个方法是错误的,在和路径进行比较前,该方法不会根据当前的变形矩阵增加指定点的坐标。现在,该方法可以正确执行,甚至上下文进行旋转、缩放或其他方式的变形。</li>
-</ul>
+{{Compat("api.CanvasRenderingContext2D.isPointInPath")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinstroke/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinstroke/index.html
index b0c116ee37..30774cc432 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinstroke/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/ispointinstroke/index.html
@@ -119,72 +119,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Path parameter</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop(31) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Path parameter</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile(31) }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.isPointInStroke")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/linecap/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/linecap/index.html
index e3772f362a..a9c71e8680 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/linecap/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/linecap/index.html
@@ -152,61 +152,7 @@ for (var i = 0; i &lt; lineCap.length; i++) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="WebKitBlink-specific_注解">WebKit/Blink-specific 注解</h3>
-
-<ul>
- <li>在基于WebKit- 和 Blink- 的浏览器中,除了此属性外,还实现了一个不标准的并且不赞成使用的方法 <code>ctx.setLineCap()</code> 。</li>
-</ul>
+{{Compat("api.CanvasRenderingContext2D.lineCap")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/linejoin/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/linejoin/index.html
index df108cd01a..0bca5140e2 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/linejoin/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/linejoin/index.html
@@ -148,61 +148,7 @@ for (var i = 0; i &lt; lineJoin.length; i++) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="WebKitBlink-specific_注解">WebKit/Blink-specific 注解</h3>
-
-<ul>
- <li>基于WebKit- 和 Blink- 的浏览器中, 实现了一个不标准的并且不赞成使用的方法 <code>ctx.setLineJoin()</code> 。</li>
-</ul>
+{{Compat("api.CanvasRenderingContext2D.lineJoin")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/lineto/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/lineto/index.html
index 5365698d00..e609f877f6 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/lineto/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/lineto/index.html
@@ -107,55 +107,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.lineTo")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/miterlimit/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/miterlimit/index.html
index 0a888e19e8..33e2fdda9c 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/miterlimit/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/miterlimit/index.html
@@ -95,67 +95,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="WebKitBlink-specific_注解">WebKit/Blink-specific 注解</h3>
-
-<ul>
- <li>在基与 WebKit- 和 Blink- 的浏览器中,除了此属性外,还实现了一个不标准的并且不赞成使用的方法 <code>ctx.setMiterLimit()</code> 。</li>
-</ul>
-
-<h3 id="Gecko-specific_注解">Gecko-specific 注解</h3>
-
-<ul>
- <li>从 Gecko 2.0 {{geckoRelease("2.0")}}版本开始, 给 <code>miterLimit</code> 设置负数不再抛出异常,所有的非正数都会被忽略。</li>
-</ul>
+{{Compat("api.CanvasRenderingContext2D.miterLimit")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/moveto/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/moveto/index.html
index 772c0ae0c5..181f404ebe 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/moveto/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/moveto/index.html
@@ -107,55 +107,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.moveTo")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/putimagedata/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/putimagedata/index.html
index 3bdb9fab21..a5510d2f69 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/putimagedata/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/putimagedata/index.html
@@ -176,62 +176,7 @@ function putImageData(ctx, imageData, dx, dy,
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="兼容性注解">兼容性注解</h3>
-
-<ul>
- <li>从 Gecko 10.0 {{ geckoRelease("10.0") }}开始,给任何参数设置非限定性的值并调用 <code>putImageData()</code> 将会被忽略,而不是抛出异常。</li>
- <li>为了遵循说明,从 Gecko 16.0 {{geckoRelease("16.0")}}开始,使用无效的变量数量调用该方法(只有3个或7个数的变量是有效的), 将会抛出一个错误 ({{bug(762657)}})。</li>
-</ul>
+{{Compat("api.CanvasRenderingContext2D.putImageData")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html
index f34e1b54ad..9dfaf7c901 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/rect/index.html
@@ -106,55 +106,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.rect")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/resettransform/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/resettransform/index.html
index 5c9cd7bd24..b283c721e9 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/resettransform/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/resettransform/index.html
@@ -104,55 +104,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>31</td>
- <td>{{CompatGeckoDesktop(36)}}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatGeckoMobile(36)}}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.resetTransform")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/restore/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/restore/index.html
index f807b5b521..7269988d8c 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/restore/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/restore/index.html
@@ -103,55 +103,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.restore")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/rotate/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/rotate/index.html
index 5d92a9a718..e5d31da51e 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/rotate/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/rotate/index.html
@@ -115,55 +115,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.rotate")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/save/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/save/index.html
index 3560f8a771..4cfd757f66 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/save/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/save/index.html
@@ -112,55 +112,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.save")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html
index b2edfdbe08..35a6fd0bee 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/scrollpathintoview/index.html
@@ -106,63 +106,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}[1]</td>
- <td>{{CompatNo}}<br>
- {{bug(1120401)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}<br>
- {{bug(1120401)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="兼容性注解">兼容性注解</h3>
-
-<ul>
- <li>[1] 这个特性受控于特性标识。 设置标识 <code>ExperimentalCanvasFeatures</code> 为 <code>true</code> 进行启用。</li>
-</ul>
+{{Compat("api.CanvasRenderingContext2D.scrollPathIntoView")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/shadowblur/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/shadowblur/index.html
index db68cece53..c2334d74c9 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/shadowblur/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/shadowblur/index.html
@@ -104,68 +104,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="WebKitBlink-specific_注解">WebKit/Blink-specific 注解</h3>
-
-<ul>
- <li>在基于 WebKit- 和 Blink- 的浏览器中,除了此属性外,还实现了一个不规范的并且不赞成使用的方法 <code>ctx.setShadow()</code> 。
-
- <pre class="brush: js">setShadow(width, height, blur, color, alpha);
-setShadow(width, height, blur, graylevel, alpha);
-setShadow(width, height, blur, r, g, b, a);
-setShadow(width, height, blur, c, m, y, k, a);
-</pre>
- </li>
-</ul>
+{{Compat("api.CanvasRenderingContext2D.shadowBlur")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/shadowcolor/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/shadowcolor/index.html
index 7908d32141..a62e5997d3 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/shadowcolor/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/shadowcolor/index.html
@@ -106,68 +106,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="WebKitBlink-specific_注解">WebKit/Blink-specific 注解</h3>
-
-<ul>
- <li>在基于 WebKit- 和 Blink- 的浏览器中,除了此属性外,还实现了一个不标准的并且不赞成使用的方法 <code>ctx.setShadow()</code> 。
-
- <pre class="brush: js">setShadow(width, height, blur, color, alpha);
-setShadow(width, height, blur, graylevel, alpha);
-setShadow(width, height, blur, r, g, b, a);
-setShadow(width, height, blur, c, m, y, k, a);
-</pre>
- </li>
-</ul>
+{{Compat("api.CanvasRenderingContext2D.shadowColor")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/shadowoffsetx/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/shadowoffsetx/index.html
index 0c22525ceb..2b108fce6f 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/shadowoffsetx/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/shadowoffsetx/index.html
@@ -106,55 +106,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.shadowOffsetX")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/shadowoffsety/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/shadowoffsety/index.html
index 61a9bc37a1..b097fe68a8 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/shadowoffsety/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/shadowoffsety/index.html
@@ -106,55 +106,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.shadowOffsetY")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/stroke/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/stroke/index.html
index e7dca45c16..df56a15551 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/stroke/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/stroke/index.html
@@ -101,72 +101,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Path parameter</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop(31) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Path parameter</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile(31) }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.stroke")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/stroketext/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/stroketext/index.html
index 8161bda3f2..d6d97e254b 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/stroketext/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/stroketext/index.html
@@ -112,55 +112,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("1.9.1") }}</td>
- <td>{{ CompatIE(9) }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1.9.1") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.strokeText")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/textalign/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/textalign/index.html
index bfeb7c5a73..e01c9dfe35 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/textalign/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/textalign/index.html
@@ -123,55 +123,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("1.9.1") }}</td>
- <td>{{ CompatIE(9) }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1.9.1") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.textAlign")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/transform/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/transform/index.html
index ac274f9891..0ae318caa1 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/transform/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/transform/index.html
@@ -118,55 +118,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.transform")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/canvasrenderingcontext2d/translate/index.html b/files/zh-cn/web/api/canvasrenderingcontext2d/translate/index.html
index a466b1d181..a5402bf987 100644
--- a/files/zh-cn/web/api/canvasrenderingcontext2d/translate/index.html
+++ b/files/zh-cn/web/api/canvasrenderingcontext2d/translate/index.html
@@ -111,55 +111,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CanvasRenderingContext2D.translate")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/characterdata/index.html b/files/zh-cn/web/api/characterdata/index.html
index 29af6d05ef..6505dd99cc 100644
--- a/files/zh-cn/web/api/characterdata/index.html
+++ b/files/zh-cn/web/api/characterdata/index.html
@@ -75,71 +75,7 @@ translation_of: Web/API/CharacterData
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>6</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Implements {{domxref("ChildNode")}} interface.</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("25.0")}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Implements {{domxref("ChildNode")}} interface.</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("25.0")}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Two properties, <code>nextElementSibling</code> and <code>previousElementSibling</code>, have been moved to the {{domxref("NonDocumentTypeChildNode")}} interface, also implemented by <code>CharacterData</code>.</p>
+{{Compat("api.CharacterData")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/cleartimeout/index.html b/files/zh-cn/web/api/cleartimeout/index.html
index 30648c48b7..a93d02e78b 100644
--- a/files/zh-cn/web/api/cleartimeout/index.html
+++ b/files/zh-cn/web/api/cleartimeout/index.html
@@ -82,63 +82,7 @@ window.onclick = function() { alarm.setup() };</pre>
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1")}}<br>
- {{CompatGeckoDesktop("52")}}<sup>[1]</sup></td>
- <td>4.0</td>
- <td>4.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1")}}<br>
- {{CompatGeckoMobile("52")}}<sup>[1]</sup></td>
- <td>6.0</td>
- <td>6.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] <code>clearTimeout()</code> now defined on {{domxref("WindowOrWorkerGlobalScope")}} mixin.</p>
+{{Compat("api.clearTimeout")}}
<h2 id="See_also" name="See_also">更多</h2>
diff --git a/files/zh-cn/web/api/client/index.html b/files/zh-cn/web/api/client/index.html
index 33231d6ddf..5030876ca8 100644
--- a/files/zh-cn/web/api/client/index.html
+++ b/files/zh-cn/web/api/client/index.html
@@ -55,72 +55,7 @@ translation_of: Web/API/Client
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(27)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>type</code> property</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{ CompatGeckoDesktop("54.0") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40)}}</td>
- <td>{{CompatChrome(40)}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOperaMobile(27)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>type</code> property</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{ CompatGeckoMobile("54.0") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<ul>
- <li>[1] Service workers (and <a href="https://developer.mozilla.org/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 &amp; 52 Extended Support Releases</a> (ESR.)</li>
-</ul>
+{{Compat("api.Client")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/client/postmessage/index.html b/files/zh-cn/web/api/client/postmessage/index.html
index 842029d9db..ac40e6e2ae 100644
--- a/files/zh-cn/web/api/client/postmessage/index.html
+++ b/files/zh-cn/web/api/client/postmessage/index.html
@@ -74,61 +74,4 @@ translation_of: Web/API/Client/postMessage
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(45.0)}}<sup>[1]</sup></td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(45.0)}} [1]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] Behind a flag in Chrome 40 through 44.</li>
- <li>[2] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 &amp; 52 Extended Support Releases</a> (ESR.)</li>
-</ul>
+{{Compat("api.Client.postMessage")}}
diff --git a/files/zh-cn/web/api/clipboardevent/index.html b/files/zh-cn/web/api/clipboardevent/index.html
index a37f08ad76..7d3c43bfdd 100644
--- a/files/zh-cn/web/api/clipboardevent/index.html
+++ b/files/zh-cn/web/api/clipboardevent/index.html
@@ -55,69 +55,7 @@ translation_of: Web/API/ClipboardEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>4.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>clipboardData</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("22.0")}}</td>
- <td>5.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>4.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>clipboardData</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("22.0")}}</td>
- <td>5.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-https://github.com/mdn/browser-compat-data</div>
+{{Compat("api.ClipboardEvent")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/closeevent/index.html b/files/zh-cn/web/api/closeevent/index.html
index 1c9341ce1e..34af62dfa3 100644
--- a/files/zh-cn/web/api/closeevent/index.html
+++ b/files/zh-cn/web/api/closeevent/index.html
@@ -160,76 +160,7 @@ translation_of: Web/API/CloseEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("12.0")}}<sup>[2]</sup></td>
- <td>10</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>initCloseEvent</code><code>()</code> {{Non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}<br>
- {{CompatNo}} 41.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("8.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>initCloseEvent</code><code>()</code> {{Non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("8.0")}}<br>
- {{CompatNo}} 41.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Gecko 8.0 {{geckoRelease("8.0")}} 以前, Gecko ?简单地发送 {{event("close")}} ?事件给 WebSocket ?监听器. ?对 <code>CloseEvent</code> ?的支持是在 Gecko 8.0 实现的.</p>
-
-<p>[2] Gecko 12.0 {{geckoRelease("12.0")}} 以前, Gecko 当通道由于未知错误关闭, 或是错误原因不在标准之内时会上报 <code>CLOSE_NORMAL</code> <code>状态码</code>. ?现在则使用 <code>CLOSE_GOING_AWAY</code> 代替.</p>
+{{Compat("api.CloseEvent")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/console/clear/index.html b/files/zh-cn/web/api/console/clear/index.html
index 4de2fcb2ea..3e0f2ee470 100644
--- a/files/zh-cn/web/api/console/clear/index.html
+++ b/files/zh-cn/web/api/console/clear/index.html
@@ -37,69 +37,7 @@ translation_of: Web/API/Console/clear
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("48.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("48.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.console.clear")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/console/count/index.html b/files/zh-cn/web/api/console/count/index.html
index 9b28cc12df..9d72111857 100644
--- a/files/zh-cn/web/api/console/count/index.html
+++ b/files/zh-cn/web/api/console/count/index.html
@@ -98,72 +98,4 @@ console.count("alice");</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("30.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("38.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("30.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.console.count")}}
diff --git a/files/zh-cn/web/api/console/dir/index.html b/files/zh-cn/web/api/console/dir/index.html
index 8a8ecdf53f..88128c0d94 100644
--- a/files/zh-cn/web/api/console/dir/index.html
+++ b/files/zh-cn/web/api/console/dir/index.html
@@ -25,75 +25,7 @@ translation_of: Web/API/Console/dir
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>9</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("8.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.console.dir")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/console/dirxml/index.html b/files/zh-cn/web/api/console/dirxml/index.html
index 50ad5d6029..2f4b07640d 100644
--- a/files/zh-cn/web/api/console/dirxml/index.html
+++ b/files/zh-cn/web/api/console/dirxml/index.html
@@ -21,75 +21,7 @@ translation_of: Web/API/Console/dirxml
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.console.dirxml")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/console/error/index.html b/files/zh-cn/web/api/console/error/index.html
index 288f34fb4d..792d2c87c4 100644
--- a/files/zh-cn/web/api/console/error/index.html
+++ b/files/zh-cn/web/api/console/error/index.html
@@ -55,111 +55,7 @@ console.exception(<em>msg</em> [, <em>subst1</em>, ..., <em>substN</em>]);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>8</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>替代字符串</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("9.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>console.exception</code> alias</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("28.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>替代字符串</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("9.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>console.exception</code> alias</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("28.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.console.error")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/console/group/index.html b/files/zh-cn/web/api/console/group/index.html
index 6d1c1b44a2..3d40d6faa7 100644
--- a/files/zh-cn/web/api/console/group/index.html
+++ b/files/zh-cn/web/api/console/group/index.html
@@ -16,51 +16,8 @@ translation_of: Web/API/Console/group
<h2 id="Specification" name="Specification">规范</h2>
<p>不属于任何公开的规范</p>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>4.0</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.console.group")}}
+
<h2 id="相关链接">相关链接</h2>
<ul>
<li><a class="external" href="http://www.opera.com/dragonfly/documentation/console/">Opera Dragonfly documentation: Console</a></li>
diff --git a/files/zh-cn/web/api/console/groupcollapsed/index.html b/files/zh-cn/web/api/console/groupcollapsed/index.html
index ee1a798f2a..e75d6b1413 100644
--- a/files/zh-cn/web/api/console/groupcollapsed/index.html
+++ b/files/zh-cn/web/api/console/groupcollapsed/index.html
@@ -16,53 +16,8 @@ translation_of: Web/API/Console/groupCollapsed
<h2 id="Specification" name="Specification">规范</h2>
<p>不属于任何公开的规范</p>
<h2 id="浏览器">浏览器</h2>
-<p>{{ CompatibilityTable() }}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>6</td>
- <td>{{ CompatGeckoDesktop("9.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>5.1</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("9.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<h3 id="Gecko_备注">Gecko 备注</h3>
-<p>从Gecko 9.0 {{ geckoRelease("9.0") }}开始,Firefox自带的web控制台开始支持该方法, 但是该方法新建的分组不是折叠的,也就是说该方法的功能等同于 {{ domxref("console.group()") }}.</p>
+{{Compat("api.console.groupCollapsed")}}
+
<h2 id="相关链接">相关链接</h2>
<ul>
<li><a class="external" href="http://www.opera.com/dragonfly/documentation/console/">Opera Dragonfly documentation: Console</a></li>
diff --git a/files/zh-cn/web/api/console/groupend/index.html b/files/zh-cn/web/api/console/groupend/index.html
index a90ae09cf3..9f1ef1cd81 100644
--- a/files/zh-cn/web/api/console/groupend/index.html
+++ b/files/zh-cn/web/api/console/groupend/index.html
@@ -39,77 +39,7 @@ translation_of: Web/API/Console/groupEnd
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("9.0")}}</td>
- <td>11</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>4.0<sup>[1]</sup></td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("9.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Implemented in <a href="http://trac.webkit.org/changeset/35421">http://trac.webkit.org/changeset/35421</a>.</p>
+{{Compat("api.console.groupEnd")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/console/info/index.html b/files/zh-cn/web/api/console/info/index.html
index 0b946b9719..1e4ee21888 100644
--- a/files/zh-cn/web/api/console/info/index.html
+++ b/files/zh-cn/web/api/console/info/index.html
@@ -50,102 +50,7 @@ console.info(<em>msg</em> [, <em>subst1</em>, ..., <em>substN</em>]);
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>8</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>替换字符串</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("9.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>信息标志</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>在 Web Worker 中可用</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>替换字符串</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("9.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>在 Web Worker 中可用</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.console.info")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/console/log/index.html b/files/zh-cn/web/api/console/log/index.html
index 5650dfe8bd..857bbcc8a7 100644
--- a/files/zh-cn/web/api/console/log/index.html
+++ b/files/zh-cn/web/api/console/log/index.html
@@ -32,82 +32,7 @@ console.log(`temp的值为: ${temp}`)
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本功能</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>8</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>替代字符串</td>
- <td>{{CompatVersionUnknown}}<br>
- {{CompatChrome(28)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("9.0")}}</td>
- <td>10<sup>[2]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本功能</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td>替代字符串</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("9.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.console.log")}}
<h2 id="Specification" name="Specification">规范</h2>
diff --git a/files/zh-cn/web/api/console/profile/index.html b/files/zh-cn/web/api/console/profile/index.html
index fc611fe671..36687deb8a 100644
--- a/files/zh-cn/web/api/console/profile/index.html
+++ b/files/zh-cn/web/api/console/profile/index.html
@@ -37,75 +37,7 @@ translation_of: Web/API/Console/profile
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatChrome("53.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>实际可用</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("10.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>实际可用</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.console.profile")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/console/timestamp/index.html b/files/zh-cn/web/api/console/timestamp/index.html
index ed92f19a27..626d63b469 100644
--- a/files/zh-cn/web/api/console/timestamp/index.html
+++ b/files/zh-cn/web/api/console/timestamp/index.html
@@ -25,69 +25,7 @@ translation_of: Web/API/Console/timeStamp
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">{{CompatUnknown}}
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("38.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("10.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.console.timeStamp")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/console/warn/index.html b/files/zh-cn/web/api/console/warn/index.html
index c3ba21b2b0..22137faf9f 100644
--- a/files/zh-cn/web/api/console/warn/index.html
+++ b/files/zh-cn/web/api/console/warn/index.html
@@ -51,93 +51,7 @@ console.warn(<em>msg</em> [, <em>subst1</em>, ..., <em>substN</em>]);
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>8</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Substitution strings</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("9.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Substitution strings</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("9.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("38.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.console.warn")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/createimagebitmap/index.html b/files/zh-cn/web/api/createimagebitmap/index.html
index c71c592551..0e4bd707dd 100644
--- a/files/zh-cn/web/api/createimagebitmap/index.html
+++ b/files/zh-cn/web/api/createimagebitmap/index.html
@@ -82,119 +82,7 @@ image.src = 'sprites.png';
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50)}}</td>
- <td>
- <p>{{CompatGeckoDesktop(42)}}<br>
- {{CompatGeckoDesktop(52)}}<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>options</code> parameter</td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>39</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>resizeWidth</code>, <code>resizeHeight</code>, and <code>resizeQuality</code></td>
- <td>{{CompatChrome(54)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>SVGImageElement</code> as source image</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50)}}</td>
- <td>{{CompatChrome(50)}}</td>
- <td>
- <p>{{CompatGeckomobile(42)}}<br>
- {{CompatGeckoMobile(52)}}<sup>[1]</sup></p>
- </td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>options</code> parameter</td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>39</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>resizeWidth</code>, <code>resizeHeight</code>, and <code>resizeQuality</code></td>
- <td>{{CompatChrome(54)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td> </td>
- </tr>
- <tr>
- <td><code>SVGImageElement</code> as source image</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] <code>createImageBitmap()</code> now defined on {{domxref("WindowOrWorkerGlobalScope")}} mixin.</p>
+{{Compat("api.createImageBitmap")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/credential_management_api/index.html b/files/zh-cn/web/api/credential_management_api/index.html
index 77359c89ac..913537510b 100644
--- a/files/zh-cn/web/api/credential_management_api/index.html
+++ b/files/zh-cn/web/api/credential_management_api/index.html
@@ -62,92 +62,4 @@ translation_of: Web/API/Credential_Management_API
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{ CompatibilityTable() }}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support(基础支持)</td>
- <td>{{CompatChrome(51)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(44)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Subdomain-shared credentials(子域共享凭据)</td>
- <td>{{CompatChrome(57)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(44)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Web authentication(Web身份验证)</td>
- <td>{{CompatChrome(65)}}<sup>[1]</sup></td>
- <td>60</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support(基础支持)</td>
- <td>{{CompatChrome(51)}}</td>
- <td>{{CompatChrome(51)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOperaMobile(44)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Subdomain-shared credentials(子域共享凭据)</td>
- <td>{{CompatChrome(57)}}</td>
- <td>{{CompatChrome(57)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOperaMobile(44)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Web authentication(Web身份验证)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在 chrome://flags#enable-webauthentication flag中。 (这仅适用于Chrome中的链接。)</p>
+{{Compat("api.Credential")}}
diff --git a/files/zh-cn/web/api/credentialscontainer/index.html b/files/zh-cn/web/api/credentialscontainer/index.html
index 13b25b9a44..73092cb5f0 100644
--- a/files/zh-cn/web/api/credentialscontainer/index.html
+++ b/files/zh-cn/web/api/credentialscontainer/index.html
@@ -55,96 +55,4 @@ translation_of: Web/API/CredentialsContainer
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p>{{CompatChrome(51)}}</p>
- </td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>create()</code></td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>requireUserMediation()</code> renamed <code>preventSilentAccess()</code></td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p>{{CompatChrome(51)}}</p>
- </td>
- <td>
- <p>{{CompatChrome(51)}}</p>
- </td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>create()</code></td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>requireUserMediation()</code> renamed <code>preventSilentAccess()</code></td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CredentialsContainer")}}
diff --git a/files/zh-cn/web/api/crypto/subtle/index.html b/files/zh-cn/web/api/crypto/subtle/index.html
index 6195de91fc..3ea587a1fd 100644
--- a/files/zh-cn/web/api/crypto/subtle/index.html
+++ b/files/zh-cn/web/api/crypto/subtle/index.html
@@ -36,55 +36,7 @@ translation_of: Web/API/Crypto/subtle
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(37) }}</td>
- <td>{{ CompatGeckoDesktop(34) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>37</td>
- <td>{{ CompatGeckoMobile(34) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Crypto.subtle")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/crypto_property/index.html b/files/zh-cn/web/api/crypto_property/index.html
index 9af4f22a8c..d8f3e15805 100644
--- a/files/zh-cn/web/api/crypto_property/index.html
+++ b/files/zh-cn/web/api/crypto_property/index.html
@@ -59,57 +59,7 @@ original_slug: Web/API/Window/crypto
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Edge</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>44 {{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>11 {{property_prefix("ms")}}</td>
- <td>20</td>
- <td>19</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.crypto")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/cryptokey/index.html b/files/zh-cn/web/api/cryptokey/index.html
index 57f11ff55f..d9b88d9db9 100644
--- a/files/zh-cn/web/api/cryptokey/index.html
+++ b/files/zh-cn/web/api/cryptokey/index.html
@@ -47,59 +47,7 @@ translation_of: Web/API/CryptoKey
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(37) }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(34) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>37</td>
- <td>{{ CompatChrome(37) }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile(34) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CryptoKey")}}
<h2 id="其它相关">其它相关</h2>
diff --git a/files/zh-cn/web/api/css/escape/index.html b/files/zh-cn/web/api/css/escape/index.html
index 3271798047..94fd7d1607 100644
--- a/files/zh-cn/web/api/css/escape/index.html
+++ b/files/zh-cn/web/api/css/escape/index.html
@@ -63,59 +63,7 @@ CSS.escape('\0') // "\ufffd", Unicode替换字符 </pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatGeckoDesktop("31")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatGeckoMobile("31")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Firefox 32做了一些小的修改,以符合规范和CSS语法的发展。标识符现在可以以' -- '开始,第二个破折号不能被转义。另外供应商标识符也不会被更改。</p>
+{{Compat("api.CSS.escape")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/css/supports/index.html b/files/zh-cn/web/api/css/supports/index.html
index 86c8f5dd91..adcadf06c9 100644
--- a/files/zh-cn/web/api/css/supports/index.html
+++ b/files/zh-cn/web/api/css/supports/index.html
@@ -66,61 +66,7 @@ result = <code class="language-css">CSS.supports("( <span class="property token"
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>28.0 [2]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("22") }} [1]</td>
- <td>{{CompatNo}}</td>
- <td>12.1</td>
- <td>9 [2]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("22") }} [1]</td>
- <td>{{CompatNo}}</td>
- <td>12.1</td>
- <td>9</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1]只有在用户设置<code>layout.css.supports-rule.enabled=true</code>时,Gecko 20和21才会支持这一特性。</p>
-
-<p>[2] 在Chrome ≤ 51 (bug 584683) 和 Safari (bug 154669)中, 即使支持自定义属性,<code>CSS.supports('--foo', 'red')</code> 也会返回false。 您可以使用<code>CSS.supports('(--foo: red)')</code>,作为一种解决方案。</p>
+{{Compat("api.CSS.supports")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/css_font_loading_api/index.html b/files/zh-cn/web/api/css_font_loading_api/index.html
index e446cafa78..0346753af2 100644
--- a/files/zh-cn/web/api/css_font_loading_api/index.html
+++ b/files/zh-cn/web/api/css_font_loading_api/index.html
@@ -44,54 +44,4 @@ translation_of: Web/API/CSS_Font_Loading_API
<h2 id="浏览器兼容性"><span class="highlight-span">浏览器兼容性</span></h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(35.0)}}</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(22)}}</td>
- <td>{{CompatSafari(10)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(56.0)}}</td>
- <td>{{CompatChrome(35.0)}}</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(22)}}</td>
- <td>{{CompatSafari(10)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.FontFace")}}
diff --git a/files/zh-cn/web/api/cssstyledeclaration/getpropertypriority/index.html b/files/zh-cn/web/api/cssstyledeclaration/getpropertypriority/index.html
index a2881f7aa9..c142a4c9c6 100644
--- a/files/zh-cn/web/api/cssstyledeclaration/getpropertypriority/index.html
+++ b/files/zh-cn/web/api/cssstyledeclaration/getpropertypriority/index.html
@@ -62,58 +62,4 @@ var isImportant = declaration.getPropertyPriority('margin') === 'important';
<h2 id="浏览器兼容性"><strong>浏览器兼容性</strong></h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <thead>
- <tr>
- <th scope="col">Feature</th>
- <th scope="col">Chrome</th>
- <th scope="col">Edge</th>
- <th scope="col">Firefox (Gecko)</th>
- <th scope="col">Internet Explorer</th>
- <th scope="col">Opera</th>
- <th scope="col">Safari (WebKit)</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CSSStyleDeclaration.getPropertyPriority")}}
diff --git a/files/zh-cn/web/api/cssstyledeclaration/item/index.html b/files/zh-cn/web/api/cssstyledeclaration/item/index.html
index f3e5350ef9..58d57fcbac 100644
--- a/files/zh-cn/web/api/cssstyledeclaration/item/index.html
+++ b/files/zh-cn/web/api/cssstyledeclaration/item/index.html
@@ -60,58 +60,4 @@ var propertyName = style.item(1); // or simply style[1] - returns the second sty
<p><strong>浏览器兼容性</strong></p>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <thead>
- <tr>
- <th scope="col">Feature</th>
- <th scope="col">Chrome</th>
- <th scope="col">Edge</th>
- <th scope="col">Firefox (Gecko)</th>
- <th scope="col">Internet Explorer</th>
- <th scope="col">Opera</th>
- <th scope="col">Safari (WebKit)</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CSSStyleDeclaration.item")}}
diff --git a/files/zh-cn/web/api/cssstyledeclaration/removeproperty/index.html b/files/zh-cn/web/api/cssstyledeclaration/removeproperty/index.html
index b4437515b3..32db25a32a 100644
--- a/files/zh-cn/web/api/cssstyledeclaration/removeproperty/index.html
+++ b/files/zh-cn/web/api/cssstyledeclaration/removeproperty/index.html
@@ -68,58 +68,4 @@ var oldValue = declaration.removeProperty('margin');
<h2 id="浏览器支持情况">浏览器支持情况</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <thead>
- <tr>
- <th scope="col">Feature</th>
- <th scope="col">Chrome</th>
- <th scope="col">Edge</th>
- <th scope="col">Firefox (Gecko)</th>
- <th scope="col">Internet Explorer</th>
- <th scope="col">Opera</th>
- <th scope="col">Safari (WebKit)</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CSSStyleDeclaration.removeProperty")}}
diff --git a/files/zh-cn/web/api/cssstyledeclaration/setproperty/index.html b/files/zh-cn/web/api/cssstyledeclaration/setproperty/index.html
index 269faaad26..bf05a144bf 100644
--- a/files/zh-cn/web/api/cssstyledeclaration/setproperty/index.html
+++ b/files/zh-cn/web/api/cssstyledeclaration/setproperty/index.html
@@ -75,63 +75,4 @@ declaration.setProperty('margin', '1px 2px');
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <thead>
- <tr>
- <th scope="col">特性</th>
- <th scope="col">Chrome</th>
- <th scope="col">Edge</th>
- <th scope="col">Firefox (Gecko)</th>
- <th scope="col">Internet Explorer</th>
- <th scope="col">Opera</th>
- <th scope="col">Safari (WebKit)</th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <td>基础支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<div>
-<h3 id="want_learn_more">want learn more</h3>
-<a href="https://developer.mozilla.org/zh-CN/docs/Web/API/Window/getComputedStyle">getComputedStyle</a><br>
-<a href="https://developer.mozilla.org/zh-CN/docs/Web/API/CSSStyleDeclaration/getPropertyValue">getPropertyValue</a></div>
-</div>
+{{Compat("api.CSSStyleDeclaration.setProperty")}}
diff --git a/files/zh-cn/web/api/csssupportsrule/index.html b/files/zh-cn/web/api/csssupportsrule/index.html
index 2bea90d1bb..a75d902cf4 100644
--- a/files/zh-cn/web/api/csssupportsrule/index.html
+++ b/files/zh-cn/web/api/csssupportsrule/index.html
@@ -44,57 +44,7 @@ translation_of: Web/API/CSSSupportsRule
<h2 id="游览器兼容性">游览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("17")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>12.10</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("17")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 作为前叠这规则是没有意义的 <code>CSSSupportsRule</code> 只支持,如果用户可以通过设置配置的值i<code>layout.css.supports-rule.enable</code> 的真实.</p>
-
-<p>从Firefox 17到 Firefox 19 在内, <code>CSSSupportsRule</code> 直接来自 <code>CSSRule</code> 的方法和属性定义在 <code>CSSConditionRule</code>现在的水平,在 <code>CSSSupportsRule</code>定义.该规范草案改变了,并已更新了 Firefox 20 was updated.</p>
+{{Compat("api.CSSSupportsRule")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/customevent/initcustomevent/index.html b/files/zh-cn/web/api/customevent/initcustomevent/index.html
index 2b8b12aea8..ec20bb7e94 100644
--- a/files/zh-cn/web/api/customevent/initcustomevent/index.html
+++ b/files/zh-cn/web/api/customevent/initcustomevent/index.html
@@ -54,53 +54,7 @@ translation_of: Web/API/CustomEvent/initCustomEvent
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatGeckoDesktop(6)}}</td>
- <td>9</td>
- <td>11</td>
- <td>5.1 (533.3)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatGeckoMobile(6)}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.CustomEvent.initCustomEvent")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/datatransfer/effectallowed/index.html b/files/zh-cn/web/api/datatransfer/effectallowed/index.html
index ec2e64eee3..e321fbe46a 100644
--- a/files/zh-cn/web/api/datatransfer/effectallowed/index.html
+++ b/files/zh-cn/web/api/datatransfer/effectallowed/index.html
@@ -125,64 +125,7 @@ function dragover_handler(ev) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>3.5</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DataTransfer.effectAllowed")}}
<h2 id="参考链接">参考链接</h2>
diff --git a/files/zh-cn/web/api/datatransfer/files/index.html b/files/zh-cn/web/api/datatransfer/files/index.html
index f6862d8b74..b4ff3ee132 100644
--- a/files/zh-cn/web/api/datatransfer/files/index.html
+++ b/files/zh-cn/web/api/datatransfer/files/index.html
@@ -51,60 +51,4 @@ translation_of: Web/API/DataTransfer/files
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>3.5</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DataTransfer.files")}}
diff --git a/files/zh-cn/web/api/datatransfer/setdata/index.html b/files/zh-cn/web/api/datatransfer/setdata/index.html
index f6fff20969..fcbf7bc4b9 100644
--- a/files/zh-cn/web/api/datatransfer/setdata/index.html
+++ b/files/zh-cn/web/api/datatransfer/setdata/index.html
@@ -133,63 +133,7 @@ translation_of: Web/API/DataTransfer/setData
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>3.5</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DataTransfer.setData")}}
<h2 id="也可以看看">也可以看看</h2>
diff --git a/files/zh-cn/web/api/datatransfer/setdragimage/index.html b/files/zh-cn/web/api/datatransfer/setdragimage/index.html
index df5d622015..e8f7eb832d 100644
--- a/files/zh-cn/web/api/datatransfer/setdragimage/index.html
+++ b/files/zh-cn/web/api/datatransfer/setdragimage/index.html
@@ -130,59 +130,7 @@ function drop_handler(ev) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>3.5</td>
- <td>{{CompatNo}}</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DataTransfer.setDragImage")}}
<h2 id="See_also" name="See_also">参考链接</h2>
diff --git a/files/zh-cn/web/api/datatransfer/types/index.html b/files/zh-cn/web/api/datatransfer/types/index.html
index 6bc63e1811..3fb941756d 100644
--- a/files/zh-cn/web/api/datatransfer/types/index.html
+++ b/files/zh-cn/web/api/datatransfer/types/index.html
@@ -107,67 +107,7 @@ function dragover_handler(ev) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>3.5<br>
- {{CompatGeckoDesktop(52)}}<sup>[1]</sup></td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<br>
- {{CompatGeckoMobile(52)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1]从Firefox52版本开始,{{domxref("DataTransfer.types")}}属性根据规范返回一个冻结的(frozen){{domxref("DOMString")}}s数组,而不是{{domxref("DOMStringList")}}</p>
+{{Compat("api.DataTransfer.types")}}
<h2 id="参考链接">参考链接</h2>
diff --git a/files/zh-cn/web/api/datatransferitem/index.html b/files/zh-cn/web/api/datatransferitem/index.html
index 1f05ea0fb9..8f793cf39b 100644
--- a/files/zh-cn/web/api/datatransferitem/index.html
+++ b/files/zh-cn/web/api/datatransferitem/index.html
@@ -62,60 +62,4 @@ translation_of: Web/API/DataTransferItem
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(50)}}</td>
- <td>{{CompatNo}}</td>
- <td>12</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(50)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DataTransferItem")}}
diff --git a/files/zh-cn/web/api/devicemotionevent/acceleration/index.html b/files/zh-cn/web/api/devicemotionevent/acceleration/index.html
index 88646f7a72..fcb0afbf5a 100644
--- a/files/zh-cn/web/api/devicemotionevent/acceleration/index.html
+++ b/files/zh-cn/web/api/devicemotionevent/acceleration/index.html
@@ -54,57 +54,7 @@ translation_of: Web/API/DeviceMotionEvent/acceleration
<h2 id="浏览器兼容性"><span class="short_text" id="result_box" lang="zh-CN"><span>浏览器兼容性</span></span></h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("6")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("6")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>4.2</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DeviceMotionEvent.acceleration")}}
<h2 id="推荐浏览">推荐浏览</h2>
diff --git a/files/zh-cn/web/api/devicemotionevent/accelerationincludinggravity/index.html b/files/zh-cn/web/api/devicemotionevent/accelerationincludinggravity/index.html
index b35c619384..841deee62c 100644
--- a/files/zh-cn/web/api/devicemotionevent/accelerationincludinggravity/index.html
+++ b/files/zh-cn/web/api/devicemotionevent/accelerationincludinggravity/index.html
@@ -54,57 +54,7 @@ translation_of: Web/API/DeviceMotionEvent/accelerationIncludingGravity
<h2 id="浏览器兼容性"><span class="short_text" id="result_box" lang="zh-CN"><span>浏览器兼容性</span></span></h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("6")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("6")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>4.2</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DeviceMotionEvent.accelerationIncludingGravity")}}
<h2 id="推荐浏览">推荐浏览</h2>
diff --git a/files/zh-cn/web/api/devicemotionevent/interval/index.html b/files/zh-cn/web/api/devicemotionevent/interval/index.html
index d96a237274..285b55ca81 100644
--- a/files/zh-cn/web/api/devicemotionevent/interval/index.html
+++ b/files/zh-cn/web/api/devicemotionevent/interval/index.html
@@ -39,57 +39,7 @@ translation_of: Web/API/DeviceMotionEvent/interval
<h2 id="浏览器兼容性"><span class="short_text" id="result_box" lang="zh-CN"><span>浏览器兼容性</span></span></h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("6")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("6")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>4.2</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DeviceMotionEvent.interval")}}
<h2 id="推荐浏览">推荐浏览</h2>
diff --git a/files/zh-cn/web/api/devicemotionevent/rotationrate/index.html b/files/zh-cn/web/api/devicemotionevent/rotationrate/index.html
index 513d403ec0..ceb79c526a 100644
--- a/files/zh-cn/web/api/devicemotionevent/rotationrate/index.html
+++ b/files/zh-cn/web/api/devicemotionevent/rotationrate/index.html
@@ -55,57 +55,7 @@ translation_of: Web/API/DeviceMotionEvent/rotationRate
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("6")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("6")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>4.2</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DeviceMotionEvent.rotationRate")}}
<h2 id="推荐阅读">推荐阅读</h2>
diff --git a/files/zh-cn/web/api/deviceorientationevent/absolute/index.html b/files/zh-cn/web/api/deviceorientationevent/absolute/index.html
index 2ac880891c..bed85e75c5 100644
--- a/files/zh-cn/web/api/deviceorientationevent/absolute/index.html
+++ b/files/zh-cn/web/api/deviceorientationevent/absolute/index.html
@@ -35,59 +35,7 @@ translation_of: Web/API/DeviceOrientationEvent/absolute
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>7.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>6 [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>3.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>6 [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>4.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Firefox 3.6, 4, and 5 supported <a href="/en-US/DOM/MozOrientation">mozOrientation </a>instead of the standard <code>DeviceOrientationEvent</code> interface</p>
+{{Compat("api.DeviceOrientationEvent.absolute")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/deviceorientationevent/beta/index.html b/files/zh-cn/web/api/deviceorientationevent/beta/index.html
index 9cec365dce..46a66e05c0 100644
--- a/files/zh-cn/web/api/deviceorientationevent/beta/index.html
+++ b/files/zh-cn/web/api/deviceorientationevent/beta/index.html
@@ -32,59 +32,7 @@ translation_of: Web/API/DeviceOrientationEvent/beta
<h2 id="浏览器的兼容性">浏览器的兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>7.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>6 [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>3.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>6 [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>4.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Firefox 3.6, 4, and 5 supported <a href="/en-US/DOM/MozOrientation">mozOrientation </a>instead of the standard <code>DeviceOrientationEvent</code> interface</p>
+{{Compat("api.DeviceOrientationEvent.beta")}}
<h2 id="另请参阅">另请参阅</h2>
diff --git a/files/zh-cn/web/api/deviceorientationevent/gamma/index.html b/files/zh-cn/web/api/deviceorientationevent/gamma/index.html
index 6bff9aef20..d0f4e0fb64 100644
--- a/files/zh-cn/web/api/deviceorientationevent/gamma/index.html
+++ b/files/zh-cn/web/api/deviceorientationevent/gamma/index.html
@@ -33,59 +33,7 @@ translation_of: Web/API/DeviceOrientationEvent/gamma
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>7.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>6 [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>3.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>6 [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>4.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p><font><font>[1]火狐3.6,图4和5支撑</font></font><a href="https://developer.mozilla.org/en-US/DOM/MozOrientation"><font><font>mozOrientation</font></font></a><font><font>而不是标准</font></font><code>DeviceOrientationEvent</code><font><font>接口</font></font></p>
+{{Compat("api.DeviceOrientationEvent.gamma")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/deviceorientationevent/index.html b/files/zh-cn/web/api/deviceorientationevent/index.html
index a65efefa94..ba480d47ec 100644
--- a/files/zh-cn/web/api/deviceorientationevent/index.html
+++ b/files/zh-cn/web/api/deviceorientationevent/index.html
@@ -52,61 +52,7 @@ translation_of: Web/API/DeviceOrientationEvent
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>7.0 [1]</td>
- <td>6 [2]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>3.0</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>6 [2]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>4.2</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在版本50之前Chrome为该事件提供绝对的值而非相对的值。开发者仍需使用绝对的值,当使用{{domxref("ondeviceorientationabsolute")}} 事件时.</p>
-
-<p>[2] 火狐3.6, 4, and 5支持<a href="/en-US/DOM/MozOrientation">mozOrientation </a>而非标准的 <code>DeviceOrientationEvent</code></p>
+{{Compat("api.DeviceOrientationEvent")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/deviceproximityevent/index.html b/files/zh-cn/web/api/deviceproximityevent/index.html
index 9e41e775dc..a6f37185ab 100644
--- a/files/zh-cn/web/api/deviceproximityevent/index.html
+++ b/files/zh-cn/web/api/deviceproximityevent/index.html
@@ -45,55 +45,7 @@ translation_of: Web/API/DeviceProximityEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("15.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DeviceProximityEvent")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/document/caretrangefrompoint/index.html b/files/zh-cn/web/api/document/caretrangefrompoint/index.html
index c765353a08..dd72e43bca 100644
--- a/files/zh-cn/web/api/document/caretrangefrompoint/index.html
+++ b/files/zh-cn/web/api/document/caretrangefrompoint/index.html
@@ -79,60 +79,4 @@ for (i=0 ; i &lt; paragraphs.length; i++) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Edge</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>20+</td>
- <td>{{CompatNo()}}</td>
- <td>12</td>
- <td>15+</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p id="sect1"> </p>
+{{Compat("api.Document.caretRangeFromPoint")}}
diff --git a/files/zh-cn/web/api/document/characterset/index.html b/files/zh-cn/web/api/document/characterset/index.html
index 8484a07d72..f05991e287 100644
--- a/files/zh-cn/web/api/document/characterset/index.html
+++ b/files/zh-cn/web/api/document/characterset/index.html
@@ -42,81 +42,4 @@ translation_of: Web/API/Document/characterSet
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatChrome(45.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>9 (possibly earlier)</td>
- </tr>
- <tr>
- <td><code>字符集</code></td>
- <td>Made read-only in {{CompatChrome(45)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>9 (possibly earlier)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(45.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(45.0)}}</td>
- </tr>
- <tr>
- <td><code>字符集</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(44)}}</td>
- <td>2.5</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.characterSet")}}
diff --git a/files/zh-cn/web/api/document/createelementns/index.html b/files/zh-cn/web/api/document/createelementns/index.html
index 1a4f11c616..07a2dbad0a 100644
--- a/files/zh-cn/web/api/document/createelementns/index.html
+++ b/files/zh-cn/web/api/document/createelementns/index.html
@@ -102,72 +102,7 @@ translation_of: Web/API/Document/createElementNS
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>options</code> argument</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(50)}}<sup>[2][3]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1]在本规范的早期版本中,此参数只是一个字符串,其值是自定义元素的标签名称。为了向后兼容性,Chrome同时接受这两种格式。</p>
-
-<p>[2] 参阅[1]:像Chrome一样,Firefox从51版开始在这里接受一个字符串而不是一个对象。但是在版本50中,选项必须是对象。</p>
-
-<p>[3] 要在Firefox中实验自定义元素,必须将dom.webcomponents.enabled和dom.webcomponents.customelements.enabled首选项设置为true。</p>
+{{Compat("api.Document.createElementNS")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/document/dir/index.html b/files/zh-cn/web/api/document/dir/index.html
index c16c102435..59b673a6fd 100644
--- a/files/zh-cn/web/api/document/dir/index.html
+++ b/files/zh-cn/web/api/document/dir/index.html
@@ -41,55 +41,7 @@ document.dir = "rtl";
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Firefox 23之前, <code>Document.dir属性返回</code> "ltr" 无论在根元素{{htmlelement("html")}} 的dir属性上如何设置。 并且如果在文档标签<code>&lt;html&gt;上设置了方向</code>, <code>Document.dir在改变时不会生效</code>(虽然随后检索<code>Document.dir属性发现他的确改变了</code>)。 但是, 如果这个属性没有被设置在标签 <code>&lt;html&gt;</code> 上并且改变的该属性状态, 无论是页面可是区域的改变还是<code>Document.dir属性的改变都会正确的反映这一变化。</code></p>
+{{Compat("api.Document.dir")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/document/drag_event/index.html b/files/zh-cn/web/api/document/drag_event/index.html
index 906df8743d..71da767e2e 100644
--- a/files/zh-cn/web/api/document/drag_event/index.html
+++ b/files/zh-cn/web/api/document/drag_event/index.html
@@ -262,59 +262,7 @@ translation_of: Web/API/Document/drag_event
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.drag_event")}}
<h2 id="相关">相关</h2>
diff --git a/files/zh-cn/web/api/document/dragend_event/index.html b/files/zh-cn/web/api/document/dragend_event/index.html
index a42129345d..3933d967b9 100644
--- a/files/zh-cn/web/api/document/dragend_event/index.html
+++ b/files/zh-cn/web/api/document/dragend_event/index.html
@@ -184,61 +184,7 @@ translation_of: Web/API/Document/dragend_event
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}<sup>[1]</sup></td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] In Gecko, <code>dragend</code> is not dispatched if the source node is moved or removed during the drag (e.g. on <code>drop</code> or <code>dragover</code>). See {{bug("460801")}}.</p>
+{{Compat("api.Document.dragend_event")}}
<h2 id="相关">相关</h2>
diff --git a/files/zh-cn/web/api/document/dragenter_event/index.html b/files/zh-cn/web/api/document/dragenter_event/index.html
index 1cd2fce638..9dedd38034 100644
--- a/files/zh-cn/web/api/document/dragenter_event/index.html
+++ b/files/zh-cn/web/api/document/dragenter_event/index.html
@@ -181,59 +181,7 @@ translation_of: Web/API/Document/dragenter_event
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.dragenter_event")}}
<h2 id="相关">相关</h2>
diff --git a/files/zh-cn/web/api/document/dragleave_event/index.html b/files/zh-cn/web/api/document/dragleave_event/index.html
index 36f2995a13..e9ab3f20dc 100644
--- a/files/zh-cn/web/api/document/dragleave_event/index.html
+++ b/files/zh-cn/web/api/document/dragleave_event/index.html
@@ -183,59 +183,7 @@ translation_of: Web/API/Document/dragleave_event
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.dragleave_event")}}
<h2 id="相关">相关</h2>
diff --git a/files/zh-cn/web/api/document/dragover_event/index.html b/files/zh-cn/web/api/document/dragover_event/index.html
index ff219820c0..7b0eb7d4f5 100644
--- a/files/zh-cn/web/api/document/dragover_event/index.html
+++ b/files/zh-cn/web/api/document/dragover_event/index.html
@@ -185,59 +185,7 @@ translation_of: Web/API/Document/dragover_event
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.dragover_event")}}
<h2 id="相关">相关</h2>
diff --git a/files/zh-cn/web/api/document/dragstart_event/index.html b/files/zh-cn/web/api/document/dragstart_event/index.html
index 15ec167d42..43631b0e62 100644
--- a/files/zh-cn/web/api/document/dragstart_event/index.html
+++ b/files/zh-cn/web/api/document/dragstart_event/index.html
@@ -240,59 +240,7 @@ translation_of: Web/API/Document/dragstart_event
<h2 id="浏览器支持">浏览器支持</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.dragstart_event")}}
<h2 id="相关事件">相关事件</h2>
diff --git a/files/zh-cn/web/api/document/drop_event/index.html b/files/zh-cn/web/api/document/drop_event/index.html
index 3016333f51..2a7b6a302f 100644
--- a/files/zh-cn/web/api/document/drop_event/index.html
+++ b/files/zh-cn/web/api/document/drop_event/index.html
@@ -187,59 +187,7 @@ translation_of: Web/API/Document/drop_event
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.drop_event")}}
<h2 id="相关">相关</h2>
diff --git a/files/zh-cn/web/api/document/exitfullscreen/index.html b/files/zh-cn/web/api/document/exitfullscreen/index.html
index 4cf18e65ff..c691c88bb5 100644
--- a/files/zh-cn/web/api/document/exitfullscreen/index.html
+++ b/files/zh-cn/web/api/document/exitfullscreen/index.html
@@ -44,62 +44,7 @@ document.onclick = function (event) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br>
- {{CompatChrome(45)}} (unprefixed)</td>
- <td>{{CompatGeckoDesktop("9.0")}} as <code>mozCancelFullScreen</code><sup>[1]</sup><br>
- {{CompatGeckoDesktop("47.0")}}<sup>[1]</sup> (behind <code>full-screen-api.unprefix.enabled</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webkit</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br>
- {{CompatChrome(45)}} (unprefixed)</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br>
- {{CompatChrome(45)}} (unprefixed)</td>
- <td>{{CompatGeckoMobile("9.0")}} as <code>mozCancelFullScreen</code><sup>[1]</sup><br>
- {{CompatGeckoMobile("47.0")}}<sup>[1]</sup> (behind <code>full-screen-api.unprefix.enabled</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 可通过<code><strong>Document.exitFullscreen()</strong></code>方法让全屏元素栈的栈顶元素退出全屏状态,并让新的栈顶的元素进入全屏状态。此特征在Gecko 11.0 {{geckoRelease("11.0")}}中被实现.</p>
+{{Compat("api.Document.exitFullscreen")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/api/document/exitpointerlock/index.html b/files/zh-cn/web/api/document/exitpointerlock/index.html
index 0a99a81ea2..b433f80ceb 100644
--- a/files/zh-cn/web/api/document/exitpointerlock/index.html
+++ b/files/zh-cn/web/api/document/exitpointerlock/index.html
@@ -35,66 +35,7 @@ translation_of: Web/API/Document/exitPointerLock
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }} {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown() }} {{property_prefix("moz")}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td>Unprefixed support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(50)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.exitPointerLock")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/document/fullscreen/index.html b/files/zh-cn/web/api/document/fullscreen/index.html
index f1d6edc436..0a162fae76 100644
--- a/files/zh-cn/web/api/document/fullscreen/index.html
+++ b/files/zh-cn/web/api/document/fullscreen/index.html
@@ -42,68 +42,4 @@ original_slug: Web/API/Document/mozFullScreen
<h3 id="Specification" name="Specification">浏览器兼容性</h3>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("9.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("9.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Specification" name="Specification">规范</h3>
-
-<p>不属于任何公开的规范</p>
-
-<h3 id="相关链接">相关链接</h3>
-
-<ul>
- <li><a href="/zh-cn/DOM/Using_full-screen_mode" title="zh-cn/DOM/Using full-screen mode">Using full-screen mode</a></li>
- <li>{{ domxref("element.mozRequestFullScreen()") }}</li>
- <li>{{ domxref("document.mozCancelFullScreen()") }}</li>
- <li>{{ domxref("document.mozFullScreenElement") }}</li>
- <li>{{ domxref("document.mozFullScreenEnabled") }}</li>
- <li>{{ cssxref(":-moz-full-screen") }}</li>
- <li>{{ HTMLAttrXRef("mozallowfullscreen", "iframe") }}</li>
-</ul>
-
-<p>{{ languages( {"en": "en/DOM/document.mozFullScreen" } ) }}</p>
+{{Compat("api.Document.fullscreen")}}
diff --git a/files/zh-cn/web/api/document/fullscreenelement/index.html b/files/zh-cn/web/api/document/fullscreenelement/index.html
index 8e84782789..45a1879029 100644
--- a/files/zh-cn/web/api/document/fullscreenelement/index.html
+++ b/files/zh-cn/web/api/document/fullscreenelement/index.html
@@ -19,60 +19,4 @@ original_slug: Web/API/DocumentOrShadowRoot/fullscreenElement
<h3 id="辅助">辅助</h3>
<p>查看<a href="/zh-CN/docs/DOM/Using_full-screen_mode" title="zh-CN/docs/DOM/Using full-screen mode">使用"全屏模式"</a>页面了解详情.</p>
<h3 id="Specification" name="Specification">浏览器兼容性</h3>
-<p>{{ CompatibilityTable() }}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("9.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("9.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<h3 id="Specification" name="Specification">规范</h3>
-<p>该方法提案已经进入相关规范草案 <a class="external" href="http://dvcs.w3.org/hg/fullscrezh-CN/raw-file/tip/Overview.html#dom-document-fullscreenelement">http://dvcs.w3.org/hg/fullscrezh-CN/raw-file/tip/Overview.html#dom-document-fullscreenelement</a></p>
-<h3 id="相关链接">相关链接</h3>
-<ul>
- <li><a href="/zh-CN/docs/DOM/Using_full-screen_mode" title="zh-CN/docs/DOM/Using full-screen mode">Using full-screen mode</a></li>
- <li>{{ domxref("element.mozRequestFullScreen()") }}</li>
- <li>{{ domxref("document.mozCancelFullScreen()") }}</li>
- <li>{{ domxref("document.mozFullScreen") }}</li>
- <li>{{ domxref("document.mozFullScreenEnabled") }}</li>
- <li>{{ cssxref(":-moz-full-screen") }}</li>
- <li>{{ HTMLAttrXRef("allowfullscreen", "iframe") }}</li>
-</ul>
+{{Compat("api.Document.fullscreenElement")}}
diff --git a/files/zh-cn/web/api/document/fullscreenenabled/index.html b/files/zh-cn/web/api/document/fullscreenenabled/index.html
index 244abe8e26..c8a4525f82 100644
--- a/files/zh-cn/web/api/document/fullscreenenabled/index.html
+++ b/files/zh-cn/web/api/document/fullscreenenabled/index.html
@@ -23,61 +23,4 @@ original_slug: Web/API/Document/mozFullScreenEnabled
<h3 id="备注">备注</h3>
<p>进入页面<a href="/zh-cn/DOM/Using_full-screen_mode" title="zh-cn/DOM/Using full-screen mode">使用全屏模式</a>查看详情和示例.</p>
<h3 id="Specification" name="Specification">浏览器兼容性</h3>
-<p>{{ CompatibilityTable() }}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("10.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("10.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<h3 id="Specification" name="Specification">规范</h3>
-<p>该方法在规范草案 <a class="external" href="http://dvcs.w3.org/hg/fullscrezh-cn/raw-file/tip/Overview.html#dom-document-fullscreenenabled" title="http://dvcs.w3.org/hg/fullscrezh-cn/raw-file/tip/Overview.html#dom-document-fullscreenenabled">http://dvcs.w3.org/hg/fullscrezh-cn/raw-file/tip/Overview.html#dom-document-fullscreenenabled</a> 中被提出.</p>
-<h3 id="相关链接">相关链接</h3>
-<ul>
- <li><a href="/zh-cn/DOM/Using_full-screen_mode" title="zh-cn/DOM/Using full-screen mode">Using full-screen mode</a></li>
- <li>{{ domxref("element.mozRequestFullScreen()") }}</li>
- <li>{{ domxref("document.mozCancelFullScreen()") }}</li>
- <li>{{ domxref("document.mozFullScreen") }}</li>
- <li>{{ domxref("document.mozFullScreenElement") }}</li>
- <li>{{ cssxref(":-moz-full-screen") }}</li>
- <li>{{ HTMLAttrXRef("mozallowfullscreen", "iframe") }}</li>
-</ul>
-<p>{{ languages( { "en": "en/DOM/document.mozFullScreenEnabled" } ) }}</p>
+{{Compat("api.Document.fullscreenEnabled")}}
diff --git a/files/zh-cn/web/api/document/fullscreenerror_event/index.html b/files/zh-cn/web/api/document/fullscreenerror_event/index.html
index acddbe6963..1c5066ceed 100644
--- a/files/zh-cn/web/api/document/fullscreenerror_event/index.html
+++ b/files/zh-cn/web/api/document/fullscreenerror_event/index.html
@@ -42,59 +42,7 @@ document.documentElement.requestFullscreen();
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(45)}}</td>
- <td>{{CompatGeckoDesktop("47")}}<sup>[1]</sup> (behind <code>full-screen-api.unprefix.enabled</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(45)}}</td>
- <td>{{CompatChrome(45)}}</td>
- <td>{{CompatGeckoDesktop("47")}}<sup> [1]</sup> (behind <code>full-screen-api.unprefix.enabled</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Firefox 49之前, 此属性从技术上来说属于{{domxref("GlobalEventHandlers")}}, 但把相关的事件处理器绑定在一个 {{domxref("Element")}}上时却永远不会触发.</p>
+{{Compat("api.Document.fullscreenerror_event")}}
<h2 id="相关文章">相关文章</h2>
diff --git a/files/zh-cn/web/api/document/hasfocus/index.html b/files/zh-cn/web/api/document/hasfocus/index.html
index e7386bd4d1..ec78276982 100644
--- a/files/zh-cn/web/api/document/hasfocus/index.html
+++ b/files/zh-cn/web/api/document/hasfocus/index.html
@@ -65,58 +65,4 @@ translation_of: Web/API/Document/hasFocus
<h3 id="浏览器兼容性"><span>浏览器兼容性</span></h3>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("1.9") }}</td>
- <td>6.0</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1.9") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Specification" name="Specification">规范</h3>
-
-<ul>
- <li><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/#focus-management">Focus management </a></li>
-</ul>
-
-<p>{{ languages( { "en": "en/DOM/document.hasFocus","es": "es/DOM/element.hasFocus", "fr": "fr/DOM/document.hasFocus", "ja": "ja/DOM/document.hasFocus", "pl": "pl/DOM/document.hasFocus" } ) }}</p>
+{{Compat("api.Document.hasFocus")}}
diff --git a/files/zh-cn/web/api/document/head/index.html b/files/zh-cn/web/api/document/head/index.html
index 30eac3f791..48d4df94de 100644
--- a/files/zh-cn/web/api/document/head/index.html
+++ b/files/zh-cn/web/api/document/head/index.html
@@ -21,51 +21,8 @@ alert( document.head === document.querySelector("head") ); // true
<p><code>document.head</code> 是个只读属性,为该属性赋值只会静默失败,如果在严格模式中,则会抛出<code>TypeError</code>异常。</p>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
<div>
- {{CompatibilityTable}}</div>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.0</td>
- <td>{{CompatGeckoDesktop("2")}}</td>
- <td>9.0</td>
- <td>11.0</td>
- <td>5.0</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("2")}}</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.Document.head")}}
+
<h2 id="Specification" name="Specification">规范</h2>
<ul>
<li><a href="http://www.w3.org/TR/html5/dom.html#dom-tree-accessors">HTML5: DOM Tree Accessors</a></li>
diff --git a/files/zh-cn/web/api/document/location/index.html b/files/zh-cn/web/api/document/location/index.html
index bd6429ccab..c8cbd44884 100644
--- a/files/zh-cn/web/api/document/location/index.html
+++ b/files/zh-cn/web/api/document/location/index.html
@@ -38,51 +38,8 @@ document.location = 'http://www.mozilla.org' // Equivalent to document.location.
</tbody>
</table>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.Document.location")}}
+
<h2 id="相关链接">相关链接</h2>
<ul>
<li>The interface of the returned value, {{domxref("Location")}}.</li>
diff --git a/files/zh-cn/web/api/document/origin/index.html b/files/zh-cn/web/api/document/origin/index.html
index b81415ed5a..70f76b96cd 100644
--- a/files/zh-cn/web/api/document/origin/index.html
+++ b/files/zh-cn/web/api/document/origin/index.html
@@ -43,55 +43,7 @@ var origin = document.origin;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(41)}}</td>
- <td>{{CompatNo}} {{bug(931884)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.origin")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/document/pointerlockelement/index.html b/files/zh-cn/web/api/document/pointerlockelement/index.html
index 50f2343da8..0fe755821c 100644
--- a/files/zh-cn/web/api/document/pointerlockelement/index.html
+++ b/files/zh-cn/web/api/document/pointerlockelement/index.html
@@ -36,66 +36,7 @@ original_slug: Web/API/DocumentOrShadowRoot/pointerLockElement
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }} {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown() }} {{property_prefix("moz")}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td>Unprefixed support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(50)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.pointerLockElement")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/document/querycommandstate/index.html b/files/zh-cn/web/api/document/querycommandstate/index.html
index c4625f45fe..70b4489421 100644
--- a/files/zh-cn/web/api/document/querycommandstate/index.html
+++ b/files/zh-cn/web/api/document/querycommandstate/index.html
@@ -34,59 +34,7 @@ translation_of: Web/API/Document/queryCommandState
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.queryCommandState")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/document/querycommandsupported/index.html b/files/zh-cn/web/api/document/querycommandsupported/index.html
index de033d485c..0148e134a8 100644
--- a/files/zh-cn/web/api/document/querycommandsupported/index.html
+++ b/files/zh-cn/web/api/document/querycommandsupported/index.html
@@ -44,53 +44,7 @@ if(flg) {
<h2 id="Specification" name="Specification">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("9.0")}}</td>
- <td>4.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th><span style="font-family: open sans light,helvetica,arial,sans-serif; font-size: 16px; line-height: 16px;">特性</span></th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("9.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.queryCommandSupported")}}
<h2 id="Specification" name="Specification">规范</h2>
diff --git a/files/zh-cn/web/api/document/scripts/index.html b/files/zh-cn/web/api/document/scripts/index.html
index d02f838d8c..28ee08298a 100644
--- a/files/zh-cn/web/api/document/scripts/index.html
+++ b/files/zh-cn/web/api/document/scripts/index.html
@@ -19,51 +19,4 @@ if (scripts.length) {
}
</pre>
<h3 id="Specification" name="Specification">浏览器兼容性</h3>
-<p>{{ CompatibilityTable() }}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("9.0") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoMobile("9.0") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<h3 id="Specification" name="Specification">规范</h3>
-<p>{{ spec("http://www.whatwg.org/specs/web-apps/current-work/multipage/dom.html#dom-document-scripts", "DOM: document scripts") }}</p>
-<p>{{ languages( {"en": "en/DOM/Document.scripts" } ) }}</p>
+{{Compat("api.Document.scripts")}}
diff --git a/files/zh-cn/web/api/document/scrollingelement/index.html b/files/zh-cn/web/api/document/scrollingelement/index.html
index 9f6e68e342..fbfc6d5bef 100644
--- a/files/zh-cn/web/api/document/scrollingelement/index.html
+++ b/files/zh-cn/web/api/document/scrollingelement/index.html
@@ -38,60 +38,4 @@ scrollElm.scrollTop = 0;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(44.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("48.0")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>33.0</td>
- <td>9.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>36</td>
- <td>9.0</td>
- <td>{{CompatChrome(44.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This feature was initially implemented in Gecko 47.0 {{geckoRelease("47.0")}} behind the preference <code>dom.document.scrollingElement.enabled</code>, defaulting to <code>true</code> on Nightly builds and <code>false</code> otherwise. In Gecko 48.0 {{geckoRelease("48.0")}} the feature got enabled by default and the preference removed.</p>
+{{Compat("api.Document.scrollingElement")}}
diff --git a/files/zh-cn/web/api/document/selectionchange_event/index.html b/files/zh-cn/web/api/document/selectionchange_event/index.html
index 7b5018d4cc..1902170455 100644
--- a/files/zh-cn/web/api/document/selectionchange_event/index.html
+++ b/files/zh-cn/web/api/document/selectionchange_event/index.html
@@ -65,80 +65,7 @@ document.onselectionchange = () =&gt; {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("52")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>on <code>HTMLInputElement</code> and <code>HTMLTextAreaElement</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("52")}} - [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("52")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>on <code>HTMLInputElement</code> and <code>HTMLTextAreaElement</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("52")}} - [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] - Experimental support in Nightly behind the <code>dom.select_events.textcontrols.enabled</code> preference. Support for input and textarea is currently not part of the specification.</p>
+{{Compat("api.Document.selectionchange_event")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/document/selectstart_event/index.html b/files/zh-cn/web/api/document/selectstart_event/index.html
index 1cd13babb1..785db4bdd1 100644
--- a/files/zh-cn/web/api/document/selectstart_event/index.html
+++ b/files/zh-cn/web/api/document/selectstart_event/index.html
@@ -66,59 +66,7 @@ translation_of: Web/API/Document/selectstart_event
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("52")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("52")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.selectstart_event")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/document/touchmove_event/index.html b/files/zh-cn/web/api/document/touchmove_event/index.html
index 47cfa0fb7b..14e4e3dbe9 100644
--- a/files/zh-cn/web/api/document/touchmove_event/index.html
+++ b/files/zh-cn/web/api/document/touchmove_event/index.html
@@ -111,59 +111,7 @@ original_slug: Web/API/Document/rouchmove_event
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("22.0")}}</td>
- <td>{{CompatGeckoDesktop("18.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("6.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>11</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Document.touchmove_event")}}
<h2 id="相关事件">相关事件</h2>
diff --git a/files/zh-cn/web/api/documentfragment/documentfragment/index.html b/files/zh-cn/web/api/documentfragment/documentfragment/index.html
index 9aef8b1e82..4345705087 100644
--- a/files/zh-cn/web/api/documentfragment/documentfragment/index.html
+++ b/files/zh-cn/web/api/documentfragment/documentfragment/index.html
@@ -34,53 +34,7 @@ translation_of: Web/API/DocumentFragment/DocumentFragment
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>31.0</td>
- <td>{{CompatGeckoDesktop("24.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("24.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DocumentFragment.DocumentFragment")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/domerror/index.html b/files/zh-cn/web/api/domerror/index.html
index 5d5df14e5f..f90c777925 100644
--- a/files/zh-cn/web/api/domerror/index.html
+++ b/files/zh-cn/web/api/domerror/index.html
@@ -151,59 +151,7 @@ translation_of: Web/API/DOMError
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>12.0<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>12.0<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 这在Firefox version 58被删除.</p>
+{{Compat("api.DOMError")}}
<h2 id="另请参阅">另请参阅</h2>
diff --git a/files/zh-cn/web/api/domexception/domexception/index.html b/files/zh-cn/web/api/domexception/domexception/index.html
index 156e0286d5..b5f1246e33 100644
--- a/files/zh-cn/web/api/domexception/domexception/index.html
+++ b/files/zh-cn/web/api/domexception/domexception/index.html
@@ -53,54 +53,4 @@ var domException = new DOMException(message, name);</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(46.0) }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatChrome(46.0) }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DOMException.DOMException")}}
diff --git a/files/zh-cn/web/api/domhighrestimestamp/index.html b/files/zh-cn/web/api/domhighrestimestamp/index.html
index ebbce5eb26..6ca796853d 100644
--- a/files/zh-cn/web/api/domhighrestimestamp/index.html
+++ b/files/zh-cn/web/api/domhighrestimestamp/index.html
@@ -109,53 +109,7 @@ let elapsedTime = performance.now() - startTime;
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>6</td>
- <td>{{CompatGeckoDesktop("7.0")}}</td>
- <td>9</td>
- <td>15.0</td>
- <td>8</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("15.0")}}</td>
- <td>9</td>
- <td>15.0</td>
- <td>9</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DOMHighResTimestamp")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/api/domimplementation/hasfeature/index.html b/files/zh-cn/web/api/domimplementation/hasfeature/index.html
index daa355c026..2f105539a2 100644
--- a/files/zh-cn/web/api/domimplementation/hasfeature/index.html
+++ b/files/zh-cn/web/api/domimplementation/hasfeature/index.html
@@ -50,67 +50,8 @@ translation_of: Web/API/DOMImplementation/hasFeature
</tbody>
</table>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Always <code>true</code> for non-SVG features.</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("19.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Always <code>true</code> for non-SVG features.</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("19.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.DOMImplementation.hasFeature")}}
+
<h2 id="See_also">See also</h2>
<ul>
<li>The {{domxref("DOMImplementation")}} interface it belongs to.</li>
diff --git a/files/zh-cn/web/api/domimplementation/index.html b/files/zh-cn/web/api/domimplementation/index.html
index 65cf86e62a..0b1b88ac5c 100644
--- a/files/zh-cn/web/api/domimplementation/index.html
+++ b/files/zh-cn/web/api/domimplementation/index.html
@@ -68,119 +68,7 @@ translation_of: Web/API/DOMImplementation
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>6.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>createHTMLDocument()</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>createDocument()</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>hasFeature()</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}} [1]</td>
- <td>6.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>createDocumentType()</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>createHTMLDocument()</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>createDocument()</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>hasFeature()</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>createDocumentType()</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Since Gecko 19, <code>hasFeature()</code> mostly returns <code>true</code>.</p>
+{{Compat("api.DOMImplementation")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/domtokenlist/toggle/index.html b/files/zh-cn/web/api/domtokenlist/toggle/index.html
index e582da2e9e..33e3e320f1 100644
--- a/files/zh-cn/web/api/domtokenlist/toggle/index.html
+++ b/files/zh-cn/web/api/domtokenlist/toggle/index.html
@@ -73,72 +73,4 @@ span.onclick = function() {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>IE 9 and below - NO,  Windows 10, IE 11.608 - Yes</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><strong>force</strong> argument</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><strong>force</strong> argument</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DOMTokenList.toggle")}}
diff --git a/files/zh-cn/web/api/dragevent/datatransfer/index.html b/files/zh-cn/web/api/dragevent/datatransfer/index.html
index a4ed8f2ad0..3599546410 100644
--- a/files/zh-cn/web/api/dragevent/datatransfer/index.html
+++ b/files/zh-cn/web/api/dragevent/datatransfer/index.html
@@ -61,60 +61,4 @@ dragTarget.addEventListener("dragend", function(ev) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DragEvent.dataTransfer")}}
diff --git a/files/zh-cn/web/api/dragevent/dragevent/index.html b/files/zh-cn/web/api/dragevent/dragevent/index.html
index 8171ad04a4..8414eec2ab 100644
--- a/files/zh-cn/web/api/dragevent/dragevent/index.html
+++ b/files/zh-cn/web/api/dragevent/dragevent/index.html
@@ -58,56 +58,4 @@ translation_of: Web/API/DragEvent/DragEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.DragEvent.DragEvent")}}
diff --git a/files/zh-cn/web/api/dragevent/index.html b/files/zh-cn/web/api/dragevent/index.html
index b95501000c..73dcd7838c 100644
--- a/files/zh-cn/web/api/dragevent/index.html
+++ b/files/zh-cn/web/api/dragevent/index.html
@@ -95,62 +95,4 @@ translation_of: Web/API/DragEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>&lt;embed height="0" id="xunlei_com_thunder_helper_plugin_d462f475-c18e-46be-bd10-327458d045bd" type="application/thunder_download_plugin" width="0"&gt;</p>
+{{Compat("api.DragEvent")}}
diff --git a/files/zh-cn/web/api/element/animate/index.html b/files/zh-cn/web/api/element/animate/index.html
index aa5efc7d61..e0f7bfa2ac 100644
--- a/files/zh-cn/web/api/element/animate/index.html
+++ b/files/zh-cn/web/api/element/animate/index.html
@@ -100,101 +100,7 @@ translation_of: Web/API/Element/animate
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("36")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("48.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>23</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>id</code> option</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("48.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>37</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>composite</code>, <code>iterationComposite</code>, and <code>spacing</code> options</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(39.0)}}</td>
- <td>{{CompatChrome(39.0)}}</td>
- <td>{{ CompatGeckoMobile("48.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>id</code> option</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{ CompatGeckoMobile("48.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>composite</code>, <code>iterationComposite</code>, and <code>spacing</code> options</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.animate")}}
<h2 id="更多">更多</h2>
diff --git a/files/zh-cn/web/api/element/assignedslot/index.html b/files/zh-cn/web/api/element/assignedslot/index.html
index b4c9b08de7..52bfea54dd 100644
--- a/files/zh-cn/web/api/element/assignedslot/index.html
+++ b/files/zh-cn/web/api/element/assignedslot/index.html
@@ -35,56 +35,4 @@ translation_of_original: Web/API/Element/assignedSlot
<h2 id="Browser_Compatibility">Browser Compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(53.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.assignedSlot")}}
diff --git a/files/zh-cn/web/api/element/before/index.html b/files/zh-cn/web/api/element/before/index.html
index 11553a0194..36a69ffd98 100644
--- a/files/zh-cn/web/api/element/before/index.html
+++ b/files/zh-cn/web/api/element/before/index.html
@@ -129,57 +129,7 @@ console.log(parent.outerHTML);
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(54.0)}}</td>
- <td>{{CompatGeckoDesktop(49)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(39)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(54.0)}}</td>
- <td>{{CompatGeckoMobile(49)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(39)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(54.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.before")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/element/blur_event/index.html b/files/zh-cn/web/api/element/blur_event/index.html
index a072ec452b..78ed632783 100644
--- a/files/zh-cn/web/api/element/blur_event/index.html
+++ b/files/zh-cn/web/api/element/blur_event/index.html
@@ -89,57 +89,7 @@ form.addEventListener("blur", function( event ) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>6</td>
- <td>12.1</td>
- <td>5.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.0</td>
- <td>53</td>
- <td>{{CompatUnknown}}</td>
- <td>10.0</td>
- <td>12.1</td>
- <td>5.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在 Gecko 24 {{geckoRelease(24)}} 之前,事件的接口为 {{domxref("Event")}},而不是 {{domxref("FocusEvent")}}。参考 ({{bug(855741)}}).</p>
+{{Compat("api.Element.blur_event")}}
<h2 id="相关的事件">相关的事件</h2>
diff --git a/files/zh-cn/web/api/element/childelementcount/index.html b/files/zh-cn/web/api/element/childelementcount/index.html
index 93c5534455..9e247c9009 100644
--- a/files/zh-cn/web/api/element/childelementcount/index.html
+++ b/files/zh-cn/web/api/element/childelementcount/index.html
@@ -93,53 +93,7 @@ if (foo.childElementCount &gt; 0) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatGeckoDesktop("3") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>9.0</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>?</td>
- <td>?</td>
- <td>?</td>
- <td>?</td>
- <td>?</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.childElementCount")}}
<h2 id="Specification" name="Specification">规范</h2>
diff --git a/files/zh-cn/web/api/element/children/index.html b/files/zh-cn/web/api/element/children/index.html
index 9690827104..eeab92baf5 100644
--- a/files/zh-cn/web/api/element/children/index.html
+++ b/files/zh-cn/web/api/element/children/index.html
@@ -63,55 +63,7 @@ if (parg.childElementCount)
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1</td>
- <td>3.5</td>
- <td>9 (IE6-8 incl commend nodes)</td>
- <td>10</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}<span style="font-size: 14px; line-height: 1.5;">​</span></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p style="margin-bottom: 20px; line-height: 30px;">[1] Internet Explorer 6 - 8 支持该属性,但是可能会错误地包含注释 {{domxref("Comment")}} 节点。</p>
+{{Compat("api.Element.children")}}
<h2 id="相关链接" style="margin-bottom: 20px; line-height: 30px;">相关链接</h2>
diff --git a/files/zh-cn/web/api/element/classname/index.html b/files/zh-cn/web/api/element/classname/index.html
index 0b071645e3..27234c0a75 100644
--- a/files/zh-cn/web/api/element/classname/index.html
+++ b/files/zh-cn/web/api/element/classname/index.html
@@ -69,55 +69,7 @@ if (elm.className == "fixed") {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
+{{Compat("api.Element.className")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/element/click_event/index.html b/files/zh-cn/web/api/element/click_event/index.html
index f628e9e6cc..6cbda179ed 100644
--- a/files/zh-cn/web/api/element/click_event/index.html
+++ b/files/zh-cn/web/api/element/click_event/index.html
@@ -186,72 +186,7 @@ translation_of: Web/API/Element/click_event
<li>这份清单并不完整,你可以帮助MDN做扩展</li>
</ul>
-<p>{{CompatibilityTable}}</p>
-
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Edge</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>On disabled form elements</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>On disabled form elements</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<p>[1]只在{{HTMLElement("textarea")}} 以及某些{{HTMLElement("input")}} 元素上有效.</p>
-
-<p>[2] Internet Explorer 只在{{HTMLElement("input")}}的<code>checkbox</code>或<code>radio</code>元素双击时才会引发<code>click</code>事件.</p>
+{{Compat("api.Element.click_event")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/element/compositionend_event/index.html b/files/zh-cn/web/api/element/compositionend_event/index.html
index a6f99fdb23..07c5ac2746 100644
--- a/files/zh-cn/web/api/element/compositionend_event/index.html
+++ b/files/zh-cn/web/api/element/compositionend_event/index.html
@@ -85,59 +85,7 @@ original_slug: Web/Events/compositionend
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("9.0")}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("9.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 该事件是在9.0 之前的Gecko版本中已经可以使用, 但没有 DOM 级3属性和方法。Gecko还不支持给受信任事件的locale属性设置值。但是, 当创建不受信任的事件时,此值可以通过<code>initCompositionEvent()</code> 设置。</p>
+{{Compat("api.Element.compositionend_event")}}
<h2 id="Related_events">Related events</h2>
diff --git a/files/zh-cn/web/api/element/compositionupdate_event/index.html b/files/zh-cn/web/api/element/compositionupdate_event/index.html
index af46b6cfdb..1d9c95f175 100644
--- a/files/zh-cn/web/api/element/compositionupdate_event/index.html
+++ b/files/zh-cn/web/api/element/compositionupdate_event/index.html
@@ -83,59 +83,7 @@ original_slug: Web/Events/compositionupdate
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop("9.0")}}<sup>[2]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("9.0")}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在 <code>compositionstart</code> 事件之后不会立即执行。</p>
-
-<p>[2] <code>compositionupdate</code> 事件在编辑器里的内容改变之前就会触发。自从 Gecko 12.0 {{geckoRelease("12.0")}} 开始 <code>input</code> 事件在输入过程中、内容变化后就触发。使用它可以在输入过程中就获得新的内容。</p>
-
-<p>Gecko 在可信事件(trusted events)中还不支持 <code>locale</code> 属性。但是开发者可以在使用 <code>initCompositionEvent()</code> 创建不可信事件时指定一个值。</p>
+{{Compat("api.Element.compositionupdate_event")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/api/element/copy_event/index.html b/files/zh-cn/web/api/element/copy_event/index.html
index 9c705e1de4..814f236e40 100644
--- a/files/zh-cn/web/api/element/copy_event/index.html
+++ b/files/zh-cn/web/api/element/copy_event/index.html
@@ -82,75 +82,7 @@ original_slug: Web/Events/copy
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td><code>clipboardData</code></td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(22) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td><code>clipboardData</code></td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile(22) }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.copy_event")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/element/cut_event/index.html b/files/zh-cn/web/api/element/cut_event/index.html
index ea59997633..6792076fb9 100644
--- a/files/zh-cn/web/api/element/cut_event/index.html
+++ b/files/zh-cn/web/api/element/cut_event/index.html
@@ -74,78 +74,7 @@ original_slug: Web/Events/cut
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{compatChrome(58)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatOpera(45)}}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td><code>clipboardData</code></td>
- <td>{{compatChrome(58)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(22) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatOpera(45)}}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{compatChrome(58)}}</td>
- <td>{{compatChrome(58)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatOperaMobile(45)}}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td><code>clipboardData</code></td>
- <td>{{compatChrome(58)}}</td>
- <td>{{compatChrome(58)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile(22) }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatOperaMobile(45)}}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.cut_event")}}
<h2 id="相关">相关</h2>
diff --git a/files/zh-cn/web/api/element/dblclick_event/index.html b/files/zh-cn/web/api/element/dblclick_event/index.html
index b3244d8f64..cbd4e11148 100644
--- a/files/zh-cn/web/api/element/dblclick_event/index.html
+++ b/files/zh-cn/web/api/element/dblclick_event/index.html
@@ -135,77 +135,7 @@ translation_of: Web/API/Element/dblclick_event
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Edge</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>On disabled form elements</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>On disabled form elements</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1]只在{{HTMLElement("textarea")}} 以及某些{{HTMLElement("input")}} 元素上有效.</p>
+{{Compat("api.Element.dblclick_event")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/element/dommousescroll_event/index.html b/files/zh-cn/web/api/element/dommousescroll_event/index.html
index a68a7be558..8f0ffa23fd 100644
--- a/files/zh-cn/web/api/element/dommousescroll_event/index.html
+++ b/files/zh-cn/web/api/element/dommousescroll_event/index.html
@@ -46,53 +46,7 @@ translation_of: Web/API/Element/DOMMouseScroll_event
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("1.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.DOMMouseScroll_event")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/element/focus_event/index.html b/files/zh-cn/web/api/element/focus_event/index.html
index ff4ebf6447..53da6926ee 100644
--- a/files/zh-cn/web/api/element/focus_event/index.html
+++ b/files/zh-cn/web/api/element/focus_event/index.html
@@ -74,59 +74,7 @@ original_slug: Web/Events/focus
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Featrue</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.focus_event")}}
<h2 id="相关事件">相关事件</h2>
diff --git a/files/zh-cn/web/api/element/focusout_event/index.html b/files/zh-cn/web/api/element/focusout_event/index.html
index defd92146f..3696616839 100644
--- a/files/zh-cn/web/api/element/focusout_event/index.html
+++ b/files/zh-cn/web/api/element/focusout_event/index.html
@@ -64,57 +64,7 @@ original_slug: Web/Events/focusout
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(52)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(52)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.focusout_event")}}
<h2 id="相关事件">相关事件</h2>
diff --git a/files/zh-cn/web/api/element/getattribute/index.html b/files/zh-cn/web/api/element/getattribute/index.html
index ed9673bde5..ce97f4a004 100644
--- a/files/zh-cn/web/api/element/getattribute/index.html
+++ b/files/zh-cn/web/api/element/getattribute/index.html
@@ -39,32 +39,7 @@ alert(align);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>29</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>23</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>6</td>
- </tr>
- </tbody>
-</table>
-
-<p>{{DOMAttributeMethods}}</p>
+{{Compat("api.Element.getAttribute")}}
<h2 id="Specification" name="Specification">规范</h2>
diff --git a/files/zh-cn/web/api/element/getattributenames/index.html b/files/zh-cn/web/api/element/getattributenames/index.html
index d16ebf2b36..6a18abc1ab 100644
--- a/files/zh-cn/web/api/element/getattributenames/index.html
+++ b/files/zh-cn/web/api/element/getattributenames/index.html
@@ -45,54 +45,4 @@ for(let name of element.getAttributeNames())
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(61)}}</td>
- <td>{{CompatGeckoDesktop(45)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(48)}}</td>
- <td>{{CompatSafari(9)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(61)}}</td>
- <td>{{CompatChrome(61)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(48)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.getAttributeNames")}}
diff --git a/files/zh-cn/web/api/element/getelementsbyclassname/index.html b/files/zh-cn/web/api/element/getelementsbyclassname/index.html
index e8a2047b45..7fe78b7345 100644
--- a/files/zh-cn/web/api/element/getelementsbyclassname/index.html
+++ b/files/zh-cn/web/api/element/getelementsbyclassname/index.html
@@ -41,49 +41,4 @@ var testDivs = Array.prototype.filter.call(testElements, function(testElement){
</tbody>
</table>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }} [1]</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }} [1]</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<p>[1] Prior to Firefox 19, this method was returning a {{domxref("NodeList")}}; it was then changed to reflects the change in the spec.</p>
+{{Compat("api.Element.getElementsByClassName")}}
diff --git a/files/zh-cn/web/api/element/getelementsbytagname/index.html b/files/zh-cn/web/api/element/getelementsbytagname/index.html
index 5f12087f21..1e5a152623 100644
--- a/files/zh-cn/web/api/element/getelementsbytagname/index.html
+++ b/files/zh-cn/web/api/element/getelementsbytagname/index.html
@@ -72,62 +72,4 @@ for (var i = 0; i &lt; cells.length; i++) {
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0 [2]</td>
- <td>{{ CompatVersionUnknown() }} [1]</td>
- <td>5.5</td>
- <td>{{ CompatVersionUnknown() }} [2]</td>
- <td>{{ CompatVersionUnknown() }} [2]</td>
- </tr>
- <tr>
- <td>getElementsByTagName("*")</td>
- <td>1.0</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>6.0</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }} [1]</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Firefox 19之前的版本,该方法会返回一个 {{domxref("NodeList")}};之后根据规范进行了改变。</p>
-
-<p>[2] 最初,该方法会返回一个{{domxref("NodeList")}};之后根据规范进行了改变。</p>
+{{Compat("api.Element.getElementsByTagName")}}
diff --git a/files/zh-cn/web/api/element/getelementsbytagnamens/index.html b/files/zh-cn/web/api/element/getelementsbytagnamens/index.html
index fdb01aef9f..bd91587ebe 100644
--- a/files/zh-cn/web/api/element/getelementsbytagnamens/index.html
+++ b/files/zh-cn/web/api/element/getelementsbytagnamens/index.html
@@ -60,69 +60,4 @@ for (var i = 0; i &lt; cells.length; i++) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[2]</sup></td>
- <td>5.5</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- </tr>
- <tr>
- <td>getElementsByTagName("*")</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>6.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[2]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Initially, this method was returning a {{domxref("NodeList")}}; it was then changed to reflects the spec change.</p>
-
-<p>[2] The behavior of <code>element.getElementsByTagNameNS</code> changed between Firefox 3.5 and Firefox 3.6. In Firefox 3.5 and before, this function would automatically case-fold any queries so that a search for "foo" would match "Foo" or "foo". In Firefox 3.6 and later this function is now case-sensitive so that a query for "foo" will only match "foo" and not "Foo". For more background on this, please see the <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=542185#c5">comment from Henri Sivonen about the change</a>. You can also look at the <a href="/en-US/docs/Case_Sensitivity_in_class_and_id_Names" title="Case Sensitivity in class and id Names">relevant part of the standard, which states which parts of the API are case-sensitive and which parts aren't</a>.</p>
-
-<p>Prior to Firefox 19, this method was returning a {{domxref("NodeList")}}; it was then changed to reflects the spec change.</p>
+{{Compat("api.Element.getElementsByTagNameNS")}}
diff --git a/files/zh-cn/web/api/element/insertadjacentelement/index.html b/files/zh-cn/web/api/element/insertadjacentelement/index.html
index da93a6ebb0..3c188fa7e8 100644
--- a/files/zh-cn/web/api/element/insertadjacentelement/index.html
+++ b/files/zh-cn/web/api/element/insertadjacentelement/index.html
@@ -106,53 +106,7 @@ afterBtn.addEventListener('click', function() {
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("48.0") }}</td>
- <td>8</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("48.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.insertAdjacentElement")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/element/insertadjacenttext/index.html b/files/zh-cn/web/api/element/insertadjacenttext/index.html
index 39d8af60fe..7a7076204c 100644
--- a/files/zh-cn/web/api/element/insertadjacenttext/index.html
+++ b/files/zh-cn/web/api/element/insertadjacenttext/index.html
@@ -95,53 +95,7 @@ afterBtn.addEventListener('click', function() {
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("48.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("48.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.insertAdjacentText")}}
<h2 id="也可以看看">也可以看看</h2>
diff --git a/files/zh-cn/web/api/element/localname/index.html b/files/zh-cn/web/api/element/localname/index.html
index 5aed44e37b..60576640ff 100644
--- a/files/zh-cn/web/api/element/localname/index.html
+++ b/files/zh-cn/web/api/element/localname/index.html
@@ -86,55 +86,7 @@ translation_of: Web/API/Element/localName
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>46.0<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop("48.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("48.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 此 API 之前在 {{domxref("Node")}} API.</p>
+{{Compat("api.Element.localName")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/element/mousedown_event/index.html b/files/zh-cn/web/api/element/mousedown_event/index.html
index fab356445a..5569ddf67a 100644
--- a/files/zh-cn/web/api/element/mousedown_event/index.html
+++ b/files/zh-cn/web/api/element/mousedown_event/index.html
@@ -147,77 +147,7 @@ translation_of: Web/API/Element/mousedown_event
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Edge</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>On disabled form elements</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>On disabled form elements</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1]只在{{HTMLElement("textarea")}} 以及某些{{HTMLElement("input")}} 元素上有效.</p>
+{{Compat("api.Element.mousedown_event")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/element/mouseenter_event/index.html b/files/zh-cn/web/api/element/mouseenter_event/index.html
index f7f2026e73..f000e586f8 100644
--- a/files/zh-cn/web/api/element/mouseenter_event/index.html
+++ b/files/zh-cn/web/api/element/mouseenter_event/index.html
@@ -220,88 +220,7 @@ translation_of: Web/API/Element/mouseenter_event
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>30<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10<sup>[2]</sup></td>
- <td>5.5</td>
- <td>{{CompatVersionUnknown}}<br>
- {{CompatNo}} 15.0<br>
- 17.0</td>
- <td>7<sup>[3]</sup></td>
- </tr>
- <tr>
- <td>On disabled form elements</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("44.0")}}<sup>[4]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>On disabled form elements</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Implemented in <a href="https://crbug.com/236215">bug 236215</a>.</p>
-
-<p>[2] Implemented in {{bug("432698")}}.</p>
-
-<p>[3] Safari 7 fires the event in many situations where it's not allowed to, making the whole event useless. See <a href="https://crbug.com/470258">bug 470258</a> for the description of the bug (it existed in old Chrome versions as well). Safari 8 has correct behavior</p>
-
-<p>[4] Implemented in {{bug("218093")}}.</p>
+{{Compat("api.Element.mouseenter_event")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/element/mouseleave_event/index.html b/files/zh-cn/web/api/element/mouseleave_event/index.html
index 4469085ca6..69455fb009 100644
--- a/files/zh-cn/web/api/element/mouseleave_event/index.html
+++ b/files/zh-cn/web/api/element/mouseleave_event/index.html
@@ -226,88 +226,7 @@ translation_of: Web/API/Element/mouseleave_event
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>30<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10<sup>[2]</sup></td>
- <td>5.5</td>
- <td>{{CompatVersionUnknown}}<br>
- {{CompatNo}} 15.0<br>
- 17.0</td>
- <td>7<sup>[3]</sup></td>
- </tr>
- <tr>
- <td>On disabled form elements</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("44.0")}}<sup>[4]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>On disabled form elements</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 实现于 <a href="https://crbug.com/236215">bug 236215</a>.</p>
-
-<p>[2] 实现于{{bug("432698")}}.</p>
-
-<p>[3] Safari 7 会在许多不适当的情形下引发该事件,使得这个事件变得无用.详情参阅<a href="https://crbug.com/470258">bug 470258</a>  (老版Chrome也有类似问题). Safari 8 已修正.</p>
-
-<p>[4] 实现于 {{bug("218093")}}.</p>
+{{Compat("api.Element.mouseleave_event")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/element/mousewheel_event/index.html b/files/zh-cn/web/api/element/mousewheel_event/index.html
index bd903b3be5..5f12a3c9a7 100644
--- a/files/zh-cn/web/api/element/mousewheel_event/index.html
+++ b/files/zh-cn/web/api/element/mousewheel_event/index.html
@@ -29,93 +29,7 @@ original_slug: Web/Events/mousewheel
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome("1.0") }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatIE("6.0") }}</td>
- <td>{{ CompatOpera("10.00") }}</td>
- <td>{{ CompatSafari("3.0") }}</td>
- </tr>
- <tr>
- <td><code>wheelDeltaX</code></td>
- <td>{{ CompatChrome("1.0") }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatSafari("3.0") }}</td>
- </tr>
- <tr>
- <td><code>wheelDeltaY</code></td>
- <td>{{ CompatChrome("1.0") }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatSafari("3.0") }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td><code>wheelDeltaX</code></td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td><code>wheelDeltaY</code></td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.mousewheel_event")}}
<h2 id="detail_value">detail value</h2>
diff --git a/files/zh-cn/web/api/element/namespaceuri/index.html b/files/zh-cn/web/api/element/namespaceuri/index.html
index 540f00e9c2..95e6a3d93d 100644
--- a/files/zh-cn/web/api/element/namespaceuri/index.html
+++ b/files/zh-cn/web/api/element/namespaceuri/index.html
@@ -55,55 +55,7 @@ translation_of: Web/API/Element/namespaceURI
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>46.0<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop("48.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("48.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 这API 可以预先在 {{domxref("Node")}} API中获得.</p>
+{{Compat("api.Element.namespaceURI")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/element/nextelementsibling/index.html b/files/zh-cn/web/api/element/nextelementsibling/index.html
index e78b27fe7a..1ba5c5ce05 100644
--- a/files/zh-cn/web/api/element/nextelementsibling/index.html
+++ b/files/zh-cn/web/api/element/nextelementsibling/index.html
@@ -88,71 +88,7 @@ if(!("nextElementSibling" in document.documentElement)){
<h2 id="Specification" name="Specification" style="line-height: 30px; font-size: 2.14286rem;">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th style="line-height: 16px;">Feature</th>
- <th style="line-height: 16px;">Chrome</th>
- <th style="line-height: 16px;">Firefox (Gecko)</th>
- <th style="line-height: 16px;">Internet Explorer</th>
- <th style="line-height: 16px;">Opera</th>
- <th style="line-height: 16px;">Safari</th>
- </tr>
- <tr>
- <td>Basic support (on {{domxref("Element")}})</td>
- <td>4</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9</td>
- <td>9.8</td>
- <td>4</td>
- </tr>
- <tr>
- <td>Support on {{domxref("CharacterData")}}</td>
- <td>29.0</td>
- <td>{{CompatGeckoDesktop("25")}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>16.0</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th style="line-height: 16px;">Feature</th>
- <th style="line-height: 16px;">Android</th>
- <th style="line-height: 16px;">Firefox Mobile (Gecko)</th>
- <th style="line-height: 16px;">IE Mobile</th>
- <th style="line-height: 16px;">Opera Mobile</th>
- <th style="line-height: 16px;">Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support (on {{domxref("Element")}})</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>9.8</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Support on {{domxref("CharacterData")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("25")}}</td>
- <td>{{CompatNo}}</td>
- <td>16.0</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="sect1"> </h3>
+{{Compat("api.Element.nextElementSibling")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/element/outerhtml/index.html b/files/zh-cn/web/api/element/outerhtml/index.html
index ae4983baec..0b86ad5775 100644
--- a/files/zh-cn/web/api/element/outerhtml/index.html
+++ b/files/zh-cn/web/api/element/outerhtml/index.html
@@ -114,53 +114,7 @@ console.log(p.nodeName);
<h2 id="浏览器兼容性" style="margin-bottom: 20px; line-height: 30px; font-size: 2.14285714285714rem;">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatGeckoDesktop("11") }}</td>
- <td>0.2</td>
- <td>4.0</td>
- <td>7</td>
- <td>1.3</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoMobile("11") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.outerHTML")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/element/prefix/index.html b/files/zh-cn/web/api/element/prefix/index.html
index ac7b60c010..55ebd4f173 100644
--- a/files/zh-cn/web/api/element/prefix/index.html
+++ b/files/zh-cn/web/api/element/prefix/index.html
@@ -48,59 +48,7 @@ translation_of: Web/API/Element/prefix
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>46.0<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("48.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("48.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This API was previously available on the {{domxref("Node")}} API.</p>
+{{Compat("api.Element.prefix")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/element/previouselementsibling/index.html b/files/zh-cn/web/api/element/previouselementsibling/index.html
index a28170c2bb..db2e4caff4 100644
--- a/files/zh-cn/web/api/element/previouselementsibling/index.html
+++ b/files/zh-cn/web/api/element/previouselementsibling/index.html
@@ -46,74 +46,4 @@ original_slug: Web/API/NonDocumentTypeChildNode/previousElementSibling
<h3 id="Specification" name="Specification">浏览器兼容性</h3>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{ CompatGeckoDesktop("1.9.1") }}</td>
- <td>9</td>
- <td>9.8</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table" style="font-family: 'Open Sans Light', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px;">
- <tbody>
- <tr>
- <th style="line-height: 16px;">Feature</th>
- <th style="line-height: 16px;">Android</th>
- <th style="line-height: 16px;">Firefox Mobile (Gecko)</th>
- <th style="line-height: 16px;">IE Mobile</th>
- <th style="line-height: 16px;">Opera Mobile</th>
- <th style="line-height: 16px;">Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support (on {{domxref("Element")}})</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>9.8</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Support on {{domxref("CharacterData")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("25")}}</td>
- <td>{{CompatNo}}</td>
- <td>16.0</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Specification" name="Specification">规范</h3>
-
-<p><a class="external" href="http://www.w3.org/TR/2008/REC-ElementTraversal-20081222/#attribute-previousElementSibling">Element Traversal Specification: previousElementSibling</a></p>
-
-<h3 id="相关链接">相关链接</h3>
-
-<ul>
- <li><a class="internal" href="/zh-cn/DOM/Element.childElementCount" title="zh-cn/DOM/Element.childElementCount"><code>childElementCount</code></a></li>
- <li><a class="internal" href="/zh-cn/DOM/Element.children" title="zh-cn/DOM/Element.children"><code>children</code></a></li>
- <li><a class="internal" href="/zh-cn/DOM/Element.firstElementChild" title="zh-cn/DOM/Element.firstElementChild"><code>firstElementChild</code></a></li>
- <li><a class="internal" href="/zh-cn/DOM/Element.lastElementChild" title="zh-cn/DOM/Element.lastElementChild"><code>lastElementChild</code></a></li>
- <li><a class="internal" href="/zh-cn/DOM/Element.nextElementSibling" title="zh-cn/DOM/Element.nextElementSibling"><code>nextElementSibling</code></a></li>
-</ul>
-
-<p>{{ languages( {"en": "en/DOM/element.previousElementSibling" } ) }}</p>
+{{Compat("api.Element.previousElementSibling")}}
diff --git a/files/zh-cn/web/api/element/queryselectorall/index.html b/files/zh-cn/web/api/element/queryselectorall/index.html
index b9ebdb8860..f899dd08e5 100644
--- a/files/zh-cn/web/api/element/queryselectorall/index.html
+++ b/files/zh-cn/web/api/element/queryselectorall/index.html
@@ -71,53 +71,7 @@ var matches = el.querySelectorAll('div.highlighted &gt; p');
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>8</td>
- <td>10</td>
- <td>3.2 (525.3)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.querySelectorAll")}}
<h2 id="Specification" name="Specification">规范</h2>
diff --git a/files/zh-cn/web/api/element/requestfullscreen/index.html b/files/zh-cn/web/api/element/requestfullscreen/index.html
index 045a760246..0958227790 100644
--- a/files/zh-cn/web/api/element/requestfullscreen/index.html
+++ b/files/zh-cn/web/api/element/requestfullscreen/index.html
@@ -74,95 +74,7 @@ translation_of: Web/API/Element/requestFullScreen
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox</th>
- <th>Internet Explorer</th>
- <th>Edge</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("webkit")}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("9.0")}} as <code>mozRequestFullScreen</code><sup>[2]</sup><br>
- {{CompatGeckoDesktop("47.0")}} (behind full-screen-api.unprefix.enabled</td>
- <td>11{{property_prefix("ms")}}<sup>[3]</sup></td>
- <td>{{CompatVersionUnknown}}<sup>[3]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("9.0")}} as <code>mozRequestFullScreen</code><sup>[2]</sup><br>
- {{CompatGeckoMobile("47.0")}} (behind full-screen-api.unprefix.enabled</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 同样以<code>webkitRequestFullScreen方法实现。</code></p>
-
-<p>[2] 使用带有浏览器前缀的<code>mozRequestFullScreen方法实现。在火狐44之前版本,Gecko浏览器内核错误地允许frame里面元素以及object元素进入全屏模式。而在之后的版本,这个漏洞被修复:仅允许位于顶部文档(top-level document)的元素,以及拥有</code>{{htmlattrxref("allowfullscreen", "iframe")}}属性的iframe的内部元素进入全屏显示。. </p>
-
-<p>[3] 使用IE时,最后的screen的s为小写,也即ms<code>RequestFullscreen,否则无效</code></p>
-
-<p>[4] 谷歌浏览器前缀webkitRequestFullScreen()里最后的Screen的S也可以为小写s,建议写成驼峰命名法</p>
-
-<p>[5]将浏览器前缀兼容封装成函数</p>
-
-<pre>function toFullVideo(){
-
- if(videoDom.requestFullscreen){
-
- return videoDom.requestFullscreen();
-
- }else if(videoDom.webkitRequestFullScreen){
-
- return videoDom.webkitRequestFullScreen();
-
- }else if(videoDom.mozRequestFullScreen){
-
- return videoDom.mozRequestFullScreen();
-
- }else{
-
- return videoDom.msRequestFullscreen();
-
- }
-
-}</pre>
-
-<p>[6] 详见 <a href="https://msdn.microsoft.com/en-us/library/dn254939%28v=vs.85%29.aspx">documentation on MSDN</a>.</p>
+{{Compat("api.Element.requestFullscreen")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/api/element/scrollleftmax/index.html b/files/zh-cn/web/api/element/scrollleftmax/index.html
index 89a30f783d..d054700d59 100644
--- a/files/zh-cn/web/api/element/scrollleftmax/index.html
+++ b/files/zh-cn/web/api/element/scrollleftmax/index.html
@@ -17,53 +17,7 @@ translation_of: Web/API/Element/scrollLeftMax
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoDesktop(16) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile(16) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.scrollLeftMax")}}
<h2 id="更多">更多</h2>
diff --git a/files/zh-cn/web/api/element/scrolltopmax/index.html b/files/zh-cn/web/api/element/scrolltopmax/index.html
index a9b4cbe64d..a2a34d4f98 100644
--- a/files/zh-cn/web/api/element/scrolltopmax/index.html
+++ b/files/zh-cn/web/api/element/scrolltopmax/index.html
@@ -17,53 +17,7 @@ translation_of: Web/API/Element/scrollTopMax
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoDesktop(16) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile(16) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.scrollTopMax")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/element/shadowroot/index.html b/files/zh-cn/web/api/element/shadowroot/index.html
index 2e85ab3d16..0f1452497c 100644
--- a/files/zh-cn/web/api/element/shadowroot/index.html
+++ b/files/zh-cn/web/api/element/shadowroot/index.html
@@ -77,56 +77,4 @@ attributeChangedCallback(name, oldValue, newValue) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatChrome(53.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td> 基本支持</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.shadowRoot")}}
diff --git a/files/zh-cn/web/api/event/cancelbubble/index.html b/files/zh-cn/web/api/event/cancelbubble/index.html
index e87685b269..f3afd9eaee 100644
--- a/files/zh-cn/web/api/event/cancelbubble/index.html
+++ b/files/zh-cn/web/api/event/cancelbubble/index.html
@@ -32,59 +32,7 @@ original_slug: Web/API/Event/禁用时间冒泡
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Internet Explorer</th>
- <th>Microsoft Edge</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>Edge</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Event.cancelBubble")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/event/composed/index.html b/files/zh-cn/web/api/event/composed/index.html
index 01b1e60875..4dfb2039f1 100644
--- a/files/zh-cn/web/api/event/composed/index.html
+++ b/files/zh-cn/web/api/event/composed/index.html
@@ -91,58 +91,4 @@ translation_of: Web/API/Event/composed
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特点</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatChrome(53.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(52)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特点</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- <td>{{CompatGeckoMobile(52)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Event.composed")}}
diff --git a/files/zh-cn/web/api/event/initevent/index.html b/files/zh-cn/web/api/event/initevent/index.html
index d99b441c41..3755b99615 100644
--- a/files/zh-cn/web/api/event/initevent/index.html
+++ b/files/zh-cn/web/api/event/initevent/index.html
@@ -69,59 +69,7 @@ elem.dispatchEvent(event);</code>
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown()}} [1]</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>Edge</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }} [1]</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Before Firefox 17, a call to this method after the dispatching of the event raised an exception instead of doing nothing.</p>
+{{Compat("api.Event.initEvent")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/event/srcelement/index.html b/files/zh-cn/web/api/event/srcelement/index.html
index 6a219673fc..3645108dd5 100644
--- a/files/zh-cn/web/api/event/srcelement/index.html
+++ b/files/zh-cn/web/api/event/srcelement/index.html
@@ -19,55 +19,7 @@ translation_of: Web/API/Event/srcElement
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1]: {{bug(453968)}}</p>
+{{Compat("api.Event.srcElement")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/eventsource/close/index.html b/files/zh-cn/web/api/eventsource/close/index.html
index 424e609656..23550a5b62 100644
--- a/files/zh-cn/web/api/eventsource/close/index.html
+++ b/files/zh-cn/web/api/eventsource/close/index.html
@@ -63,74 +63,7 @@ button.onclick = function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>EventSource support</td>
- <td>6</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>5</td>
- </tr>
- <tr>
- <td>Available in shared and dedicated workers<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("53.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>EventSource support</td>
- <td>4.4</td>
- <td>45</td>
- <td>{{CompatNo}}</td>
- <td>12</td>
- <td>4.1</td>
- </tr>
- <tr>
- <td>Available in shared and dedicated workers<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("53.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] But <a href="https://github.com/w3c/ServiceWorker/issues/947">not service workers as yet</a>.</p>
+{{Compat("api.EventSource.close")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/eventsource/eventsource/index.html b/files/zh-cn/web/api/eventsource/eventsource/index.html
index d228a4768d..d52e79a1dd 100644
--- a/files/zh-cn/web/api/eventsource/eventsource/index.html
+++ b/files/zh-cn/web/api/eventsource/eventsource/index.html
@@ -79,69 +79,7 @@ evtSource.onmessage = function(e) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td> Basic support</td>
- <td>9</td>
- <td>{{ CompatGeckoDesktop("6.0") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>11</td>
- <td>5</td>
- </tr>
- <tr>
- <td>CORS support (<code>withCredentials</code>)</td>
- <td>26</td>
- <td>{{ CompatGeckoDesktop("11.0") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>12</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatAndroid("4.4") }}</td>
- <td>{{ CompatGeckoMobile("6.0") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>CORS support (<code>withCredentials</code>)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("11.0") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.EventSource.EventSource")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/eventsource/onerror/index.html b/files/zh-cn/web/api/eventsource/onerror/index.html
index c7ab46f363..991d194795 100644
--- a/files/zh-cn/web/api/eventsource/onerror/index.html
+++ b/files/zh-cn/web/api/eventsource/onerror/index.html
@@ -47,74 +47,7 @@ original_slug: Server-sent_events/EventSource/onerror
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>EventSource support</td>
- <td>6</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>5</td>
- </tr>
- <tr>
- <td>Available in shared and dedicated workers<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("53.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>EventSource support</td>
- <td>4.4</td>
- <td>45</td>
- <td>{{CompatNo}}</td>
- <td>12</td>
- <td>4.1</td>
- </tr>
- <tr>
- <td>Available in shared and dedicated workers<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("53.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] But <a href="https://github.com/w3c/ServiceWorker/issues/947">not service workers as yet</a>.</p>
+{{Compat("api.EventSource.onerror")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/eventsource/onopen/index.html b/files/zh-cn/web/api/eventsource/onopen/index.html
index d7b087d023..20ca54d1f4 100644
--- a/files/zh-cn/web/api/eventsource/onopen/index.html
+++ b/files/zh-cn/web/api/eventsource/onopen/index.html
@@ -48,74 +48,7 @@ original_slug: Server-sent_events/EventSource/onopen
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>支持EventSource</td>
- <td>6</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>5</td>
- </tr>
- <tr>
- <td>在共享和专用的 workers上可用<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("53.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>支持EventSource</td>
- <td>4.4</td>
- <td>45</td>
- <td>{{CompatNo}}</td>
- <td>12</td>
- <td>4.1</td>
- </tr>
- <tr>
- <td>在共享和专用的 workers上可用 <sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("53.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 但 <a href="https://github.com/w3c/ServiceWorker/issues/947">目前不能在service workers上使用</a>.</p>
+{{Compat("api.EventSource.onopen")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/extendableevent/index.html b/files/zh-cn/web/api/extendableevent/index.html
index 4f1adf6b7f..078b495540 100644
--- a/files/zh-cn/web/api/extendableevent/index.html
+++ b/files/zh-cn/web/api/extendableevent/index.html
@@ -115,76 +115,7 @@ self.addEventListener('install', function(event) {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>async <code>waitUntil()</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop("53.0") }}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- <tr>
- <td>async <code>waitUntil()</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("53.0") }}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 &amp; 52 Extended Support Releases</a> (ESR.)</p>
-
-<p>[2] {{domxref("ExtendableEvent.waitUntil", "ExtendableEvent.waitUntil()")}} can now be called asynchronously (see {{bug(1263304)}}).</p>
+{{Compat("api.ExtendableEvent")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/fetchevent/index.html b/files/zh-cn/web/api/fetchevent/index.html
index ba0479710e..763d9861fe 100644
--- a/files/zh-cn/web/api/fetchevent/index.html
+++ b/files/zh-cn/web/api/fetchevent/index.html
@@ -100,61 +100,7 @@ translation_of: Web/API/FetchEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}[<sup>1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(44.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.FetchEvent")}}
<h2 id="请参见">请参见</h2>
diff --git a/files/zh-cn/web/api/fetchevent/respondwith/index.html b/files/zh-cn/web/api/fetchevent/respondwith/index.html
index 0840832a0f..609d644ab2 100644
--- a/files/zh-cn/web/api/fetchevent/respondwith/index.html
+++ b/files/zh-cn/web/api/fetchevent/respondwith/index.html
@@ -73,61 +73,7 @@ translation_of: Web/API/FetchEvent/respondWith
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(44.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.FetchEvent.respondWith")}}
<h2 id="请参见">请参见</h2>
diff --git a/files/zh-cn/web/api/file/file/index.html b/files/zh-cn/web/api/file/file/index.html
index efa7b30382..1bd5b591a8 100644
--- a/files/zh-cn/web/api/file/file/index.html
+++ b/files/zh-cn/web/api/file/file/index.html
@@ -52,57 +52,7 @@ translation_of: Web/API/File/File
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>13</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("7")}}</td>
- <td>10.0</td>
- <td>11.5</td>
- <td>6.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("7")}}</td>
- <td>{{CompatNo}}</td>
- <td>11.1</td>
- <td>6.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.File.File")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/file/lastmodified/index.html b/files/zh-cn/web/api/file/lastmodified/index.html
index 3f0a31de7c..48c78b130d 100644
--- a/files/zh-cn/web/api/file/lastmodified/index.html
+++ b/files/zh-cn/web/api/file/lastmodified/index.html
@@ -75,57 +75,7 @@ console.log(fileWithoutDate.lastModified); //returns current time
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>File.lastModified</td>
- <td>13.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("15.0")}}</td>
- <td>10.0</td>
- <td>16.0</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>File.lastModified</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.File.lastModified")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/file/type/index.html b/files/zh-cn/web/api/file/type/index.html
index e0281d5078..aa3cd74a21 100644
--- a/files/zh-cn/web/api/file/type/index.html
+++ b/files/zh-cn/web/api/file/type/index.html
@@ -53,59 +53,7 @@ translation_of: Web/API/File/type
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>File.name</td>
- <td>13.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}</td>
- <td>10.0</td>
- <td>16.0</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>File.name</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] {{webkitbug("32912")}}</p>
+{{Compat("api.File.type")}}
<h2 id="Specification" name="Specification">另见</h2>
diff --git a/files/zh-cn/web/api/file/webkitrelativepath/index.html b/files/zh-cn/web/api/file/webkitrelativepath/index.html
index e8e86bc53c..68b9338b61 100644
--- a/files/zh-cn/web/api/file/webkitrelativepath/index.html
+++ b/files/zh-cn/web/api/file/webkitrelativepath/index.html
@@ -67,55 +67,7 @@ translation_of: Web/API/File/webkitRelativePath
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>13 {{ property_prefix("webkit") }}</td>
- <td>{{ CompatGeckoDesktop(49) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>0.16 {{ property_prefix("webkit") }}</td>
- <td>{{ CompatGeckoMobile(49) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.File.webkitRelativePath")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/file_handle_api/index.html b/files/zh-cn/web/api/file_handle_api/index.html
index 86e4a5988d..e955cdf0ab 100644
--- a/files/zh-cn/web/api/file_handle_api/index.html
+++ b/files/zh-cn/web/api/file_handle_api/index.html
@@ -233,52 +233,4 @@ writing.onerror = function () {
</tbody>
</table>
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>15</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>15</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
diff --git a/files/zh-cn/web/api/fileexception/index.html b/files/zh-cn/web/api/fileexception/index.html
index a888b6b6b3..1a0365f51b 100644
--- a/files/zh-cn/web/api/fileexception/index.html
+++ b/files/zh-cn/web/api/fileexception/index.html
@@ -123,55 +123,7 @@ var fileEntry = fs.root.getFile('log.txt', {create: true, exclusive:true}0;
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>13{{property_prefix("webkit")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>0.16 {{property_prefix("webkit")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.FileException")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/filereader/abort/index.html b/files/zh-cn/web/api/filereader/abort/index.html
index 195f05b1bb..de474fcc0c 100644
--- a/files/zh-cn/web/api/filereader/abort/index.html
+++ b/files/zh-cn/web/api/filereader/abort/index.html
@@ -37,59 +37,7 @@ translation_of: Web/API/FileReader/abort
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td>
- <td>7</td>
- <td>10<sup>[2]</sup></td>
- <td>12.02<sup>[3]</sup></td>
- <td>6.0.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>32</td>
- <td>3</td>
- <td>10</td>
- <td>11.5</td>
- <td>6.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Gecko 2.0 beta 7 (Firefox 4.0 beta 7)之前,上述方法中所有的 {{domxref("Blob")}} 参数都只能是一个 {{domxref("File")}} 对象。根据最新的 FileAPI 草案,现在的所有的 {{domxref("Blob")}} 参数既可以是<font face="Consolas, Liberation Mono, Courier, monospace"> </font>{{domxref("Blob")}} 对象也可以是一个<font face="Consolas, Liberation Mono, Courier, monospace"> </font>{{domxref("File")}} 对象。在Gecko 13.0 {{geckoRelease("13.0")}} 之前,FileReader.error 属性会返回一个 <a href="https://developer.mozilla.org/zh-CN/docs/Web/API/FileError">FileError</a> 对象。根据最新的FileAPI草案,现在的  FileReader.error会返回一个 <a href="https://developer.mozilla.org/zh-CN/docs/Web/API/DOMError">DOMError</a> 对象。</p>
-
-<p>[2] IE9有一个 <a href="http://html5labs.interoperabilitybridges.com/prototypes/fileapi/fileapi/info">File API Lab</a>.</p>
-
-<p>[3] Opera从11.10开始 <a href="http://www.opera.com/docs/specs/presto28/file/">部分支持</a> .</p>
+{{Compat("api.FileReader.abort")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/filereader/error/index.html b/files/zh-cn/web/api/filereader/error/index.html
index 056b44219c..a6e171ad5b 100644
--- a/files/zh-cn/web/api/filereader/error/index.html
+++ b/files/zh-cn/web/api/filereader/error/index.html
@@ -35,59 +35,7 @@ translation_of: Web/API/FileReader/error
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td>
- <td>7</td>
- <td>10<sup>[2]</sup></td>
- <td>12.02<sup>[3]</sup></td>
- <td>6.0.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>32</td>
- <td>3</td>
- <td>10</td>
- <td>11.5</td>
- <td>6.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Gecko 2.0 beta 7 (Firefox 4.0 beta 7)之前,上述方法中所有的 {{domxref("Blob")}} 参数都只能是一个 {{domxref("File")}} 对象。根据最新的 FileAPI 草案,现在的所有的 {{domxref("Blob")}} 参数既可以是<font face="Consolas, Liberation Mono, Courier, monospace"> </font>{{domxref("Blob")}} 对象也可以是一个<font face="Consolas, Liberation Mono, Courier, monospace"> </font>{{domxref("File")}} 对象。在Gecko 13.0 {{geckoRelease("13.0")}} 之前,FileReader.error 属性会返回一个 <a href="https://developer.mozilla.org/zh-CN/docs/Web/API/FileError">FileError</a> 对象。根据最新的FileAPI草案,现在的  FileReader.error会返回一个 <a href="https://developer.mozilla.org/zh-CN/docs/Web/API/DOMError">DOMError</a> 对象。</p>
-
-<p>[2] IE9有一个 <a href="http://html5labs.interoperabilitybridges.com/prototypes/fileapi/fileapi/info">File API Lab</a>.</p>
-
-<p>[3] Opera从11.10开始 <a href="http://www.opera.com/docs/specs/presto28/file/">部分支持</a> .</p>
+{{Compat("api.FileReader.error")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/filereader/index.html b/files/zh-cn/web/api/filereader/index.html
index 316b42f53e..331522ab36 100644
--- a/files/zh-cn/web/api/filereader/index.html
+++ b/files/zh-cn/web/api/filereader/index.html
@@ -119,97 +119,7 @@ translation_of: Web/API/FileReader
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td>
- <td>7</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10</td>
- <td>12.02<sup>[2]</sup></td>
- <td>6.0</td>
- </tr>
- <tr>
- <td>Support in Web Workers</td>
- <td>{{CompatGeckoDesktop(46)}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>error</code> property uses {{domxref("DOMException")}}, not {{domxref("DOMError")}}</td>
- <td>{{CompatGeckoDesktop(58)}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>Edge</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>32</td>
- <td>3</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10</td>
- <td>11.5</td>
- <td>6.1</td>
- </tr>
- <tr>
- <td>Support in Web Workers</td>
- <td>{{CompatGeckoMobile(46)}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>error</code> property uses {{domxref("DOMException")}}, not {{domxref("DOMError")}}</td>
- <td>{{CompatGeckoMobile(58)}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Prior to Gecko 2.0 beta 7 (Firefox 4.0 beta 7), all {{domxref("Blob")}} parameters below were {{domxref("File")}} parameters; this has since been updated to match the specification correctly. Prior to Gecko 13.0 {{geckoRelease("13.0")}} the <code>FileReader.error</code> property returned a {{domxref("FileError")}} object. This interface has been removed and <code>FileReader.error</code> is now returning the {{domxref("DOMError")}} object as defined in the latest FileAPI draft.</p>
-
-<p>[2] Opera has <a href="http://www.opera.com/docs/specs/presto28/file/">partial support</a> in 11.1.</p>
+{{Compat("api.FileReader")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/filereader/readasarraybuffer/index.html b/files/zh-cn/web/api/filereader/readasarraybuffer/index.html
index 2d22e8bb1d..6c1ce338aa 100644
--- a/files/zh-cn/web/api/filereader/readasarraybuffer/index.html
+++ b/files/zh-cn/web/api/filereader/readasarraybuffer/index.html
@@ -37,59 +37,7 @@ translation_of: Web/API/FileReader/readAsArrayBuffer
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td>
- <td>7</td>
- <td>10<sup>[2]</sup></td>
- <td>12.02<sup>[3]</sup></td>
- <td>6.0.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>32</td>
- <td>3</td>
- <td>10</td>
- <td>11.5</td>
- <td>6.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Gecko 2.0 beta 7 (Firefox 4.0 beta 7)之前,上述方法中所有的 {{domxref("Blob")}} 参数都只能是一个 {{domxref("File")}} 对象。根据最新的 FileAPI 草案,现在的所有的 {{domxref("Blob")}} 参数既可以是<font face="Consolas, Liberation Mono, Courier, monospace"> </font>{{domxref("Blob")}} 对象也可以是一个<font face="Consolas, Liberation Mono, Courier, monospace"> </font>{{domxref("File")}} 对象。在Gecko 13.0 {{geckoRelease("13.0")}} 之前,FileReader.error 属性会返回一个 <a href="https://developer.mozilla.org/zh-CN/docs/Web/API/FileError">FileError</a> 对象。根据最新的FileAPI草案,现在的  FileReader.error会返回一个 <a href="https://developer.mozilla.org/zh-CN/docs/Web/API/DOMError">DOMError</a> 对象。</p>
-
-<p>[2] IE9有一个 <a href="http://html5labs.interoperabilitybridges.com/prototypes/fileapi/fileapi/info">File API Lab</a>.</p>
-
-<p>[3] Opera从11.10开始 <a href="http://www.opera.com/docs/specs/presto28/file/">部分支持</a> .</p>
+{{Compat("api.FileReader.readAsArrayBuffer")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/filereader/readasbinarystring/index.html b/files/zh-cn/web/api/filereader/readasbinarystring/index.html
index 135709795e..7cf6809b3e 100644
--- a/files/zh-cn/web/api/filereader/readasbinarystring/index.html
+++ b/files/zh-cn/web/api/filereader/readasbinarystring/index.html
@@ -54,59 +54,7 @@ canvas.toBlob(function (blob) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td>
- <td>7</td>
- <td>{{CompatNo}}</td>
- <td>12.02<sup>[3]</sup></td>
- <td>6.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>32</td>
- <td>3</td>
- <td>10</td>
- <td>11.5</td>
- <td>6.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Gecko 2.0 beta 7 (Firefox 4.0 beta 7)之前,上述方法中所有的 {{domxref("Blob")}} 参数都只能是一个 {{domxref("File")}} 对象。根据最新的 FileAPI 草案,现在的所有的 {{domxref("Blob")}} 参数既可以是<font face="Consolas, Liberation Mono, Courier, monospace"> </font>{{domxref("Blob")}} 对象也可以是一个<font face="Consolas, Liberation Mono, Courier, monospace"> </font>{{domxref("File")}} 对象。在Gecko 13.0 {{geckoRelease("13.0")}} 之前,FileReader.error 属性会返回一个 <a href="https://developer.mozilla.org/zh-CN/docs/Web/API/FileError">FileError</a> 对象。根据最新的FileAPI草案,现在的  FileReader.error会返回一个 <a href="https://developer.mozilla.org/zh-CN/docs/Web/API/DOMError">DOMError</a> 对象。</p>
-
-<p>[2] IE9有一个 <a href="http://html5labs.interoperabilitybridges.com/prototypes/fileapi/fileapi/info">File API Lab</a>.</p>
-
-<p>[3] Opera从11.10开始 <a href="http://www.opera.com/docs/specs/presto28/file/">部分支持</a> .</p>
+{{Compat("api.FileReader.readAsBinaryString")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/filereader/readastext/index.html b/files/zh-cn/web/api/filereader/readastext/index.html
index dd9618490f..54ab143d73 100644
--- a/files/zh-cn/web/api/filereader/readastext/index.html
+++ b/files/zh-cn/web/api/filereader/readastext/index.html
@@ -47,61 +47,7 @@ translation_of: Web/API/FileReader/readAsText
<h2 id="兼容性">兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td>
- <td>7</td>
- <td>10<sup>[2]</sup></td>
- <td>12.02<sup>[3]</sup></td>
- <td>6.0.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>32</td>
- <td>3</td>
- <td>10</td>
- <td>11.5</td>
- <td>6.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
-
-<p>[1] 在 Gecko 2.0 beta 7 (Firefox 4.0 beta 7) 之前,所有 <a href="/zh-CN/docs/Web/API/File">File</a> 类型,都是<a href="/zh-CN/docs/Web/API/Blob"> Blob</a>类型的一个子集,这已经正确的被纳入到规范里了.在 Gecko 13.0 之前,如果我们错误的传参会导致 FileReader 返回一个<a href="/zh-CN/docs/Web/API/FileError">FileError</a>对象.而<a href="/zh-CN/docs/Web/API/FileError">FileError</a> 这个实例已经从FileReader 规范中被移除了.而在最新的FileAPI 草稿中定义的错误处理机制是返回一个 <a href="/en-US/docs/Web/API/DOMError">DOMError</a> 对象.</p>
-
-<p>[2] IE9 采用的是 <a href="http://html5labs.interoperabilitybridges.com/prototypes/fileapi/fileapi/info">File API Lab</a>.实现编码格式化</p>
-
-<p>[3] 在Opera11.1 版本中只是被<a href="http://www.opera.com/docs/specs/presto28/file/">部分支持</a></p>
+{{Compat("api.FileReader.readAsText")}}
<h2 id="其他文档">其他文档 </h2>
diff --git a/files/zh-cn/web/api/filereader/readystate/index.html b/files/zh-cn/web/api/filereader/readystate/index.html
index d0d60eacc3..67f040daa7 100644
--- a/files/zh-cn/web/api/filereader/readystate/index.html
+++ b/files/zh-cn/web/api/filereader/readystate/index.html
@@ -37,59 +37,7 @@ translation_of: Web/API/FileReader/readyState
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td>
- <td>7</td>
- <td>10<sup>[2]</sup></td>
- <td>12.02<sup>[3]</sup></td>
- <td>6.0.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>32</td>
- <td>3</td>
- <td>10</td>
- <td>11.5</td>
- <td>6.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Gecko 2.0 beta 7 (Firefox 4.0 beta 7)之前,上述方法中所有的 {{domxref("Blob")}} 参数都只能是一个 {{domxref("File")}} 对象。根据最新的 FileAPI 草案,现在的所有的 {{domxref("Blob")}} 参数既可以是<font face="Consolas, Liberation Mono, Courier, monospace"> </font>{{domxref("Blob")}} 对象也可以是一个<font face="Consolas, Liberation Mono, Courier, monospace"> </font>{{domxref("File")}} 对象。在Gecko 13.0 {{geckoRelease("13.0")}} 之前,FileReader.error 属性会返回一个 <a href="https://developer.mozilla.org/zh-CN/docs/Web/API/FileError">FileError</a> 对象。根据最新的FileAPI草案,现在的  FileReader.error会返回一个 <a href="https://developer.mozilla.org/zh-CN/docs/Web/API/DOMError">DOMError</a> 对象。</p>
-
-<p>[2] IE9有一个 <a href="http://html5labs.interoperabilitybridges.com/prototypes/fileapi/fileapi/info">File API Lab</a>.</p>
-
-<p>[3] Opera从11.10开始 <a href="http://www.opera.com/docs/specs/presto28/file/">部分支持</a> .</p>
+{{Compat("api.FileReader.readyState")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/filereader/result/index.html b/files/zh-cn/web/api/filereader/result/index.html
index d459d6af67..efb8699894 100644
--- a/files/zh-cn/web/api/filereader/result/index.html
+++ b/files/zh-cn/web/api/filereader/result/index.html
@@ -35,59 +35,7 @@ translation_of: Web/API/FileReader/result
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本特性支持</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td>
- <td>7</td>
- <td>10<sup>[2]</sup></td>
- <td>12.02<sup>[3]</sup></td>
- <td>6.0.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本特性支持</td>
- <td>32</td>
- <td>3</td>
- <td>10</td>
- <td>11.5</td>
- <td>6.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 早于 Gecko 2.0 beta 7 (Firefox 4.0 beta 7)的版本,所有 {{domxref("Blob")}} 的参数归属于 {{domxref("File")}};现在已经更新为正确的技术规范。早于Gecko 13.0 {{geckoRelease("13.0")}} 的版本,<code>FileReader.error</code> 属性返回一个 {{domxref("FileError")}} 对象,这个接口已经被移除。现在根据最新的FileAPI 草案<code>FileReader.error返回一个</code>{{domxref("DOMError")}} 对象。</p>
-
-<p>[2] IE9拥有<a href="http://html5labs.interoperabilitybridges.com/prototypes/fileapi/fileapi/info">File API Lab</a>。</p>
-
-<p>[3] Opera 11.1版本拥有<a href="http://www.opera.com/docs/specs/presto28/file/">partial support</a>。</p>
+{{Compat("api.FileReader.result")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/filesystem/index.html b/files/zh-cn/web/api/filesystem/index.html
index 77b9234e72..021ef77c42 100644
--- a/files/zh-cn/web/api/filesystem/index.html
+++ b/files/zh-cn/web/api/filesystem/index.html
@@ -46,55 +46,7 @@ translation_of: Web/API/FileSystem
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>13{{ property_prefix("webkit") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatNo() }}</td>
- <td>0.16{{ property_prefix("webkit") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.FileSystem")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/filesystemdirectoryentry/index.html b/files/zh-cn/web/api/filesystemdirectoryentry/index.html
index b6656c5de3..22b7a7aeef 100644
--- a/files/zh-cn/web/api/filesystemdirectoryentry/index.html
+++ b/files/zh-cn/web/api/filesystemdirectoryentry/index.html
@@ -86,107 +86,7 @@ window.requestFileSystem(TEMPORARY, 1024*1024 /*1MB*/, onFs, onError);</pre>
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Microsoft Edge</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>13 {{ property_prefix("webkit") }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(50) }}<sup>[2]</sup></td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatNo}}<sup>[3]</sup></td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- <tr>
- <td><code>removeRecursively()</code></td>
- <td>13 {{ property_prefix("webkit") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatNo }}<sup>[1]</sup></td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- <tr>
- <td><code>getFile()</code> and <code>getDirectory()</code></td>
- <td>13 {{ property_prefix("webkit") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop(50) }}<sup>[2]</sup></td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>0.16 {{ property_prefix("webkit") }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(50) }}<sup>[2]</sup></td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- <tr>
- <td><code>removeRecursively()</code></td>
- <td>{{ CompatNo }}</td>
- <td>0.16 {{ property_prefix("webkit") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatNo }}<sup>[1]</sup></td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- <tr>
- <td><code>getFile()</code> and <code>getDirectory()</code></td>
- <td>{{ CompatNo }}</td>
- <td>0.16 {{ property_prefix("webkit") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop(50) }}<sup>[2]</sup></td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 虽然 {{domxref("FileSystemDirectoryEntry.removeRecursively", "removeRecursively()")}} 方法存在于 Firefox 50,它所做的所有事情就是使用 <code>NS_ERROR_DOM_SECURITY_ERR</code> 调用错误回调。它已经从 Firefox 52 中移除了,并且也从规范中移除。</p>
-
-<p>[2] 在 Firefox 中,错误回调的参数是 {{domxref("DOMException")}} ,而不是 {{domxref("FileError")}} 对象。</p>
-
-<p>[3] Microsoft Edge 在 <code>WebKitEntry</code> 接口中实现了这个接口的功能,它就是 {{domxref("FileSystemEntry")}}。</p>
+{{Compat("api.FileSystemDirectoryEntry")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/filesystemfileentry/index.html b/files/zh-cn/web/api/filesystemfileentry/index.html
index 8fcca325a1..de0f33c260 100644
--- a/files/zh-cn/web/api/filesystemfileentry/index.html
+++ b/files/zh-cn/web/api/filesystemfileentry/index.html
@@ -86,85 +86,7 @@ window.requestFileSystem(window.TEMPORARY, 1024*1024, onInitFs, errorHandler);</
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Microsoft Edge</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>13 {{ property_prefix("webkit") }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(50) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}<sup>[2]</sup></td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- <tr>
- <td><code>createWriter()</code></td>
- <td>13 {{ property_prefix("webkit") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatNo }}<sup>[1]</sup></td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>0.16{{ property_prefix("webkit") }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(50)}}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- <tr>
- <td><code>createWriter()</code></td>
- <td>{{ CompatNo }}</td>
- <td>0.16{{ property_prefix("webkit") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatNo }}<sup>[1]</sup></td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 虽然从 Firefox 50 开始,存在 <code>createWriter()</code> 方法,它是不受支持的,并且会立即报告 <code>NS_ERROR_DOM_SECURITY_ERR </code>错误给错误回调。这个方法在 Firefox 52 中彻底移除。</p>
-
-<p>[2] Microsoft Edge 实现了这个接口,作为 <code>WebKitEntry</code> 接口的一部分,它是用于 {{domxref("FileSystemEntry")}} 的名称。</p>
+{{Compat("api.FileSystemFileEntry")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/filesystemsync/index.html b/files/zh-cn/web/api/filesystemsync/index.html
index 808a4be93a..98bb2a0915 100644
--- a/files/zh-cn/web/api/filesystemsync/index.html
+++ b/files/zh-cn/web/api/filesystemsync/index.html
@@ -48,55 +48,7 @@ translation_of: Web/API/FileSystemSync
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>13{{ property_prefix("webkit") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>0.16{{ property_prefix("webkit") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.FileSystemSync")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/fontface/index.html b/files/zh-cn/web/api/fontface/index.html
index 33f591f749..3c319bb9e3 100644
--- a/files/zh-cn/web/api/fontface/index.html
+++ b/files/zh-cn/web/api/fontface/index.html
@@ -67,56 +67,4 @@ translation_of: Web/API/FontFace
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(35.0)}}</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(35.0)}}</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(35.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.FontFace")}}
diff --git a/files/zh-cn/web/api/fontfaceset/check/index.html b/files/zh-cn/web/api/fontfaceset/check/index.html
index 6f95ff04f4..a372ca88c2 100644
--- a/files/zh-cn/web/api/fontfaceset/check/index.html
+++ b/files/zh-cn/web/api/fontfaceset/check/index.html
@@ -57,56 +57,4 @@ document.fonts.check("12px MyFont","ß"); </font><font>如果字体“MyFont
<h2 id="浏览器兼容"><font><font>浏览器兼容</font></font></h2>
-<div><font><font>{{CompatibilityTable}}</font></font></div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th><font><font>特征</font></font></th>
- <th><font><font>铬</font></font></th>
- <th><font><font>Firefox(Gecko)</font></font></th>
- <th><font><font>IE浏览器</font></font></th>
- <th><font><font>歌剧</font></font></th>
- <th><font><font>Safari(WebKit)</font></font></th>
- </tr>
- <tr>
- <td><font><font>基本支持</font></font></td>
- <td><font><font>{{CompatChrome(35.0)}}</font></font></td>
- <td><font><font>{{CompatGeckoDesktop(41)}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th><font><font>特征</font></font></th>
- <th><font><font>Android的</font></font></th>
- <th><font><font>Android Webview</font></font></th>
- <th><font><font>Firefox Mobile(Gecko)</font></font></th>
- <th><font><font>Firefox操作系统</font></font></th>
- <th><font><font>IE Mobile</font></font></th>
- <th><font><font>歌剧手机</font></font></th>
- <th><font><font>Safari手机</font></font></th>
- <th><font><font>适用于Android的Chrome</font></font></th>
- </tr>
- <tr>
- <td><font><font>基本支持</font></font></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- <td><font><font>{{CompatChrome(35.0)}}</font></font></td>
- <td><font><font>{{CompatGeckoMobile(41)}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatChrome(35.0)}}</font></font></td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.FontFaceSet.check")}}
diff --git a/files/zh-cn/web/api/fontfaceset/index.html b/files/zh-cn/web/api/fontfaceset/index.html
index 564cd391ea..79274944b2 100644
--- a/files/zh-cn/web/api/fontfaceset/index.html
+++ b/files/zh-cn/web/api/fontfaceset/index.html
@@ -67,77 +67,4 @@ translation_of: Web/API/FontFaceSet
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(35.0)}}</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatSafari(10)}}</td>
- </tr>
- <tr>
- <td>clear() method</td>
- <td>{{CompatChrome(48.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(35.0)}}</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatSafari(10)}}</td>
- <td>{{CompatChrome(35.0)}}</td>
- </tr>
- <tr>
- <td>clear() method</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(48.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(48.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+{{Compat("api.FontFaceSet")}}
diff --git a/files/zh-cn/web/api/formdata/append/index.html b/files/zh-cn/web/api/formdata/append/index.html
index 90f918c36d..c220336db2 100644
--- a/files/zh-cn/web/api/formdata/append/index.html
+++ b/files/zh-cn/web/api/formdata/append/index.html
@@ -76,99 +76,7 @@ formData.append('userpic[]', myFileInput2.files[0], 'chris2.jpg');</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>7</td>
- <td>{{CompatGeckoDesktop("2.0")}}<sup>[1]</sup></td>
- <td>10</td>
- <td>12</td>
- <td>5</td>
- </tr>
- <tr>
- <td>支持filename参数</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("22.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>在web workers中可用</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>3.0<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}<sup>[1]</sup></td>
- <td>1.0.1</td>
- <td>{{CompatUnknown}}</td>
- <td>
- <p>12</p>
- </td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>支持filename参数</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("22.0")}}</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>在web workers中可用</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Prior to Gecko 7.0 {{geckoRelease("7.0")}}, if you specified a {{domxref("Blob")}} as the data to append to the object, the filename reported in the "Content-Disposition" HTTP header was an empty string; this resulted in errors being reported by some servers. Starting in Gecko 7.0 the filename "blob" is sent.</p>
-
-<p>[2] XHR in Android 4.0 sends empty content for FormData with blob.</p>
+{{Compat("api.FormData.append")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/formdata/entries/index.html b/files/zh-cn/web/api/formdata/entries/index.html
index 54baa447ca..684aa69659 100644
--- a/files/zh-cn/web/api/formdata/entries/index.html
+++ b/files/zh-cn/web/api/formdata/entries/index.html
@@ -56,80 +56,7 @@ key2, value2</pre>
<h2 id="浏览器兼容">浏览器兼容</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoMobile(44)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+{{Compat("api.FormData.entries")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/formdata/formdata/index.html b/files/zh-cn/web/api/formdata/formdata/index.html
index 1ea36b03bc..5064906059 100644
--- a/files/zh-cn/web/api/formdata/formdata/index.html
+++ b/files/zh-cn/web/api/formdata/formdata/index.html
@@ -78,96 +78,7 @@ formData = new FormData(myForm);</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>7</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>10</td>
- <td>12</td>
- <td>5</td>
- </tr>
- <tr>
- <td>append with filename</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("22.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>available in web workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>3.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>
- <p>12</p>
- </td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>append with filename</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("22.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("39.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<p> </p>
-
-<div class="note">
-<p><strong>注意</strong>: XHR在Android 4.0上FormData的blob数据将发送空内容。</p>
-</div>
+{{Compat("api.FormData.FormData")}}
<h2 id="附注">附注</h2>
diff --git a/files/zh-cn/web/api/formdata/get/index.html b/files/zh-cn/web/api/formdata/get/index.html
index 4d8427e362..507eb09700 100644
--- a/files/zh-cn/web/api/formdata/get/index.html
+++ b/files/zh-cn/web/api/formdata/get/index.html
@@ -60,80 +60,7 @@ formData.append('username', 'Bob');</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop('39.0')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop('39.0')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.FormData.get")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/formdata/getall/index.html b/files/zh-cn/web/api/formdata/getall/index.html
index 3a6ee8a53d..c5d10de872 100644
--- a/files/zh-cn/web/api/formdata/getall/index.html
+++ b/files/zh-cn/web/api/formdata/getall/index.html
@@ -60,80 +60,7 @@ formData.append('username', 'Bob');</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.FormData.getAll")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/formdata/has/index.html b/files/zh-cn/web/api/formdata/has/index.html
index 66b69c35c3..a7fc34b1ba 100644
--- a/files/zh-cn/web/api/formdata/has/index.html
+++ b/files/zh-cn/web/api/formdata/has/index.html
@@ -59,80 +59,7 @@ formData.has('username'); // Returns true
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.FormData.has")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/formdata/keys/index.html b/files/zh-cn/web/api/formdata/keys/index.html
index dc9f30d549..6568322a9b 100644
--- a/files/zh-cn/web/api/formdata/keys/index.html
+++ b/files/zh-cn/web/api/formdata/keys/index.html
@@ -56,77 +56,7 @@ key2</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoMobile(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoMobile(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+{{Compat("api.FormData.keys")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/formdata/set/index.html b/files/zh-cn/web/api/formdata/set/index.html
index e07fc46185..4e21be4af8 100644
--- a/files/zh-cn/web/api/formdata/set/index.html
+++ b/files/zh-cn/web/api/formdata/set/index.html
@@ -65,80 +65,7 @@ formData.set('userpic', myFileInput.files[0], 'chris.jpg');</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>
- <p>{{CompatNo}}</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.FormData.set")}}
<h2 id="sect1"> </h2>
diff --git a/files/zh-cn/web/api/formdata/values/index.html b/files/zh-cn/web/api/formdata/values/index.html
index 434bdcf6ec..e72420ad60 100644
--- a/files/zh-cn/web/api/formdata/values/index.html
+++ b/files/zh-cn/web/api/formdata/values/index.html
@@ -56,80 +56,7 @@ value2</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Andorid</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoMobile(44)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+{{Compat("api.FormData.values")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/gainnode/gain/index.html b/files/zh-cn/web/api/gainnode/gain/index.html
index 704c6da76b..cf6bc7ceef 100644
--- a/files/zh-cn/web/api/gainnode/gain/index.html
+++ b/files/zh-cn/web/api/gainnode/gain/index.html
@@ -47,62 +47,7 @@ gainNode.gain.value = 0.5;
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25.0)}} </td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>33.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GainNode.gain")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/geolocation/clearwatch/index.html b/files/zh-cn/web/api/geolocation/clearwatch/index.html
index aea6a4632c..51249eb7b2 100644
--- a/files/zh-cn/web/api/geolocation/clearwatch/index.html
+++ b/files/zh-cn/web/api/geolocation/clearwatch/index.html
@@ -70,57 +70,7 @@ id = navigator.geolocation.watchPosition(success, error, options);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9</td>
- <td>10.60<br>
- Removed in 15.0<br>
- Reintroduced in 16.0</td>
- <td>5</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatGeckoMobile("4")}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>10.60</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Geolocation.clearWatch")}}
<h2 id="sect1"> </h2>
diff --git a/files/zh-cn/web/api/geolocation/getcurrentposition/index.html b/files/zh-cn/web/api/geolocation/getcurrentposition/index.html
index 27b99b28e7..a6f6de414c 100644
--- a/files/zh-cn/web/api/geolocation/getcurrentposition/index.html
+++ b/files/zh-cn/web/api/geolocation/getcurrentposition/index.html
@@ -74,57 +74,7 @@ navigator.geolocation.getCurrentPosition(success, error, options);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9</td>
- <td>10.60<br>
- Removed in 15.0<br>
- Reintroduced in 16.0</td>
- <td>5</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatGeckoMobile("4")}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>10.60</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Geolocation.getCurrentPosition")}}
<h2 id="请参考">请参考</h2>
diff --git a/files/zh-cn/web/api/geolocation/index.html b/files/zh-cn/web/api/geolocation/index.html
index 78cf3c6dc5..834db180fd 100644
--- a/files/zh-cn/web/api/geolocation/index.html
+++ b/files/zh-cn/web/api/geolocation/index.html
@@ -58,57 +58,7 @@ translation_of: Web/API/Geolocation
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>5</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9</td>
- <td>10.60<br>
- 15.0取消支持<br>
- 16.0重新支持</td>
- <td>5</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatGeckoMobile("4")}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>10.60</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Geolocation")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/geolocation/watchposition/index.html b/files/zh-cn/web/api/geolocation/watchposition/index.html
index e2170f685f..2f8c20f5ec 100644
--- a/files/zh-cn/web/api/geolocation/watchposition/index.html
+++ b/files/zh-cn/web/api/geolocation/watchposition/index.html
@@ -80,57 +80,7 @@ id = navigator.geolocation.watchPosition(success, error, options);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9</td>
- <td>10.60<br>
- Removed in 15.0<br>
- Reintroduced in 16.0</td>
- <td>5</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatGeckoMobile("4")}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>10.60</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Geolocation.watchPosition")}}
<h2 id="sect1"> </h2>
diff --git a/files/zh-cn/web/api/geolocation_api/index.html b/files/zh-cn/web/api/geolocation_api/index.html
index 1618172faf..e7edae0f99 100644
--- a/files/zh-cn/web/api/geolocation_api/index.html
+++ b/files/zh-cn/web/api/geolocation_api/index.html
@@ -229,69 +229,7 @@ prompt(window,
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{ CompatibilityTable() }}</div>
-
-<div> </div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9</td>
- <td>10.60<br>
- Removed in 15.0<br>
- Reintroduced in 16.0</td>
- <td>5</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatGeckoMobile("4")}}</td>
- <td>1.0.1</td>
- <td>{{CompatUnknown()}}</td>
- <td>10.60<br>
- Removed in 15.0<br>
- Reintroduced in 16.0</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Gecko_注释">Gecko 注释</h3>
-
-<p>Firefox 支持根据您的 Wi-Fi 信息通过谷歌定位服务来定位。在 Firefox 和 Google 的数据交互中,Wi-Fi 接入点信息、访问令牌(类似于一个两周过期的 cookie)和用户的 IP 地址会被发送。关于数据使用情况,请查看 Mozilla 的<a class="external" href="http://www.mozilla.com/en-US/legal/privacy/" title="http://www.mozilla.com/en-US/legal/privacy/">隐私声明</a>和 Google 的<a class="external" href="http://www.google.com/privacy-lsf.html" title="http://www.google.com/privacy-lsf.html">隐私声明</a>。</p>
-
-<p>Firefox 3.6 (Gecko 1.9.2) 增加了 Linux 上对 <a class="external" href="http://catb.org/gpsd/" title="http://catb.org/gpsd/">GPSD</a> (GPS daemon) 服务定位的支持。</p>
+{{Compat("api.Geolocation")}}
<h2 id="另请参阅">另请参阅</h2>
diff --git a/files/zh-cn/web/api/geolocationcoordinates/index.html b/files/zh-cn/web/api/geolocationcoordinates/index.html
index 7a17204abf..42bf85e450 100644
--- a/files/zh-cn/web/api/geolocationcoordinates/index.html
+++ b/files/zh-cn/web/api/geolocationcoordinates/index.html
@@ -56,57 +56,7 @@ translation_of: Web/API/GeolocationCoordinates
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9</td>
- <td>10.60<br>
- Removed in 15.0<br>
- Reintroduced in 16.0</td>
- <td>5</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatGeckoMobile("4")}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>10.60</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GeolocationCoordinates")}}
<h2 id="请参见">请参见</h2>
diff --git a/files/zh-cn/web/api/geolocationposition/index.html b/files/zh-cn/web/api/geolocationposition/index.html
index 6cc0e57712..e9dcab72e8 100644
--- a/files/zh-cn/web/api/geolocationposition/index.html
+++ b/files/zh-cn/web/api/geolocationposition/index.html
@@ -47,58 +47,7 @@ translation_of: Web/API/GeolocationPosition
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>5</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9</td>
- <td>
- <p>10.60<br>
- 15.0取消支持16.0重新支持</p>
- </td>
- <td>5</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatGeckoMobile("4")}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>10.60</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GeolocationPosition")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/api/geolocationpositionerror/index.html b/files/zh-cn/web/api/geolocationpositionerror/index.html
index ce69f4eb77..82d72a55d8 100644
--- a/files/zh-cn/web/api/geolocationpositionerror/index.html
+++ b/files/zh-cn/web/api/geolocationpositionerror/index.html
@@ -75,57 +75,7 @@ translation_of: Web/API/GeolocationPositionError
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9</td>
- <td>10.60<br>
- Removed in 15.0<br>
- Reintroduced in 16.0</td>
- <td>5</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatGeckoMobile("4")}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>10.60</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GeolocationPositionError")}}
<h2 id="请参见">请参见</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/index.html b/files/zh-cn/web/api/globaleventhandlers/index.html
index defba0cdf7..bdfc9bcfef 100644
--- a/files/zh-cn/web/api/globaleventhandlers/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/index.html
@@ -210,277 +210,7 @@ translation_of: Web/API/GlobalEventHandlers
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>oncanplay</code>, <code>oncanplaythrough</code>, <code>ondurationchange</code>, <code>onemptied</code>, <code>onended</code>, <code>onloadeddata</code>, <code>onloadedmetadata</code>, <code>onloadstart</code>, <code>onpause</code>, <code>onplay</code>, <code>onplaying</code>, <code>onprogress</code>, <code>onratechange</code>, <code>onseeked</code>, <code>onseeking</code>, <code>onstalled</code>, <code>ontimeupdate</code>, <code>onvolumechange</code>, <code>onwaiting</code></td>
- <td>{{CompatGeckoDesktop(1.9.1)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onsuspend</code></td>
- <td>{{CompatGeckoDesktop(1.9.2)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>ondrag</code>, <code>ondragend</code>, <code>ondragenter</code>, <code>ondragleave</code>, <code>ondragover</code>, <code>ondragstart</code>, <code>ondrop</code></td>
- <td>{{CompatGeckoDesktop(1.9.1)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmouseenter</code>, <code>onmouseleave</code></td>
- <td>{{CompatGeckoDesktop(10)}}</td>
- <td>30.0</td>
- <td>5.5</td>
- <td>17</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>ondragexit</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>oncancel</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onclose</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>oncuechange</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>ondragexit</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmousewheel</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onsort</code> {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmozfullscreenchange</code>, <code>onmozfullscreenerror</code> {{non-standard_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>onpointerlockchange</code>, <code>onpointerlockerror</code></td>
- <td>{{CompatGeckoDesktop(10)}} as <code>onmozpointerlockchange</code>, <code>onmozpointerlockerror</code></td>
- <td>{{CompatVersionUnknown}} as <code>onwebkitpointerlockchange</code>, <code>onwebkitpointerlockerror</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onpointercancel</code>, <code>onpointerdown</code>, <code>onpointerup</code>, <code>onpointermove</code>, <code>onpointerout</code>, <code>onpointerover</code>, <code>onpointerenter</code>, <code>onpointerleave</code>, <code>ongotpointercapture</code>, <code>onlostpointercapture</code></td>
- <td>{{CompatVersionUnknown}} behind the <code>dom.w3c_pointer_events.enabled</code> pref (disabled by default)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>ondrag</code>, <code>ondragend</code>, <code>ondragenter</code>, <code>ondragleave</code>, <code>ondragover</code>, <code>ondragstart</code>, <code>ondrop</code></td>
- <td>{{CompatGeckoMobile(1.9.1)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>oncanplay</code>, <code>oncanplaythrough</code>, <code>ondurationchange</code>, <code>onemptied</code>, <code>onended</code>, <code>onloadeddata</code>, <code>onloadedmetadata</code>, <code>onloadstart</code>, <code>onpause</code>, <code>onplay</code>, <code>onplaying</code>, <code>onprogress</code>, <code>onratechange</code>, <code>onseeked</code>, <code>onseeking</code>, <code>onstalled</code>, <code>ontimeupdate</code>, <code>onvolumechange</code>, <code>onwaiting</code></td>
- <td>{{CompatGeckoMobile(1.9.1)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmouseenter</code>, <code>onmouseleave</code></td>
- <td>{{CompatGeckoMobile(10)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onsuspend</code></td>
- <td>{{CompatGeckoMobile(1.9.2)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>ondragexit</code></td>
- <td>{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>oncancel</code></td>
- <td>{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onclose</code></td>
- <td>{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>oncuechange</code></td>
- <td>{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>ondragexit</code></td>
- <td>{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmousewheel</code></td>
- <td>{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onsort</code></td>
- <td>{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmozfullscreenchange</code>, <code>onmozfullscreenerror</code> {{non-standard_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td rowspan="1">{{CompatNo}}</td>
- <td rowspan="1">{{CompatNo}}</td>
- <td rowspan="1">{{CompatNo}}</td>
- <td rowspan="1">{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>onpointerlockchange</code>, <code>onpointerlockerror</code></td>
- <td>{{CompatGeckoMobile(10)}} as <code>onmozpointerlockchange</code>, <code>onmozpointerlockerror</code></td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onpointercancel</code>, <code>onpointerdown</code>, <code>onpointerup</code>, <code>onpointermove</code>, <code>onpointerout</code>, <code>onpointerover</code>, <code>onpointerenter</code>, <code>onpointerleave</code>, <code>ongotpointercapture</code>, <code>onlostpointercapture</code></td>
- <td>{{CompatVersionUnknown}} behind the <code>dom.w3c_pointer_events.enabled</code> pref (disabled by default)</td>
- <td rowspan="1">{{CompatNo}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatNo}}</td>
- <td rowspan="1">{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onabort/index.html b/files/zh-cn/web/api/globaleventhandlers/onabort/index.html
index ad8954c149..4bf9712099 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onabort/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onabort/index.html
@@ -46,57 +46,4 @@ translation_of: Web/API/GlobalEventHandlers/onabort
<h2 id="浏览器兼容性"> 浏览器兼容性</h2>
<article>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-</article>
+{{Compat("api.GlobalEventHandlers.onabort")}}
diff --git a/files/zh-cn/web/api/globaleventhandlers/onanimationcancel/index.html b/files/zh-cn/web/api/globaleventhandlers/onanimationcancel/index.html
index 3e0a11176a..6ba74e1d2e 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onanimationcancel/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onanimationcancel/index.html
@@ -182,63 +182,7 @@ translation_of: Web/API/GlobalEventHandlers/onanimationcancel
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Microsoft Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] For details on the status of implementation in Firefox, see {{bug(1302648)}}.</p>
+{{Compat("api.GlobalEventHandlers.onanimationcancel")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onanimationend/index.html b/files/zh-cn/web/api/globaleventhandlers/onanimationend/index.html
index b1b7b071d9..121ad37fb5 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onanimationend/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onanimationend/index.html
@@ -41,64 +41,7 @@ translation_of: Web/API/GlobalEventHandlers/onanimationend
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Microsoft Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed)</td>
- <td>{{CompatGeckoDesktop(51)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed)</td>
- <td>{{CompatGeckoMobile(51)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed)</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.onanimationend")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onanimationiteration/index.html b/files/zh-cn/web/api/globaleventhandlers/onanimationiteration/index.html
index 9214d6754c..11a70ba017 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onanimationiteration/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onanimationiteration/index.html
@@ -161,64 +161,7 @@ box.onanimationiteration = function(event) {
<h2 id="兼容性">兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Microsoft Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed)</td>
- <td>{{CompatGeckoDesktop(51)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed)</td>
- <td>{{CompatGeckoMobile(51)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed)</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.onanimationiteration")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html b/files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html
index 54a0357139..af7eb951b3 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onauxclick/index.html
@@ -62,54 +62,4 @@ button.onauxclick = function() {
<h2 id="Browser_Compatibility">Browser Compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(53)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(53)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.onauxclick")}}
diff --git a/files/zh-cn/web/api/globaleventhandlers/ondragleave/index.html b/files/zh-cn/web/api/globaleventhandlers/ondragleave/index.html
index bce1cf2d8d..41ae2a8954 100644
--- a/files/zh-cn/web/api/globaleventhandlers/ondragleave/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/ondragleave/index.html
@@ -135,59 +135,7 @@ function init() {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.ondragleave")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/ondrop/index.html b/files/zh-cn/web/api/globaleventhandlers/ondrop/index.html
index 3de1e294a8..d727983768 100644
--- a/files/zh-cn/web/api/globaleventhandlers/ondrop/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/ondrop/index.html
@@ -98,59 +98,7 @@ function dragover_handler(ev) {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.ondrop")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/ongotpointercapture/index.html b/files/zh-cn/web/api/globaleventhandlers/ongotpointercapture/index.html
index 84acc36582..d5c4c134ae 100644
--- a/files/zh-cn/web/api/globaleventhandlers/ongotpointercapture/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/ongotpointercapture/index.html
@@ -50,63 +50,7 @@ function init() {
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(57.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(44)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(57.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(57.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.ongotpointercapture")}}
<h2 id="See_also" name="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html b/files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html
index ab570209ad..d0d87a1aae 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onlostpointercapture/index.html
@@ -56,63 +56,7 @@ function init() {
<p><font face="x-locale-heading-primary, zillaslab, Palatino, Palatino Linotype, x-locale-heading-secondary, serif"><span style="font-size: 40px;"><strong>浏览器兼容性</strong></span></font></p>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(57.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(44)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(57.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(57.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.onlostpointercapture")}}
<h2 id="See_also" name="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onpointercancel/index.html b/files/zh-cn/web/api/globaleventhandlers/onpointercancel/index.html
index 26f5ead6dc..9fcd7988b7 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onpointercancel/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onpointercancel/index.html
@@ -64,63 +64,7 @@ function init() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table" style="height: 127px; width: 847px;">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>支持基础</td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatOpera(42)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>支持基础</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatOperaMobile(42)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.onpointercancel")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onpointerdown/index.html b/files/zh-cn/web/api/globaleventhandlers/onpointerdown/index.html
index c538841be5..76a66be72e 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onpointerdown/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onpointerdown/index.html
@@ -64,63 +64,7 @@ function init() {
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatOpera(42)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}</td>
- <td>{{CompatOperaMobile(42)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.onpointerdown")}}
<h2 id="sect1"> </h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onpointermove/index.html b/files/zh-cn/web/api/globaleventhandlers/onpointermove/index.html
index 3407af3671..e83000b774 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onpointermove/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onpointermove/index.html
@@ -71,61 +71,7 @@ function init() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("35")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(59)}}</td>
- <td>10 {{property_prefix("-ms")}}<br>
- 11</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome("35")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile("29")}}<sup>[2]</sup></td>
- <td>10 {{property_prefix("-ms")}}<br>
- 11</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This was implemented in <a href="http://crbug.com/248918">bug 248918</a>.</p>
-
-<p>[2] Supported behind the preference <code>dom.w3c_pointer_events.enabled</code>, defaulting to <code>false</code>.</p>
+{{Compat("api.GlobalEventHandlers.onpointermove")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onpointerup/index.html b/files/zh-cn/web/api/globaleventhandlers/onpointerup/index.html
index c529bc8232..2bb0fcf023 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onpointerup/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onpointerup/index.html
@@ -64,61 +64,7 @@ function init() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("35")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(59)}}</td>
- <td>10 {{property_prefix("-ms")}}<br>
- 11</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome("35")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile("29")}}<sup>[2]</sup></td>
- <td>10 {{property_prefix("-ms")}}<br>
- 11</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This was implemented in <a href="http://crbug.com/248918">bug 248918</a>.</p>
-
-<p>[2] Supported behind the preference <code>dom.w3c_pointer_events.enabled</code>, defaulting to <code>false</code>.</p>
+{{Compat("api.GlobalEventHandlers.onpointerup")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onselectionchange/index.html b/files/zh-cn/web/api/globaleventhandlers/onselectionchange/index.html
index 845410cb97..d7f7baae3f 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onselectionchange/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onselectionchange/index.html
@@ -42,59 +42,7 @@ document.onselectionchange = function() {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop(43)}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop(52)}}<sup>[2]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>1.3</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td><code>onselectionchange</code></td>
- <td>{{CompatGeckoMobile(43)}}<sup>[1]</sup><br>
- {{CompatGeckoMobile(52)}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This is implemented behind the <code>dom.select_events.enabled</code> preference, which defaults to <code>false</code> except on Nightly.</p>
-
-<p>[2] This is now fully enabled on Firefox 52 release version.</p>
+{{Compat("api.GlobalEventHandlers.onselectionchange")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onselectstart/index.html b/files/zh-cn/web/api/globaleventhandlers/onselectstart/index.html
index 370aea1346..b04add77d9 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onselectstart/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onselectstart/index.html
@@ -42,59 +42,7 @@ translation_of: Web/API/GlobalEventHandlers/onselectstart
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop(43)}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop(52)}}<sup>[2]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>1.3</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td><code>onselectionchange</code></td>
- <td>{{CompatGeckoMobile(43)}}<sup>[1]</sup><br>
- {{CompatGeckoMobile(52)}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This is implemented behind the <code>dom.select_events.enabled</code> preference, which defaults to <code>false</code> except on Nightly.</p>
-
-<p>[2] This is now fully enabled on Firefox 52 release version.</p>
+{{Compat("api.GlobalEventHandlers.onselectstart")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/ontouchcancel/index.html b/files/zh-cn/web/api/globaleventhandlers/ontouchcancel/index.html
index faba488dc4..1f7c8a93e8 100644
--- a/files/zh-cn/web/api/globaleventhandlers/ontouchcancel/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/ontouchcancel/index.html
@@ -65,59 +65,7 @@ function init() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.ontouchcancel")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/ontouchmove/index.html b/files/zh-cn/web/api/globaleventhandlers/ontouchmove/index.html
index 55006ef33f..21465d4677 100644
--- a/files/zh-cn/web/api/globaleventhandlers/ontouchmove/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/ontouchmove/index.html
@@ -67,59 +67,7 @@ function init() {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(18.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.ontouchmove")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/ontouchstart/index.html b/files/zh-cn/web/api/globaleventhandlers/ontouchstart/index.html
index 58499d061c..0f10f74ff4 100644
--- a/files/zh-cn/web/api/globaleventhandlers/ontouchstart/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/ontouchstart/index.html
@@ -65,59 +65,7 @@ function init() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(18.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.GlobalEventHandlers.ontouchstart")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html b/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html
index 05dfa596ef..d39f5a2212 100644
--- a/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html
+++ b/files/zh-cn/web/api/globaleventhandlers/onwheel/index.html
@@ -104,63 +104,7 @@ document.onwheel = zoom;</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="注意">注意</h3>
-
-<p>当用户在相应元素上滚动滑轮便触发 {{ event("wheel") }} 事件。</p>
+{{Compat("api.GlobalEventHandlers.onwheel")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/headers/delete/index.html b/files/zh-cn/web/api/headers/delete/index.html
index 12c52da4c0..aa223853f3 100644
--- a/files/zh-cn/web/api/headers/delete/index.html
+++ b/files/zh-cn/web/api/headers/delete/index.html
@@ -69,63 +69,7 @@ myHeaders.get('Content-Type'); // Returns null, as it has been deleted</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(42) }}<br>
- {{ CompatChrome(41) }} behind pref<br>
-  </td>
- <td>{{ CompatGeckoDesktop(39)}}<br>
- 34 behind pref</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>29<br>
- 28 behind pref</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Headers.delete")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/headers/entries/index.html b/files/zh-cn/web/api/headers/entries/index.html
index abcc44ce61..2d9ad1a68a 100644
--- a/files/zh-cn/web/api/headers/entries/index.html
+++ b/files/zh-cn/web/api/headers/entries/index.html
@@ -56,57 +56,7 @@ vary: Accept-Language</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(44)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Headers.entries")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/headers/get/index.html b/files/zh-cn/web/api/headers/get/index.html
index 7ef3dfffc7..94bdb4f552 100644
--- a/files/zh-cn/web/api/headers/get/index.html
+++ b/files/zh-cn/web/api/headers/get/index.html
@@ -70,63 +70,7 @@ myHeaders.get('Accept-Encoding'); // Returns <code>"deflate,gzip"</code>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(42) }}<br>
- {{ CompatChrome(41) }} behind pref<br>
-  </td>
- <td>{{ CompatGeckoDesktop(39)}}<br>
- 34 behind pref</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>29<br>
- 28 behind pref</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Headers.get")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/headers/has/index.html b/files/zh-cn/web/api/headers/has/index.html
index 471bd1fb90..7e9bfe3824 100644
--- a/files/zh-cn/web/api/headers/has/index.html
+++ b/files/zh-cn/web/api/headers/has/index.html
@@ -56,67 +56,7 @@ myHeaders.has('Accept-Encoding'); // Returns false
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(42) }}<br>
- {{ CompatChrome(41) }} behind pref<br>
-  </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(39)}}<br>
- 34 behind pref</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>29<br>
- 28 behind pref</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Headers.has")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/headers/headers/index.html b/files/zh-cn/web/api/headers/headers/index.html
index 956904968d..a096a43c35 100644
--- a/files/zh-cn/web/api/headers/headers/index.html
+++ b/files/zh-cn/web/api/headers/headers/index.html
@@ -62,63 +62,7 @@ secondHeadersObj.get('Content-Type'); // Would return 'image/jpeg' — it inheri
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(42) }}<br>
- {{ CompatChrome(41) }} behind pref<br>
-  </td>
- <td>{{ CompatGeckoDesktop(39)}}<br>
- 34 behind pref</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>29<br>
- 28 behind pref</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Headers.Headers")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/headers/index.html b/files/zh-cn/web/api/headers/index.html
index 75a7b51982..6ee8e3e390 100644
--- a/files/zh-cn/web/api/headers/index.html
+++ b/files/zh-cn/web/api/headers/index.html
@@ -98,81 +98,7 @@ myHeaders.get('Content-Type');
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(42) }}<br>
- {{ CompatChrome(41) }} behind pref<br>
-  </td>
- <td>{{ CompatGeckoDesktop(39)}}<br>
- 34 behind pref</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>29<br>
- 28 behind pref</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- <tr>
- <td><code>entries()</code>, <code>keys()</code>, <code>values()</code>, and support of <code>for...of</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- <tr>
- <td><code>entries()</code>, <code>keys()</code>, <code>values()</code>, and support of <code>for...of</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile(44)}}</td>
- <td>2.5</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Headers")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/htmlanchorelement/hash/index.html b/files/zh-cn/web/api/htmlanchorelement/hash/index.html
index 257a572947..e60e1f5e42 100644
--- a/files/zh-cn/web/api/htmlanchorelement/hash/index.html
+++ b/files/zh-cn/web/api/htmlanchorelement/hash/index.html
@@ -43,65 +43,7 @@ var result = anchor.hash; // Returns:'#youhou'</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("22")}}<sup>[3]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("22")}}<sup>[3]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Starting in Chrome 52, this property was moved to {{domxref('URL')}}</p>
-
-<p>[2] Though not grouped in a single abstract interface, this method is directly available on the interfaces that implement it, if this interface is supported.</p>
-
-<p>[3] From Gecko 22 to Gecko 44, this property was on the <code>URLUtils</code> mixin. It has been moves either on the <code>HTMLHyperlinkElementUtils</code> mixin, or directly on the interface. Also, from Gecko 29 to Gecko 40, the returned value was incorrectly percent-decoded.</p>
+{{Compat("api.HTMLAnchorElement.hash")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlanchorelement/href/index.html b/files/zh-cn/web/api/htmlanchorelement/href/index.html
index 7992047bcd..e344bc122a 100644
--- a/files/zh-cn/web/api/htmlanchorelement/href/index.html
+++ b/files/zh-cn/web/api/htmlanchorelement/href/index.html
@@ -42,65 +42,7 @@ var result = anchor.href; // Returns: 'https://developer.mozilla.org/en-US/HTMLH
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("22")}} [3]</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatNo}} [2]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("22")}} [3]</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatNo}} [2]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Starting in Chrome 52, this property was moved to {{domxref('URL')}}</p>
-
-<p>[2] Though not grouped in a single abstract interface, this method is directly available on the interfaces that implement it, if this interface is supported.</p>
-
-<p>[3] From Gecko 22 to Gecko 44, this property was on the <code>URLUtils</code> mixin. It has been moved either on the <code>HTMLHyperlinkElementUtils</code> mixin, or directly on the interface.</p>
+{{Compat("api.HTMLAnchorElement.href")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlanchorelement/index.html b/files/zh-cn/web/api/htmlanchorelement/index.html
index a5e8a72584..d1883c1614 100644
--- a/files/zh-cn/web/api/htmlanchorelement/index.html
+++ b/files/zh-cn/web/api/htmlanchorelement/index.html
@@ -118,85 +118,7 @@ translation_of: Web/API/HTMLAnchorElement
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>download</code></td>
- <td>14</td>
- <td>20</td>
- <td>{{CompatUnknown}}</td>
- <td>15</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>username</code>, <code>password</code>, and <code>origin</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("26.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>download</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>username</code>, <code>password</code>, and <code>origin</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("26.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLAnchorElement")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlanchorelement/origin/index.html b/files/zh-cn/web/api/htmlanchorelement/origin/index.html
index 715815c0a0..8796c5532a 100644
--- a/files/zh-cn/web/api/htmlanchorelement/origin/index.html
+++ b/files/zh-cn/web/api/htmlanchorelement/origin/index.html
@@ -48,67 +48,7 @@ var result = window.location.origin; // Returns:'https://developer.mozilla.org'
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("26.0")}}<sup> [3][4]</sup></td>
- <td>{{CompatNo}} [2]</td>
- <td><span style="font-size: 12px; line-height: 16.3636360168457px;">{{CompatNo}}</span> [2]</td>
- <td>{{CompatNo}} [2]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("26.0")}}<sup> [3][4]</sup></td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatNo}} [2]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Starting in Chrome 52, this property was moved to {{domxref('URL')}}</p>
-
-<p>[2] Though not grouped in a single abstract interface, this method is directly available on the interfaces that implement it, if this interface is supported.</p>
-
-<p>[3] From Gecko 26 to Gecko 44, this property was on the <code>URLUtils</code> mixin. It has been moves either on the <code>HTMLHyperlinkElementUtils</code> mixin, or directly on the interface.</p>
-
-<p>[4] Before Gecko 49, results for URL using the <code>blob</code> scheme incorrectly returned <code>null</code>.</p>
+{{Compat("api.HTMLAnchorElement.origin")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlanchorelement/password/index.html b/files/zh-cn/web/api/htmlanchorelement/password/index.html
index 7f7160aedb..c45c9df9a8 100644
--- a/files/zh-cn/web/api/htmlanchorelement/password/index.html
+++ b/files/zh-cn/web/api/htmlanchorelement/password/index.html
@@ -44,59 +44,7 @@ var result = anchor.password; // Returns:'flabada'
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatGeckoDesktop("26")}} [2]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatGeckoMobile("26")}} [2]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Starting in Chrome 52, this property was moved to {{domxref('URL')}}</p>
-
-<p>[2] From Gecko 26 to Gecko 44, this property was on the <code>URLUtils</code> mixin. It has been moves either on the <code>HTMLHyperlinkElementUtils</code> mixin, or directly on the interface.</p>
+{{Compat("api.HTMLAnchorElement.password")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlanchorelement/pathname/index.html b/files/zh-cn/web/api/htmlanchorelement/pathname/index.html
index 86ccbfe78c..5e77c6e9d9 100644
--- a/files/zh-cn/web/api/htmlanchorelement/pathname/index.html
+++ b/files/zh-cn/web/api/htmlanchorelement/pathname/index.html
@@ -42,67 +42,7 @@ var result = anchor.pathname; // Returns:'/en-US/docs/HTMLHyperlinkElementUtils.
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatGeckoDesktop("22")}} [3][4]</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatNo}} [2]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatGeckoMobile("22")}} [3][4]</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatNo}} [2]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Starting in Chrome 52, this property was moved to {{domxref('URL')}}</p>
-
-<p>[2] Though not grouped in a single abstract interface, this method is directly available on the interfaces that implement it, if this interface is supported.</p>
-
-<p>[3] From Gecko 22 to Gecko 44, this property was on the <code>URLUtils</code> mixin. It has been moves either on the <code>HTMLHyperlinkElementUtils</code> mixin, or directly on the interface.</p>
-
-<p>[4] Before Firefox 53, the <code>pathname</code> and <code>search</code> <code>HTMLHyperLinkElementUtils</code> properties returned the wrong parts of the URL. For example, for a URL of <code>http://z.com/x?a=true&amp;b=false</code>, <code>pathname</code> would return "<code>/x?a=true&amp;b=false"</code> and <code>search</code> would return "", rather than "<code>/x</code>" and "<code>?a=true&amp;b=false"</code> respectively. This has now been fixed.</p>
+{{Compat("api.HTMLAnchorElement.pathname")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlanchorelement/referrerpolicy/index.html b/files/zh-cn/web/api/htmlanchorelement/referrerpolicy/index.html
index a4ed4b000d..0baf12895f 100644
--- a/files/zh-cn/web/api/htmlanchorelement/referrerpolicy/index.html
+++ b/files/zh-cn/web/api/htmlanchorelement/referrerpolicy/index.html
@@ -58,57 +58,7 @@ div.appendChild(elt); // 点击该链接接时不会发送 Referer 请求头
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("42.0")}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("42.0")}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 该特性目前默认为关闭状态,请通过将 <code>network.http.enablePerElementReferrer</code> 选项设置为 <code>true</code> 来开启。</p>
-</div>
+{{Compat("api.HTMLAnchorElement.referrerPolicy")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/htmlanchorelement/search/index.html b/files/zh-cn/web/api/htmlanchorelement/search/index.html
index 67b868a075..50e5520141 100644
--- a/files/zh-cn/web/api/htmlanchorelement/search/index.html
+++ b/files/zh-cn/web/api/htmlanchorelement/search/index.html
@@ -48,67 +48,7 @@ let result = anchor.search;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("22")}} [3][4]</td>
- <td>{{CompatVersionUnknown}} [2]</td>
- <td>{{CompatVersionUnknown}} [2]</td>
- <td>{{CompatVersionUnknown}} [2]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("22")}} [3][4]</td>
- <td>{{CompatVersionUnknown}} [2]</td>
- <td>{{CompatVersionUnknown}} [2]</td>
- <td>{{CompatVersionUnknown}} [2]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 自Chrome 52起,该属性移至{{domxref('URL')}}</p>
-
-<p>[2] 虽然没有被分在一个独立的抽象接口,但该方法可以在实现了它的那些接口上直接使用,如果支持该接口。</p>
-
-<p>[3] 从Gecko 22 到 Gecko 44,该属性在 <code>URLUtils</code> mixin 上。它已经被移到 <code>HTMLHyperlinkElementUtils</code> mixin,或者直接在这个接口上。</p>
-
-<p>[4] 在 Firefox 53之前, <code>pathname</code> 和<code> search</code> <code>HTMLHyperLinkElementUtils</code> 属性返回的URL部分是错误的。例如,对一个值为 <code>http://z.com/x?a=true&amp;b=false</code> 的URL,<code>pathname</code> 会返回"<code>/x?a=true&amp;b=false"</code> <code>,search</code> 会返回 "", 而不是各自返回 "<code>/x</code>" 和"<code>?a=true&amp;b=false"</code> 。这已经被修正了。</p>
+{{Compat("api.HTMLAnchorElement.search")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/htmlanchorelement/tostring/index.html b/files/zh-cn/web/api/htmlanchorelement/tostring/index.html
index 3504debe75..f58da58175 100644
--- a/files/zh-cn/web/api/htmlanchorelement/tostring/index.html
+++ b/files/zh-cn/web/api/htmlanchorelement/tostring/index.html
@@ -46,63 +46,7 @@ var result = anchor.toString();
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("22")}} [2]</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatNo}} [1]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("22")}} [2]</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatNo}} [1]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Though not grouped in a single abstract interface, this method is directly available on the interfaces that implement it, if this interface is supported.</p>
-
-<p>[2] From Gecko 22 to Gecko 44, this property was on the <code>URLUtils</code> mixin. It has been moves either on the <code>HTMLHyperlinkElementUtils</code> mixin, or directly on the interface.</p>
+{{Compat("api.HTMLAnchorElement.toString")}}
<h2 id="也可以看看">也可以看看</h2>
diff --git a/files/zh-cn/web/api/htmlanchorelement/username/index.html b/files/zh-cn/web/api/htmlanchorelement/username/index.html
index e5efbcc828..a49bfb6e9b 100644
--- a/files/zh-cn/web/api/htmlanchorelement/username/index.html
+++ b/files/zh-cn/web/api/htmlanchorelement/username/index.html
@@ -42,59 +42,7 @@ var result = anchor.username; // Returns:'anonymous'
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatGeckoDesktop("26")}} [2]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatGeckoMobile("26")}} [2]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Starting in Chrome 52, this property was moved to {{domxref('URL')}}</p>
-
-<p>[2] From Gecko 26 to Gecko 44, this property was on the <code>URLUtils</code> mixin. It has been moves either on the <code>HTMLHyperlinkElementUtils</code> mixin, or directly on the interface.</p>
+{{Compat("api.HTMLAnchorElement.username")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlareaelement/index.html b/files/zh-cn/web/api/htmlareaelement/index.html
index cc7feef547..eee354dd5e 100644
--- a/files/zh-cn/web/api/htmlareaelement/index.html
+++ b/files/zh-cn/web/api/htmlareaelement/index.html
@@ -110,85 +110,7 @@ translation_of: Web/API/HTMLAreaElement
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>download</code> {{experimental_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>username</code>, <code>password</code>, and <code>origin</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("26.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>download</code> {{experimental_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>username</code>, <code>password</code>, and <code>origin</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("26.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLAreaElement")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlbaseelement/index.html b/files/zh-cn/web/api/htmlbaseelement/index.html
index a1862c5580..a332316a05 100644
--- a/files/zh-cn/web/api/htmlbaseelement/index.html
+++ b/files/zh-cn/web/api/htmlbaseelement/index.html
@@ -67,53 +67,7 @@ translation_of: Web/API/HTMLBaseElement
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLBaseElement")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlbodyelement/index.html b/files/zh-cn/web/api/htmlbodyelement/index.html
index a530613fae..5100c62c22 100644
--- a/files/zh-cn/web/api/htmlbodyelement/index.html
+++ b/files/zh-cn/web/api/htmlbodyelement/index.html
@@ -115,156 +115,7 @@ translation_of: Web/API/HTMLBodyElement
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(1)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.0)}} [1]</td>
- <td>4.0</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>onXYZ</code> event handlers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onlanguage</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(32)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmessageerror</code></td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onstorage</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(45)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onrejectionhandled</code> and <code>onunhandledrejection</code></td>
- <td>{{CompatChrome(49)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(36)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>onXYZ</code> event handlers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onlangugage</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(32)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onmessageerror</code></td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onstorage</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(45)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onrejectionhandled</code> and <code>onunhandledrejection</code></td>
- <td>{{CompatChrome(49)}}</td>
- <td>{{CompatChrome(49)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOperaMobile(36)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Firefox prior to Firefox 7.0 (and some older versions of Opera) returned a URI for the <code>HTMLBodyElement.background</code> attribute.</p>
+{{Compat("api.HTMLBodyElement")}}
<h2 id="参考阅读">参考阅读</h2>
diff --git a/files/zh-cn/web/api/htmlbuttonelement/index.html b/files/zh-cn/web/api/htmlbuttonelement/index.html
index c186ced221..9ea6ed957f 100644
--- a/files/zh-cn/web/api/htmlbuttonelement/index.html
+++ b/files/zh-cn/web/api/htmlbuttonelement/index.html
@@ -190,101 +190,7 @@ translation_of: Web/API/HTMLButtonElement
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>与表单相关的属性</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(2.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>labels</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}} {{unimplemented_inline(556743)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>menu</code> &amp; <code>type="menu"</code> {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>与表单相关的属性</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(2.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>labels</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}{{unimplemented_inline(556743)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>menu</code> &amp; <code>type="menu"</code> {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLButtonElement")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/htmlcanvaselement/capturestream/index.html b/files/zh-cn/web/api/htmlcanvaselement/capturestream/index.html
index a0fdca7df3..fb0bf0b895 100644
--- a/files/zh-cn/web/api/htmlcanvaselement/capturestream/index.html
+++ b/files/zh-cn/web/api/htmlcanvaselement/capturestream/index.html
@@ -59,59 +59,7 @@ pc.addStream(stream);
<h2 id="浏览器兼容性"><font><font>浏览器兼容性</font></font></h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatGeckoDesktop(43)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(36.0)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatGeckoMobile(43)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(38)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] <font>在Firefox 41和42中,此功能默认是禁用的; </font><font>将首选项</font> <code>canvas.capturestream.enabled</code> 设置 <code>true</code> 。</p>
+{{Compat("api.HTMLCanvasElement.captureStream")}}
<h2 id="看看其他">看看其他</h2>
diff --git a/files/zh-cn/web/api/htmlcanvaselement/height/index.html b/files/zh-cn/web/api/htmlcanvaselement/height/index.html
index a479e87d7e..7837aa9a8c 100644
--- a/files/zh-cn/web/api/htmlcanvaselement/height/index.html
+++ b/files/zh-cn/web/api/htmlcanvaselement/height/index.html
@@ -61,59 +61,7 @@ console.log(canvas.height); // 300
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(4) }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("1.9.2") }}</td>
- <td>{{ CompatIE(9) }}</td>
- <td>{{ CompatOpera(9) }}</td>
- <td>{{ CompatSafari(3.1) }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("1.9.2") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLCanvasElement.height")}}
<h2 id="See_Also" name="See_Also">其他</h2>
diff --git a/files/zh-cn/web/api/htmlcanvaselement/width/index.html b/files/zh-cn/web/api/htmlcanvaselement/width/index.html
index 2384c0eb2d..203b2a6879 100644
--- a/files/zh-cn/web/api/htmlcanvaselement/width/index.html
+++ b/files/zh-cn/web/api/htmlcanvaselement/width/index.html
@@ -61,59 +61,7 @@ console.log(canvas.width); // 300
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(4) }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("1.9.2") }}</td>
- <td>{{ CompatIE(9) }}</td>
- <td>{{ CompatOpera(9) }}</td>
- <td>{{ CompatSafari(3.1) }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("1.9.2") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLCanvasElement.width")}}
<h2 id="See_Also" name="See_Also">查看更多</h2>
diff --git a/files/zh-cn/web/api/htmldialogelement/index.html b/files/zh-cn/web/api/htmldialogelement/index.html
index 95a1784e3a..baf2240b9a 100644
--- a/files/zh-cn/web/api/htmldialogelement/index.html
+++ b/files/zh-cn/web/api/htmldialogelement/index.html
@@ -176,69 +176,7 @@ translation_of: Web/API/HTMLDialogElement
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>37</td>
- <td>{{CompatNo()}} {{bug(840640)}}</td>
- <td>{{CompatNo()}}</td>
- <td>24</td>
- <td>{{CompatNo()}}</td>
- </tr>
- <tr>
- <td>Anchor points</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatNo()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatNo()}}</td>
- </tr>
- <tr>
- <td>Anchor points</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatNo()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLDialogElement")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlelement/hidden/index.html b/files/zh-cn/web/api/htmlelement/hidden/index.html
index 5fd6033dc5..91dc361566 100644
--- a/files/zh-cn/web/api/htmlelement/hidden/index.html
+++ b/files/zh-cn/web/api/htmlelement/hidden/index.html
@@ -134,59 +134,7 @@ h1 {
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("2") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("2") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLElement.hidden")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/htmlelement/index.html b/files/zh-cn/web/api/htmlelement/index.html
index 3566048a05..7c1bc67d85 100644
--- a/files/zh-cn/web/api/htmlelement/index.html
+++ b/files/zh-cn/web/api/htmlelement/index.html
@@ -282,216 +282,7 @@ translation_of: Web/API/HTMLElement
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.accessKey", "accessKey")}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}</td>
- <td>17.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}(<a class="external" href="http://trac.webkit.org/changeset/107483">535.10</a>)</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.accessKeyLabel", "accessKeyLabel")}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}{{WebkitBug(72715)}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.blur()", "blur()")}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.click()", "click()")}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}(<a class="external" href="http://trac.webkit.org/changeset/107483">535.24</a>)</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.dataset", "dataset")}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>9.0</td>
- <td>{{CompatUnknown}}</td>
- <td>11.10</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.focus()", "focus()")}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.contentEditable", "contentEditable")}}</td>
- <td>{{CompatGeckoDesktop("1.9")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>5.5</td>
- <td>9</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.spellcheck", "spellcheck")}}</td>
- <td>{{CompatGeckoDesktop("1.8.1")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.forceSpellCheck", "forceSpellCheck()")}} {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.dataset", "dataset")}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>8.0</td>
- <td>11</td>
- <td>11.10</td>
- <td>6</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.draggable", "draggable")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>12.0</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.dropzone", "dropzone")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>12.0</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.offsetLeft", "offsetLeft")}}, {{domxref("HTMLElement.offsetTop", "offsetTop")}}, {{domxref("HTMLElement.offsetParent", "offsetParent")}}, {{domxref("HTMLElement.offsetHeight", "offsetHeight")}} and {{domxref("HTMLElement.offsetWidth", "offsetWidth")}} {{experimental_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.translate", "translate")}} {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.itemScope", "itemScope")}}, {{domxref("HTMLElement.itemType", "itemType")}}, {{domxref("HTMLElement.itemRef", "itemRef")}}, {{domxref("HTMLElement.itemId", "itemId")}}, {{domxref("HTMLElement.itemProp", "itemProp")}}, and {{domxref("HTMLElement.itemValue", "itemValue")}} {{experimental_inline}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>11.60<br>
- (Removed in Opera 15)</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.properties", "properties")}} {{experimental_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.ontouchstart")}}, {{domxref("HTMLElement.ontouchend")}}, {{domxref("HTMLElement.ontouchmove")}}, {{domxref("HTMLElement.ontouchenter")}}, {{domxref("HTMLElement.ontouchleave")}}, and {{domxref("HTMLElement.ontouchcancel")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p>{{CompatGeckoMobile("1.0")}}</p>
- </td>
- <td rowspan="7">{{CompatUnknown}}</td>
- <td rowspan="7">{{CompatUnknown}}</td>
- <td rowspan="7">{{CompatUnknown}}</td>
- <td rowspan="7">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.accessKey", "accessKey")}}</td>
- <td>{{CompatGeckoMobile("5.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.accessKeyLabel", "accessKeyLabel")}}</td>
- <td>{{CompatGeckoMobile("8.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.blur()", "blur()")}}</td>
- <td>{{CompatGeckoMobile("5.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.click()", "click()")}}</td>
- <td>{{CompatGeckoMobile("5.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.dataset", "dataset")}}</td>
- <td>{{CompatGeckoMobile("6.0")}}</td>
- </tr>
- <tr>
- <td>{{domxref("HTMLElement.focus()", "focus()")}}</td>
- <td>{{CompatGeckoMobile("5.0")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLElement")}}
<h2 id="sect1"> </h2>
diff --git a/files/zh-cn/web/api/htmlelement/iscontenteditable/index.html b/files/zh-cn/web/api/htmlelement/iscontenteditable/index.html
index e5ccd8ee7e..7195d49a90 100644
--- a/files/zh-cn/web/api/htmlelement/iscontenteditable/index.html
+++ b/files/zh-cn/web/api/htmlelement/iscontenteditable/index.html
@@ -47,55 +47,7 @@ translation_of: Web/API/HTMLElement/isContentEditable
<h2 id="浏览器兼容性" style="margin-bottom: 20px; font-size: 2.14285714285714rem;">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table" style="border-color: transparent;">
- <tbody>
- <tr>
- <th style="line-height: 16px;">Feature</th>
- <th style="line-height: 16px;">Chrome</th>
- <th style="line-height: 16px;">Firefox (Gecko)</th>
- <th style="line-height: 16px;">Internet Explorer</th>
- <th style="line-height: 16px;">Opera</th>
- <th style="line-height: 16px;">Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("2") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table" style="border-color: transparent;">
- <tbody>
- <tr>
- <th style="line-height: 16px;">Feature</th>
- <th style="line-height: 16px;">Android</th>
- <th style="line-height: 16px;">Chrome for Android</th>
- <th style="line-height: 16px;">Firefox Mobile (Gecko)</th>
- <th style="line-height: 16px;">IE Mobile</th>
- <th style="line-height: 16px;">Opera Mobile</th>
- <th style="line-height: 16px;">Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoMobile("2") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLElement.isContentEditable")}}
<h2 id="相关链接" style="margin-bottom: 20px; font-size: 2.14285714285714rem;">相关链接</h2>
diff --git a/files/zh-cn/web/api/htmlelement/offsetleft/index.html b/files/zh-cn/web/api/htmlelement/offsetleft/index.html
index 917e5e1797..1326fadba2 100644
--- a/files/zh-cn/web/api/htmlelement/offsetleft/index.html
+++ b/files/zh-cn/web/api/htmlelement/offsetleft/index.html
@@ -83,63 +83,7 @@ if (tOLeft &gt; 5) {
<h2 id="Compatibility" name="Compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>根据规范,如果元素被隐藏(此元素的 style.display 或任何祖先为“none”),或者如果元素本身的 style.position 设置为“fixed”,则此属性将在Webkit上返回null 。</p>
-
-<p>在 Internet Explorer (9) 上如果元素的 <code>style.position</code> 是 <code>"fixed",则该属性为 null </code>(样式 <code>display:none</code> 不会影响。)</p>
+{{Compat("api.HTMLElement.offsetLeft")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/htmlelement/outertext/index.html b/files/zh-cn/web/api/htmlelement/outertext/index.html
index a3aaef6263..c6522f63ac 100644
--- a/files/zh-cn/web/api/htmlelement/outertext/index.html
+++ b/files/zh-cn/web/api/htmlelement/outertext/index.html
@@ -25,59 +25,7 @@ translation_of: Web/API/HTMLElement/outerText
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Microsoft Edge</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLElement.outerText")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/htmlelement/title/index.html b/files/zh-cn/web/api/htmlelement/title/index.html
index 340c56ef74..93b734b03d 100644
--- a/files/zh-cn/web/api/htmlelement/title/index.html
+++ b/files/zh-cn/web/api/htmlelement/title/index.html
@@ -24,53 +24,4 @@ link.title = '维基百科上对葡萄的描述';</code></pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLElement.title")}}
diff --git a/files/zh-cn/web/api/htmlelement/transitionend_event/index.html b/files/zh-cn/web/api/htmlelement/transitionend_event/index.html
index a89b39de86..145d16fcce 100644
--- a/files/zh-cn/web/api/htmlelement/transitionend_event/index.html
+++ b/files/zh-cn/web/api/htmlelement/transitionend_event/index.html
@@ -66,64 +66,7 @@ element.addEventListener("transitionend", showMessage, false);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0<sup>[1]</sup><br>
- 36</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>10</td>
- <td>10.5<sup>[2]</sup><br>
- 12<br>
- 12.10<br>
- 23</td>
- <td>3.2<sup>[1]</sup><br>
- 7.0.6</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>10<sup>[2]</sup><br>
- 12<br>
- 12.10</td>
- <td>3.2<sup>[1]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在 Chrome 1.0, Android 2.1 与 WebKit 3.2 上实现 <code>webkitTransitionEnd</code>. Chrome 36 与 WebKit 7.0.6 上请使用标准事件 <code>transitionend</code>.</p>
-
-<p>[2] 在 Opera 10.5 上实现<code>oTransitionEnd</code>,从版本12开始实现 <code>otransitionend,</code> 从版本12.10开始实现 <code>transitionend.</code></p>
+{{Compat("api.HTMLElement.transitionend_event")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/htmlformelement/index.html b/files/zh-cn/web/api/htmlformelement/index.html
index e1ae86c048..a0010207fc 100644
--- a/files/zh-cn/web/api/htmlformelement/index.html
+++ b/files/zh-cn/web/api/htmlformelement/index.html
@@ -211,53 +211,7 @@ function popupSend (oFormElement) {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLFormElement")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlheadelement/index.html b/files/zh-cn/web/api/htmlheadelement/index.html
index 62a6b83845..079f3c42b4 100644
--- a/files/zh-cn/web/api/htmlheadelement/index.html
+++ b/files/zh-cn/web/api/htmlheadelement/index.html
@@ -62,71 +62,7 @@ translation_of: Web/API/HTMLHeadElement
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>profile</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}<br>
- {{CompatNo}} 7.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>profile</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}<br>
- {{CompatNo}} 7.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLHeadElement")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/htmlhtmlelement/index.html b/files/zh-cn/web/api/htmlhtmlelement/index.html
index 41657f89c0..00cda50fe0 100644
--- a/files/zh-cn/web/api/htmlhtmlelement/index.html
+++ b/files/zh-cn/web/api/htmlhtmlelement/index.html
@@ -68,53 +68,7 @@ translation_of: Web/API/HTMLHtmlElement
<h2 id="浏览器兼容性"><span class="short_text" id="result_box" lang="zh-CN"><span>浏览器兼容性</span></span></h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLHtmlElement")}}
<h2 id="还可以看看">还可以看看</h2>
diff --git a/files/zh-cn/web/api/htmliframeelement/index.html b/files/zh-cn/web/api/htmliframeelement/index.html
index 7de15e07df..b88291b452 100644
--- a/files/zh-cn/web/api/htmliframeelement/index.html
+++ b/files/zh-cn/web/api/htmliframeelement/index.html
@@ -211,193 +211,7 @@ translation_of: Web/API/HTMLIFrameElement
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>srcdoc</code></td>
- <td>4</td>
- <td>{{CompatGeckoDesktop(25)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>sandbox</code></td>
- <td>4</td>
- <td>{{CompatGeckoDesktop(17)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>contentDocument</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>8.0<sup>[3]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>contentWindow</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>allowFullScreen</code> {{experimental_inline}}</td>
- <td>17 {{property_prefix("-webkit")}}<sup>[4]</sup></td>
- <td>{{CompatGeckoDesktop(9.0)}} {{property_prefix("-moz")}}<br>
- {{CompatGeckoDesktop(18.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>referrerPolicy</code> {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{compatGeckoDesktop(50)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Browser API methods</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}<sup>[5]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1.0)}}</td>
- <td>1.0.1</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>srcdoc</code></td>
- <td>4</td>
- <td>{{CompatGeckoMobile(25)}}</td>
- <td>1.1</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>sandbox</code></td>
- <td>4</td>
- <td>{{CompatGeckoMobile(17)}}<sup>[1]</sup></td>
- <td>1.0.1</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>seamless</code> {{experimental_inline}}</td>
- <td>4</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>contentDocument</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>1.0.1</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>contentWindow</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>1.0.1</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>allowFullScreen</code> {{experimental_inline}}</td>
- <td>17 {{property_prefix("-webkit")}}<sup>[4]</sup></td>
- <td>{{CompatGeckoMobile(9.0)}} {{property_prefix("-moz")}}<br>
- {{CompatGeckoMobile(18.0)}}</td>
- <td>1.0.1</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>referrerPolicy</code> {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{compatGeckoMobile(50)}}</td>
- <td>2.5</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Browser API methods</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>1.0.1<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] Previously, the type of <code>sandbox</code> was a {{domxref("DOMString")}} instead of a {{domxref("DOMSettableTokenList")}}. This has been fixed with <a href="/en-US/Firefox/Releases/29/Site_Compatibility">Gecko 29.0</a> {{geckoRelease(29)}}) ({{bug(845067)}}). Other browsers may still implement the property as <code>DOMString</code> since it was a late change in the specification.</li>
- <li>[2] Requires privileged app, and <code>browser</code> and/or <code>embed-apps</code> permissions, depending on what you want to do. See <a href="/en-US/docs/Web/API/Using_the_Browser_API#The_manifest.webapp">Using the Browser API</a> for more details. Most of the proprietary Browser API methods are supported from Firefox OS 1.0.1 onwards; they are marked where this is not the case.</li>
- <li>[3] For older version use <code>HTMLIFrameElement.contentWindow.document</code> instead.</li>
- <li>[4] Daily test builds only.</li>
- <li>[5] Supported in chrome code only.</li>
-</ul>
+{{Compat("api.HTMLIFrameElement")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlimageelement/image/index.html b/files/zh-cn/web/api/htmlimageelement/image/index.html
index e4e73b99f9..4056872c3a 100644
--- a/files/zh-cn/web/api/htmlimageelement/image/index.html
+++ b/files/zh-cn/web/api/htmlimageelement/image/index.html
@@ -58,54 +58,4 @@ document.body.appendChild(myImage);</pre>
<h2 id="兼容性">兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>支持情况</td>
- <td>{{compatversionunknown}}</td>
- <td>{{compatversionunknown}}</td>
- <td>{{compatversionunknown}}</td>
- <td>{{compatversionunknown}}</td>
- <td>{{compatversionunknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>支持情况</td>
- <td>{{compatversionunknown}}</td>
- <td>{{compatversionunknown}}</td>
- <td>{{compatversionunknown}}</td>
- <td>{{compatversionunknown}}</td>
- <td>{{compatversionunknown}}</td>
- <td>{{compatversionunknown}}</td>
- <td>{{compatversionunknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLImageElement.Image")}}
diff --git a/files/zh-cn/web/api/htmlimageelement/referrerpolicy/index.html b/files/zh-cn/web/api/htmlimageelement/referrerpolicy/index.html
index c670d136f3..8e34dfaa41 100644
--- a/files/zh-cn/web/api/htmlimageelement/referrerpolicy/index.html
+++ b/files/zh-cn/web/api/htmlimageelement/referrerpolicy/index.html
@@ -59,59 +59,7 @@ div.appendChild(img); // Fetch the image using the origin as the referrer
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("51")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("50.0")}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera("38")}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("51")}}</td>
- <td>{{CompatChrome("51")}}</td>
- <td>{{CompatGeckoMobile("50.0")}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 从火狐45到50,这都是在network.http.enableperelementerfer首选项之后。从火狐42到44,这个属性被称为referer。</p>
+{{Compat("api.HTMLImageElement.referrerPolicy")}}
<h2 id="相关">相关</h2>
diff --git a/files/zh-cn/web/api/htmlinputelement/index.html b/files/zh-cn/web/api/htmlinputelement/index.html
index 77ad4ed2c7..50aff415ab 100644
--- a/files/zh-cn/web/api/htmlinputelement/index.html
+++ b/files/zh-cn/web/api/htmlinputelement/index.html
@@ -404,242 +404,7 @@ translation_of: Web/API/HTMLInputElement
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>autocomplete &amp; autofocus properties</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>files property</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.9)}}<sup>[2]</sup></td>
- <td>10</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>multiple property</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>indeterminate property</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>list property</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>formAction, formEncType, formMethod, formTarget properties</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(2)}}<sup>[3]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>formNoValidate, validationMessage, validity, willValidate properties and setCustomValidity() and checkValidity() methods.</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(2)}}</td>
- <td>10</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>pattern, placeholder, required properties</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(2)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>height and weight properties</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(16)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>labels</code> property</td>
- <td>{{CompatChrome(14.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("56")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>min, max, and step for &lt;input type="number"&gt;</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>Experimental, and without specific UI, since {{CompatGeckoDesktop(16)}}: behind the pref dom.experimental_forms</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>stepUp and stepDown methods</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>Experimental since {{CompatGeckoDesktop(16)}}: behind the pref dom.experimental_forms<br>
- <br>
- There are still differences with the latest spec: {{bug(835773)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>min, max, and step properties for &lt;input type="range"&gt;</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(23)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>min, max, and step properties for &lt;input type="date"&gt;</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>Experimental, and without specific UI, since {{CompatGeckoDesktop(20)}}: behind the pref dom.experimental_forms</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>min, max, and step properties for other date-related type values</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>mozGetFileNameArray() and mozSetFileNameArray() methods {{non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>mozSetFileArray() method {{non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("38")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>autocapitalize</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1.0)}}<sup>[3]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>autocapitalize</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td><span style="font-size: 12px; line-height: 16.3636360168457px;">{{CompatUnknown}}</span></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(43.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Implemented in {{bug("556743")}}.</p>
-
-<p>[2] The <code>files</code> property was made settable in Firefox 57 ({{bug(1384030)}}).</p>
-
-<p>[3] In Firefox 56, the implementation has been updated so that the <code>formAction</code> property returns the correct form submission URL, as per spec, when the associated <code>&lt;input&gt;</code> is being used to submit a form ({{bug(1366361)}}).</p>
+{{Compat("api.HTMLInputElement")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/htmllabelelement/index.html b/files/zh-cn/web/api/htmllabelelement/index.html
index e1be5ef609..d5f0c4a75e 100644
--- a/files/zh-cn/web/api/htmllabelelement/index.html
+++ b/files/zh-cn/web/api/htmllabelelement/index.html
@@ -82,53 +82,7 @@ translation_of: Web/API/HTMLLabelElement
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLLabelElement")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlmediaelement/audiotracks/index.html b/files/zh-cn/web/api/htmlmediaelement/audiotracks/index.html
index 59dba0a968..28e40ed346 100644
--- a/files/zh-cn/web/api/htmlmediaelement/audiotracks/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/audiotracks/index.html
@@ -53,55 +53,7 @@ alert(<code>myVid.audioTracks</code>.length);</pre>
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td><code>audioTracks</code> property</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("33.0")}}[5]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td><code>audioTracks</code> property</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("33.0")}}[5]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLMediaElement.audioTracks")}}
<h2 id="See_Also" name="See_Also">还可以看看</h2>
diff --git a/files/zh-cn/web/api/htmlmediaelement/autoplay/index.html b/files/zh-cn/web/api/htmlmediaelement/autoplay/index.html
index 0da3afbc2c..25f28b0743 100644
--- a/files/zh-cn/web/api/htmlmediaelement/autoplay/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/autoplay/index.html
@@ -53,55 +53,7 @@ translation_of: Web/API/HTMLMediaElement/autoplay
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}} [1]</td>
- <td>{{CompatIE("9")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLMediaElement.autoplay")}}
<h2 id="See_Also" name="See_Also">看看这里</h2>
diff --git a/files/zh-cn/web/api/htmlmediaelement/buffered/index.html b/files/zh-cn/web/api/htmlmediaelement/buffered/index.html
index 69df5e6584..27d5a11128 100644
--- a/files/zh-cn/web/api/htmlmediaelement/buffered/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/buffered/index.html
@@ -54,55 +54,7 @@ console.log(obj.buffered.end(0));//第一个缓存结束的区域</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td><code>buffered</code> property</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>{{CompatIE("9")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td><code>buffered</code> property</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLMediaElement.buffered")}}
<h2 id="See_Also" name="See_Also"><font><font>也可以看看</font></font></h2>
diff --git a/files/zh-cn/web/api/htmlmediaelement/controls/index.html b/files/zh-cn/web/api/htmlmediaelement/controls/index.html
index eaabad02c1..66399fc15f 100644
--- a/files/zh-cn/web/api/htmlmediaelement/controls/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/controls/index.html
@@ -46,55 +46,7 @@ obj.controls = true;
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}} [1]</td>
- <td>{{CompatIE("9")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLMediaElement.controls")}}
<h2 id="See_Also" name="See_Also">产考文档</h2>
diff --git a/files/zh-cn/web/api/htmlmediaelement/currenttime/index.html b/files/zh-cn/web/api/htmlmediaelement/currenttime/index.html
index aeed937312..17f094d111 100644
--- a/files/zh-cn/web/api/htmlmediaelement/currenttime/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/currenttime/index.html
@@ -56,59 +56,7 @@ console.log(obj.currentTime);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}} [1]</td>
- <td>{{CompatIE("9")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLMediaElement.currentTime")}}
<h2 id="See_Also" name="See_Also">相关链接</h2>
diff --git a/files/zh-cn/web/api/htmlmediaelement/loop/index.html b/files/zh-cn/web/api/htmlmediaelement/loop/index.html
index f53af6a025..65069a3c55 100644
--- a/files/zh-cn/web/api/htmlmediaelement/loop/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/loop/index.html
@@ -55,59 +55,7 @@ obj.loop = true; // true
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td><code>loop</code> property</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("11.0")}}</td>
- <td>{{CompatIE("9")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td><code>loop</code> property</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("11.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLMediaElement.loop")}}
<h2 id="See_Also" name="See_Also">相关链接</h2>
diff --git a/files/zh-cn/web/api/htmlmediaelement/networkstate/index.html b/files/zh-cn/web/api/htmlmediaelement/networkstate/index.html
index 09164c8b35..bdde17ea11 100644
--- a/files/zh-cn/web/api/htmlmediaelement/networkstate/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/networkstate/index.html
@@ -98,61 +98,7 @@ obj.addEventListener('playing', function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}} [1]</td>
- <td>{{CompatIE("9")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1]  <code>NETWORK_LOADED</code> 已被移除以与Gecko 2.0的HTML规范一致。{{geckoRelease(2)}}. </p>
+{{Compat("api.HTMLMediaElement.networkState")}}
<h2 id="See_Also" name="See_Also">另见</h2>
diff --git a/files/zh-cn/web/api/htmlmediaelement/paused/index.html b/files/zh-cn/web/api/htmlmediaelement/paused/index.html
index 3830dc9a7f..4edb829641 100644
--- a/files/zh-cn/web/api/htmlmediaelement/paused/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/paused/index.html
@@ -47,55 +47,7 @@ console.log(obj.paused); // true
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}} [1]</td>
- <td>{{CompatIE("9")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLMediaElement.paused")}}
<h2 id="See_Also" name="See_Also">参考文档</h2>
diff --git a/files/zh-cn/web/api/htmlmediaelement/readystate/index.html b/files/zh-cn/web/api/htmlmediaelement/readystate/index.html
index 845b06d2aa..b197dee26c 100644
--- a/files/zh-cn/web/api/htmlmediaelement/readystate/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/readystate/index.html
@@ -99,57 +99,7 @@ obj.addEventListener('loadeddata', function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}} [1]</td>
- <td>{{CompatIE("9")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] The <code>NETWORK_LOADED</code> state was removed to align with the HTML spec in Gecko 2.0 {{geckoRelease(2)}}. </p>
+{{Compat("api.HTMLMediaElement.readyState")}}
<h2 id="See_Also" name="See_Also">你或许还可以看看</h2>
diff --git a/files/zh-cn/web/api/htmlmediaelement/srcobject/index.html b/files/zh-cn/web/api/htmlmediaelement/srcobject/index.html
index 9377ebf1a9..7f2cf348df 100644
--- a/files/zh-cn/web/api/htmlmediaelement/srcobject/index.html
+++ b/files/zh-cn/web/api/htmlmediaelement/srcobject/index.html
@@ -42,61 +42,4 @@ translation_of: Web/API/HTMLMediaElement/srcObject
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(52.0)}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop("18.0")}}<sup>[1][2]</sup><br>
- {{CompatGeckoDesktop("42.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>39<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(52.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>39</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(52.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 目前只有 {domxref("MediaStream")}} 对象是支持的。 {domxref("MediaSource")}} , {{domxref("Blob")}} 和 {{domxref("File")}} 对象尚待支持,并会抛出一个类型错误(TypeError)。</p>
-
-<p>[2] Firefox 的早期版本通过非标准化的名称 <code>mozSrcObject 来实现。</code></p>
+{{Compat("api.HTMLMediaElement.srcObject")}}
diff --git a/files/zh-cn/web/api/htmlprogresselement/index.html b/files/zh-cn/web/api/htmlprogresselement/index.html
index ad500629a1..073a05a77a 100644
--- a/files/zh-cn/web/api/htmlprogresselement/index.html
+++ b/files/zh-cn/web/api/htmlprogresselement/index.html
@@ -57,77 +57,7 @@ translation_of: Web/API/HTMLProgressElement
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- </tr>
- <tr>
- <td><code>labels</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(56)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- </tr>
- <tr>
- <td><code>labels</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(56)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Implemented in {{bug(556743)}}.</p>
+{{Compat("api.HTMLProgressElement")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlscriptelement/index.html b/files/zh-cn/web/api/htmlscriptelement/index.html
index c9b85d01e8..284448acc4 100644
--- a/files/zh-cn/web/api/htmlscriptelement/index.html
+++ b/files/zh-cn/web/api/htmlscriptelement/index.html
@@ -168,110 +168,7 @@ importScript("myScript2.js", /* onload function: */ function () { alert("You rea
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>async</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}</td>
- <td>10</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>defer</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>
- <p>4 (follows a spec of its own)</p>
-
- <p>10 (by the spec)</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>crossOrigin</code> {{experimental_inline}}</td>
- <td>{{WebKitBug(81438)}}</td>
- <td>{{CompatGeckoDesktop("13")}} {{bug(696301)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{WebKitBug(81438)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>async</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>defer</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>crossOrigin</code> {{experimental_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Gecko-specific_notes">Gecko-specific notes</h3>
-
-<p>  从Gecko2.0 { { geckoRelease(" 2.0 ")} },插入脚本创建的元素通过调用document.createElement(“脚本”)到DOM不再强制执行插入顺序。这种变化让Gecko正确遵守HTML5规范。让script-inserted外部脚本执行的插入顺序,设置异步属性为false。<br>
-   </p>
+{{Compat("api.HTMLScriptElement")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlselectelement/checkvalidity/index.html b/files/zh-cn/web/api/htmlselectelement/checkvalidity/index.html
index c413681dd4..b2840ec1c5 100644
--- a/files/zh-cn/web/api/htmlselectelement/checkvalidity/index.html
+++ b/files/zh-cn/web/api/htmlselectelement/checkvalidity/index.html
@@ -35,61 +35,7 @@ translation_of: Web/API/HTMLSelectElement/checkValidity
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(2.0)}}</td>
- <td>10</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(2.0)}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLSelectElement.checkValidity")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/htmlselectelement/setcustomvalidity/index.html b/files/zh-cn/web/api/htmlselectelement/setcustomvalidity/index.html
index 52d5de0e15..50ec695a7e 100644
--- a/files/zh-cn/web/api/htmlselectelement/setcustomvalidity/index.html
+++ b/files/zh-cn/web/api/htmlselectelement/setcustomvalidity/index.html
@@ -45,63 +45,7 @@ translation_of: Web/API/HTMLSelectElement/setCustomValidity
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Edge</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(2.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(2.0)}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLSelectElement.setCustomValidity")}}
<h2 id="查看更多">查看更多</h2>
diff --git a/files/zh-cn/web/api/htmlslotelement/index.html b/files/zh-cn/web/api/htmlslotelement/index.html
index 9bbbe28197..180dd1b6b8 100644
--- a/files/zh-cn/web/api/htmlslotelement/index.html
+++ b/files/zh-cn/web/api/htmlslotelement/index.html
@@ -48,56 +48,4 @@ translation_of: Web/API/HTMLSlotElement
<h2 id="浏览器的兼容性">浏览器的兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(53.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLSlotElement")}}
diff --git a/files/zh-cn/web/api/htmlunknownelement/index.html b/files/zh-cn/web/api/htmlunknownelement/index.html
index 592a0ff064..780ce662c0 100644
--- a/files/zh-cn/web/api/htmlunknownelement/index.html
+++ b/files/zh-cn/web/api/htmlunknownelement/index.html
@@ -43,57 +43,7 @@ translation_of: Web/API/HTMLUnknownElement
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.HTMLUnknownElement")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/api/htmlvideoelement/index.html b/files/zh-cn/web/api/htmlvideoelement/index.html
index 506d1655b8..f7047e3470 100644
--- a/files/zh-cn/web/api/htmlvideoelement/index.html
+++ b/files/zh-cn/web/api/htmlvideoelement/index.html
@@ -91,103 +91,7 @@ translation_of: Web/API/HTMLVideoElement
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>9.0</td>
- <td>10.50</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>mozParsedFrames mozDecodedFrames mozPresentedFrames mozPaintedFrames mozFrameDelay</code> {{non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mozHasAudio</code> {{non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("15.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>getVideoPlaybackQuality()</code>{{experimental_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop("25.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>mozParsedFrames mozDecodedFrames mozPresentedFrames mozPaintedFrames mozFrameDelay</code> {{non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("5.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mozHasAudio</code> {{non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("15.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>getVideoPlaybackQuality()</code>{{experimental_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("25.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Gecko 的实现要求打开 <code>media.mediasource.enabled</code> 选项,默认值是<code>false</code>.</p>
+{{Compat("api.HTMLVideoElement")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/idbcursor/direction/index.html b/files/zh-cn/web/api/idbcursor/direction/index.html
index 0c7f2b6204..00ca2da3fa 100644
--- a/files/zh-cn/web/api/idbcursor/direction/index.html
+++ b/files/zh-cn/web/api/idbcursor/direction/index.html
@@ -88,55 +88,8 @@ translation_of: Web/API/IDBCursor/direction
</table>
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
<div>
- {{CompatibilityTable}}</div>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>23{{property_prefix("webkit")}}<br>
- 24</td>
- <td>10 {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</td>
- <td>10, partial</td>
- <td>15</td>
- <td>7.1</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>{{CompatGeckoMobile("22.0")}}</td>
- <td>1.0.1</td>
- <td>10</td>
- <td>22</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.IDBCursor.direction")}}
+
<h2 id="sect1"> </h2>
<h2 id="参考资料">参考资料</h2>
<ul>
diff --git a/files/zh-cn/web/api/idbcursor/index.html b/files/zh-cn/web/api/idbcursor/index.html
index 7c0d2e67cf..8e4fbefbda 100644
--- a/files/zh-cn/web/api/idbcursor/index.html
+++ b/files/zh-cn/web/api/idbcursor/index.html
@@ -96,57 +96,7 @@ translation_of: Web/API/IDBCursor
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>23{{property_prefix("webkit")}}<br>
- 24</td>
- <td>10 {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</td>
- <td>10, partial</td>
- <td>15</td>
- <td>7.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>{{CompatGeckoMobile("22.0")}}</td>
- <td>1.0.1</td>
- <td>10</td>
- <td>22</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.IDBCursor")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/idbcursor/key/index.html b/files/zh-cn/web/api/idbcursor/key/index.html
index 573890a7fa..1a20f28dc4 100644
--- a/files/zh-cn/web/api/idbcursor/key/index.html
+++ b/files/zh-cn/web/api/idbcursor/key/index.html
@@ -68,118 +68,7 @@ translation_of: Web/API/IDBCursor/key
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>23{{property_prefix("webkit")}}<br>
- 24</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10 {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</td>
- <td>10, partial</td>
- <td>15</td>
- <td>7.1</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("37.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Binary keys</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("51.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Indexed Database 2.0</td>
- <td>{{CompatChrome(58)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(45)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("22.0")}}</td>
- <td>10</td>
- <td>22</td>
- <td>8</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("37.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Binary keys</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("51.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Indexed Database 2.0</td>
- <td>{{CompatChrome(58)}}</td>
- <td>{{CompatChrome(58)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(45)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.IDBCursor.key")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/idbdatabase/index.html b/files/zh-cn/web/api/idbdatabase/index.html
index 1bf1663f7b..2b09f8d9ad 100644
--- a/files/zh-cn/web/api/idbdatabase/index.html
+++ b/files/zh-cn/web/api/idbdatabase/index.html
@@ -137,78 +137,7 @@ translation_of: Web/API/IDBDatabase
<h2 id="Browser_compatibility" name="Browser_compatibility"><font>浏览器兼容性</font></h2>
-<div><font>{{CompatibilityTable}}</font></div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th><font>Feature</font></th>
- <th><font>Chrome</font></th>
- <th><font>Firefox (Gecko)</font></th>
- <th><font>Internet Explorer</font></th>
- <th><font>Opera</font></th>
- <th><font>Safari (WebKit)</font></th>
- </tr>
- <tr>
- <td><font>Basic support</font></td>
- <td><font>23{{property_prefix("webkit")}}<br>
- 24</font></td>
- <td><font>10 {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</font></td>
- <td><font>10, partial</font></td>
- <td><font>15</font></td>
- <td><font>7.1</font></td>
- </tr>
- <tr>
- <td><font>Available in workers</font></td>
- <td><font>{{CompatVersionUnknown}}</font></td>
- <td><font>{{CompatGeckoMobile("37.0")}}</font></td>
- <td><font>{{CompatUnknown}}</font></td>
- <td><font>{{CompatVersionUnknown}}</font></td>
- <td><font>{{CompatUnknown}}</font></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th><font>Feature</font></th>
- <th><font>Android</font></th>
- <th><font>Firefox Mobile (Gecko)</font></th>
- <th><font>Firefox OS</font></th>
- <th><font>IE Phone</font></th>
- <th><font>Opera Mobile</font></th>
- <th><font>Safari Mobile</font></th>
- </tr>
- <tr>
- <td><font>Basic support</font></td>
- <td><font>4.4</font></td>
- <td><font>{{CompatGeckoMobile("22.0")}}</font></td>
- <td><font>1.0.1</font></td>
- <td><font>10</font></td>
- <td><font>22</font></td>
- <td><font>8</font></td>
- </tr>
- <tr>
- <td><font>Available in workers</font></td>
- <td><font>{{CompatVersionUnknown}}</font></td>
- <td><font>{{CompatGeckoMobile("37.0")}}</font></td>
- <td><font>{{CompatVersionUnknown}}</font></td>
- <td><font>{{CompatUnknown}}</font></td>
- <td><font>{{CompatVersionUnknown}}</font></td>
- <td><font>{{CompatUnknown}}</font></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div class="warning">
-<p><font>Be careful in Chrome as it still implements the old specification along with the new one. Similarly it still has the prefixed <code>webkitIndexedDB</code> property even if the unprefixed <code>indexedDB</code> is present.</font></p>
-</div>
+{{Compat("api.IDBDatabase")}}
<h2 id="See_also"><font>See also</font></h2>
diff --git a/files/zh-cn/web/api/idbfactory/index.html b/files/zh-cn/web/api/idbfactory/index.html
index d17304647b..57d23ec08c 100644
--- a/files/zh-cn/web/api/idbfactory/index.html
+++ b/files/zh-cn/web/api/idbfactory/index.html
@@ -74,61 +74,7 @@ DBOpenRequest.onsuccess = function(event) {
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>23{{property_prefix("webkit")}}<br>
- 24</td>
- <td>10 {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</td>
- <td>10, partial</td>
- <td>15</td>
- <td>7.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>{{CompatGeckoMobile("22.0")}}</td>
- <td>1.0.1</td>
- <td>10</td>
- <td>22</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div class="warning">
-<p>Be careful in Chrome as it still implements the old specification along with the new one. Similarly it still has the prefixed <code>webkitIndexedDB</code> property even if the unprefixed <code>indexedDB</code> is present.</p>
-</div>
+{{Compat("api.IDBFactory")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/idbindex/index.html b/files/zh-cn/web/api/idbindex/index.html
index cb32afc0c0..3111773787 100644
--- a/files/zh-cn/web/api/idbindex/index.html
+++ b/files/zh-cn/web/api/idbindex/index.html
@@ -110,97 +110,7 @@ request.onsuccess = function(event) {
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>12{{ property_prefix("-webkit") }}<br>
- 23</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>10</td>
- <td>17</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>count()</code></td>
- <td>23</td>
- <td>{{ CompatGeckoDesktop("10.0") }}</td>
- <td>10</td>
- <td>17</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>getAll()</code> and <code>getAllKeys()</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoDesktop("24.0") }}<br>
- behind <code>dom.indexedDB.experimental</code>  pref</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>1.0.1</td>
- <td>10</td>
- <td>17</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>count()</code></td>
- <td>4.4</td>
- <td>{{ CompatGeckoMobile("10.0") }}</td>
- <td>1.0.1</td>
- <td>10</td>
- <td>17</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>getAll()</code> and <code>getAllKeys()</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoDesktop("24.0") }}<br>
- behind <code>dom.indexedDB.experimental</code>  pref</td>
- <td>1.1 behind<br>
- <code>dom.indexedDB.experimental</code>  pref</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div class="warning">
-<p>Be careful in Chrome as it still implements the old specification along the new one. Similarly it still has the prefixed <code>webkitIndexedDB</code> property even if the unprefixed <code>indexedDB</code> is present.</p>
-</div>
+{{Compat("api.IDBIndex")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/idbobjectstore/opencursor/index.html b/files/zh-cn/web/api/idbobjectstore/opencursor/index.html
index 764582ad9a..72f4f7c5d1 100644
--- a/files/zh-cn/web/api/idbobjectstore/opencursor/index.html
+++ b/files/zh-cn/web/api/idbobjectstore/opencursor/index.html
@@ -106,57 +106,7 @@ request.onsuccess = function(event) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>23{{property_prefix("webkit")}}<br>
- 24</td>
- <td>10 {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</td>
- <td>10, partial</td>
- <td>15</td>
- <td>7.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>{{CompatGeckoMobile("22.0")}}</td>
- <td>1.0.1</td>
- <td>10</td>
- <td>22</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.IDBObjectStore.openCursor")}}
<h2 id="另请参阅">另请参阅</h2>
diff --git a/files/zh-cn/web/api/idbrequest/index.html b/files/zh-cn/web/api/idbrequest/index.html
index 9ce7a57e72..47e81fb300 100644
--- a/files/zh-cn/web/api/idbrequest/index.html
+++ b/files/zh-cn/web/api/idbrequest/index.html
@@ -179,52 +179,4 @@ request.onupgradeneeded= function(event) {
<h2 id="Browser_Compatibility" name="Browser_Compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>12 {{ property_prefix("-webkit") }}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("6.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+{{Compat("api.IDBRequest")}}
diff --git a/files/zh-cn/web/api/idbtransaction/index.html b/files/zh-cn/web/api/idbtransaction/index.html
index d1e5798e84..b929665ff6 100644
--- a/files/zh-cn/web/api/idbtransaction/index.html
+++ b/files/zh-cn/web/api/idbtransaction/index.html
@@ -209,61 +209,7 @@ function addData() {
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>23{{property_prefix("webkit")}}<br>
- 24</td>
- <td>10 {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</td>
- <td>10, partial</td>
- <td>15</td>
- <td>7.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>{{CompatGeckoMobile("22.0")}}</td>
- <td>1.0.1</td>
- <td>10</td>
- <td>22</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="issues" name="issues">Known browser issues</h3>
-
-<p>Older versions of Google Chrome serialise all transactions. So even if you have only read-only transactions and no read-write transaction, your transactions are executed one at a time. Any subsequent transactions are not executed until read-only transactions are completed. For the status, see <a href="http://code.google.com/p/chromium/issues/detail?id=64076">bug 64076</a>.</p>
+{{Compat("api.IDBTransaction")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/idledeadline/index.html b/files/zh-cn/web/api/idledeadline/index.html
index e988592759..9b38e1f288 100644
--- a/files/zh-cn/web/api/idledeadline/index.html
+++ b/files/zh-cn/web/api/idledeadline/index.html
@@ -51,61 +51,7 @@ translation_of: Web/API/IdleDeadline
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>47</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(53)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>34</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>53</td>
- <td>55</td>
- <td>{{CompatGeckoMobile(53)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>37</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Idle callback功能在Firefox 53版本中添加,但是默认处于未启用状态. 通过设置<code>dom.requestIdleCallback.enabled</code> 属性为true 来启用该功能。Idle callback功能在Firefox 55版本中默认启用。</p>
+{{Compat("api.IdleDeadline")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/imagebitmap/index.html b/files/zh-cn/web/api/imagebitmap/index.html
index 79e789620b..38f6921087 100644
--- a/files/zh-cn/web/api/imagebitmap/index.html
+++ b/files/zh-cn/web/api/imagebitmap/index.html
@@ -52,75 +52,7 @@ translation_of: Web/API/ImageBitmap
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(42)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>close()</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(46)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(42)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>close()</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(46)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.ImageBitmap")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/imagedata/data/index.html b/files/zh-cn/web/api/imagedata/data/index.html
index f311d324d7..18a64474df 100644
--- a/files/zh-cn/web/api/imagedata/data/index.html
+++ b/files/zh-cn/web/api/imagedata/data/index.html
@@ -37,53 +37,7 @@ imagedata.data; // Uint8ClampedArray[40000]
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("14")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("14")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.ImageData.data")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/imagedata/height/index.html b/files/zh-cn/web/api/imagedata/height/index.html
index 26f6ab2ea1..1f9b8e3843 100644
--- a/files/zh-cn/web/api/imagedata/height/index.html
+++ b/files/zh-cn/web/api/imagedata/height/index.html
@@ -37,53 +37,7 @@ imagedata.height; // 100
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("14")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("14")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.ImageData.height")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/imagedata/index.html b/files/zh-cn/web/api/imagedata/index.html
index ffb6aa3ba8..d5d73a8c38 100644
--- a/files/zh-cn/web/api/imagedata/index.html
+++ b/files/zh-cn/web/api/imagedata/index.html
@@ -47,13 +47,7 @@ translation_of: Web/API/ImageData
<h2 id="浏览器兼容性" style="margin-bottom: 20px; font-size: 2.14285714285714rem;">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div>
-
-
-<p>{{Compat("api.ImageData")}}</p>
-</div>
+{{Compat("api.ImageData")}}
<h2 id="参见" style="margin-bottom: 20px; font-size: 2.14285714285714rem;">参见</h2>
diff --git a/files/zh-cn/web/api/imagedata/width/index.html b/files/zh-cn/web/api/imagedata/width/index.html
index 2b164e3238..27521dfcbd 100644
--- a/files/zh-cn/web/api/imagedata/width/index.html
+++ b/files/zh-cn/web/api/imagedata/width/index.html
@@ -37,53 +37,7 @@ imagedata.width // 100
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("14")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("14")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.ImageData.width")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/indexeddb/index.html b/files/zh-cn/web/api/indexeddb/index.html
index baf7f0c1b9..81015fd45d 100644
--- a/files/zh-cn/web/api/indexeddb/index.html
+++ b/files/zh-cn/web/api/indexeddb/index.html
@@ -61,107 +61,7 @@ function openDB() {
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>23{{property_prefix("webkit")}}<br>
- 24</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10 {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}<br>
- {{CompatGeckoDesktop("52.0")}}<sup>[1]</sup></td>
- <td>10, partial</td>
- <td>15</td>
- <td>7.1</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("37.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Indexed Database 2.0</td>
- <td>{{CompatChrome(58)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(45)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("22.0")}}<br>
- {{CompatGeckoMobile("52.0")}}<sup>[1]</sup></td>
- <td>1.0.1</td>
- <td>10</td>
- <td>22</td>
- <td>8</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("37.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Indexed Database 2.0</td>
- <td>{{CompatChrome(58)}}</td>
- <td>{{CompatChrome(58)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(45)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] <code>indexedDB</code> 定义在 {{domxref("WindowOrWorkerGlobalScope")}} mixin(一种实现多继承的方法)上.</p>
+{{Compat("api.indexedDB")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/inputevent/iscomposing/index.html b/files/zh-cn/web/api/inputevent/iscomposing/index.html
index c427a7ba50..6731f1fb3b 100644
--- a/files/zh-cn/web/api/inputevent/iscomposing/index.html
+++ b/files/zh-cn/web/api/inputevent/iscomposing/index.html
@@ -40,53 +40,7 @@ console.log(inputEvent.isComposing); // return false
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoDesktop("31.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("31.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.InputEvent.isComposing")}}
<h2 class="note" id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/installevent/index.html b/files/zh-cn/web/api/installevent/index.html
index 8fcadb8f44..0e8e662994 100644
--- a/files/zh-cn/web/api/installevent/index.html
+++ b/files/zh-cn/web/api/installevent/index.html
@@ -87,59 +87,7 @@ console.log('Handling install event. Resources to pre-fetch:', urlsToPrefetch);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{CompatGeckoDesktop("44.0")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("44.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.InstallEvent")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/intersectionobserver/root/index.html b/files/zh-cn/web/api/intersectionobserver/root/index.html
index 33804dad62..bd73d84747 100644
--- a/files/zh-cn/web/api/intersectionobserver/root/index.html
+++ b/files/zh-cn/web/api/intersectionobserver/root/index.html
@@ -29,62 +29,4 @@ translation_of: Web/API/IntersectionObserver/root
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(51.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1]  实现于 <a href="https://developer.microsoft.com/en-us/microsoft-edge/platform/status/intersectionobserver/">Windows Insider Preview Build 14986</a>。</p>
-
-<p>[2] 实现于 {{geckoRelease("53.0")}},但默认处于关闭状态,需要打开<code>dom.IntersectionObserver.enabled。</code></p>
+{{Compat("api.IntersectionObserver.root")}}
diff --git a/files/zh-cn/web/api/issecurecontext/index.html b/files/zh-cn/web/api/issecurecontext/index.html
index 355b4dcde6..542d5ca412 100644
--- a/files/zh-cn/web/api/issecurecontext/index.html
+++ b/files/zh-cn/web/api/issecurecontext/index.html
@@ -44,55 +44,7 @@ original_slug: Web/API/WindowOrWorkerGlobalScope/isSecureContext
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(55)}}</td>
- <td>{{CompatGeckoDesktop(52)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(55)}}</td>
- <td>{{CompatChrome(55)}}</td>
- <td>{{CompatGeckoMobile(52)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.isSecureContext")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/keyboardevent/altkey/index.html b/files/zh-cn/web/api/keyboardevent/altkey/index.html
index 0987f3ea89..4d8dfcb99f 100644
--- a/files/zh-cn/web/api/keyboardevent/altkey/index.html
+++ b/files/zh-cn/web/api/keyboardevent/altkey/index.html
@@ -69,55 +69,7 @@ You can also use the SHIFT key together with the ALT key.
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">特性
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">特性
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.KeyboardEvent.altKey")}}
<h2 id="See_also" name="See_also">参考</h2>
diff --git a/files/zh-cn/web/api/keyboardevent/charcode/index.html b/files/zh-cn/web/api/keyboardevent/charcode/index.html
index fe6523a655..3e96299523 100644
--- a/files/zh-cn/web/api/keyboardevent/charcode/index.html
+++ b/files/zh-cn/web/api/keyboardevent/charcode/index.html
@@ -89,56 +89,4 @@ alert("Key Pressed: " + String.fromCharCode(e.charCode) + "\n"
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>26 (probably earlier)</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>3</td>
- <td>9</td>
- <td>12.1</td>
- <td>5.1 (probably earlier)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>5.1 (probably earlier)</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.KeyboardEvent.charCode")}}
diff --git a/files/zh-cn/web/api/keyboardevent/ctrlkey/index.html b/files/zh-cn/web/api/keyboardevent/ctrlkey/index.html
index 16d60aa08a..fd54d8fcf9 100644
--- a/files/zh-cn/web/api/keyboardevent/ctrlkey/index.html
+++ b/files/zh-cn/web/api/keyboardevent/ctrlkey/index.html
@@ -67,57 +67,7 @@ You can also use the SHIFT key together with the CTRL key.&lt;/p&gt;
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.KeyboardEvent.ctrlKey")}}
<h2 id="See_also" name="See_also">参考</h2>
diff --git a/files/zh-cn/web/api/keyboardevent/iscomposing/index.html b/files/zh-cn/web/api/keyboardevent/iscomposing/index.html
index a265d70461..1d61b65642 100644
--- a/files/zh-cn/web/api/keyboardevent/iscomposing/index.html
+++ b/files/zh-cn/web/api/keyboardevent/iscomposing/index.html
@@ -44,55 +44,7 @@ console.log(kbdEvent.isComposing); // return false
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatChrome(56.0) }}</td>
- <td>{{ CompatGeckoDesktop("31.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatOpera(43) }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatChrome(56.0) }}</td>
- <td>{{ CompatGeckoMobile("31.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatOperaMobile(43) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatChrome(56.0) }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.KeyboardEvent.isComposing")}}
<h2 class="note" id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/keyboardevent/keyboardevent/index.html b/files/zh-cn/web/api/keyboardevent/keyboardevent/index.html
index 86c792ce4a..aa8bb1d804 100644
--- a/files/zh-cn/web/api/keyboardevent/keyboardevent/index.html
+++ b/files/zh-cn/web/api/keyboardevent/keyboardevent/index.html
@@ -74,75 +74,7 @@ translation_of: Web/API/KeyboardEvent/KeyboardEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop(31) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td>初始化 <code>code</code> 和 <code>key</code></td>
- <td>{{CompatChrome(49.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoMobile(31) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>初始化 <code>code</code> 和 <code>key</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.KeyboardEvent.KeyboardEvent")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/keyboardevent/keycode/index.html b/files/zh-cn/web/api/keyboardevent/keycode/index.html
index d281b40d60..10f3803afd 100644
--- a/files/zh-cn/web/api/keyboardevent/keycode/index.html
+++ b/files/zh-cn/web/api/keyboardevent/keycode/index.html
@@ -55,63 +55,7 @@ translation_of: Web/API/KeyboardEvent/keyCode
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特征</th>
- <th>谷歌</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>26 (probably earlier)</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>3.0 (possibly earlier)</td>
- <td>6</td>
- <td>11.6 (probably earlier)</td>
- <td>5 (probably earlier)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特征</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>
- <p>5.1</p>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>{{Compat("api.KeyboardEvent.keyCode")}}</p>
+{{Compat("api.KeyboardEvent.keyCode")}}
<h2 id="键码值">键码值</h2>
diff --git a/files/zh-cn/web/api/keyboardevent/repeat/index.html b/files/zh-cn/web/api/keyboardevent/repeat/index.html
index d18d39473e..c35e22442e 100644
--- a/files/zh-cn/web/api/keyboardevent/repeat/index.html
+++ b/files/zh-cn/web/api/keyboardevent/repeat/index.html
@@ -32,54 +32,4 @@ translation_of: Web/API/KeyboardEvent/repeat
<h2 id="兼容性">兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(28) }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile(28) }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.KeyboardEvent.repeat")}}
diff --git a/files/zh-cn/web/api/keyboardevent/shiftkey/index.html b/files/zh-cn/web/api/keyboardevent/shiftkey/index.html
index 29f5baefdc..98471595f2 100644
--- a/files/zh-cn/web/api/keyboardevent/shiftkey/index.html
+++ b/files/zh-cn/web/api/keyboardevent/shiftkey/index.html
@@ -69,57 +69,7 @@ You can also use the SHIFT key together with the ALT key.&lt;/p&gt;
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.KeyboardEvent.shiftKey")}}
<h2 id="See_also" name="See_also">参考</h2>
diff --git a/files/zh-cn/web/api/localfilesystemsync/index.html b/files/zh-cn/web/api/localfilesystemsync/index.html
index 799d89ee80..bf33c2ea7f 100644
--- a/files/zh-cn/web/api/localfilesystemsync/index.html
+++ b/files/zh-cn/web/api/localfilesystemsync/index.html
@@ -168,55 +168,7 @@ var fs = requestFileSystemSync(TEMPORARY, 1024*1024 /*1MB*/);</pre>
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>13{{ property_prefix("webkit") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>0.16{{ property_prefix("webkit") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.LocalFileSystemSync")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/location/index.html b/files/zh-cn/web/api/location/index.html
index 7ab82cf7fa..5b383f066f 100644
--- a/files/zh-cn/web/api/location/index.html
+++ b/files/zh-cn/web/api/location/index.html
@@ -96,117 +96,7 @@ console.log(url.origin); // https://developer.mozilla.org
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>origin</code> on <code>Windows.location</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("21")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>origin</code> on all <code>location</code> objects (but on Workers, that use {{domxref("WorkerLocation")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("26")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>username</code> and <code>password</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("26")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>searchParams</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("34")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>origin</code> on <code>Windows.location</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("21")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>origin</code> on all <code>location</code> objects (but on Workers, that use {{domxref("WorkerLocation")}})</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("26")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>username</code> and <code>password</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("26")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>searchParams</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("34")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Location")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/location/reload/index.html b/files/zh-cn/web/api/location/reload/index.html
index 482a779a89..ff30551a5c 100644
--- a/files/zh-cn/web/api/location/reload/index.html
+++ b/files/zh-cn/web/api/location/reload/index.html
@@ -51,55 +51,7 @@ window.location.reload(true);</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Location.reload")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/media_source_extensions_api/index.html b/files/zh-cn/web/api/media_source_extensions_api/index.html
index c72a6896b5..ad80242690 100644
--- a/files/zh-cn/web/api/media_source_extensions_api/index.html
+++ b/files/zh-cn/web/api/media_source_extensions_api/index.html
@@ -80,62 +80,7 @@ translation_of: Web/API/Media_Source_Extensions_API
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>23</td>
- <td>{{CompatGeckoDesktop("25.0")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("42.0")}}</td>
- <td>11<sup>[2]</sup></td>
- <td>15</td>
- <td>8</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>4.4.4</td>
- <td>
- <p>{{CompatNo}}</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>11</td>
- <td>30</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在将 <code>about:config </code>中的首选项 <code>media.mediasource.enabled</code> 切换到 <code>true</code> 后才可支持。此外,这一版本的 Firefox 仅支持白名单内的网站,例如 YouTube、Netflix 以及其他流行的流媒体网站。此白名单在 Firefox 42+ 被移除,媒体源扩展默认被启用,且支持所有网站。</p>
-
-<p>[2] 只针对 Windows 8+。</p>
+{{Compat("api.MediaSource", 0)}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/media_streams_api/index.html b/files/zh-cn/web/api/media_streams_api/index.html
index 11040f5120..353446dc73 100644
--- a/files/zh-cn/web/api/media_streams_api/index.html
+++ b/files/zh-cn/web/api/media_streams_api/index.html
@@ -54,62 +54,7 @@ translation_of: Web/API/Media_Streams_API
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<p>{{Compat("api.MediaStream")}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera </th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Stream API </td>
- <td>21{{ property_prefix("webkit") }} </td>
- <td>nightly 18{{ property_prefix("moz") }} </td>
- <td>{{ CompatUnknown() }} </td>
- <td>12</td>
- <td>{{ CompatUnknown() }} </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Stream API </td>
- <td>{{ CompatNo() }} </td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }} </td>
- <td>{{ CompatNo() }} </td>
- <td>{{ CompatNo() }} </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>当前已经支持在Chrome,欧朋,和Firefox Nightly 18 浏览器使用WenRTC获取相机功能 。在Firefox Nightly 中启用WebRTC 需要你在配置中进行设置:</p>
-
-<ul>
- <li>在地址栏中输入"about:config" ,在需要改变的地方设置为是</li>
- <li>找到 "media.navigator.enabled" 的然后设置为true</li>
-</ul>
+{{Compat("api.MediaStream")}}
<h2 id="See_Also">See Also</h2>
diff --git a/files/zh-cn/web/api/mediadevices/devicechange_event/index.html b/files/zh-cn/web/api/mediadevices/devicechange_event/index.html
index 7ebc7fb71f..6ed36e1a0a 100644
--- a/files/zh-cn/web/api/mediadevices/devicechange_event/index.html
+++ b/files/zh-cn/web/api/mediadevices/devicechange_event/index.html
@@ -85,66 +85,7 @@ translation_of: Web/API/MediaDevices/devicechange_event
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(52.0)}}</td>
- <td>{{CompatGeckoDesktop(51)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>39</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>39</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Support for the <code>devicechange</code> event and for {{domxref("MediaDevices.ondevicechange")}} landed in Firefox 51, but <em>only for Mac</em>, and disabled by default. It can be enabled by setting the preference <code>media.ondevicechange.enabled</code> to <code>true</code>. Support for this event was added for Linux and Windows—and it was enabled by default—starting in Firefox 52.</p>
+{{Compat("api.MediaDevices.devicechange_event")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/mediadevices/getsupportedconstraints/index.html b/files/zh-cn/web/api/mediadevices/getsupportedconstraints/index.html
index 1dbc22edcf..601afc469c 100644
--- a/files/zh-cn/web/api/mediadevices/getsupportedconstraints/index.html
+++ b/files/zh-cn/web/api/mediadevices/getsupportedconstraints/index.html
@@ -77,56 +77,4 @@ for (let constraint in supportedConstraints) {
<h2 id="浏览器支持情况">浏览器支持情况</h2>
-<p>{{ CompatibilityTable }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Microsoft Edge</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatGeckoDesktop(50) }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatGeckoMobile(48) }}</td>
- <td>{{ CompatGeckoMobile(50) }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaDevices.getSupportedConstraints")}}
diff --git a/files/zh-cn/web/api/mediadevices/ondevicechange/index.html b/files/zh-cn/web/api/mediadevices/ondevicechange/index.html
index 5648fc6957..1bf012abf9 100644
--- a/files/zh-cn/web/api/mediadevices/ondevicechange/index.html
+++ b/files/zh-cn/web/api/mediadevices/ondevicechange/index.html
@@ -191,57 +191,7 @@ let videoList = document.getElementById("videoList");</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(57)}}</td>
- <td>{{CompatGeckoDesktop(51)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(34)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOperaMobile(34)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Support for the <code>devicechange</code> event and for {{domxref("MediaDevices.ondevicechange")}} landed in Firefox 51, but <em>only for Mac</em>, and disabled by default. It can be enabled by setting the preference <code>media.ondevicechange.enabled</code> to <code>true</code>. Support for this event was added for Linux and Windows—and it was enabled by default—starting in Firefox 52.</p>
+{{Compat("api.MediaDevices.ondevicechange")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/mediaelementaudiosourcenode/index.html b/files/zh-cn/web/api/mediaelementaudiosourcenode/index.html
index f06a1b1ba9..990333f52b 100644
--- a/files/zh-cn/web/api/mediaelementaudiosourcenode/index.html
+++ b/files/zh-cn/web/api/mediaelementaudiosourcenode/index.html
@@ -66,79 +66,7 @@ translation_of: Web/API/MediaElementAudioSourceNode
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25)}}</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td>Constructor</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(25)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td>Constructor</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaElementAudioSourceNode")}}
<h2 id="相关页面">相关页面</h2>
diff --git a/files/zh-cn/web/api/mediakeysession/index.html b/files/zh-cn/web/api/mediakeysession/index.html
index 2896b7eb8b..a9481870d4 100644
--- a/files/zh-cn/web/api/mediakeysession/index.html
+++ b/files/zh-cn/web/api/mediakeysession/index.html
@@ -81,81 +81,4 @@ translation_of: Web/API/MediaKeySession
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onkeystatuseschange</code> and <code>onmessage</code></td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(42)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(42.0)}}</td>
- </tr>
- <tr>
- <td><code>onkeystatuseschange</code> and <code>onmessage</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(42)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaKeySession")}}
diff --git a/files/zh-cn/web/api/mediakeysession/load/index.html b/files/zh-cn/web/api/mediakeysession/load/index.html
index a0e7d234f8..ba33a5837a 100644
--- a/files/zh-cn/web/api/mediakeysession/load/index.html
+++ b/files/zh-cn/web/api/mediakeysession/load/index.html
@@ -41,60 +41,4 @@ translation_of: Web/API/MediaKeySession/load
<h2 id="浏览器兼容"><font><font>浏览器兼容</font></font></h2>
-<div><font><font>{{CompatibilityTable}}</font></font></div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th><font><font>特征</font></font></th>
- <th><font><font>铬</font></font></th>
- <th><font><font>边缘</font></font></th>
- <th><font><font>Firefox(Gecko)</font></font></th>
- <th><font><font>IE浏览器</font></font></th>
- <th><font><font>歌剧</font></font></th>
- <th><font><font>Safari(WebKit)</font></font></th>
- </tr>
- <tr>
- <td><font><font>基本支持</font></font></td>
- <td><font><font>{{CompatChrome(42.0)}}</font></font></td>
- <td><font><font>{{CompatVersionUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th><font><font>特征</font></font></th>
- <th><font><font>Android的</font></font></th>
- <th><font><font>Android Webview</font></font></th>
- <th><font><font>边缘</font></font></th>
- <th><font><font>Firefox Mobile(Gecko)</font></font></th>
- <th><font><font>Firefox操作系统</font></font></th>
- <th><font><font>IE Mobile</font></font></th>
- <th><font><font>歌剧手机</font></font></th>
- <th><font><font>Safari手机</font></font></th>
- <th><font><font>适用于Android的Chrome</font></font></th>
- </tr>
- <tr>
- <td><font><font>基本支持</font></font></td>
- <td><font><font>{{CompatNo}}</font></font></td>
- <td><font><font>{{CompatChrome(43.0)}}</font></font></td>
- <td><font><font>{{CompatVersionUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatUnknown}}</font></font></td>
- <td><font><font>{{CompatChrome(42.0)}}</font></font></td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaKeySession.load")}}
diff --git a/files/zh-cn/web/api/mediaquerylist/index.html b/files/zh-cn/web/api/mediaquerylist/index.html
index 77f49fae96..54bb9ff800 100644
--- a/files/zh-cn/web/api/mediaquerylist/index.html
+++ b/files/zh-cn/web/api/mediaquerylist/index.html
@@ -78,53 +78,7 @@ translation_of: Web/API/MediaQueryList
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器通用性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("6.0") }}</td>
- <td>10</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaQueryList")}}
<h2 id="Specification" name="Specification">详述</h2>
diff --git a/files/zh-cn/web/api/mediarecorder/index.html b/files/zh-cn/web/api/mediarecorder/index.html
index 369e6dd27d..e099c66e19 100644
--- a/files/zh-cn/web/api/mediarecorder/index.html
+++ b/files/zh-cn/web/api/mediarecorder/index.html
@@ -188,61 +188,7 @@ translation_of: Web/API/MediaRecorder
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(47.0)}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(47.0)}}</td>
- <td>{{CompatChrome(47.0)}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}</td>
- <td>1.3<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] The initial Firefox OS implementation only supported audio recording.</li>
-</ul>
+{{Compat("api.MediaRecorder")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/mediarecorder/istypesupported/index.html b/files/zh-cn/web/api/mediarecorder/istypesupported/index.html
index 5a3ea6858c..9266297b0e 100644
--- a/files/zh-cn/web/api/mediarecorder/istypesupported/index.html
+++ b/files/zh-cn/web/api/mediarecorder/istypesupported/index.html
@@ -63,59 +63,7 @@ for (var i in types) {
<h2 id="浏览器的支持情况">浏览器的支持情况</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>名称</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>ibenompatChrome(47.0)}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>名称</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(47)}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(47.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaRecorder.isTypeSupported")}}
<h2 id="看过这个的用户还浏览了以下内容:">看过这个的用户还浏览了以下内容:</h2>
diff --git a/files/zh-cn/web/api/mediasession/index.html b/files/zh-cn/web/api/mediasession/index.html
index c704454eec..98fabdad99 100644
--- a/files/zh-cn/web/api/mediasession/index.html
+++ b/files/zh-cn/web/api/mediasession/index.html
@@ -88,54 +88,4 @@ function pause() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(57)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaSession")}}
diff --git a/files/zh-cn/web/api/mediasource/addsourcebuffer/index.html b/files/zh-cn/web/api/mediasource/addsourcebuffer/index.html
index 3e2194c7af..f5e62035c3 100644
--- a/files/zh-cn/web/api/mediasource/addsourcebuffer/index.html
+++ b/files/zh-cn/web/api/mediasource/addsourcebuffer/index.html
@@ -104,66 +104,7 @@ var mimeCodec = 'video/mp4; codecs="avc1.42E01E, mp4a.40.2"';
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>23</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("42.0")}}</td>
- <td>11<sup>[2]</sup></td>
- <td>15</td>
- <td>8</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4.4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>
- <p>{{CompatNo}}</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>11</td>
- <td>30</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Available after switching the <code>about:config</code> preference <code>media.mediasource.enabled</code> to <code>true</code>. In addition, support was limited to a whitelist of sites, for example YouTube, Netflix, and other popular streaming sites. The whitelist was removed and Media Source Extensions was enabled by default in 42+ for all sites.</p>
-
-<p>[2] Only works on Windows 8+.</p>
+{{Compat("api.MediaSource.addSourceBuffer")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/mediasource/readystate/index.html b/files/zh-cn/web/api/mediasource/readystate/index.html
index 6a8831abd0..5859005f4c 100644
--- a/files/zh-cn/web/api/mediasource/readystate/index.html
+++ b/files/zh-cn/web/api/mediasource/readystate/index.html
@@ -67,66 +67,7 @@ translation_of: Web/API/MediaSource/readyState
<h2 id="浏览器兼容性表格">浏览器兼容性表格</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>23</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("42.0")}}</td>
- <td>11<sup>[2]</sup></td>
- <td>15</td>
- <td>8</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4.4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>
- <p>{{CompatNo}}</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>11</td>
- <td>30</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Available after switching the <code>about:config</code> preference <code>media.mediasource.enabled</code> to <code>true</code>. In addition, support was limited to a whitelist of sites, for example YouTube, Netflix, and other popular streaming sites. The whitelist was removed and Media Source Extensions was enabled by default in 42+ for all sites.</p>
-
-<p>[2] Only works on Windows 8+.</p>
+{{Compat("api.MediaSource.readyState")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/mediastream/addtrack/index.html b/files/zh-cn/web/api/mediastream/addtrack/index.html
index e99a0a017e..b8392dc881 100644
--- a/files/zh-cn/web/api/mediastream/addtrack/index.html
+++ b/files/zh-cn/web/api/mediastream/addtrack/index.html
@@ -49,72 +49,7 @@ original_slug: Web/API/MediaStream.addTrack
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">{{ CompatUnknown() }}
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop(34) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td><code>addTrack()</code> and {{domxref("removeTrack()")}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatGeckoDesktop(44)}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile(34) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td><code>addTrack()</code> and {{domxref("removeTrack()")}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatGeckoDesktop(44)}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaStream.addTrack")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/mediastream/id/index.html b/files/zh-cn/web/api/mediastream/id/index.html
index ef5d47c56c..03ad0d2279 100644
--- a/files/zh-cn/web/api/mediastream/id/index.html
+++ b/files/zh-cn/web/api/mediastream/id/index.html
@@ -40,57 +40,7 @@ p.then(function(stream) {
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(41) }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile(41) }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaStream.id")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/mediastream_recording_api/index.html b/files/zh-cn/web/api/mediastream_recording_api/index.html
index 81abb53450..c633476759 100644
--- a/files/zh-cn/web/api/mediastream_recording_api/index.html
+++ b/files/zh-cn/web/api/mediastream_recording_api/index.html
@@ -149,67 +149,7 @@ setTimeout(event =&gt; {
<h2 id="浏览器支持情况">浏览器支持情况</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Microsoft Edge</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(47.0)}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(47.0)}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}</td>
- <td>1.3<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(47.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] The initial Firefox OS implementation only supported audio recording.</p>
-
-<p>[2] To use {{domxref("MediaRecorder")}} in Chrome 47 and 48, enable <strong>experimental Web Platform features</strong> from the <code>chrome://flags</code> page.</p>
-
-<p>[3] Audio recording works in Chrome 49 and above; Chrome 47 and 48 only support video recording.</p>
+{{Compat("api.MediaRecorder")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/api/mediastream_recording_api/using_the_mediastream_recording_api/index.html b/files/zh-cn/web/api/mediastream_recording_api/using_the_mediastream_recording_api/index.html
index c0e24fdedd..b1d30bf645 100644
--- a/files/zh-cn/web/api/mediastream_recording_api/using_the_mediastream_recording_api/index.html
+++ b/files/zh-cn/web/api/mediastream_recording_api/using_the_mediastream_recording_api/index.html
@@ -248,61 +248,7 @@ mediaRecorder.ondataavailable = function(e) {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(47)}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(47)}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}</td>
- <td>1.3<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(47)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] The initial Firefox OS implementation only supported audio recording.</p>
+{{Compat("api.MediaRecorder")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/mediastreamaudiosourcenode/index.html b/files/zh-cn/web/api/mediastreamaudiosourcenode/index.html
index 333c7d74a8..aa6c48ef86 100644
--- a/files/zh-cn/web/api/mediastreamaudiosourcenode/index.html
+++ b/files/zh-cn/web/api/mediastreamaudiosourcenode/index.html
@@ -69,79 +69,7 @@ translation_of: Web/API/MediaStreamAudioSourceNode
<h2 id="兼容性">兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("25")}}</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td>Constructor</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("25")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td>Constructor</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaStreamAudioSourceNode")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/mediastreamaudiosourcenode/mediastreamaudiosourcenode/index.html b/files/zh-cn/web/api/mediastreamaudiosourcenode/mediastreamaudiosourcenode/index.html
index 14dfc4969b..9e03477fe3 100644
--- a/files/zh-cn/web/api/mediastreamaudiosourcenode/mediastreamaudiosourcenode/index.html
+++ b/files/zh-cn/web/api/mediastreamaudiosourcenode/mediastreamaudiosourcenode/index.html
@@ -76,55 +76,4 @@ if (navigator.mediaDevices.getUserMedia) {
<h2 id="兼容性">兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}<br>
-  </td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaStreamAudioSourceNode.MediaStreamAudioSourceNode")}}
diff --git a/files/zh-cn/web/api/mediastreamevent/index.html b/files/zh-cn/web/api/mediastreamevent/index.html
index 0ded48f6c1..c398c36e7d 100644
--- a/files/zh-cn/web/api/mediastreamevent/index.html
+++ b/files/zh-cn/web/api/mediastreamevent/index.html
@@ -53,59 +53,7 @@ translation_of: Web/API/MediaStreamEvent
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaStreamEvent")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/mediastreamtrack/index.html b/files/zh-cn/web/api/mediastreamtrack/index.html
index 1b620d9d06..4de7451326 100644
--- a/files/zh-cn/web/api/mediastreamtrack/index.html
+++ b/files/zh-cn/web/api/mediastreamtrack/index.html
@@ -86,93 +86,7 @@ translation_of: Web/API/MediaStreamTrack
<h2 id="浏览器支持情况">浏览器支持情况</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>stop()</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(34)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>muted</code>, <code>onmuted</code>, <code>onunmuted</code>, <code>readonly</code>, <code>readyState</code>, <code>remote</code>, <code>onstarted</code>, <code>onended</code>, <code>onoverconstrained</code>, <code>appendConstraint()</code>, <code>applyConstraints()</code>, <code>constraints()</code>, <code>getConstraints()</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>
- <table class="compat-table">
- <tbody>
- <tr>
- <td><code>stop()</code></td>
- </tr>
- </tbody>
- </table>
- </td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(34)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>muted</code>, <code>onmuted</code>, <code>onunmuted</code>, <code>readonly</code>, <code>readyState</code>, <code>remote</code>, <code>onstarted</code>, <code>onended</code>, <code>onoverconstrained</code>, <code>appendConstraint()</code>, <code>applyConstraints()</code>, <code>constraints()</code>, <code>getConstraints()</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaStreamTrack")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/api/mediatrackconstraints/index.html b/files/zh-cn/web/api/mediatrackconstraints/index.html
index 4b0a07a102..6db416cd6a 100644
--- a/files/zh-cn/web/api/mediatrackconstraints/index.html
+++ b/files/zh-cn/web/api/mediatrackconstraints/index.html
@@ -117,140 +117,7 @@ translation_of: Web/API/MediaTrackConstraints
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{CompatOpera(46)}}</td>
- <td>{{ CompatUnknown }}</td>
- </tr>
- <tr>
- <td><code>deviceId</code></td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{CompatOpera(46)}}</td>
- <td>{{ CompatUnknown }}</td>
- </tr>
- <tr>
- <td><code>groupId</code></td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{CompatOpera(46)}}</td>
- <td>{{ CompatUnknown }}</td>
- </tr>
- <tr>
- <td>Audio track properties</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatUnknown }}</td>
- </tr>
- <tr>
- <td>Image track properties</td>
- <td>{{CompatChrome(63)}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{CompatOpera(50)}}</td>
- <td>{{ CompatUnknown }}</td>
- </tr>
- <tr>
- <td>Video track properties</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{CompatOpera(46)}}</td>
- <td>{{ CompatUnknown }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{CompatOperaMobile(46)}}</td>
- <td>{{ CompatUnknown }}</td>
- </tr>
- <tr>
- <td><code>deviceId</code></td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{CompatOperaMobile(46)}}</td>
- <td>{{ CompatUnknown }}</td>
- </tr>
- <tr>
- <td><code>groupId</code></td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{CompatOperaMobile(46)}}</td>
- <td>{{ CompatUnknown }}</td>
- </tr>
- <tr>
- <td>Audio track properties</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatUnknown }}</td>
- </tr>
- <tr>
- <td>Image track properties</td>
- <td>{{CompatChrome(63)}}</td>
- <td>{{CompatChrome(63)}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{CompatOperaMobile(50)}}</td>
- <td>{{ CompatUnknown }}</td>
- </tr>
- <tr>
- <td>Video track properties</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{CompatOperaMobile(46)}}</td>
- <td>{{ CompatUnknown }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MediaTrackConstraints")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/messagechannel/port1/index.html b/files/zh-cn/web/api/messagechannel/port1/index.html
index 810f29d780..8452b93892 100644
--- a/files/zh-cn/web/api/messagechannel/port1/index.html
+++ b/files/zh-cn/web/api/messagechannel/port1/index.html
@@ -65,81 +65,7 @@ function handleMessage(e) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>10.0</td>
- <td>10.6</td>
- <td>5</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10.0</td>
- <td>11.5</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MessageChannel.port1")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/messagechannel/port2/index.html b/files/zh-cn/web/api/messagechannel/port2/index.html
index 7f4a3b7079..2d79fb1663 100644
--- a/files/zh-cn/web/api/messagechannel/port2/index.html
+++ b/files/zh-cn/web/api/messagechannel/port2/index.html
@@ -61,81 +61,7 @@ function handleMessage(e) {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>10.0</td>
- <td>10.6</td>
- <td>5</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10.0</td>
- <td>11.5</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MessageChannel.port2")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/messageevent/index.html b/files/zh-cn/web/api/messageevent/index.html
index 6af707a816..27071f5968 100644
--- a/files/zh-cn/web/api/messageevent/index.html
+++ b/files/zh-cn/web/api/messageevent/index.html
@@ -129,64 +129,4 @@ myWorker<span class="punctuation token">.</span>port<span class="punctuation tok
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}<sup>[1]</sup></td>
- <td>9</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatSafari('10.0+')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>3.0+</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 对于 Gecko 11.0 {{geckoRelease("11.0")}}, Gecko 支持 <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer">ArrayBuffer</a></code> 类型的数据,但不支持 {{domxref("Blob")}} 类型的数据。</p>
-
-<p><strong style="color: #4d4e53; font-size: 2.143rem; font-weight: 700; letter-spacing: -1px;">参见</strong></p>
-
-<ul>
- <li>{{domxref("ExtendableMessageEvent")}},与此接口类似,但适合用于更灵活的场景。</li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/API/WebSocket_API">WebSocket API</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/API/WebRTC_API">WebRTC API</a></li>
-</ul>
+{{Compat("api.MessageEvent")}}
diff --git a/files/zh-cn/web/api/messageevent/messageevent/index.html b/files/zh-cn/web/api/messageevent/messageevent/index.html
index 54e163a42a..92765645d1 100644
--- a/files/zh-cn/web/api/messageevent/messageevent/index.html
+++ b/files/zh-cn/web/api/messageevent/messageevent/index.html
@@ -58,75 +58,7 @@ translation_of: Web/API/MessageEvent/MessageEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>9</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatSafari('10.0+')}}</td>
- </tr>
- <tr>
- <td><code>origin</code> as {{domxref("USVString")}} and source as <code>MessageEventSource</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("55.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>3.0+</td>
- </tr>
- <tr>
- <td><code>origin</code> as {{domxref("USVString")}} and source as <code>MessageEventSource</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("55.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MessageEvent.MessageEvent")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/messageport/onmessage/index.html b/files/zh-cn/web/api/messageport/onmessage/index.html
index 322ddde65a..1e10fa8af1 100644
--- a/files/zh-cn/web/api/messageport/onmessage/index.html
+++ b/files/zh-cn/web/api/messageport/onmessage/index.html
@@ -60,81 +60,7 @@ function handleMessage(e) {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>10.0</td>
- <td>10.6</td>
- <td>5</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(41)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>10.0</td>
- <td>11.5</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(41)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MessagePort.onmessage")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/mimetype/index.html b/files/zh-cn/web/api/mimetype/index.html
index 4d01694bb4..0417f404a0 100644
--- a/files/zh-cn/web/api/mimetype/index.html
+++ b/files/zh-cn/web/api/mimetype/index.html
@@ -39,54 +39,4 @@ translation_of: Web/API/MimeType
<h2 id="浏览器的兼容性">浏览器的兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特征</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特征</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MimeType")}}
diff --git a/files/zh-cn/web/api/mouseevent/altkey/index.html b/files/zh-cn/web/api/mouseevent/altkey/index.html
index 0ced8e2f28..0f1c41d5d7 100644
--- a/files/zh-cn/web/api/mouseevent/altkey/index.html
+++ b/files/zh-cn/web/api/mouseevent/altkey/index.html
@@ -69,53 +69,7 @@ You can also use the SHIFT key together with the ALT key.
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.altKey")}}
<h2 id="See_also" name="See_also">相关</h2>
diff --git a/files/zh-cn/web/api/mouseevent/buttons/index.html b/files/zh-cn/web/api/mouseevent/buttons/index.html
index 2b21d3c59e..7e503718a0 100644
--- a/files/zh-cn/web/api/mouseevent/buttons/index.html
+++ b/files/zh-cn/web/api/mouseevent/buttons/index.html
@@ -52,67 +52,7 @@ translation_of: Web/API/MouseEvent/buttons
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>43<sup>[2]</sup></td>
- <td>9</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Gecko supports the <code>buttons</code> attribute on Windows, Linux (GTK), and Mac OS with the following restrictions:</p>
-
-<ul>
- <li>On Windows, if you install a mouse driver, and its utility software allows you to customize button actions (e.g., IntelliPoint and SetPoint), the middle (wheel) button, the 4th button, and the 5th button might not be set, even when they are pressed.</li>
- <li>On Linux (GTK), the 4th button and the 5th button are not supported. In addition, a mouseup event always has the releasing button information in this attribute value.</li>
- <li>On Mac OS X 10.5, the buttons attribute always returns 0 because there is no platform API for implementing this feature.</li>
-</ul>
-
-<p>[2] This feature got implemented in <a href="https://crbug.com/276941">bug 276941</a>.</p>
+{{Compat("api.MouseEvent.buttons")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/mouseevent/ctrlkey/index.html b/files/zh-cn/web/api/mouseevent/ctrlkey/index.html
index 183a6e61cd..de882fcae8 100644
--- a/files/zh-cn/web/api/mouseevent/ctrlkey/index.html
+++ b/files/zh-cn/web/api/mouseevent/ctrlkey/index.html
@@ -66,53 +66,7 @@ You can also use the SHIFT key together with the CTRL key.&lt;/p&gt;
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.ctrlKey")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/mouseevent/initmouseevent/index.html b/files/zh-cn/web/api/mouseevent/initmouseevent/index.html
index ffb87f8953..3a7347ef6a 100644
--- a/files/zh-cn/web/api/mouseevent/initmouseevent/index.html
+++ b/files/zh-cn/web/api/mouseevent/initmouseevent/index.html
@@ -115,53 +115,7 @@ simulateClick();//Why it can not show "input" ?</code>
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.initMouseEvent")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/api/mouseevent/metakey/index.html b/files/zh-cn/web/api/mouseevent/metakey/index.html
index 3857a4f284..22c8025595 100644
--- a/files/zh-cn/web/api/mouseevent/metakey/index.html
+++ b/files/zh-cn/web/api/mouseevent/metakey/index.html
@@ -57,53 +57,7 @@ translation_of: Web/API/MouseEvent/metaKey
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.metaKey")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/mouseevent/movementx/index.html b/files/zh-cn/web/api/mouseevent/movementx/index.html
index 084428207d..9b27d509e2 100644
--- a/files/zh-cn/web/api/mouseevent/movementx/index.html
+++ b/files/zh-cn/web/api/mouseevent/movementx/index.html
@@ -35,65 +35,7 @@ translation_of: Web/API/MouseEvent/movementX
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(22.0)}} {{property_prefix("webkit")}}<br>
- {{CompatChrome(37.0)}} unprefixed</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>
- <p>{{CompatGeckoDesktop(1.0)}} {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop(41)}}</p>
- </td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(37)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1.0)}} {{property_prefix("moz")}}<br>
- {{CompatGeckoMobile(41)}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("webkit")}}<br>
- {{CompatChrome(37.0)}} unprefixed</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.movementX")}}
<h2 id="See_also" name="See_also">相关</h2>
diff --git a/files/zh-cn/web/api/mouseevent/movementy/index.html b/files/zh-cn/web/api/mouseevent/movementy/index.html
index 1faaccff17..a3b2d1df74 100644
--- a/files/zh-cn/web/api/mouseevent/movementy/index.html
+++ b/files/zh-cn/web/api/mouseevent/movementy/index.html
@@ -35,63 +35,7 @@ translation_of: Web/API/MouseEvent/movementY
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(22.0)}} {{property_prefix("webkit")}}<br>
- {{CompatChrome(37.0)}} unprefixed</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(1.0)}} {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop(41)}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(37.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(1.0)}} {{property_prefix("moz")}}<br>
- {{CompatGeckoMobile(41)}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("webkit")}}<br>
- {{CompatChrome(37.0)}} unprefixed</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.movementY")}}
<h2 id="相关">相关</h2>
diff --git a/files/zh-cn/web/api/mouseevent/offsetx/index.html b/files/zh-cn/web/api/mouseevent/offsetx/index.html
index 28c6719863..7f2f545fe4 100644
--- a/files/zh-cn/web/api/mouseevent/offsetx/index.html
+++ b/files/zh-cn/web/api/mouseevent/offsetx/index.html
@@ -40,78 +40,7 @@ translation_of: Web/API/MouseEvent/offsetX
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>6</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Redefined from <code>long</code> to <code>double</code></td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("43.0")}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td>Redefined from <code>long</code> to <code>double</code></td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.offsetX")}}
<h2 id="See_also" name="See_also">相关内容</h2>
diff --git a/files/zh-cn/web/api/mouseevent/offsety/index.html b/files/zh-cn/web/api/mouseevent/offsety/index.html
index 7b1eab0450..b824bd23d2 100644
--- a/files/zh-cn/web/api/mouseevent/offsety/index.html
+++ b/files/zh-cn/web/api/mouseevent/offsety/index.html
@@ -39,78 +39,7 @@ translation_of: Web/API/MouseEvent/offsetY
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>6</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Redefined from <code>long</code> to <code>double</code></td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("43.0")}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td>Redefined from <code>long</code> to <code>double</code></td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.offsetY")}}
<h2 id="See_also" name="See_also">相关内容</h2>
diff --git a/files/zh-cn/web/api/mouseevent/pagex/index.html b/files/zh-cn/web/api/mouseevent/pagex/index.html
index 06e933334d..a50ea9e16e 100644
--- a/files/zh-cn/web/api/mouseevent/pagex/index.html
+++ b/files/zh-cn/web/api/mouseevent/pagex/index.html
@@ -43,81 +43,7 @@ translation_of: Web/API/MouseEvent/pageX
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(45.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>9</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Redefined from <code>long</code> to <code>double</code></td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile" style="line-height: 19.0909080505371px;">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(45.0)}}</td>
- <td>{{CompatChrome(45.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Redefined from <code>long</code> to <code>double</code></td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.pageX")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/mouseevent/pagey/index.html b/files/zh-cn/web/api/mouseevent/pagey/index.html
index 22a862d9eb..585be5b10a 100644
--- a/files/zh-cn/web/api/mouseevent/pagey/index.html
+++ b/files/zh-cn/web/api/mouseevent/pagey/index.html
@@ -39,81 +39,7 @@ translation_of: Web/API/MouseEvent/pageY
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(45)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>9</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Redefined from <code>long</code> to <code>double</code></td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile" style="line-height: 19.0909080505371px;">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(45.)}}</td>
- <td>{{CompatChrome(45)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Redefined from <code>long</code> to <code>double</code></td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{CompatChrome(56)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.pageY")}}
<h2 id="更多请见">更多请见</h2>
diff --git a/files/zh-cn/web/api/mouseevent/shiftkey/index.html b/files/zh-cn/web/api/mouseevent/shiftkey/index.html
index a31ab83fb1..a4d278cb2c 100644
--- a/files/zh-cn/web/api/mouseevent/shiftkey/index.html
+++ b/files/zh-cn/web/api/mouseevent/shiftkey/index.html
@@ -68,57 +68,7 @@ You can also use the SHIFT key together with the ALT key.&lt;/p&gt;
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.shiftKey")}}
<h2 id="See_also" name="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/mouseevent/x/index.html b/files/zh-cn/web/api/mouseevent/x/index.html
index bd2e29dd21..34eb5140b6 100644
--- a/files/zh-cn/web/api/mouseevent/x/index.html
+++ b/files/zh-cn/web/api/mouseevent/x/index.html
@@ -26,54 +26,4 @@ translation_of: Web/API/MouseEvent/x
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(53)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>6</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(53)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.x")}}
diff --git a/files/zh-cn/web/api/mouseevent/y/index.html b/files/zh-cn/web/api/mouseevent/y/index.html
index e7dfc7bd85..726e488476 100644
--- a/files/zh-cn/web/api/mouseevent/y/index.html
+++ b/files/zh-cn/web/api/mouseevent/y/index.html
@@ -30,54 +30,4 @@ translation_of: Web/API/MouseEvent/y
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(53)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>6</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(53)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseEvent.y")}}
diff --git a/files/zh-cn/web/api/mousescrollevent/index.html b/files/zh-cn/web/api/mousescrollevent/index.html
index fc33ef0681..50a4e0c404 100644
--- a/files/zh-cn/web/api/mousescrollevent/index.html
+++ b/files/zh-cn/web/api/mousescrollevent/index.html
@@ -101,53 +101,7 @@ translation_of: Web/API/MouseScrollEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoDesktop("1.9.1") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("1.9.1") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.MouseScrollEvent")}}
<h2 class="note" id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/namednodemap/index.html b/files/zh-cn/web/api/namednodemap/index.html
index 19fc97780e..93f19e7dc0 100644
--- a/files/zh-cn/web/api/namednodemap/index.html
+++ b/files/zh-cn/web/api/namednodemap/index.html
@@ -77,72 +77,7 @@ translation_of: Web/API/NamedNodeMap
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Deals with {{domxref("Attr")}} rather than {{domxref("Node")}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatGeckoDesktop(22)}} (but this interface was named <code>mozNamedAttrMap</code> to reflect this change)<br>
- {{CompatGeckoDesktop(34)}} (interface named back to <code>NamedNodeMap</code>)<br>
-  </td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Deals with {{domxref("Attr")}} rather than {{domxref("Node")}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatGeckoMobile(22)}} (but this interface was named <code>mozNamedAttrMap</code> to reflect this change)<br>
- {{CompatGeckoMobile(34)}} (interface named back to <code>NamedNodeMap</code>)</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.NamedNodeMap")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/navigation_timing_api/index.html b/files/zh-cn/web/api/navigation_timing_api/index.html
index 243e3f5088..82c4707be3 100644
--- a/files/zh-cn/web/api/navigation_timing_api/index.html
+++ b/files/zh-cn/web/api/navigation_timing_api/index.html
@@ -142,50 +142,4 @@ var pageLoadTime = perfData.loadEventEnd - perfData.navigationStart;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>6.0</td>
- <td>{{ CompatGeckoDesktop("7") }}</td>
- <td>9</td>
- <td>15.0</td>
- <td>8</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.0</td>
- <td>{{ CompatGeckoDesktop("15") }}</td>
- <td>9</td>
- <td>15.0</td>
- <td>8</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.PerformanceTiming")}}
diff --git a/files/zh-cn/web/api/navigator/credentials/index.html b/files/zh-cn/web/api/navigator/credentials/index.html
index c27009d5f1..1389dcb1db 100644
--- a/files/zh-cn/web/api/navigator/credentials/index.html
+++ b/files/zh-cn/web/api/navigator/credentials/index.html
@@ -46,56 +46,4 @@ translation_of: Web/API/Navigator/credentials
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(51.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Navigator.credentials")}}
diff --git a/files/zh-cn/web/api/navigator/donottrack/index.html b/files/zh-cn/web/api/navigator/donottrack/index.html
index 5b6535ae97..1c1eabd8bb 100644
--- a/files/zh-cn/web/api/navigator/donottrack/index.html
+++ b/files/zh-cn/web/api/navigator/donottrack/index.html
@@ -34,57 +34,4 @@ translation_of: Web/API/Navigator/doNotTrack
<h3 id="浏览器兼容性">浏览器兼容性</h3>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("9.0") }}</td>
- <td>9</td>
- <td>12</td>
- <td>5.1 on OS X 10.7</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("9.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>IE9 中该属性带有ms前缀:navigator.msDoNotTrack</li>
- <li>IE9, Opera 12和Safari 5.1 实现了早起的旧版本规范:<code>navigator.doNotTrack</code> 的值就是 do-not-track 请求头中的值.</li>
-</ul>
-
-<p>{{ languages( { "en": "en/DOM/navigator.doNotTrack" } ) }}</p>
+{{Compat("api.Navigator.doNotTrack")}}
diff --git a/files/zh-cn/web/api/navigator/geolocation/index.html b/files/zh-cn/web/api/navigator/geolocation/index.html
index 89842d99bd..2739d0f768 100644
--- a/files/zh-cn/web/api/navigator/geolocation/index.html
+++ b/files/zh-cn/web/api/navigator/geolocation/index.html
@@ -47,7 +47,7 @@ translation_of: Web/API/Navigator/geolocation
-<p>{{ CompatibilityTable() }}</p>
+{{Compat("api.Navigator.geolocation")}}
<h2 id="另请参阅">另请参阅</h2>
diff --git a/files/zh-cn/web/api/navigator/getbattery/index.html b/files/zh-cn/web/api/navigator/getbattery/index.html
index 29b6b46c0d..8223faab3e 100644
--- a/files/zh-cn/web/api/navigator/getbattery/index.html
+++ b/files/zh-cn/web/api/navigator/getbattery/index.html
@@ -34,67 +34,7 @@ translation_of: Web/API/Navigator/getBattery
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>浏览器</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>功能支持</td>
- <td>{{CompatChrome(39.0)}}</td>
- <td>{{CompatGeckoDesktop("10")}} {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("43")}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>25</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>浏览器</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>功能支持</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>
- <p>{{CompatGeckoMobile("10")}} {{property_prefix("moz")}}<br>
- {{CompatGeckoMobile("16")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("43")}}<sup>[2]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- <td>25</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(42.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在 Firefox 10.0 被默认禁止, 但可以设置<code>dom.battery.enabled<font face="Open Sans, Arial, sans-serif"> = </font></code><code>true来启用</code>. 从Starting with Firefox 11.0开始, <code>mozBattery</code> 是默认启动的. UPower 安装后, Android, Windows, and Linux.就支持Battery API了。MacOS的支持是从Gecko 18.0 {{geckoRelease("18.0")}}开始的. fireFox依然支持已经被弃用 {{domxref("navigator.battery")}}.</p>
-
-<p>[2] 全新的基于promise语法的{{domxref("Navigator.getBattery()")}}在FireFox 43 被支持。</p>
+{{Compat("api.Navigator.getBattery")}}
<h2 id="请参见">请参见</h2>
diff --git a/files/zh-cn/web/api/navigator/getgamepads/index.html b/files/zh-cn/web/api/navigator/getgamepads/index.html
index 454b4f4329..4d5b5672ca 100644
--- a/files/zh-cn/web/api/navigator/getgamepads/index.html
+++ b/files/zh-cn/web/api/navigator/getgamepads/index.html
@@ -39,65 +39,7 @@ translation_of: Web/API/Navigator/getGamepads
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>General support</td>
- <td>
- <p>21.0 {{ property_prefix("webkit") }}<br>
- 35.0</p>
- </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("29.0") }} [1]</td>
- <td>{{ CompatNo() }}</td>
- <td>
- <p>15.0 {{ property_prefix("webkit") }}<br>
- 22.0</p>
- </td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>General support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 自 Firefox 24 起可以通过偏好设置启用。</p>
+{{Compat("api.Navigator.getGamepads")}}
<h2 id="另请参阅">另请参阅</h2>
diff --git a/files/zh-cn/web/api/navigator/getusermedia/index.html b/files/zh-cn/web/api/navigator/getusermedia/index.html
index 11d597fcfc..4e2ee9de8b 100644
--- a/files/zh-cn/web/api/navigator/getusermedia/index.html
+++ b/files/zh-cn/web/api/navigator/getusermedia/index.html
@@ -126,67 +126,7 @@ if (navigator.getUserMedia) {
<p>新代码应当使用 {{domxref("Navigator.mediaDevices.getUserMedia()")}} 替代.</p>
</div>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>21{{property_prefix("webkit")}} [1]</td>
- <td>17{{property_prefix("moz")}} [3]</td>
- <td>{{CompatNo}}</td>
- <td>12 [2]<br>
- 18{{property_prefix("webkit")}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-<div id="compat-mobile">
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic Support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(40.0)}}{{property_prefix("webkit")}} [2]</td>
- <td>24{{property_prefix("moz")}} [3]</td>
- <td>1.2{{property_prefix("moz")}} [4]<br>
- 1.4{{property_prefix("moz")}}</td>
- <td>{{CompatNo}}</td>
- <td>12 [2]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-<p>[1] 新版的Chrome支持未带前缀的 {{domxref("MediaDevices.getUserMedia()")}}, 用以取代此已废弃版本.</p>
-
-<p>[2] Chrome 和 Opera 仍然在使用已经过期的 constraint 语法, 但是此描述中的语法可以通过 <a href="https://github.com/webrtc/adapter">adapter.js</a> polyfill来使用.</p>
-
-<p>[3]  在此描述的constraint 语法自 Firefox 38后可用. 更早的版本 (32-37) 使用了已经过期的语法, 但是此描述中的语法可以通过 <a href="https://github.com/webrtc/adapter">adapter.js</a> polyfill来使用.</p>
-
-<p>[4] 在 Firefox OS 1.2中, 只有音频的到支持, 1.4 添加了视频支持.</p>
+{{Compat("api.Navigator.getUserMedia")}}
<h2 id="更多参见">更多参见 </h2>
diff --git a/files/zh-cn/web/api/navigator/maxtouchpoints/index.html b/files/zh-cn/web/api/navigator/maxtouchpoints/index.html
index 49e0d303ba..6e87be8151 100644
--- a/files/zh-cn/web/api/navigator/maxtouchpoints/index.html
+++ b/files/zh-cn/web/api/navigator/maxtouchpoints/index.html
@@ -43,58 +43,4 @@ translation_of: Web/API/Navigator/maxTouchPoints
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("35")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop("29")}}<sup>[2]</sup></td>
- <td>10 {{property_prefix("-ms")}}<br>
- 11</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome("35")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile("29")}}<sup>[2]</sup></td>
- <td>10 {{property_prefix("-ms")}}<br>
- 11</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This was implemented in <a href="http://crbug.com/248918">bug 248918</a>.</p>
-
-<p>[2] Gecko supports this feature behind the preference <code>dom.w3c_pointer_events.enabled</code>, defaulting to <code>false</code>.</p>
+{{Compat("api.Navigator.maxTouchPoints")}}
diff --git a/files/zh-cn/web/api/navigator/mediadevices/index.html b/files/zh-cn/web/api/navigator/mediadevices/index.html
index f8df63585c..6a7ee73381 100644
--- a/files/zh-cn/web/api/navigator/mediadevices/index.html
+++ b/files/zh-cn/web/api/navigator/mediadevices/index.html
@@ -47,65 +47,7 @@ translation_of: Web/API/Navigator/mediaDevices
<h2 id="浏览器兼容">浏览器兼容</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Microsoft Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("36.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("36.0")}}</td>
- <td>{{CompatGeckoMobile("36.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Navigator.mediaDevices")}}
<h2 id="参考阅读">参考阅读</h2>
diff --git a/files/zh-cn/web/api/navigator/permissions/index.html b/files/zh-cn/web/api/navigator/permissions/index.html
index bd4510a159..3a5bba3685 100644
--- a/files/zh-cn/web/api/navigator/permissions/index.html
+++ b/files/zh-cn/web/api/navigator/permissions/index.html
@@ -51,61 +51,7 @@ translation_of: Web/API/Navigator/permissions
<h2 id="浏览器支持">浏览器支持</h2>
-<div>{{ CompatibilityTable() }}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{CompatGeckoDesktop(46)}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{CompatGeckoMobile(46)}}</td>
- <td>{{CompatUnknown()}}<sup>[1]</sup></td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatChrome(43.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Firefox OS 现在采用自己的具有特殊工作方式的 Permissions API:参见  <a href="/en-US/docs/Web/API/Permissions_API_(Firefox_OS)">Permissions API (Firefox OS)</a>.</p>
+{{Compat("api.Navigator.permissions")}}
<h2 id="See_also" name="See_also">参见</h2>
diff --git a/files/zh-cn/web/api/navigator/serviceworker/index.html b/files/zh-cn/web/api/navigator/serviceworker/index.html
index 16cf2ac51d..677c3bd066 100644
--- a/files/zh-cn/web/api/navigator/serviceworker/index.html
+++ b/files/zh-cn/web/api/navigator/serviceworker/index.html
@@ -35,59 +35,7 @@ translation_of: Web/API/Navigator/serviceWorker
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 Extended Support Release</a> (ESR.)</p>
+{{Compat("api.Navigator.serviceWorker")}}
<h2 id="也可以看看">也可以看看</h2>
diff --git a/files/zh-cn/web/api/navigator/vibrate/index.html b/files/zh-cn/web/api/navigator/vibrate/index.html
index 30dcc9d839..012bfb5438 100644
--- a/files/zh-cn/web/api/navigator/vibrate/index.html
+++ b/files/zh-cn/web/api/navigator/vibrate/index.html
@@ -48,65 +48,7 @@ window.navigator.vibrate([100,30,100,30,100,200,200,30,200,30,200,200,100,30,100
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("11.0")}} {{property_prefix("moz")}}<br>
- {{CompatGeckoDesktop("16.0")}} (no prefix) [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed) [2][3]</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("webkit")}}<br>
- {{CompatVersionUnknown}} (unprefixed) [2][3]</td>
- <td>{{CompatGeckoMobile("11.0")}} {{property_prefix("moz")}}<br>
- {{CompatGeckoMobile("16.0")}} (no prefix) [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}<sup>[3]</sup></td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 当震动模式太长或者其中一次震动的时长太长时,截至 Firefox 26,Gecko 将会抛出一个异常,而不是返回 <code>false</code> ({{bug("884935")}})。从 Firefox 32 开始,Gecko 返回 <code>true</code>,但是会将该模式截断 ({{bug(1014581)}})。</p>
-
-<p>[2] 从 Chrome 55 开始,跨域的 iframe 中不支持该 API。</p>
-
-<p>[3] 从 Chrome 60/Opera 47 开始,该方法需要一个用户手势。否则会返回 <code>false</code>。</p>
+{{Compat("api.Navigator.vibrate")}}
<h2 id="更多">更多</h2>
diff --git a/files/zh-cn/web/api/networkinformation/downlink/index.html b/files/zh-cn/web/api/networkinformation/downlink/index.html
index 8b3e902217..2e62063b3c 100644
--- a/files/zh-cn/web/api/networkinformation/downlink/index.html
+++ b/files/zh-cn/web/api/networkinformation/downlink/index.html
@@ -34,72 +34,4 @@ translation_of: Web/API/NetworkInformation/downlink
<h2 id="Browser_Compatibility">Browser Compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(61)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(48)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatChrome(61)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(48)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50)}}</td>
- <td>{{CompatChrome(38)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(37)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatChrome(50)}}</td>
- <td>{{CompatChrome(38)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(37)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.NetworkInformation.downlink")}}
diff --git a/files/zh-cn/web/api/networkinformation/index.html b/files/zh-cn/web/api/networkinformation/index.html
index a78634c7ed..2d4cfeb785 100644
--- a/files/zh-cn/web/api/networkinformation/index.html
+++ b/files/zh-cn/web/api/networkinformation/index.html
@@ -63,67 +63,7 @@ translation_of: Web/API/NetworkInformation
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>20 {{property_prefix("webkit")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(31)}} {{property_prefix("moz")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(53)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.NetworkInformation")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/networkinformation/rtt/index.html b/files/zh-cn/web/api/networkinformation/rtt/index.html
index 94f0815718..fd82a4a94c 100644
--- a/files/zh-cn/web/api/networkinformation/rtt/index.html
+++ b/files/zh-cn/web/api/networkinformation/rtt/index.html
@@ -38,69 +38,4 @@ translation_of: Web/API/NetworkInformation/rtt
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(61)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(48)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatChrome(61)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(48)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50)}}</td>
- <td>{{CompatChrome(38)}}</td>
- <td>{{CompatGeckoMobile("31")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOperaMobile(37)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatChrome(50)}}</td>
- <td>{{CompatChrome(38)}}</td>
- <td>{{CompatGeckoMobile("53")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOperaMobile(37)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.NetworkInformation.rtt")}}
diff --git a/files/zh-cn/web/api/node/clonenode/index.html b/files/zh-cn/web/api/node/clonenode/index.html
index 0b87e0f1c2..4a13c2da36 100644
--- a/files/zh-cn/web/api/node/clonenode/index.html
+++ b/files/zh-cn/web/api/node/clonenode/index.html
@@ -85,81 +85,4 @@ var p_prime = p.cloneNode(true);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>deep</code> as an optional parameter</td>
- <td>
- <p>{{CompatVersionUnknown}}<sup>[1]</sup></p>
- </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("13.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>
- <p>{{CompatVersionUnknown}}<sup>[1]</sup></p>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>deep</code> as an optional parameter</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("13.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Default value for the <code>deep</code> parameter is <code>false</code>.</p>
+{{Compat("api.Node.cloneNode")}}
diff --git a/files/zh-cn/web/api/node/contains/index.html b/files/zh-cn/web/api/node/contains/index.html
index 4f54315c26..917c54d3fa 100644
--- a/files/zh-cn/web/api/node/contains/index.html
+++ b/files/zh-cn/web/api/node/contains/index.html
@@ -35,53 +35,7 @@ translation_of: Web/API/Node/contains
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("9.0")}}</td>
- <td>5.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("9.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Node.contains")}}
<h2 id="Specification" name="Specification">规范</h2>
diff --git a/files/zh-cn/web/api/node/isconnected/index.html b/files/zh-cn/web/api/node/isconnected/index.html
index f374672b45..a655d7fb31 100644
--- a/files/zh-cn/web/api/node/isconnected/index.html
+++ b/files/zh-cn/web/api/node/isconnected/index.html
@@ -86,8 +86,4 @@ console.log(style.isConnected); // Returns true</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-
-
-<p>{{Compat("api.Node.isConnected")}}</p>
+{{Compat("api.Node.isConnected")}}
diff --git a/files/zh-cn/web/api/node/isequalnode/index.html b/files/zh-cn/web/api/node/isequalnode/index.html
index c2127a8aed..9842783f0e 100644
--- a/files/zh-cn/web/api/node/isequalnode/index.html
+++ b/files/zh-cn/web/api/node/isequalnode/index.html
@@ -69,53 +69,7 @@ output.innerHTML += "div 0 equals div 2: " + divList[0].isEqualNode(divList[2])
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9")}}</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Node.isEqualNode")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/node/ownerdocument/index.html b/files/zh-cn/web/api/node/ownerdocument/index.html
index f1af625761..5185b06e50 100644
--- a/files/zh-cn/web/api/node/ownerdocument/index.html
+++ b/files/zh-cn/web/api/node/ownerdocument/index.html
@@ -62,54 +62,4 @@ html = d.documentElement;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}<sup>[1]</sup></td>
- <td>6.0<sup>[2]</sup></td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}<sup>[1]</sup></td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 从 Gecko 9.0 {{ geckoRelease("9.0") }} 开始, <code>一个由脚本生成的</code>DocumentType类型的节点(节点类型{{ domxref("Node.nodeType") }}的值为 <code>Node.DOCUMENT_TYPE_NODE</code> 也就是 10)的<code>ownerDocument</code>属性的值不再是null. 而是调用<a href="/zh-cn/DOM/DOMImplementation.createDocumentType" title="zh-cn/DOM/DOMImplementation.createDocumentType"><code>document.implementation.createDocumentType()</code></a> 方法创建该节点的文档节点.</p>
-
-<p>[2] <a href="http://msdn.microsoft.com/en-us/library/ie/ms534315(v=vs.85).aspx">http://msdn.microsoft.com/en-us/library/ie/ms534315(v=vs.85).aspx</a></p>
+{{Compat("api.Node.ownerDocument")}}
diff --git a/files/zh-cn/web/api/node/parentnode/index.html b/files/zh-cn/web/api/node/parentnode/index.html
index 300f53747f..3b27519bf9 100644
--- a/files/zh-cn/web/api/node/parentnode/index.html
+++ b/files/zh-cn/web/api/node/parentnode/index.html
@@ -22,51 +22,8 @@ translation_of: Web/API/Node/parentNode
<h2 id="See_also" name="See_also">相关链接</h2>
<p>{{ Domxref("element.firstChild") }}, {{ Domxref("element.lastChild") }}, {{ Domxref("element.childNodes") }}, {{ Domxref("element.nextSibling") }}, {{ Domxref("element.previousSibling") }}.</p>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>0.2</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.Node.parentNode")}}
+
<h2 id="Specification" name="Specification">规范</h2>
<p><a class="external" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-1060184317">DOM Level 2 Core: Node.parentNode</a></p>
<p>{{ languages( { "it": "it/DOM/element.parentNode", "ja": "ja/DOM/element.parentNode", "fr": "fr/DOM/element.parentNode", "pl": "pl/DOM/element.parentNode" , "en": "en/DOM/Node.parentNode" } ) }}</p>
diff --git a/files/zh-cn/web/api/nodefilter/acceptnode/index.html b/files/zh-cn/web/api/nodefilter/acceptnode/index.html
index 9c6c1e2d69..73ee238957 100644
--- a/files/zh-cn/web/api/nodefilter/acceptnode/index.html
+++ b/files/zh-cn/web/api/nodefilter/acceptnode/index.html
@@ -97,57 +97,7 @@ while ((node = iterator.nextNode())) {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.8.1")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>3.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.8.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>9.0</td>
- <td>3.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.NodeFilter.acceptNode")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/nodeiterator/index.html b/files/zh-cn/web/api/nodeiterator/index.html
index 756dad125d..aa124ef4ad 100644
--- a/files/zh-cn/web/api/nodeiterator/index.html
+++ b/files/zh-cn/web/api/nodeiterator/index.html
@@ -150,57 +150,7 @@ translation_of: Web/API/NodeIterator
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>3.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>9.0</td>
- <td>3.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.NodeIterator")}}
<h2 id="扩展阅读">扩展阅读</h2>
diff --git a/files/zh-cn/web/api/nodelist/entries/index.html b/files/zh-cn/web/api/nodelist/entries/index.html
index 9c9605c2f9..97ee38db7c 100644
--- a/files/zh-cn/web/api/nodelist/entries/index.html
+++ b/files/zh-cn/web/api/nodelist/entries/index.html
@@ -58,59 +58,7 @@ Array [ 2, &lt;span&gt; ]</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(50)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Andorid</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(50)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.NodeList.entries")}}
<h2 id="sect1"> </h2>
diff --git a/files/zh-cn/web/api/notification/actions/index.html b/files/zh-cn/web/api/notification/actions/index.html
index 0646fd416d..587137cc13 100644
--- a/files/zh-cn/web/api/notification/actions/index.html
+++ b/files/zh-cn/web/api/notification/actions/index.html
@@ -41,89 +41,7 @@ translation_of: Web/API/Notification/actions
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(53)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(40)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatChrome(53)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(40)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p>{{CompatNo}}</p>
- </td>
- <td>{{CompatChrome(53)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(40)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(53)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(40)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Firefox_OS_相关">Firefox OS 相关</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Firefox OS notes")}}</p>
-
-<h3 id="Chrome_相关">Chrome 相关</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Chrome notes")}}</p>
-
-<h3 id="Safari_相关">Safari 相关</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Safari notes")}}</p>
+{{Compat("api.Notification.actions")}}
<h2 id="更多">更多</h2>
diff --git a/files/zh-cn/web/api/notification/badge/index.html b/files/zh-cn/web/api/notification/badge/index.html
index 9858d6424c..ad026404f5 100644
--- a/files/zh-cn/web/api/notification/badge/index.html
+++ b/files/zh-cn/web/api/notification/badge/index.html
@@ -39,56 +39,4 @@ translation_of: Web/API/Notification/badge
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(53.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(39)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(39)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Notification.badge")}}
diff --git a/files/zh-cn/web/api/notification/body/index.html b/files/zh-cn/web/api/notification/body/index.html
index 02ada837d2..7e1f9ef24f 100644
--- a/files/zh-cn/web/api/notification/body/index.html
+++ b/files/zh-cn/web/api/notification/body/index.html
@@ -49,104 +49,7 @@ translation_of: Web/API/Notification/body
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5 {{ property_prefix("webkit") }} (see notes)<br>
- 22</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>4.0 {{ property_prefix("moz") }} (see notes)<br>
- 22</td>
- <td>{{ CompatNo() }}</td>
- <td>25</td>
- <td>6 (see notes)</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("41.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>4.0 {{ property_prefix("moz") }} (see notes)<br>
- 22</td>
- <td>1.0.1 {{ property_prefix("moz") }} (see notes)<br>
- 1.2</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(41.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Firefox_OS_备忘">Firefox OS 备忘</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Firefox OS notes")}}</p>
-
-<h3 id="Chrome_备忘">Chrome 备忘</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Chrome notes")}}</p>
-
-<h3 id="Safari_备忘">Safari 备忘</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Safari notes")}}</p>
+{{Compat("api.Notification.body")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/notification/close/index.html b/files/zh-cn/web/api/notification/close/index.html
index 294360572c..3e9fed617c 100644
--- a/files/zh-cn/web/api/notification/close/index.html
+++ b/files/zh-cn/web/api/notification/close/index.html
@@ -55,89 +55,7 @@ translation_of: Web/API/Notification/close
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5{{property_prefix("webkit")}}<sup>[1]</sup><br>
- 22</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}{{property_prefix("moz")}}<sup>[2]</sup><br>
- {{CompatGeckoDesktop("22.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>25</td>
- <td>6<sup>[3]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(4.0)}}{{property_prefix("moz")}}<sup>[2]</sup><br>
- {{CompatGeckoMobile(22.0)}}</td>
- <td>1.0.1{{property_prefix("moz")}}<sup>[2]</sup><br>
- 1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Before Chrome 22, the support for notification followed an <a href="http://www.chromium.org/developers/design-documents/desktop-notifications/api-specification">old prefixed version of the specification</a> and used the {{domxref("window.navigator.webkitNotifications","navigator.webkitNotifications")}} object to instantiate a new notification.</p>
-
-<p>Before Chrome 32, {{domxref("Notification.permission")}} was not supported.</p>
-
-<p>Before Chrome 42, service worker additions were not supported.</p>
-
-<p>[2] Prior to Firefox 22 (Firefox OS &lt;1.2), the instantiation of a new notification must be done with the {{domxref("window.navigator.mozNotification", "navigator.mozNotification")}} object through its <code>createNotification</code> method.</p>
-
-<p>Prior to Firefox 22 (Firefox OS &lt;1.2), the Notification was displayed when calling the <code>show</code> method and supported only the <code>click</code> and <code>close</code> events.</p>
-
-<p>Nick Desaulniers wrote a <a href="https://github.com/nickdesaulniers/fxos-irc/blob/master/js/notification.js">Notification shim</a> to cover both newer and older implementations.</p>
-
-<p>One particular Firefox OS issue is that you can <a href="https://github.com/nickdesaulniers/fxos-irc/blob/0160cf6c3a2b5c9fe33822aaf6bcba3b7e846da9/my.js#L171">pass a path to an icon</a> to use in the notification, but if the app is packaged you cannot use a relative path like <code>/my_icon.png</code>. You also can't use <code>window.location.origin + "/my_icon.png"</code> because <code>window.location.origin</code> is null in packaged apps. The <a href="https://developer.mozilla.org/en-US/Apps/Developing/Manifest#origin">manifest origin field</a> fixes this, but it is only available in Firefox OS 1.1+. A potential solution for supporting Firefox OS &lt;1.1 is to <a href="https://github.com/nickdesaulniers/fxos-irc/blob/0160cf6c3a2b5c9fe33822aaf6bcba3b7e846da9/my.js#L168">pass an absolute URL to an externally hosted version of the icon</a>. 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.</p>
-
-<p>When using notifications  in a Firefox OS app, be sure to add the <code>desktop-notification</code> permission in your manifest file. Notifications can be used at any permission level, hosted or above: <code>"permissions": { "desktop-notification": {} }</code></p>
-
-<p>[3] Safari started to support notification with Safari 6, but only on Mac OSX 10.8+ (Mountain Lion).</p>
+{{Compat("api.Notification.close")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/notification/data/index.html b/files/zh-cn/web/api/notification/data/index.html
index b7426d601e..d4d3c44a55 100644
--- a/files/zh-cn/web/api/notification/data/index.html
+++ b/files/zh-cn/web/api/notification/data/index.html
@@ -62,101 +62,7 @@ n.data // should return 'I like peas.'</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(44)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatOpera(34)}}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatChrome(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("41.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(34)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Secure contexts only</td>
- <td>{{CompatChrome(62)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(49)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(44)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatOperaMobile(34)}}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(44)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(41.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(34)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Secure contexts only</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(62)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(49)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Notification.data")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/notification/dir/index.html b/files/zh-cn/web/api/notification/dir/index.html
index 51d64db69c..c5c1c2e997 100644
--- a/files/zh-cn/web/api/notification/dir/index.html
+++ b/files/zh-cn/web/api/notification/dir/index.html
@@ -61,104 +61,7 @@ n.dir // 应该返回 'rtl'
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>5 {{ property_prefix("webkit") }} (看提示)<br>
- 22</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>4.0 {{ property_prefix("moz") }} (看提示)<br>
- 22</td>
- <td>{{ CompatNo() }}</td>
- <td>25</td>
- <td>6 (看提示)</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("41.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{ CompatUnknown() }}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>4.0 {{ property_prefix("moz") }} (看注释)<br>
- 22</td>
- <td>1.0.1 {{ property_prefix("moz") }} (看注释)<br>
- 1.2</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- </tr>
- <tr>
- <td>能在Worker里调用</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(41.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Firefox_OS_提示">Firefox OS 提示</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Firefox OS notes")}}</p>
-
-<h3 id="Chrome_提示">Chrome 提示</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Chrome notes")}}</p>
-
-<h3 id="Safari_提示">Safari 提示</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Safari notes")}}</p>
+{{Compat("api.Notification.dir")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/notification/index.html b/files/zh-cn/web/api/notification/index.html
index 1c85a11bca..c80d973d9d 100644
--- a/files/zh-cn/web/api/notification/index.html
+++ b/files/zh-cn/web/api/notification/index.html
@@ -174,81 +174,7 @@ translation_of: Web/API/Notification
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5 {{ property_prefix("webkit") }} (see notes)<br>
- 22</td>
- <td>4.0 {{ property_prefix("moz") }} (see notes)<br>
- 22</td>
- <td>{{ CompatNo() }}</td>
- <td>25</td>
- <td>6 (see notes)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>4.0 {{ property_prefix("moz") }} (see notes)<br>
- 22</td>
- <td>1.0.1 {{ property_prefix("moz") }} (see notes)<br>
- 1.2</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Gecko_备忘">Gecko 备忘</h3>
-
-<ul>
- <li>在 Firefox 22 (Firefox OS &lt;1.2) 之前,创建一个新的通知必须使用 {{ domxref("window.navigator.mozNotification","navigator.mozNotification") }} 对象的 <code>createNotification</code> 方法。</li>
- <li>在 Firefox 22 (Firefox OS &lt;1.2) 之前,当调用 <code>show</code> 方法时通知才会被显示出来,并且只支持 <code>click</code> 和 <code>close</code> 事件。</li>
- <li>Nick Desaulniers 编写了一个 <a href="https://github.com/nickdesaulniers/fxos-irc/blob/master/js/notification.js">Notification shim</a> 以向前和向后兼容各种版本的实现。</li>
- <li>在 Firefox OS 有个特别的问题, <a href="https://github.com/nickdesaulniers/fxos-irc/blob/0160cf6c3a2b5c9fe33822aaf6bcba3b7e846da9/my.js#L171">你可以传递一个图标路径</a> 用于通知,但是如果应用被打包了你就不能使用相对路径,比如: <code>/my_icon.png</code>。同样的,你也不能这样用: <code>window.location.origin + "/my_icon.png"</code>,<code>因为 window.location.origin</code> 的值在打包的应用里为 null。 <a href="https://developer.mozilla.org/en-US/Apps/Developing/Manifest#origin">清单来源字段</a> 可以修复这个问题,但是这个方法只在 Firefox OS 1.1+ 版本中有效。不过有个潜在的解决方案可以用于 Firefox OS &lt;1.1 版本,就是 <a href="https://github.com/nickdesaulniers/fxos-irc/blob/0160cf6c3a2b5c9fe33822aaf6bcba3b7e846da9/my.js#L168">传递图标的位于外部服务器的绝对 URL</a> 。这个方案并不理想,如通知要立即显示而没有图标,那么将会请求服务器,但是可以用于所有版本的 Firefox OS。</li>
-</ul>
-
-<h3 id="Chrome_备忘">Chrome 备忘</h3>
-
-<ul>
- <li>在 Chrome 22 版本之前,如果要使用通知需要 <a href="http://www.chromium.org/developers/design-documents/desktop-notifications/api-specification">旧的带前缀版本的规范</a> ,并且使用{{domxref("window.navigator.webkitNotifications","navigator.webkitNotifications")}} 对象创建一个新的通知实例。</li>
- <li>在 Chrome 32 版本之前,不支持 {{domxref("Notification.permission")}} 属性。</li>
-</ul>
-
-<h3 id="Safari_备忘">Safari 备忘</h3>
-
-<ul>
- <li>Safari 在 Safari 6 版本开始支持通知,但是只能在 Mac OSX 10.8+ (Mountain Lion) 中使用。</li>
-</ul>
+{{Compat("api.Notification")}}
<h2 id="请参见">请参见</h2>
diff --git a/files/zh-cn/web/api/notification/notification/index.html b/files/zh-cn/web/api/notification/notification/index.html
index a4954e446a..b6cae7a74d 100644
--- a/files/zh-cn/web/api/notification/notification/index.html
+++ b/files/zh-cn/web/api/notification/notification/index.html
@@ -81,218 +81,7 @@ translation_of: Web/API/Notification/Notification
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5 {{ property_prefix("webkit") }} (see notes)<br>
- 22</td>
- <td>4.0 {{ property_prefix("moz") }} (see notes)<br>
- 22</td>
- <td>{{ CompatNo() }}</td>
- <td>25</td>
- <td>6 (see notes)</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("41.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>icon</code> option</td>
- <td>5 {{ property_prefix("webkit") }} (see notes)<br>
- 22</td>
- <td>4.0 {{ property_prefix("moz") }} (see notes)<br>
- 22</td>
- <td>{{ CompatNo() }}</td>
- <td>25</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><font face="Consolas, Liberation Mono, Courier, monospace">vibrate</font></td>
- <td>{{CompatChrome(45.0)}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>requireInteraction</code></td>
- <td>{{CompatChrome(47.0)}}</td>
- <td> </td>
- <td> </td>
- <td>32</td>
- <td> </td>
- </tr>
- <tr>
- <td><code>renotify</code></td>
- <td>{{CompatChrome(50.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td><code>badge</code></td>
- <td>{{compatChrome(53.0)}}</td>
- <td> </td>
- <td> </td>
- <td>{{CompatOpera(39.0)}}</td>
- <td> </td>
- </tr>
- <tr>
- <td><code>image</code></td>
- <td>{{compatChrome(55.0)}}</td>
- <td> </td>
- <td> </td>
- <td>{{CompatUnknown}}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- <td>4.0 {{ property_prefix("moz") }} (see notes)<br>
- 22</td>
- <td>1.0.1 {{ property_prefix("moz") }} (see notes)<br>
- 1.2</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(41.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>icon option</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>4.0 {{ property_prefix("moz") }} (see notes)<br>
- 22</td>
- <td>1.0.1 {{ property_prefix("moz") }} (see notes)<br>
- 1.2</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><font face="Consolas, Liberation Mono, Courier, monospace">vibrate</font></td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(45.0)}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>32</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(45.0)}}</td>
- </tr>
- <tr>
- <td><code>requireInteraction</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>renotify</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- <tr>
- <td><code>badge</code></td>
- <td>{{CompatNo}}</td>
- <td>{{compatChrome(53.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatOperaMobile(39.0)}}</td>
- <td> </td>
- <td>{{compatChrome(53.0)}}</td>
- </tr>
- <tr>
- <td><code>image</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatUnknown}}</td>
- <td> </td>
- <td>{{compatChrome(55.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Firefox_OS_notes">Firefox OS notes</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Firefox OS notes")}}</p>
-
-<h3 id="Chrome_notes">Chrome notes</h3>
-
-<p>Starting in Chrome 49, notifications do not work in incognito mode.</p>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Chrome notes")}}</p>
-
-<h3 id="Safari_notes">Safari notes</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Safari notes")}}</p>
+{{Compat("api.Notification.Notification")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/notification/permission/index.html b/files/zh-cn/web/api/notification/permission/index.html
index 7cd16cf9d1..3ace633ea6 100644
--- a/files/zh-cn/web/api/notification/permission/index.html
+++ b/files/zh-cn/web/api/notification/permission/index.html
@@ -72,104 +72,7 @@ translation_of: Web/API/Notification/permission
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5 {{ property_prefix("webkit") }} (see notes)<br>
- 22</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>4.0 {{ property_prefix("moz") }} (see notes)<br>
- 22</td>
- <td>{{ CompatNo() }}</td>
- <td>25</td>
- <td>6 (see notes)</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("41.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>4.0 {{ property_prefix("moz") }} (see notes)<br>
- 22</td>
- <td>1.0.1 {{ property_prefix("moz") }} (see notes)<br>
- 1.2</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(41.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Firefox_OS_notes">Firefox OS notes</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Firefox OS notes")}}</p>
-
-<h3 id="Chrome_notes">Chrome notes</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Chrome notes")}}</p>
-
-<h3 id="Safari_notes">Safari notes</h3>
-
-<p>{{Page("/en-US/docs/Web/API/Notifications_API", "Safari notes")}}</p>
+{{Compat("api.Notification.permission")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/notification/requestpermission/index.html b/files/zh-cn/web/api/notification/requestpermission/index.html
index 90b3efebff..f49bc4b494 100644
--- a/files/zh-cn/web/api/notification/requestpermission/index.html
+++ b/files/zh-cn/web/api/notification/requestpermission/index.html
@@ -65,107 +65,7 @@ translation_of: Web/API/Notification/requestPermission
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5{{property_prefix("webkit")}}<sup>[1]</sup><br>
- 22</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}{{property_prefix("moz")}}<sup>[2]</sup><br>
- {{CompatGeckoDesktop("22.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>25</td>
- <td>6<sup>[3]</sup></td>
- </tr>
- <tr>
- <td>promise-based version</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("47.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(40)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}{{property_prefix("moz")}}<sup>[2]</sup><br>
- {{CompatGeckoMobile("22.0")}}</td>
- <td>1.0.1{{property_prefix("moz")}}<sup>[2]</sup><br>
- 1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>promise-based version</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("47.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在 Chrome 22 之前,对于通知的支持请参考 <a href="http://www.chromium.org/developers/design-documents/desktop-notifications/api-specification">old prefixed version of the specification</a> 它使用 {{domxref("window.navigator.webkitNotifications","navigator.webkitNotifications")}} 对象去实例化一个新的通知。</p>
-
-<p>在 Chrome 32 之前,不支持 {{domxref("Notification.permission")}} 。</p>
-
-<p>在 Chrome 42 之前,不支持在 service worker 中使用这个API。</p>
-
-<p>[2] 对于 Firefox 22 之前的版本 (Firefox OS &lt;1.2),实例化一个新的通知必须使用 {{domxref("window.navigator.mozNotification", "navigator.mozNotification")}} 对象中的 <code>createNotification</code> 方法.</p>
-
-<p>对于 Firefox 22 之前的版本 (Firefox OS &lt;1.2),通知只会在 <code>show</code> 方法被调用后显示,而且只支持 <code>click</code> 和 <code>close</code> 事件。</p>
-
-<p>Nick Desaulniers 写了一个 <a href="https://github.com/nickdesaulniers/fxos-irc/blob/master/js/notification.js">Notification shim</a> 来同时兼容新旧两种写法。</p>
-
-<p>在 Firefox OS 上有一个特殊的问题是:虽然你可以在通知中使用 <a href="https://github.com/nickdesaulniers/fxos-irc/blob/0160cf6c3a2b5c9fe33822aaf6bcba3b7e846da9/my.js#L171">包含路径的图标</a> ,但是如果应用被打包了,你就不能使用形如 <code>/my_icon.png</code> 这样的相对路径。当然你也不能使用<code>window.location.origin + "/my_icon.png"</code> ,因为 <code>window.location.origin</code> 在打包的应用中的值是<code>null</code>。<a href="https://developer.mozilla.org/en-US/Apps/Developing/Manifest#origin">manifest origin field</a> 修复了这个问题,但是它只能在 Firefox OS 1.1+ 中使用。一个潜在的支持 Firefox OS &lt;1.1 的解决方案是 <a href="https://github.com/nickdesaulniers/fxos-irc/blob/0160cf6c3a2b5c9fe33822aaf6bcba3b7e846da9/my.js#L168">传递一个指向外部部署的图标的绝对路径的URL</a>。这并不是一个理想的解决方案,因为这将导致通知以无图标的形式出现,然后图标才会被获取,但是这个方法适用于所有版本的 Firefox OS.</p>
-
-<p>在 Firefox OS app 中使用通知的时候,确保添加 <code>desktop-notification</code> 权限到你的 manifest 文件中。通知即可在任何权限等级,外部部署或者像下面这样 <code>"permissions": { "desktop-notification": {} }</code> 的情况下使用。</p>
-
-<p>[3] Safari 在 Safari 6 之后支持通知,但是只能在 Mac OSX 10.8+ (Mountain Lion) 中使用。</p>
+{{Compat("api.Notification.requestPermission")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/notifications_api/index.html b/files/zh-cn/web/api/notifications_api/index.html
index f6e9a1bf7f..8a46465d0f 100644
--- a/files/zh-cn/web/api/notifications_api/index.html
+++ b/files/zh-cn/web/api/notifications_api/index.html
@@ -71,115 +71,7 @@ translation_of: Web/API/Notifications_API
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5{{property_prefix("webkit")}}<sup>[1]</sup><br>
- 22</td>
- <td>{{CompatGeckoDesktop("2.0")}}{{property_prefix("moz")}}<sup>[2]</sup><br>
- {{CompatGeckoDesktop("22.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>25</td>
- <td>6<sup>[3]</sup></td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("41.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Service worker additions</td>
- <td>
- <p>{{CompatChrome(42.0)}}</p>
- </td>
- <td>{{CompatGeckoDesktop("42.0")}}<sup>[4]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- <td>{{CompatGeckoMobile(2.0)}}{{property_prefix("moz")}}<sup>[2]</sup><br>
- {{CompatGeckoMobile(22.0)}}</td>
- <td>1.0.1{{property_prefix("moz")}}<sup>[2]</sup><br>
- 1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(41.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Service worker additions</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(42.0)}}<sup>[4]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(42.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在 Chrome 22 之前, 通知接口遵守一个旧版本的提案(an <a href="http://www.chromium.org/developers/design-documents/desktop-notifications/api-specification">old prefixed version of the specification</a> )使用一个包含前缀符的{{domxref("window.navigator.webkitNotifications","navigator.webkitNotifications")}} 对象来实例化一个通知对象。 在 Chrome 32之前, {{domxref("Notification.permission")}}属性不支持。</p>
-
-<p>[2] 在 Firefox 22 (Firefox OS &lt;1.2)之前,通知对象的实例化需要使用{{domxref("window.navigator.mozNotification", "navigator.mozNotification")}} 对象的 <code style="font-style: normal; font-weight: normal;">createNotification()</code> 方法。另外,通知对象需要使用 <code style="font-style: normal; font-weight: normal;">show()</code> 方法来显示,并且仅支持 <code style="font-style: normal; font-weight: normal;">click</code> 和 <code style="font-style: normal; font-weight: normal;">close</code> 事件 (Nick Desaulniers 写了一个通知的兼容解决方法( a <a href="https://github.com/nickdesaulniers/fxos-irc/blob/master/js/notification.js">Notification shim</a> )来覆盖旧浏览器和现代浏览器。)</p>
-
-<p>[3] Safari 从Safari 6开始支持通知,但只在 Mac OSX 10.8+ (Mountain Lion)上。</p>
-
-<p>[4] Firefox 42 has shipped with web notifications from Service Workers disabled.</p>
+{{Compat("api.Notification")}}
<h2 id="Firefox_OS_permissions">Firefox OS permissions</h2>
diff --git a/files/zh-cn/web/api/offlineaudiocontext/index.html b/files/zh-cn/web/api/offlineaudiocontext/index.html
index 4169678330..befb838ae0 100644
--- a/files/zh-cn/web/api/offlineaudiocontext/index.html
+++ b/files/zh-cn/web/api/offlineaudiocontext/index.html
@@ -126,122 +126,7 @@ getData();</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(10.0)}}{{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>15.0{{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6.0{{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td>Promise-based <code>startRendering()</code></td>
- <td>{{CompatChrome(42.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(37.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>suspend()</code>, <code>resume()</code></td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td><code>length</code></td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>Edge</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(33.0)}}</td>
- <td>26.0</td>
- <td>1.2</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Promise-based <code>startRendering()</code></td>
- <td>{{CompatChrome(42.0)}}</td>
- <td>37.0</td>
- <td>2.2</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(42.0)}}</td>
- </tr>
- <tr>
- <td><code>suspend()</code>, <code>resume()</code></td>
- <td>{{CompatChrome(49.0)}}</td>
- <td> </td>
- <td> </td>
- <td>{{CompatUnknown}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- <tr>
- <td><code>length</code></td>
- <td>{{CompatChrome(51.0)}}</td>
- <td> </td>
- <td> </td>
- <td>{{CompatUnknown}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(51.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.OfflineAudioContext")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/offlineaudiocontext/length/index.html b/files/zh-cn/web/api/offlineaudiocontext/length/index.html
index 86bfdb3a14..19b242ef5d 100644
--- a/files/zh-cn/web/api/offlineaudiocontext/length/index.html
+++ b/files/zh-cn/web/api/offlineaudiocontext/length/index.html
@@ -34,56 +34,4 @@ translation_of: Web/API/OfflineAudioContext/length
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(51.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(51.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.OfflineAudioContext.length")}}
diff --git a/files/zh-cn/web/api/offlineaudiocontext/offlineaudiocontext/index.html b/files/zh-cn/web/api/offlineaudiocontext/offlineaudiocontext/index.html
index e811ad5188..1e569ad184 100644
--- a/files/zh-cn/web/api/offlineaudiocontext/offlineaudiocontext/index.html
+++ b/files/zh-cn/web/api/offlineaudiocontext/offlineaudiocontext/index.html
@@ -63,58 +63,4 @@ source <span class="operator token">=</span> offlineCtx<span class="punctuation
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}<br>
-  </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>{{CompatVersionUnknown}}</p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}<br>
-  </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.OfflineAudioContext.OfflineAudioContext")}}
diff --git a/files/zh-cn/web/api/offlineaudiocontext/suspend/index.html b/files/zh-cn/web/api/offlineaudiocontext/suspend/index.html
index 26b475b126..f9c295ae22 100644
--- a/files/zh-cn/web/api/offlineaudiocontext/suspend/index.html
+++ b/files/zh-cn/web/api/offlineaudiocontext/suspend/index.html
@@ -56,56 +56,4 @@ translation_of: Web/API/OfflineAudioContext/suspend
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.OfflineAudioContext.suspend")}}
diff --git a/files/zh-cn/web/api/origin/index.html b/files/zh-cn/web/api/origin/index.html
index eeb79e7cf3..e76ca91848 100644
--- a/files/zh-cn/web/api/origin/index.html
+++ b/files/zh-cn/web/api/origin/index.html
@@ -48,52 +48,4 @@ original_slug: Web/API/WindowOrWorkerGlobalScope/origin
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{CompatGeckoDesktop(54)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{CompatGeckoMobile(54)}} </td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.origin")}}
diff --git a/files/zh-cn/web/api/oscillatornode/detune/index.html b/files/zh-cn/web/api/oscillatornode/detune/index.html
index 436ea0a26d..94fe8f39ea 100644
--- a/files/zh-cn/web/api/oscillatornode/detune/index.html
+++ b/files/zh-cn/web/api/oscillatornode/detune/index.html
@@ -56,62 +56,7 @@ oscillator.start();</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>23</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>25</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.OscillatorNode.detune")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/oscillatornode/frequency/index.html b/files/zh-cn/web/api/oscillatornode/frequency/index.html
index 156531a8e6..1cea784645 100644
--- a/files/zh-cn/web/api/oscillatornode/frequency/index.html
+++ b/files/zh-cn/web/api/oscillatornode/frequency/index.html
@@ -55,62 +55,7 @@ oscillator.start();</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>23</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>25</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.OscillatorNode.frequency")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/oscillatornode/index.html b/files/zh-cn/web/api/oscillatornode/index.html
index 7b1bf096bc..69275dff46 100644
--- a/files/zh-cn/web/api/oscillatornode/index.html
+++ b/files/zh-cn/web/api/oscillatornode/index.html
@@ -103,85 +103,7 @@ oscillator.start();</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>25</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td>constructor</td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(42)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>25</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- </tr>
- <tr>
- <td>constructor</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(42)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(55.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.OscillatorNode")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/oscillatornode/oscillatornode/index.html b/files/zh-cn/web/api/oscillatornode/oscillatornode/index.html
index cea622d021..da9ce6082b 100644
--- a/files/zh-cn/web/api/oscillatornode/oscillatornode/index.html
+++ b/files/zh-cn/web/api/oscillatornode/oscillatornode/index.html
@@ -52,56 +52,4 @@ translation_of: Web/API/OscillatorNode/OscillatorNode
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(55)}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(25)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(42)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(55)}}<sup>[1]</sup></td>
- <td>{{CompatChrome(55)}}<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile(25)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(42)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Chrome 59 之前,不支持默认属性。 </p>
+{{Compat("api.OscillatorNode.OscillatorNode")}}
diff --git a/files/zh-cn/web/api/oscillatornode/setperiodicwave/index.html b/files/zh-cn/web/api/oscillatornode/setperiodicwave/index.html
index 43f27ec698..9b9706025b 100644
--- a/files/zh-cn/web/api/oscillatornode/setperiodicwave/index.html
+++ b/files/zh-cn/web/api/oscillatornode/setperiodicwave/index.html
@@ -75,62 +75,7 @@ osc.stop(2);</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>23</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>25</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.OscillatorNode.setPeriodicWave")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/path2d/addpath/index.html b/files/zh-cn/web/api/path2d/addpath/index.html
index 656c35342c..807d20ea45 100644
--- a/files/zh-cn/web/api/path2d/addpath/index.html
+++ b/files/zh-cn/web/api/path2d/addpath/index.html
@@ -124,55 +124,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(34)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(34)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Path2D.addPath")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/path2d/index.html b/files/zh-cn/web/api/path2d/index.html
index b27962c96c..505c87335b 100644
--- a/files/zh-cn/web/api/path2d/index.html
+++ b/files/zh-cn/web/api/path2d/index.html
@@ -60,69 +60,7 @@ translation_of: Web/API/Path2D
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("31")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("Path2D.addPath()")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("34")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("31")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("Path2D.addPath()")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("34")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Path2D")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/path2d/path2d/index.html b/files/zh-cn/web/api/path2d/path2d/index.html
index 8e1b9552be..22ff8a80c1 100644
--- a/files/zh-cn/web/api/path2d/path2d/index.html
+++ b/files/zh-cn/web/api/path2d/path2d/index.html
@@ -167,53 +167,7 @@ window.addEventListener("load", drawCanvas);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("31.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("31.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Path2D.Path2D")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/paymentaddress/index.html b/files/zh-cn/web/api/paymentaddress/index.html
index c45261b36d..c528d2feba 100644
--- a/files/zh-cn/web/api/paymentaddress/index.html
+++ b/files/zh-cn/web/api/paymentaddress/index.html
@@ -68,58 +68,4 @@ translation_of: Web/API/PaymentAddress
<h2 id="Browser_Compatibility">Browser Compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p>{{CompatChrome(53.0)}}</p>
- </td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.PaymentAddress")}}
diff --git a/files/zh-cn/web/api/performance/clearmarks/index.html b/files/zh-cn/web/api/performance/clearmarks/index.html
index 5ccd6a016b..5dedec0953 100644
--- a/files/zh-cn/web/api/performance/clearmarks/index.html
+++ b/files/zh-cn/web/api/performance/clearmarks/index.html
@@ -73,60 +73,4 @@ function clear_all_marks() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>41</td>
- <td>10</td>
- <td>33</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>42</td>
- <td>42</td>
- <td>10</td>
- <td>33</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Performance.clearMarks")}}
diff --git a/files/zh-cn/web/api/performance/clearmeasures/index.html b/files/zh-cn/web/api/performance/clearmeasures/index.html
index 66cd9b0685..bd4888f5cf 100644
--- a/files/zh-cn/web/api/performance/clearmeasures/index.html
+++ b/files/zh-cn/web/api/performance/clearmeasures/index.html
@@ -75,60 +75,4 @@ function clear_all_measures() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>41</td>
- <td>10</td>
- <td>33</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>42</td>
- <td>42</td>
- <td>10</td>
- <td>33</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Performance.clearMeasures")}}
diff --git a/files/zh-cn/web/api/performance/mark/index.html b/files/zh-cn/web/api/performance/mark/index.html
index 2ad91c1edb..f55e6c4b64 100644
--- a/files/zh-cn/web/api/performance/mark/index.html
+++ b/files/zh-cn/web/api/performance/mark/index.html
@@ -95,60 +95,4 @@ performance.clearMarks();</pre>
<h2 id="浏览器兼容">浏览器兼容</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic Support</td>
- <td>{{CompatChrome(43.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>41</td>
- <td>10</td>
- <td>33</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic Support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>42</td>
- <td>42</td>
- <td>10</td>
- <td>33</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Performance.mark")}}
diff --git a/files/zh-cn/web/api/performance/onresourcetimingbufferfull/index.html b/files/zh-cn/web/api/performance/onresourcetimingbufferfull/index.html
index 452955edf0..7e26cf4793 100644
--- a/files/zh-cn/web/api/performance/onresourcetimingbufferfull/index.html
+++ b/files/zh-cn/web/api/performance/onresourcetimingbufferfull/index.html
@@ -53,69 +53,7 @@ function init() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support.</td>
- <td>{{CompatVersionUnknown}}
- <p>{{property_prefix("-webkit")}}<br>
- {{CompatChrome(46)}} (unprefixed)<br>
- {{CompatChrome(57)}} (prefixed version removed)</p>
- </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support.</td>
- <td>{{CompatVersionUnknown}}
- <p>{{property_prefix("-webkit")}}<br>
- {{CompatChrome(46)}} (unprefixed)<br>
- {{CompatChrome(57)}} (prefixed version removed)</p>
- </td>
- <td>{{CompatVersionUnknown}}
- <p>{{property_prefix("-webkit")}}<br>
- {{CompatChrome(46)}} (unprefixed)<br>
- {{CompatChrome(57)}} (prefixed version removed)</p>
- </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Performance.onresourcetimingbufferfull")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/performance/timeorigin/index.html b/files/zh-cn/web/api/performance/timeorigin/index.html
index d7d38f6781..37a7230b3c 100644
--- a/files/zh-cn/web/api/performance/timeorigin/index.html
+++ b/files/zh-cn/web/api/performance/timeorigin/index.html
@@ -34,52 +34,4 @@ translation_of: Web/API/Performance/timeOrigin
<h2 id="Browser_Compatibility">Browser Compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(62)}}</td>
- <td>{{CompatGeckoDesktop(59)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(49)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(62)}}</td>
- <td>{{CompatChrome(62)}}</td>
- <td>{{CompatGeckoMobile(59)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(49)}}</td>
- <td>{{CompatUnknown}}只读属性  <strong><code><font face="Courier New">timeOrigin</font></code></strong> timestampperformance.timeOrigin</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Performance.timeOrigin")}}
diff --git a/files/zh-cn/web/api/performanceobserver/observe/index.html b/files/zh-cn/web/api/performanceobserver/observe/index.html
index a397f4dda3..1d0d2274b7 100644
--- a/files/zh-cn/web/api/performanceobserver/observe/index.html
+++ b/files/zh-cn/web/api/performanceobserver/observe/index.html
@@ -79,56 +79,4 @@ observer2.observe({entryTypes: ["measure"]});
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(52.0)}}</td>
- <td>{{CompatGeckoDesktop(57)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera("39")}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(57)}}</td>
- <td>{{CompatNo}}</td>
- <td>
- <p>{{CompatOperaMobile(39)}}</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(52.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.PerformanceObserver.observe")}}
diff --git a/files/zh-cn/web/api/performancepainttiming/index.html b/files/zh-cn/web/api/performancepainttiming/index.html
index 22be6268da..35d3875f84 100644
--- a/files/zh-cn/web/api/performancepainttiming/index.html
+++ b/files/zh-cn/web/api/performancepainttiming/index.html
@@ -77,54 +77,4 @@ The time to first-contentful-paint was 2787.460 milliseconds.</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.PerformancePaintTiming")}}
diff --git a/files/zh-cn/web/api/pointer_lock_api/index.html b/files/zh-cn/web/api/pointer_lock_api/index.html
index fac9eb5122..37376c65fa 100644
--- a/files/zh-cn/web/api/pointer_lock_api/index.html
+++ b/files/zh-cn/web/api/pointer_lock_api/index.html
@@ -203,63 +203,7 @@ document.exitPointerLock();
<h2 id="Browser_compatibiltiy" name="Browser_compatibiltiy">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>
- <p>目标是 23{{ property_prefix("webkit") }}*</p>
-
- <p>参见<a class="external" href="http://code.google.com/p/chromium/issues/detail?id=72754" title="http://code.google.com/p/chromium/issues/detail?id=72754"> CR/72574</a></p>
- </td>
- <td>
- <p>{{ CompatGeckoDesktop("14.0") }}</p>
-
- <p>{{bug("633602") }}</p>
- </td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>* 在 <code>about:flags</code> 中要求这些特性被启用或是使用 <code>--enable-pointer-lock</code> 标记启动 Chrome。</p>
+{{Compat("api.Element.requestPointerLock")}}
<h2 id="See_also" name="See_also">参见</h2>
diff --git a/files/zh-cn/web/api/progressevent/lengthcomputable/index.html b/files/zh-cn/web/api/progressevent/lengthcomputable/index.html
index e68ad4f42e..a115d34e41 100644
--- a/files/zh-cn/web/api/progressevent/lengthcomputable/index.html
+++ b/files/zh-cn/web/api/progressevent/lengthcomputable/index.html
@@ -30,57 +30,7 @@ translation_of: Web/API/ProgressEvent/lengthComputable
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.ProgressEvent.lengthComputable")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/promiserejectionevent/index.html b/files/zh-cn/web/api/promiserejectionevent/index.html
index 997aa87b43..7c9d0e127a 100644
--- a/files/zh-cn/web/api/promiserejectionevent/index.html
+++ b/files/zh-cn/web/api/promiserejectionevent/index.html
@@ -65,55 +65,7 @@ translation_of: Web/API/PromiseRejectionEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>49</td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在 Firefox 里,有实现这个接口但是默认是禁用的。要打开它的话,去到about:config 将 <code>dom.promise_rejection_events.enabled 启用为真。</code></p>
+{{Compat("api.PromiseRejectionEvent")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/promiserejectionevent/promiserejectionevent/index.html b/files/zh-cn/web/api/promiserejectionevent/promiserejectionevent/index.html
index 6d6e1e3d92..226f91c343 100644
--- a/files/zh-cn/web/api/promiserejectionevent/promiserejectionevent/index.html
+++ b/files/zh-cn/web/api/promiserejectionevent/promiserejectionevent/index.html
@@ -56,55 +56,7 @@ translation_of: Web/API/PromiseRejectionEvent/PromiseRejectionEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>49</td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Firefox里,实现了这个构造函数但是默认是禁用的。为了打开它,需去到 about:config 然后将 <code>dom.promise_rejection_events.enabled</code> 设置启用为真。</p>
+{{Compat("api.PromiseRejectionEvent.PromiseRejectionEvent")}}
<h2 id="另请参阅">另请参阅</h2>
diff --git a/files/zh-cn/web/api/pushmanager/subscribe/index.html b/files/zh-cn/web/api/pushmanager/subscribe/index.html
index 0e0f4c12e0..9172396f19 100644
--- a/files/zh-cn/web/api/pushmanager/subscribe/index.html
+++ b/files/zh-cn/web/api/pushmanager/subscribe/index.html
@@ -72,64 +72,7 @@ navigator.serviceWorker.register('serviceworker.js').then(
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42.0)}}</td>
- <td>{{CompatGeckoDesktop(44.0)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(48)}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(42.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] Push (and <a href="/en-US/docs/Web/API/Service_Worker_API">Service Workers</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 Extended Support Release</a> (ESR.)</li>
- <li>[2] Push has been enabled by default on Firefox for Android version 48.</li>
-</ul>
+{{Compat("api.PushManager.subscribe")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/pushmessagedata/index.html b/files/zh-cn/web/api/pushmessagedata/index.html
index bf38ec955b..7a4650abc9 100644
--- a/files/zh-cn/web/api/pushmessagedata/index.html
+++ b/files/zh-cn/web/api/pushmessagedata/index.html
@@ -79,64 +79,7 @@ translation_of: Web/API/PushMessageData
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop(44.0)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(48)}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] Push (and <a href="/en-US/docs/Web/API/Service_Worker_API">Service Workers</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</li>
- <li>[2] Push has been enabled by default on Firefox for Android version 48.</li>
-</ul>
+{{Compat("api.PushMessageData")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/pushmessagedata/json/index.html b/files/zh-cn/web/api/pushmessagedata/json/index.html
index 115fce8052..212b60b343 100644
--- a/files/zh-cn/web/api/pushmessagedata/json/index.html
+++ b/files/zh-cn/web/api/pushmessagedata/json/index.html
@@ -48,64 +48,7 @@ translation_of: Web/API/PushMessageData/json
<h2 id="Browser_Compatibility">Browser Compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(50.0)}}</td>
- <td>{{CompatGeckoDesktop(44.0)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(48)}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(50.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] Push (and <a href="/en-US/docs/Web/API/Service_Worker_API">Service Workers</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</li>
- <li>[2] Push has been enabled by default on Firefox for Android version 48.</li>
-</ul>
+{{Compat("api.PushMessageData.json")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/range/clonerange/index.html b/files/zh-cn/web/api/range/clonerange/index.html
index ab2f842993..a0822a84f7 100644
--- a/files/zh-cn/web/api/range/clonerange/index.html
+++ b/files/zh-cn/web/api/range/clonerange/index.html
@@ -45,57 +45,7 @@ clone = range.cloneRange();
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Range.cloneRange")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/range/collapsed/index.html b/files/zh-cn/web/api/range/collapsed/index.html
index 36a9f82972..7830bc3305 100644
--- a/files/zh-cn/web/api/range/collapsed/index.html
+++ b/files/zh-cn/web/api/range/collapsed/index.html
@@ -49,53 +49,7 @@ isCollapsed = range.collapsed;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Range.collapsed")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/api/range/deletecontents/index.html b/files/zh-cn/web/api/range/deletecontents/index.html
index 44c82fb1d7..8d2307a5f7 100644
--- a/files/zh-cn/web/api/range/deletecontents/index.html
+++ b/files/zh-cn/web/api/range/deletecontents/index.html
@@ -50,57 +50,7 @@ range.deleteContents();
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Range.deleteContents")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/range/endcontainer/index.html b/files/zh-cn/web/api/range/endcontainer/index.html
index f69106d61b..3ebe38bb08 100644
--- a/files/zh-cn/web/api/range/endcontainer/index.html
+++ b/files/zh-cn/web/api/range/endcontainer/index.html
@@ -46,57 +46,7 @@ endRangeNode = range.endContainer;
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Range.endContainer")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/range/insertnode/index.html b/files/zh-cn/web/api/range/insertnode/index.html
index fa1c070c07..beadf9a3fb 100644
--- a/files/zh-cn/web/api/range/insertnode/index.html
+++ b/files/zh-cn/web/api/range/insertnode/index.html
@@ -56,61 +56,7 @@ range.insertNode(newNode);
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}<br>
- {{CompatGeckoDesktop("14.0")}}<sup>[1]</sup></td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}<br>
- {{CompatGeckoDesktop("14.0")}}<sup>[1]</sup></td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Prior to Gecko 14.0 {{geckoRelease("14.0")}}, this method had no effect on collapsed ranges. Now it behaves as per the specification.</p>
+{{Compat("api.Range.insertNode")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/range/range/index.html b/files/zh-cn/web/api/range/range/index.html
index 1cb97c1419..9c20ad2e3f 100644
--- a/files/zh-cn/web/api/range/range/index.html
+++ b/files/zh-cn/web/api/range/range/index.html
@@ -64,53 +64,7 @@ selection<span class="punctuation token">.</span><span class="function token">ad
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("24.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>15.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("24.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>15.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Range.Range")}}
<h2 id="扩展">扩展</h2>
diff --git a/files/zh-cn/web/api/range/setend/index.html b/files/zh-cn/web/api/range/setend/index.html
index 0a59945e12..628fc9e004 100644
--- a/files/zh-cn/web/api/range/setend/index.html
+++ b/files/zh-cn/web/api/range/setend/index.html
@@ -61,57 +61,7 @@ range.setEnd(endNode, endOffset);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Range.setEnd")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/range/setstart/index.html b/files/zh-cn/web/api/range/setstart/index.html
index 80c098ea98..aa7fb7d0d0 100644
--- a/files/zh-cn/web/api/range/setstart/index.html
+++ b/files/zh-cn/web/api/range/setstart/index.html
@@ -57,53 +57,7 @@ range.setStart(startNode,startOffset);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Range.setStart")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/range/startcontainer/index.html b/files/zh-cn/web/api/range/startcontainer/index.html
index d69c0baad6..c32cd657d0 100644
--- a/files/zh-cn/web/api/range/startcontainer/index.html
+++ b/files/zh-cn/web/api/range/startcontainer/index.html
@@ -48,57 +48,7 @@ startRangeNode = range.startContainer;
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Range.startContainer")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/readablestreamdefaultreader/index.html b/files/zh-cn/web/api/readablestreamdefaultreader/index.html
index 499d15013c..e612632981 100644
--- a/files/zh-cn/web/api/readablestreamdefaultreader/index.html
+++ b/files/zh-cn/web/api/readablestreamdefaultreader/index.html
@@ -87,58 +87,4 @@ translation_of: Web/API/ReadableStreamDefaultReader
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p>{{CompatChrome(52.0)}}</p>
- </td>
- <td>{{CompatGeckoDesktop("57.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>
- <p>{{CompatOpera(39)}}</p>
- </td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(39)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.ReadableStreamDefaultReader")}}
diff --git a/files/zh-cn/web/api/request/method/index.html b/files/zh-cn/web/api/request/method/index.html
index a10396fe27..49e14ecfef 100644
--- a/files/zh-cn/web/api/request/method/index.html
+++ b/files/zh-cn/web/api/request/method/index.html
@@ -41,68 +41,7 @@ var myMethod = myRequest.method; // GET</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This feature is implemented behind a preference.</p>
+{{Compat("api.Request.method")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/request/url/index.html b/files/zh-cn/web/api/request/url/index.html
index de2a6d17f1..6bf06e66c5 100644
--- a/files/zh-cn/web/api/request/url/index.html
+++ b/files/zh-cn/web/api/request/url/index.html
@@ -41,68 +41,7 @@ var myURL = myRequest.url; // "http://mdn.github.io/fetch-examples/fetch-request
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This feature is implemented behind a preference.</p>
+{{Compat("api.Request.url")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/response/arraybuffer/index.html b/files/zh-cn/web/api/response/arraybuffer/index.html
index 48ec4e65a2..ff93782644 100644
--- a/files/zh-cn/web/api/response/arraybuffer/index.html
+++ b/files/zh-cn/web/api/response/arraybuffer/index.html
@@ -79,65 +79,7 @@ play.onclick = function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(41) }}<sup>[1]</sup><br>
- {{ CompatChrome(42) }}<br>
-  </td>
- <td>34<sup>[1]</sup><br>
- {{ CompatGeckoDesktop(39)}}</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>28<sup>[1]</sup><br>
- 29</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] In Chrome 42, Firefox 34 and Opera 28 support for <code>arrayBuffer()</code> was hidden behind a preference.</p>
+{{Compat("api.Response.arrayBuffer")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/response/blob/index.html b/files/zh-cn/web/api/response/blob/index.html
index 89444de3d4..6a33604116 100644
--- a/files/zh-cn/web/api/response/blob/index.html
+++ b/files/zh-cn/web/api/response/blob/index.html
@@ -68,70 +68,7 @@ fetch(myRequest)
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(42) }} [1]<br>
-  </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(39)}} [2]</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>29 [3]</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Behind a preference in version 41.</p>
-
-<p>[2] Behind a preference starting with version 34.</p>
-
-<p>[3] Behind a preference in version 28.</p>
+{{Compat("api.Response.blob")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/response/bodyused/index.html b/files/zh-cn/web/api/response/bodyused/index.html
index 2e9428b9c2..431aeb3070 100644
--- a/files/zh-cn/web/api/response/bodyused/index.html
+++ b/files/zh-cn/web/api/response/bodyused/index.html
@@ -68,70 +68,7 @@ fetch('https://upload.wikimedia.org/wikipedia/commons/7/77/Delete_key1.jpg').the
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(42) }} [1]<br>
-  </td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(39)}} [2]</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>29 [3]</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Behind a preference in version 41.</p>
-
-<p>[2] Behind a preference starting with version 34.</p>
-
-<p>[3] Behind a preference in version 28.</p>
+{{Compat("api.Response.bodyUsed")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/response/clone/index.html b/files/zh-cn/web/api/response/clone/index.html
index f43e881bca..6d7f9255e8 100644
--- a/files/zh-cn/web/api/response/clone/index.html
+++ b/files/zh-cn/web/api/response/clone/index.html
@@ -72,68 +72,7 @@ fetch(myRequest).then(function(response) {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 此功能是在首选项后面实现的。</p>
+{{Compat("api.Response.clone")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/response/formdata/index.html b/files/zh-cn/web/api/response/formdata/index.html
index 26b61274fe..0c4c2a89fc 100644
--- a/files/zh-cn/web/api/response/formdata/index.html
+++ b/files/zh-cn/web/api/response/formdata/index.html
@@ -59,69 +59,7 @@ browser-compat: api.Response.formData
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p>{{CompatChrome(60)}}</p>
- </td>
- <td>{{ CompatGeckoDesktop(39)}} [1]</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>{{CompatOpera(47)}}</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p>{{CompatChrome(60)}}</p>
- </td>
- <td>
- <p>{{CompatChrome(60)}}</p>
- </td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>{{CompatOperaMobile(47)}}</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Behind a preference starting with version 34.</p>
+{{Compat("api.Response.formData")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/response/ok/index.html b/files/zh-cn/web/api/response/ok/index.html
index 63448df311..ef4ef7085d 100644
--- a/files/zh-cn/web/api/response/ok/index.html
+++ b/files/zh-cn/web/api/response/ok/index.html
@@ -52,64 +52,7 @@ fetch(myRequest).then(function(response) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This feature is implemented behind a preference.</p>
+{{Compat("api.Response.ok")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/response/status/index.html b/files/zh-cn/web/api/response/status/index.html
index cd1ab13bca..76f249b096 100644
--- a/files/zh-cn/web/api/response/status/index.html
+++ b/files/zh-cn/web/api/response/status/index.html
@@ -55,68 +55,7 @@ fetch(myRequest).then(function(response) {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This feature is implemented behind a preference.</p>
+{{Compat("api.Response.status")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/response/statustext/index.html b/files/zh-cn/web/api/response/statustext/index.html
index 812d698a3c..3fd1f844e2 100644
--- a/files/zh-cn/web/api/response/statustext/index.html
+++ b/files/zh-cn/web/api/response/statustext/index.html
@@ -54,68 +54,7 @@ fetch(myRequest).then(function(response) {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This feature is implemented behind a preference.</p>
+{{Compat("api.Response.statusText")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/response/type/index.html b/files/zh-cn/web/api/response/type/index.html
index 1057083426..3b2ecb0861 100644
--- a/files/zh-cn/web/api/response/type/index.html
+++ b/files/zh-cn/web/api/response/type/index.html
@@ -63,70 +63,7 @@ fetch(myRequest).then(function(response) {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42)}}<br>
- {{CompatChrome(41)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(39)}}<br>
- 34<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>
- <p>29<br>
- 28<sup>[1]</sup></p>
- </td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] The implementation of this feature is behind the "Experimental Web Platform Features" preference in <code>chrome://flags</code>.</p>
-
-<p>[2] The implementation of this feature is behind the preference <code>dom.fetch.enabled</code> in <code>about:config</code>, defaulting to <code>false</code>.</p>
+{{Compat("api.Response.type")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/rtcdatachannel/index.html b/files/zh-cn/web/api/rtcdatachannel/index.html
index ff3ac46500..82f38b5497 100644
--- a/files/zh-cn/web/api/rtcdatachannel/index.html
+++ b/files/zh-cn/web/api/rtcdatachannel/index.html
@@ -118,57 +118,7 @@ dc.onclose = function () {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown }} [1]</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] The interface is called <code>DataChannel</code> and not <code>RTCDataChannel</code></p>
+{{Compat("api.RTCDataChannel")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/rtcpeerconnection/addicecandidate/index.html b/files/zh-cn/web/api/rtcpeerconnection/addicecandidate/index.html
index c648d7aac4..5cc99c8716 100644
--- a/files/zh-cn/web/api/rtcpeerconnection/addicecandidate/index.html
+++ b/files/zh-cn/web/api/rtcpeerconnection/addicecandidate/index.html
@@ -96,101 +96,7 @@ pc.addIceCandidate(candidate).then(_=&gt;{
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown}}[1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop(22) }} [2]</td>
- <td>{{ CompatNo}}</td>
- <td>{{ CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Promise-based version</td>
- <td>{{CompatChrome(50)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop(37)}}</td>
- <td>{{ CompatUnknown}}</td>
- <td>{{ CompatUnknown}}</td>
- <td>{{ CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("RTCIceCandidateInit")}} as input</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(53)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown}}[1]</td>
- <td>{{ CompatVersionUnknown}}[1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile(22)}}</td>
- <td>{{ CompatNo}}</td>
- <td>{{ CompatUnknown}}</td>
- <td>{{ CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Promise-based version</td>
- <td>{{CompatChrome(50)}}</td>
- <td>{{CompatChrome(50)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(37)}}</td>
- <td>{{ CompatUnknown}}</td>
- <td>{{ CompatUnknown}}</td>
- <td>{{ CompatUnknown}}</td>
- </tr>
- <tr>
- <td>{{domxref("RTCIceCandidateInit")}} as input</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(53)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Though this method is not prefixed, the interface it belongs to was until Chrome 56.</p>
-
-<p>[2] Though this method is not prefixed, the interface it belongs to was until Firefox 44.</p>
+{{Compat("api.RTCPeerConnection.addIceCandidate")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/rtcpeerconnection/icecandidate_event/index.html b/files/zh-cn/web/api/rtcpeerconnection/icecandidate_event/index.html
index 7e830adf3e..65e2a48084 100644
--- a/files/zh-cn/web/api/rtcpeerconnection/icecandidate_event/index.html
+++ b/files/zh-cn/web/api/rtcpeerconnection/icecandidate_event/index.html
@@ -75,59 +75,7 @@ original_slug: Web/Events/icecandidate
<h2 id="兼容性">兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.RTCPeerConnection.icecandidate_event")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/api/rtcpeerconnection/iceconnectionstate/index.html b/files/zh-cn/web/api/rtcpeerconnection/iceconnectionstate/index.html
index ce202a7d8f..cbc94bd3a1 100644
--- a/files/zh-cn/web/api/rtcpeerconnection/iceconnectionstate/index.html
+++ b/files/zh-cn/web/api/rtcpeerconnection/iceconnectionstate/index.html
@@ -51,57 +51,7 @@ var state = pc.iceConnectionState;</pre>
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }} [1]</td>
- <td>{{ CompatVersionUnknown }} [1]</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Though this property is not prefixed, the interface it belongs to is.</p>
+{{Compat("api.RTCPeerConnection.iceConnectionState")}}
<h2 id="参考文档">参考文档</h2>
diff --git a/files/zh-cn/web/api/rtcpeerconnection/onaddstream/index.html b/files/zh-cn/web/api/rtcpeerconnection/onaddstream/index.html
index 1c5a04d575..a61e2f28c6 100644
--- a/files/zh-cn/web/api/rtcpeerconnection/onaddstream/index.html
+++ b/files/zh-cn/web/api/rtcpeerconnection/onaddstream/index.html
@@ -44,57 +44,7 @@ translation_of: Web/API/RTCPeerConnection/onaddstream
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }} [1]</td>
- <td>{{ CompatVersionUnknown }} [1]</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Though this property is not prefixed, the interface it belongs to is.</p>
+{{Compat("api.RTCPeerConnection.onaddstream")}}
<h2 id="扩展阅读">扩展阅读</h2>
diff --git a/files/zh-cn/web/api/rtcpeerconnection/ondatachannel/index.html b/files/zh-cn/web/api/rtcpeerconnection/ondatachannel/index.html
index d6d675b53a..73b9b136ed 100644
--- a/files/zh-cn/web/api/rtcpeerconnection/ondatachannel/index.html
+++ b/files/zh-cn/web/api/rtcpeerconnection/ondatachannel/index.html
@@ -49,59 +49,7 @@ translation_of: Web/API/RTCPeerConnection/ondatachannel
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{ CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown}} [1]</td>
- <td>{{ CompatGeckoDesktop(18) }} [2]</td>
- <td>{{ CompatNo}}</td>
- <td>{{ CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown}}</td>
- <td>{{ CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile(22) }} [2]</td>
- <td>{{ CompatNo}}</td>
- <td>{{ CompatUnknown}}</td>
- <td>{{ CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Though this property is not prefixed, the interface it belongs to is.</p>
-
-<p>[2] This property's name isn't prefixed, but the interface it's in, {{domxref("RTCPeerConnection")}}, was prefixed as <code>MozRTCPeerConnection</code> until Firefox 44.</p>
+{{Compat("api.RTCPeerConnection.ondatachannel")}}
<h2 id="相关阅读">相关阅读</h2>
diff --git a/files/zh-cn/web/api/rtcpeerconnection/ontrack/index.html b/files/zh-cn/web/api/rtcpeerconnection/ontrack/index.html
index db43ee6ed5..84c2b49cfe 100644
--- a/files/zh-cn/web/api/rtcpeerconnection/ontrack/index.html
+++ b/files/zh-cn/web/api/rtcpeerconnection/ontrack/index.html
@@ -47,57 +47,7 @@ translation_of: Web/API/RTCPeerConnection/ontrack
<h2 id="各浏览器兼容性">各浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(46)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(46)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Firefox 45中引入了<code>onaddtrack</code>;在Firefox 46中重命名为<code>ontrack</code></p>
+{{Compat("api.RTCPeerConnection.ontrack")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/rtcpeerconnection/removestream/index.html b/files/zh-cn/web/api/rtcpeerconnection/removestream/index.html
index d8934b29c9..1f842f3a83 100644
--- a/files/zh-cn/web/api/rtcpeerconnection/removestream/index.html
+++ b/files/zh-cn/web/api/rtcpeerconnection/removestream/index.html
@@ -59,57 +59,7 @@ document.getElementById("closeButton").addEventListener("click", function(event)
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }} [1]</td>
- <td>{{ CompatVersionUnknown }} [1]</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Though this property is not prefixed, the interface it belongs to is.</p>
+{{Compat("api.RTCPeerConnection.removeStream")}}
<h2 id="扩展阅读">扩展阅读</h2>
diff --git a/files/zh-cn/web/api/rtcpeerconnection/rtcpeerconnection/index.html b/files/zh-cn/web/api/rtcpeerconnection/rtcpeerconnection/index.html
index 70ebad3dd1..8155c1e43b 100644
--- a/files/zh-cn/web/api/rtcpeerconnection/rtcpeerconnection/index.html
+++ b/files/zh-cn/web/api/rtcpeerconnection/rtcpeerconnection/index.html
@@ -45,81 +45,7 @@ translation_of: Web/API/RTCPeerConnection/RTCPeerConnection
<h2 id="浏览器支持性">浏览器支持性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(22)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>iceCandidatePoolSize</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(24)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>iceCandiatePoolSize</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(59)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.RTCPeerConnection.RTCPeerConnection")}}
<h2 id="引申阅读">引申阅读</h2>
diff --git a/files/zh-cn/web/api/rtcpeerconnection/setremotedescription/index.html b/files/zh-cn/web/api/rtcpeerconnection/setremotedescription/index.html
index 9e8db040bc..6717c46b3d 100644
--- a/files/zh-cn/web/api/rtcpeerconnection/setremotedescription/index.html
+++ b/files/zh-cn/web/api/rtcpeerconnection/setremotedescription/index.html
@@ -68,57 +68,7 @@ pc.setRemoteDescription( new RTCSessionDescription( offer ), function() {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }} [1]</td>
- <td>{{ CompatVersionUnknown }} [1]</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Though this property is not prefixed, the interface it belongs to is.</p>
+{{Compat("api.RTCPeerConnection.setRemoteDescription")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/rtcsessiondescription/index.html b/files/zh-cn/web/api/rtcsessiondescription/index.html
index 32edee10c0..ea3cf46721 100644
--- a/files/zh-cn/web/api/rtcsessiondescription/index.html
+++ b/files/zh-cn/web/api/rtcsessiondescription/index.html
@@ -105,59 +105,7 @@ translation_of: Web/API/RTCSessionDescription
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown }} {{property_prefix("-moz")}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.RTCSessionDescription")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/screen/lockorientation/index.html b/files/zh-cn/web/api/screen/lockorientation/index.html
index f9169a396b..9cde0abcf9 100644
--- a/files/zh-cn/web/api/screen/lockorientation/index.html
+++ b/files/zh-cn/web/api/screen/lockorientation/index.html
@@ -98,95 +98,7 @@ if (screen.lockOrientationUniversal(["landscape-primary", "landscape-secondary"]
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatChrome(38)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}} {{property_prefix("moz")}}<sup>[2]</sup></td>
- <td>11 {{property_prefix("ms")}}<sup>[3]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>Array</code> 参数</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("18.0")}}</td>
- <td>11 {{property_prefix("ms")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>default</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(38)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}} {{property_prefix("moz")}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>Array</code> 参数</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("18.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>default</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("26.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 使用更新的标准语法(<code>screen.orientation.lock</code>)实现类似的方法并返回一个 <code>Promise</code> 。虽然它存在于桌面上,但总是会失败。</p>
-
-<p>[2] 此API仅作为Firefox OS和Firefox的前缀方法(<code>screen.mozLockOrientation</code>)实现。另外,由于{{Bug(966480)}},它不适用于Android的Firefox。</p>
-
-<p>[3] 此方法在Internet Explorer for Windows 8.1和Windows RT 8.1中使用前缀(<code>screen.msLockOrientation</code>)实现。 它在Windows 7 上不受支持。</p>
+{{Compat("api.Screen.lockOrientation")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/scriptprocessornode/index.html b/files/zh-cn/web/api/scriptprocessornode/index.html
index e131dadf23..b7a205bbb6 100644
--- a/files/zh-cn/web/api/scriptprocessornode/index.html
+++ b/files/zh-cn/web/api/scriptprocessornode/index.html
@@ -87,62 +87,7 @@ translation_of: Web/API/ScriptProcessorNode
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(25)}}</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(25)}}</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.ScriptProcessorNode")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/selection/anchornode/index.html b/files/zh-cn/web/api/selection/anchornode/index.html
index 6fd53e9b1b..b3a2211e77 100644
--- a/files/zh-cn/web/api/selection/anchornode/index.html
+++ b/files/zh-cn/web/api/selection/anchornode/index.html
@@ -41,55 +41,7 @@ translation_of: Web/API/Selection/anchorNode
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Selection.anchorNode")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/selection/anchoroffset/index.html b/files/zh-cn/web/api/selection/anchoroffset/index.html
index 04c385181b..c590f342f0 100644
--- a/files/zh-cn/web/api/selection/anchoroffset/index.html
+++ b/files/zh-cn/web/api/selection/anchoroffset/index.html
@@ -37,55 +37,7 @@ translation_of: Web/API/Selection/anchorOffset
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Selection.anchorOffset")}}
<h2 id="See_also" name="See_also">相关内容</h2>
diff --git a/files/zh-cn/web/api/selection/collapsetoend/index.html b/files/zh-cn/web/api/selection/collapsetoend/index.html
index a0c08c8da9..a11981e91f 100644
--- a/files/zh-cn/web/api/selection/collapsetoend/index.html
+++ b/files/zh-cn/web/api/selection/collapsetoend/index.html
@@ -40,55 +40,7 @@ translation_of: Web/API/Selection/collapseToEnd
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Selection.collapseToEnd")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/selection/containsnode/index.html b/files/zh-cn/web/api/selection/containsnode/index.html
index 7b7b83160e..312afde97a 100644
--- a/files/zh-cn/web/api/selection/containsnode/index.html
+++ b/files/zh-cn/web/api/selection/containsnode/index.html
@@ -51,57 +51,7 @@ translation_of: Web/API/Selection/containsNode
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基础特性支持</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(2)}}[1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table" style="height: 57px; width: 891px;">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础特性支持</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(2)}}[1]</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Firefox 35之前版本的浏览器中, 此方法不会在aNode为null时抛出异常.</p>
+{{Compat("api.Selection.containsNode")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/selection/deletefromdocument/index.html b/files/zh-cn/web/api/selection/deletefromdocument/index.html
index 602c872134..f496bffff3 100644
--- a/files/zh-cn/web/api/selection/deletefromdocument/index.html
+++ b/files/zh-cn/web/api/selection/deletefromdocument/index.html
@@ -51,55 +51,7 @@ original_slug: Web/API/Selection/从Document中删除
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Selection.deleteFromDocument")}}
<h2 id="See_also" name="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/selection/extend/index.html b/files/zh-cn/web/api/selection/extend/index.html
index 9482371b79..4ca363a16b 100644
--- a/files/zh-cn/web/api/selection/extend/index.html
+++ b/files/zh-cn/web/api/selection/extend/index.html
@@ -49,75 +49,7 @@ translation_of: Web/API/Selection/extend
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- </tr>
- <tr>
- <td><code>offset</code> parameter is optional</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(55)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>offset</code> parameter is optional</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(55)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Selection.extend")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/selection/focusnode/index.html b/files/zh-cn/web/api/selection/focusnode/index.html
index be2aecd57b..0270c8afdb 100644
--- a/files/zh-cn/web/api/selection/focusnode/index.html
+++ b/files/zh-cn/web/api/selection/focusnode/index.html
@@ -38,55 +38,7 @@ translation_of: Web/API/Selection/focusNode
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基础特性支持</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础特性支持</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Selection.focusNode")}}
<h2 id="See_also" name="See_also">参考</h2>
diff --git a/files/zh-cn/web/api/selection/focusoffset/index.html b/files/zh-cn/web/api/selection/focusoffset/index.html
index 53e346609b..828c7bcfc5 100644
--- a/files/zh-cn/web/api/selection/focusoffset/index.html
+++ b/files/zh-cn/web/api/selection/focusoffset/index.html
@@ -45,55 +45,7 @@ translation_of: Web/API/Selection/focusOffset
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>平台</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>最低支持版本</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>平台</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>最低支持版本</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Selection.focusOffset")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/selection/modify/index.html b/files/zh-cn/web/api/selection/modify/index.html
index db41ec4708..13a2694f6c 100644
--- a/files/zh-cn/web/api/selection/modify/index.html
+++ b/files/zh-cn/web/api/selection/modify/index.html
@@ -52,55 +52,7 @@ selection.modify("extend", "forward", "word");
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>平台</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>支持最低版本</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(2)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}§</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>平台</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>支持最低版本</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(2)}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Selection.modify")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/selection/rangecount/index.html b/files/zh-cn/web/api/selection/rangecount/index.html
index ad05478e8d..4628fd8560 100644
--- a/files/zh-cn/web/api/selection/rangecount/index.html
+++ b/files/zh-cn/web/api/selection/rangecount/index.html
@@ -72,55 +72,7 @@ translation_of: Web/API/Selection/rangeCount
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Selection.rangeCount")}}
<h2 id="See_also" name="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/selection/setbaseandextent/index.html b/files/zh-cn/web/api/selection/setbaseandextent/index.html
index 4a02231e34..28af4e38d3 100644
--- a/files/zh-cn/web/api/selection/setbaseandextent/index.html
+++ b/files/zh-cn/web/api/selection/setbaseandextent/index.html
@@ -118,57 +118,7 @@ button.onclick = function() {
<h2 id="浏览器支持">浏览器支持</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(53)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table" style="height: 57px; width: 891px;">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(53)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Selection.setBaseAndExtent")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/selection/tostring/index.html b/files/zh-cn/web/api/selection/tostring/index.html
index c7177c12c6..b4747dcead 100644
--- a/files/zh-cn/web/api/selection/tostring/index.html
+++ b/files/zh-cn/web/api/selection/tostring/index.html
@@ -55,55 +55,7 @@ alert(window.getSelection().toString()) // 真实情况
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基础特性</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础特性</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Selection.toString")}}
<h2 id="See_also" name="See_also">参考</h2>
diff --git a/files/zh-cn/web/api/selection/type/index.html b/files/zh-cn/web/api/selection/type/index.html
index b7f2507975..bcf3f7b35d 100644
--- a/files/zh-cn/web/api/selection/type/index.html
+++ b/files/zh-cn/web/api/selection/type/index.html
@@ -57,57 +57,7 @@ document.onselectionchange = function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Selection.type")}}
<h2 id="See_also" name="See_also">参考</h2>
diff --git a/files/zh-cn/web/api/service_worker_api/index.html b/files/zh-cn/web/api/service_worker_api/index.html
index f8d6c966a9..780ff8e5cd 100644
--- a/files/zh-cn/web/api/service_worker_api/index.html
+++ b/files/zh-cn/web/api/service_worker_api/index.html
@@ -161,119 +161,7 @@ translation_of: Web/API/Service_Worker_API
</tbody>
</table>
-<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{ CompatNo() }}</td>
- <td>24</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td>install/activate events</td>
- <td>{{ CompatChrome(40.0) }}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td>fetch event/request/<br>
- <code>respondWith()</code></td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td>caches/cache</td>
- <td>
- <p class="p1">{{CompatChrome(42.0)}}</p>
- </td>
- <td>{{ CompatGeckoDesktop("39.0") }}<sup>[1]</sup></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td></td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td>install/activate events</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td>fetch event/request/<br>
- <code>respondWith()</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td>caches/cache</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoMobile("39.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/zh-CN/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 Extended Support Release</a> (ESR.)</p>
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/serviceworker/index.html b/files/zh-cn/web/api/serviceworker/index.html
index 8ea3404a4f..19bb03fc0f 100644
--- a/files/zh-cn/web/api/serviceworker/index.html
+++ b/files/zh-cn/web/api/serviceworker/index.html
@@ -95,61 +95,7 @@ translation_of: Web/API/ServiceWorker
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{CompatGeckoDesktop("44.0")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("44.0")}}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 Extended Support Release</a> (ESR.)</p>
+{{Compat("api.ServiceWorker")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/serviceworker/onstatechange/index.html b/files/zh-cn/web/api/serviceworker/onstatechange/index.html
index 1ac245dfd4..94807435b2 100644
--- a/files/zh-cn/web/api/serviceworker/onstatechange/index.html
+++ b/files/zh-cn/web/api/serviceworker/onstatechange/index.html
@@ -66,58 +66,4 @@ if (serviceWorker) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.ServiceWorker.onstatechange")}}
diff --git a/files/zh-cn/web/api/serviceworker/scripturl/index.html b/files/zh-cn/web/api/serviceworker/scripturl/index.html
index 5b0ce2055d..18bb634327 100644
--- a/files/zh-cn/web/api/serviceworker/scripturl/index.html
+++ b/files/zh-cn/web/api/serviceworker/scripturl/index.html
@@ -35,58 +35,4 @@ translation_of: Web/API/ServiceWorker/scriptURL
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.ServiceWorker.scriptURL")}}
diff --git a/files/zh-cn/web/api/serviceworker/state/index.html b/files/zh-cn/web/api/serviceworker/state/index.html
index 9c0045f8a0..68c0c7ca4e 100644
--- a/files/zh-cn/web/api/serviceworker/state/index.html
+++ b/files/zh-cn/web/api/serviceworker/state/index.html
@@ -58,58 +58,4 @@ if (serviceWorker) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.ServiceWorker.state")}}
diff --git a/files/zh-cn/web/api/serviceworkercontainer/index.html b/files/zh-cn/web/api/serviceworkercontainer/index.html
index 094ee798e2..9cab0e783c 100644
--- a/files/zh-cn/web/api/serviceworkercontainer/index.html
+++ b/files/zh-cn/web/api/serviceworkercontainer/index.html
@@ -96,55 +96,7 @@ translation_of: Web/API/ServiceWorkerContainer
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.ServiceWorkerContainer")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/serviceworkercontainer/register/index.html b/files/zh-cn/web/api/serviceworkercontainer/register/index.html
index 67b4d1a9ef..fb150dc925 100644
--- a/files/zh-cn/web/api/serviceworkercontainer/register/index.html
+++ b/files/zh-cn/web/api/serviceworkercontainer/register/index.html
@@ -77,56 +77,4 @@ translation_of: Web/API/ServiceWorkerContainer/register
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 Extended Support Release</a> (ESR.)</p>
+{{Compat("api.ServiceWorkerContainer.register")}}
diff --git a/files/zh-cn/web/api/serviceworkerglobalscope/index.html b/files/zh-cn/web/api/serviceworkerglobalscope/index.html
index f51a873d43..5c0be70484 100644
--- a/files/zh-cn/web/api/serviceworkerglobalscope/index.html
+++ b/files/zh-cn/web/api/serviceworkerglobalscope/index.html
@@ -135,99 +135,7 @@ translation_of: Web/API/ServiceWorkerGlobalScope
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{CompatGeckoDesktop("44.0")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>onnotificationclick</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("42.0")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>onsync</code></td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("44.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- <tr>
- <td><code>onnotificationclick</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("42.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>onsync</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.ServiceWorkerGlobalScope")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/serviceworkerregistration/active/index.html b/files/zh-cn/web/api/serviceworkerregistration/active/index.html
index 360536e262..5d657279d9 100644
--- a/files/zh-cn/web/api/serviceworkerregistration/active/index.html
+++ b/files/zh-cn/web/api/serviceworkerregistration/active/index.html
@@ -44,77 +44,7 @@ translation_of: Web/API/ServiceWorkerRegistration/active
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("44.0")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.ServiceWorkerRegistration.active")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/serviceworkerregistration/index.html b/files/zh-cn/web/api/serviceworkerregistration/index.html
index 2b1a214546..148b106ebf 100644
--- a/files/zh-cn/web/api/serviceworkerregistration/index.html
+++ b/files/zh-cn/web/api/serviceworkerregistration/index.html
@@ -121,118 +121,7 @@ translation_of: Web/API/ServiceWorkerRegistration
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(40.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("44.0")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>getNotifications()</code>, <code>showNotification()</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("46.0")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>sync</code> property</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(40.0)}}</td>
- </tr>
- <tr>
- <td>Available in web workers</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("44.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>getNotifications()</code>, <code>showNotification()</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("46.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>sync</code> property</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.ServiceWorkerRegistration")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/serviceworkerregistration/pushmanager/index.html b/files/zh-cn/web/api/serviceworkerregistration/pushmanager/index.html
index 3708312f94..ef0770b517 100644
--- a/files/zh-cn/web/api/serviceworkerregistration/pushmanager/index.html
+++ b/files/zh-cn/web/api/serviceworkerregistration/pushmanager/index.html
@@ -62,61 +62,7 @@ navigator.serviceWorker.register('serviceworker.js').then(
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(42.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.ServiceWorkerRegistration.pushManager")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/shadowroot/innerhtml/index.html b/files/zh-cn/web/api/shadowroot/innerhtml/index.html
index 512965094b..86b1d0c1f2 100644
--- a/files/zh-cn/web/api/shadowroot/innerhtml/index.html
+++ b/files/zh-cn/web/api/shadowroot/innerhtml/index.html
@@ -42,54 +42,4 @@ translation_of: Web/API/ShadowRoot/innerHTML
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>53</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>40</td>
- <td>10</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>53</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>40</td>
- <td>10.1</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.ShadowRoot.innerHTML")}}
diff --git a/files/zh-cn/web/api/shadowroot/mode/index.html b/files/zh-cn/web/api/shadowroot/mode/index.html
index d9cb6032e9..1f44c688ad 100644
--- a/files/zh-cn/web/api/shadowroot/mode/index.html
+++ b/files/zh-cn/web/api/shadowroot/mode/index.html
@@ -36,58 +36,4 @@ translation_of: Web/API/ShadowRoot/mode
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>53</td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>40</td>
- <td>10</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>53</td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>40</td>
- <td>10.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This feature is not implemented yet. See the <a href="https://developer.microsoft.com/en-us/microsoft-edge/platform/status/shadowdom/">Edge platform status</a>.</p>
-
-<p>[2] This feature is not implemented yet. See {{bug(1205323)}}.</p>
+{{Compat("api.ShadowRoot.mode")}}
diff --git a/files/zh-cn/web/api/speechgrammar/index.html b/files/zh-cn/web/api/speechgrammar/index.html
index 91f25491c7..41a4d00162 100644
--- a/files/zh-cn/web/api/speechgrammar/index.html
+++ b/files/zh-cn/web/api/speechgrammar/index.html
@@ -66,79 +66,7 @@ console.log(speechRecognitionList[0].weight); // 应该返回 1 - 与上面第
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(33)}} <sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(44)}} <sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>2.5</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] 语音识别接口目前在 Chrome 中是带前缀的,因此你需要使用带有前缀的名称,例如 <code>webkitSpeechRecognition</code>;此外你还需要将你的代码运行在一个 Web 服务器上来保证其正常工作。</li>
- <li>[2] 虽然当前的语音识别在桌面版的 Firefox 中不会正常工作,但还是可以在 <a>about:config</a>中,可以通过 <code>media.webspeech.recognition.enable</code> 来启用 —— 一旦所需的内部权限解决后,它很快就会启用。</li>
-</ul>
-
-<h3 id="Firefox_OS_权限">Firefox OS 权限</h3>
-
-<p>如需在应用中使用语音识别,你必须在你的 <a href="https://developer.mozilla.org/en-US/docs/Web/Apps/Build/Manifest">manifest</a> 中指明下面的权限:</p>
-
-<pre class="brush: json">"permissions": {
- "audio-capture" : {
- "description" : "Audio capture"
- },
- "speech-recognition" : {
- "description" : "Speech recognition"
- }
-}</pre>
-
-<p>若还需要设置应用的特权类型,因此你还需要包含以下这项:</p>
-
-<pre class="brush: json"> "type": "privileged"</pre>
+{{Compat("api.SpeechGrammar")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/speechgrammar/speechgrammar/index.html b/files/zh-cn/web/api/speechgrammar/speechgrammar/index.html
index c18e560e57..e1c964d149 100644
--- a/files/zh-cn/web/api/speechgrammar/speechgrammar/index.html
+++ b/files/zh-cn/web/api/speechgrammar/speechgrammar/index.html
@@ -56,79 +56,7 @@ speechRecognitionList[1] = newGrammar; // 将 SpeechGrammar 对象添加到列
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(33)}} <sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(44)}} <sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>2.5</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] 语音识别接口目前在 Chrome 中是带前缀的,因此你需要使用带有前缀的名称,例如 <code>webkitSpeechRecognition</code>;此外你还需要将你的代码运行在一个 Web 服务器上来保证其正常工作。</li>
- <li>[2] 虽然当前的语音识别在桌面版的 Firefox 中不会正常工作,但还是可以在 <a>about:config</a>中,可以通过 <code>media.webspeech.recognition.enable</code> 来启用 —— 一旦所需的内部权限解决后,它很快就会启用。</li>
-</ul>
-
-<h3 id="Firefox_OS_权限">Firefox OS 权限</h3>
-
-<p>如需在应用中使用语音识别,你必须在你的 <a href="https://developer.mozilla.org/en-US/docs/Web/Apps/Build/Manifest">manifest</a> 中指明下面的权限:</p>
-
-<pre class="brush: json">"permissions": {
- "audio-capture" : {
- "description" : "Audio capture"
- },
- "speech-recognition" : {
- "description" : "Speech recognition"
- }
-}</pre>
-
-<p>若还需要设置应用的特权类型,因此你还需要包含以下这项:</p>
-
-<pre class="brush: json"> "type": "privileged"</pre>
+{{Compat("api.SpeechGrammar.SpeechGrammar")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/speechgrammar/src/index.html b/files/zh-cn/web/api/speechgrammar/src/index.html
index 4c3d7f2712..14e03aa2ed 100644
--- a/files/zh-cn/web/api/speechgrammar/src/index.html
+++ b/files/zh-cn/web/api/speechgrammar/src/index.html
@@ -57,79 +57,7 @@ console.log(speechRecognitionList[0].weight); // 应该返回 1 - 与上面第
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(33)}} <sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(44)}} <sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>2.5</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] 语音识别接口目前在 Chrome 中是带前缀的,因此你需要使用带有前缀的名称,例如 <code>webkitSpeechRecognition</code>;此外你还需要将你的代码运行在一个 Web 服务器上来保证其正常工作。</li>
- <li>[2] 虽然当前的语音识别在桌面版的 Firefox 中不会正常工作,但还是可以在 <a>about:config</a>中,可以通过 <code>media.webspeech.recognition.enable</code> 来启用 —— 一旦所需的内部权限解决后,它很快就会启用。</li>
-</ul>
-
-<h3 id="Firefox_OS_权限">Firefox OS 权限</h3>
-
-<p>如需在应用中使用语音识别,你必须在你的 <a href="https://developer.mozilla.org/en-US/docs/Web/Apps/Build/Manifest">manifest</a> 中指明下面的权限:</p>
-
-<pre class="brush: json">"permissions": {
- "audio-capture" : {
- "description" : "Audio capture"
- },
- "speech-recognition" : {
- "description" : "Speech recognition"
- }
-}</pre>
-
-<p>若还需要设置应用的特权类型,因此你还需要包含以下这项:</p>
-
-<pre class="brush: json"> "type": "privileged"</pre>
+{{Compat("api.SpeechGrammar.src")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/speechgrammar/weight/index.html b/files/zh-cn/web/api/speechgrammar/weight/index.html
index 3a56e9edad..b75d0133f7 100644
--- a/files/zh-cn/web/api/speechgrammar/weight/index.html
+++ b/files/zh-cn/web/api/speechgrammar/weight/index.html
@@ -57,79 +57,7 @@ console.log(speechRecognitionList[0].weight); // 应该返回 1 - 与上面第
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(33)}} <sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(44)}} <sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>2.5</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] 语音识别接口目前在 Chrome 中是带前缀的,因此你需要使用带有前缀的名称,例如 <code>webkitSpeechRecognition</code>;此外你还需要将你的代码运行在一个 Web 服务器上来保证其正常工作。</li>
- <li>[2] 虽然当前的语音识别在桌面版的 Firefox 中不会正常工作,但还是可以在 <a>about:config</a> 中,可以通过 <code>media.webspeech.recognition.enable</code> 来启用 —— 一旦所需的内部权限解决后,它很快就会启用。</li>
-</ul>
-
-<h3 id="Firefox_OS_权限">Firefox OS 权限</h3>
-
-<p>如需在应用中使用语音识别,你必须在你的 <a href="/en-US/docs/Web/Apps/Build/Manifest">manifest</a> 中指明下面的权限:</p>
-
-<pre class="brush: json">"permissions": {
- "audio-capture" : {
- "description" : "Audio capture"
- },
- "speech-recognition" : {
- "description" : "Speech recognition"
- }
-}</pre>
-
-<p>若还需要设置应用的特权类型,因此你还需要包含以下这项:</p>
-
-<pre class="brush: json"> "type": "privileged"</pre>
+{{Compat("api.SpeechGrammar.weight")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/speechrecognitionresult/index.html b/files/zh-cn/web/api/speechrecognitionresult/index.html
index c22e5d7da0..eda8c73c98 100644
--- a/files/zh-cn/web/api/speechrecognitionresult/index.html
+++ b/files/zh-cn/web/api/speechrecognitionresult/index.html
@@ -71,79 +71,7 @@ translation_of: Web/API/SpeechRecognitionResult
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(33)}} <sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(44)}} <sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>2.5</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] Speech recognition interfaces are currently prefixed on Chrome, so you'll need to prefix interface names appropriately, e.g. <code>webkitSpeechRecognition</code>; You'll also need to serve your code through a web server for recognition to work.</li>
- <li>[2] Can be enabled via the <code>media.webspeech.recognition.enable</code> flag in <a>about:config</a>, although note that currently speech recognition won't work on Desktop Firefox — it will be properly exposed soon, once the required internal permissions are sorted out.</li>
-</ul>
-
-<h3 id="Firefox_OS_permissions">Firefox OS permissions</h3>
-
-<p>To use speech recognition in an app, you need to specify the following permissions in your <a href="/en-US/docs/Web/Apps/Build/Manifest">manifest</a>:</p>
-
-<pre class="brush: json">"permissions": {
- "audio-capture" : {
- "description" : "Audio capture"
- },
- "speech-recognition" : {
- "description" : "Speech recognition"
- }
-}</pre>
-
-<p>You also need a privileged app, so you need to include this as well:</p>
-
-<pre class="brush: json"> "type": "privileged"</pre>
+{{Compat("api.SpeechRecognitionResult")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/speechrecognitionresult/isfinal/index.html b/files/zh-cn/web/api/speechrecognitionresult/isfinal/index.html
index 1b1a46a1d7..18c10d04fa 100644
--- a/files/zh-cn/web/api/speechrecognitionresult/isfinal/index.html
+++ b/files/zh-cn/web/api/speechrecognitionresult/isfinal/index.html
@@ -58,79 +58,7 @@ translation_of: Web/API/SpeechRecognitionResult/isFinal
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(33)}} <sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(44)}} <sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>2.5</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] 语音识别接口目前是Chrome的前缀, 所以你需要对接口进行添加适当的前缀, 比如, <code>webkitSpeechRecognition</code>; 同时, 你还需要一个来Web服务器来为代码 (API) 服务, 以便识别工作.</li>
- <li>[2] 可以通过 <a>about:config</a>(注意, 不同的浏览器会有不同的配置, 比如 chrome 中是 about:flag ) 中 <code>media.webspeech.recognition.enable</code> 标记来启动, 尽管目前的语音识别功能在桌面版 Firefox 浏览器中无法使用 — 一旦解决了所需的内部权限, 它将很快被正确地暴露出来。</li>
-</ul>
-
-<h3 id="Firefox_OS_权限">Firefox OS 权限</h3>
-
-<p>要在应用程序中使用语音识别,您需要在您的清单中指定以下<a href="/zh-CN/Apps/Build/Manifest">权限</a>:</p>
-
-<pre class="brush: json">"permissions": {
- "audio-capture" : {
- "description" : "Audio capture"
- },
- "speech-recognition" : {
- "description" : "Speech recognition"
- }
-}</pre>
-
-<p>你还需要一个有特权的应用程序,所以你也需要把它包含在内:</p>
-
-<pre class="brush: json"> "type": "privileged"</pre>
+{{Compat("api.SpeechRecognitionResult.isFinal")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/speechsynthesis/paused/index.html b/files/zh-cn/web/api/speechsynthesis/paused/index.html
index f4c4f78f3c..66283a17f8 100644
--- a/files/zh-cn/web/api/speechsynthesis/paused/index.html
+++ b/files/zh-cn/web/api/speechsynthesis/paused/index.html
@@ -46,61 +46,7 @@ var amIPaused = synth.paused; // 将返回 true
<h2 id="浏览器通用性">浏览器通用性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(33)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(49)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>7</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>2.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>7.1</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.SpeechSynthesis.paused")}}
<h2 id="请参阅">请参阅</h2>
diff --git a/files/zh-cn/web/api/storage/clear/index.html b/files/zh-cn/web/api/storage/clear/index.html
index 02eab09559..0e92a8d672 100644
--- a/files/zh-cn/web/api/storage/clear/index.html
+++ b/files/zh-cn/web/api/storage/clear/index.html
@@ -54,67 +54,7 @@ translation_of: Web/API/Storage/clear
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>localStorage</td>
- <td>4</td>
- <td>3.5</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- <tr>
- <td>sessionStorage</td>
- <td>5</td>
- <td>2</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{ CompatUnknown }}</td>
- <td>8</td>
- <td>11</td>
- <td>iOS 3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>各浏览器支持的 localStorage 和 sessionStorage 容量不同。测试页面:<a class="external" href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">detailed rundown of all the storage capacities for various browsers</a>.</p>
-
-<div class="note">
-<p><strong>Note: </strong>since iOS 5.1, Safari Mobile stores localStorage data in the cache folder, which is subject to occasional clean up, at the behest of the OS, typically if space is short.</p>
-</div>
+{{Compat("api.Storage.clear")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/storage/getitem/index.html b/files/zh-cn/web/api/storage/getitem/index.html
index 11869d49e2..de8a95b2b1 100644
--- a/files/zh-cn/web/api/storage/getitem/index.html
+++ b/files/zh-cn/web/api/storage/getitem/index.html
@@ -64,67 +64,7 @@ translation_of: Web/API/Storage/getItem
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>localStorage</td>
- <td>4</td>
- <td>3.5</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- <tr>
- <td>sessionStorage</td>
- <td>5</td>
- <td>2</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{ CompatUnknown }}</td>
- <td>8</td>
- <td>11</td>
- <td>iOS 3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>各浏览器支持的 localStorage 和 sessionStorage 容量不同。测试页面:<a class="external" href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">detailed rundown of all the storage capacities for various browsers</a>。</p>
-
-<div class="note">
-<p><strong>Note: </strong>since iOS 5.1, Safari Mobile stores localStorage data in the cache folder, which is subject to occasional clean up, at the behest of the OS, typically if space is short.</p>
-</div>
+{{Compat("api.Storage.getItem")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/storage/key/index.html b/files/zh-cn/web/api/storage/key/index.html
index bfd14f5c44..84e7c20dad 100644
--- a/files/zh-cn/web/api/storage/key/index.html
+++ b/files/zh-cn/web/api/storage/key/index.html
@@ -57,67 +57,7 @@ translation_of: Web/API/Storage/key
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>localStorage</td>
- <td>4</td>
- <td>3.5</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- <tr>
- <td>sessionStorage</td>
- <td>5</td>
- <td>2</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{ CompatUnknown }}</td>
- <td>8</td>
- <td>11</td>
- <td>iOS 3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>各浏览器支持的 localStorage 和 sessionStorage 容量不同。测试页面:<a class="external" href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">detailed rundown of all the storage capacities for various browsers</a>.</p>
-
-<div class="note">
-<p><strong>Note: </strong>since iOS 5.1, Safari Mobile stores localStorage data in the cache folder, which is subject to occasional clean up, at the behest of the OS, typically if space is short.</p>
-</div>
+{{Compat("api.Storage.key")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/storage/length/index.html b/files/zh-cn/web/api/storage/length/index.html
index 5c4d79d3d3..47130b9785 100644
--- a/files/zh-cn/web/api/storage/length/index.html
+++ b/files/zh-cn/web/api/storage/length/index.html
@@ -50,67 +50,7 @@ translation_of: Web/API/Storage/length
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>localStorage</td>
- <td>4</td>
- <td>3.5</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- <tr>
- <td>sessionStorage</td>
- <td>5</td>
- <td>2</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{ CompatUnknown }}</td>
- <td>8</td>
- <td>11</td>
- <td>iOS 3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>各浏览器支持的 localStorage 和 sessionStorage 容量不同。测试页面:<a class="external" href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">detailed rundown of all the storage capacities for various browsers</a>.</p>
-
-<div class="note">
-<p><strong>Note: </strong>since iOS 5.1, Safari Mobile stores localStorage data in the cache folder, which is subject to occasional clean up, at the behest of the OS, typically if space is short.</p>
-</div>
+{{Compat("api.Storage.length")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/storage/removeitem/index.html b/files/zh-cn/web/api/storage/removeitem/index.html
index 462f3cf703..0f1ff8c465 100644
--- a/files/zh-cn/web/api/storage/removeitem/index.html
+++ b/files/zh-cn/web/api/storage/removeitem/index.html
@@ -57,67 +57,7 @@ translation_of: Web/API/Storage/removeItem
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>localStorage</td>
- <td>4</td>
- <td>3.5</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- <tr>
- <td>sessionStorage</td>
- <td>5</td>
- <td>2</td>
- <td>8</td>
- <td>10.50</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{ CompatUnknown }}</td>
- <td>8</td>
- <td>11</td>
- <td>iOS 3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>各浏览器支持的 localStorage 和 sessionStorage 大小上限不同。测试页面 <a class="external" href="http://dev-test.nemikor.com/web-storage/support-test/" title="http://dev-test.nemikor.com/web-storage/support-test/">detailed rundown of all the storage capacities for various browsers</a>。</p>
-
-<div class="note">
-<p><strong>Note: </strong>since iOS 5.1, Safari Mobile stores localStorage data in the cache folder, which is subject to occasional clean up, at the behest of the OS, typically if space is short.</p>
-</div>
+{{Compat("api.Storage.removeItem")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/subtlecrypto/index.html b/files/zh-cn/web/api/subtlecrypto/index.html
index c173e906e8..0ec6652199 100644
--- a/files/zh-cn/web/api/subtlecrypto/index.html
+++ b/files/zh-cn/web/api/subtlecrypto/index.html
@@ -276,55 +276,7 @@ translation_of: Web/API/SubtleCrypto
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(37) }}</td>
- <td>{{ CompatGeckoDesktop(34) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>37</td>
- <td>{{ CompatChrome(37) }}</td>
- <td>{{ CompatGeckoMobile(34) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.SubtleCrypto")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/svgaelement/index.html b/files/zh-cn/web/api/svgaelement/index.html
index 23d21f489e..a721383b92 100644
--- a/files/zh-cn/web/api/svgaelement/index.html
+++ b/files/zh-cn/web/api/svgaelement/index.html
@@ -110,53 +110,7 @@ linkRef<span class="punctuation token">.</span><span class="function function-va
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>9.0</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.SVGAElement")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/svganimatedangle/index.html b/files/zh-cn/web/api/svganimatedangle/index.html
index 05955b7429..4c268b9e28 100644
--- a/files/zh-cn/web/api/svganimatedangle/index.html
+++ b/files/zh-cn/web/api/svganimatedangle/index.html
@@ -67,56 +67,4 @@ translation_of: Web/API/SVGAnimatedAngle
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+{{Compat("api.SVGAnimatedAngle")}}
diff --git a/files/zh-cn/web/api/svgcircleelement/index.html b/files/zh-cn/web/api/svgcircleelement/index.html
index a956d4ec03..0dd889704e 100644
--- a/files/zh-cn/web/api/svgcircleelement/index.html
+++ b/files/zh-cn/web/api/svgcircleelement/index.html
@@ -81,53 +81,7 @@ translation_of: Web/API/SVGCircleElement
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>9.0</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.SVGCircleElement")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/svgelement/index.html b/files/zh-cn/web/api/svgelement/index.html
index 1ee9eaa4d4..ea08becf6b 100644
--- a/files/zh-cn/web/api/svgelement/index.html
+++ b/files/zh-cn/web/api/svgelement/index.html
@@ -54,86 +54,7 @@ translation_of: Web/API/SVGElement
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Microsoft Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatIE("9.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>dataset</code> attribute</td>
- <td>{{CompatChrome("54")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("51")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera("41")}}</td>
- <td>{{CompatSafari("10.0")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- </tr>
- <tr>
- <td><code>dataset</code> attribute</td>
- <td>{{CompatNo}}</td>
- <td>54</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(51)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>41</td>
- <td>10.0</td>
- <td>54</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 属性 <code>offsetParent</code>, <code>offsetTop</code>, <code>offsetLeft</code>, <code>offsetWidth</code>, 和 <code>offsetHeight</code> 从Chrome 48开始被废弃.</p>
+{{Compat("api.SVGElement")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/svgpathelement/index.html b/files/zh-cn/web/api/svgpathelement/index.html
index 0a83545951..7742924fc4 100644
--- a/files/zh-cn/web/api/svgpathelement/index.html
+++ b/files/zh-cn/web/api/svgpathelement/index.html
@@ -423,53 +423,7 @@ translation_of: Web/API/SVGPathElement
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.SVGPathElement")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/text/assignedslot/index.html b/files/zh-cn/web/api/text/assignedslot/index.html
index 860697d7bf..aed1033826 100644
--- a/files/zh-cn/web/api/text/assignedslot/index.html
+++ b/files/zh-cn/web/api/text/assignedslot/index.html
@@ -34,56 +34,4 @@ translation_of: Web/API/Text/assignedSlot
<h2 id="Browser_Compatibility">Browser Compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(53.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(53.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Text.assignedSlot")}}
diff --git a/files/zh-cn/web/api/text/index.html b/files/zh-cn/web/api/text/index.html
index 53f9e6ad5a..b45551c76d 100644
--- a/files/zh-cn/web/api/text/index.html
+++ b/files/zh-cn/web/api/text/index.html
@@ -72,123 +72,8 @@ translation_of: Web/API/Text
</tbody>
</table>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0 [3]</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}} [3]</td>
- <td>{{CompatVersionUnknown}} [4]</td>
- </tr>
- <tr>
- <td><code>wholeText</code></td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>isElementContentWhitespace</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}<br>
- Removed in {{CompatGeckoDesktop("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>replaceWholeText</code></td>
- <td>{{CompatVersionUnknown}} [1] [2]</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}<br>
- Removed in {{CompatGeckoDesktop("10")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}} [1] [2]</td>
- <td>{{CompatVersionUnknown}} [4]</td>
- </tr>
- <tr>
- <td><code>Text()</code> constructor</td>
- <td>28.0</td>
- <td>{{CompatGeckoDesktop("24.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>15.0</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} [3]</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}} [3]</td>
- <td>{{CompatVersionUnknown}} [4]</td>
- </tr>
- <tr>
- <td><code>wholeText</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>isElementContentWhitespace</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}<br>
- Removed in {{CompatGeckoMobile("10")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>replaceWholeText</code></td>
- <td>{{CompatVersionUnknown}} [1] [2]</td>
- <td>{{CompatGeckoMobile("1.9.1")}}<br>
- Removed in {{CompatGeckoMobile("10")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}} [1] [2]</td>
- <td>{{CompatVersionUnknown}} [4]</td>
- </tr>
- <tr>
- <td><code>Text()</code> constructor</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("24.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>15.0</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<p>[1] Chromium is currently considering dropping its support.</p>
-<p>[2] Before Chrome 30 and Opera 17, the argument wasn't mandatory, like required by the specification.</p>
-<p>[3] Before Chrome 30 and Opera 17, <code>splitText()</code> argument was not mandatory, as required by the specification and implemented by IE and Gecko-based browsers.</p>
-<p>[4] The argument is not mandatory, though required by the spec.</p>
+{{Compat("api.Text")}}
+
<h2 id="相关链接">相关链接</h2>
<ul>
<li><a href="/en-US/docs/DOM/DOM_Reference" title="/en-US/docs/DOM/DOM_Reference">The DOM interfaces index</a>.</li>
diff --git a/files/zh-cn/web/api/text/text/index.html b/files/zh-cn/web/api/text/text/index.html
index dee1c9a948..72da61498a 100644
--- a/files/zh-cn/web/api/text/text/index.html
+++ b/files/zh-cn/web/api/text/text/index.html
@@ -39,53 +39,7 @@ translation_of: Web/API/Text/Text
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>28.0</td>
- <td>{{CompatGeckoDesktop("24.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>15.0</td>
- <td>8.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("24.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>15.0</td>
- <td>8.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Text.Text")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/text/wholetext/index.html b/files/zh-cn/web/api/text/wholetext/index.html
index 5ec686a5b9..9de63d4dd7 100644
--- a/files/zh-cn/web/api/text/wholetext/index.html
+++ b/files/zh-cn/web/api/text/wholetext/index.html
@@ -82,57 +82,7 @@ translation_of: Web/API/Text/wholeText
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Text.wholeText")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/textencoder/textencoder/index.html b/files/zh-cn/web/api/textencoder/textencoder/index.html
index ce65b791c4..0369274a65 100644
--- a/files/zh-cn/web/api/textencoder/textencoder/index.html
+++ b/files/zh-cn/web/api/textencoder/textencoder/index.html
@@ -239,53 +239,7 @@ translation_of: Web/API/TextEncoder/TextEncoder
<h2 id="浏览器支持">浏览器支持</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("19.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("19.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.TextEncoder.TextEncoder")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/textmetrics/width/index.html b/files/zh-cn/web/api/textmetrics/width/index.html
index 9ddc4e35bb..108b1a0f6e 100644
--- a/files/zh-cn/web/api/textmetrics/width/index.html
+++ b/files/zh-cn/web/api/textmetrics/width/index.html
@@ -46,53 +46,7 @@ text.width; // 16;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.0</td>
- <td>{{CompatGeckoDesktop("1.8")}}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{CompatGeckoMobile("1.8")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>10.0</td>
- <td>3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.TextMetrics.width")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/timeranges/index.html b/files/zh-cn/web/api/timeranges/index.html
index f6cf419d4b..8e2ae1d761 100644
--- a/files/zh-cn/web/api/timeranges/index.html
+++ b/files/zh-cn/web/api/timeranges/index.html
@@ -50,54 +50,4 @@ translation_of: Web/API/TimeRanges
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.TimeRanges")}}
diff --git a/files/zh-cn/web/api/touch/touch/index.html b/files/zh-cn/web/api/touch/touch/index.html
index 768a18ce57..fcbbda69f8 100644
--- a/files/zh-cn/web/api/touch/touch/index.html
+++ b/files/zh-cn/web/api/touch/touch/index.html
@@ -58,59 +58,7 @@ translation_of: Web/API/Touch/Touch
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class=" compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("48.0")}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatOpera("35")}}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class=" compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatChrome("48.0")}}</td>
- <td>{{CompatChrome("48.0")}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatOpera("35")}}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Touch.Touch")}}
<h2 id="See_also"><br>
See also</h2>
diff --git a/files/zh-cn/web/api/transitionevent/index.html b/files/zh-cn/web/api/transitionevent/index.html
index d22fb61cbe..2da368bfaf 100644
--- a/files/zh-cn/web/api/transitionevent/index.html
+++ b/files/zh-cn/web/api/transitionevent/index.html
@@ -57,113 +57,7 @@ translation_of: Web/API/TransitionEvent
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>10.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>TransitionEvent()</code> constructor</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("23.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>initTransitionEvent()</code> {{non-standard_inline}}{{deprecated_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("6.0") }}<br>
- Removed in {{ CompatGeckoDesktop("23.0") }}</td>
- <td>10.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>pseudoelement</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("23.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>10.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>TransitionEvent()</code> constructor</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("23.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>initTransitionEvent()</code> {{non-standard_inline}}{{deprecated_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("6.0") }}<br>
- Removed in {{ CompatGeckoMobile("23.0") }}</td>
- <td>10.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>pseudoelement</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("23.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.TransitionEvent")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/uievent/detail/index.html b/files/zh-cn/web/api/uievent/detail/index.html
index 277f89be04..b691ff942a 100644
--- a/files/zh-cn/web/api/uievent/detail/index.html
+++ b/files/zh-cn/web/api/uievent/detail/index.html
@@ -37,50 +37,4 @@ translation_of: Web/API/UIEvent/detail
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.UIEvent.detail")}}
diff --git a/files/zh-cn/web/api/uievent/index.html b/files/zh-cn/web/api/uievent/index.html
index afad06a4e3..29674f6a21 100644
--- a/files/zh-cn/web/api/uievent/index.html
+++ b/files/zh-cn/web/api/uievent/index.html
@@ -92,97 +92,7 @@ translation_of: Web/API/UIEvent
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>UIEvent()</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(11)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>cancelBubble</code> defined on Event</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(53)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>UIEvent()</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(11)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>cancelBubble</code> defined on Event</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(53)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] From Firefox 52, this property is now defined on the {{domxref("Event")}} interface instead. See {{bug(1298970)}} for more details.</p>
-
-<p>[2] The {{domxref("UIEvent.isChar", "isChar")}} property has never been supported by any browser but Firefox, and even on Firefox it's never worked except on Mac OSX. For that reason, it's been removed in Firefox 55 to align with other browsers.</p>
+{{Compat("api.UIEvent")}}
<h2 class="editable" id="相关链接"><span>相关链接</span></h2>
diff --git a/files/zh-cn/web/api/url/origin/index.html b/files/zh-cn/web/api/url/origin/index.html
index 182ae919ea..f80ac0c3ea 100644
--- a/files/zh-cn/web/api/url/origin/index.html
+++ b/files/zh-cn/web/api/url/origin/index.html
@@ -45,65 +45,7 @@ translation_of: Web/API/URL/origin
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatGeckoDesktop("26.0")}} [2][3]</td>
- <td>{{CompatNo}} [1]</td>
- <td><span style="font-size: 12px; line-height: 16.3636360168457px;">{{CompatNo}}</span> [1]</td>
- <td>{{CompatNo}} [1]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatChrome(52)}}</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatGeckoMobile("26.0")}} [2][3]</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatNo}} [1]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Though not grouped in a single abstract interface, this method is directly available on the interfaces that implement it, if this interface is supported.</p>
-
-<p>[2] From Gecko 26 to Gecko 44, this property was on the <code>URLUtils</code> mixin. It has been moves either on the <code>HTMLHyperlinkElementUtils</code> mixin, or directly on the interface.</p>
-
-<p>[3] Before Gecko 49, results for URL using the <code>blob</code> scheme incorrectly returned <code>null</code>.</p>
+{{Compat("api.URL.origin")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/urlsearchparams/append/index.html b/files/zh-cn/web/api/urlsearchparams/append/index.html
index 620c3ee5f3..cd0189a89f 100644
--- a/files/zh-cn/web/api/urlsearchparams/append/index.html
+++ b/files/zh-cn/web/api/urlsearchparams/append/index.html
@@ -54,57 +54,7 @@ params.append('foo', 4);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.URLSearchParams.append")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/urlsearchparams/delete/index.html b/files/zh-cn/web/api/urlsearchparams/delete/index.html
index b6927e3e22..aba805cf55 100644
--- a/files/zh-cn/web/api/urlsearchparams/delete/index.html
+++ b/files/zh-cn/web/api/urlsearchparams/delete/index.html
@@ -43,54 +43,4 @@ translation_of: Web/API/URLSearchParams/delete
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.URLSearchParams.delete")}}
diff --git a/files/zh-cn/web/api/urlsearchparams/set/index.html b/files/zh-cn/web/api/urlsearchparams/set/index.html
index 6790f615e7..67ca26d391 100644
--- a/files/zh-cn/web/api/urlsearchparams/set/index.html
+++ b/files/zh-cn/web/api/urlsearchparams/set/index.html
@@ -54,54 +54,4 @@ params.set('baz', 3);
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.URLSearchParams.set")}}
diff --git a/files/zh-cn/web/api/urlsearchparams/sort/index.html b/files/zh-cn/web/api/urlsearchparams/sort/index.html
index abe8fecd01..93abba8f41 100644
--- a/files/zh-cn/web/api/urlsearchparams/sort/index.html
+++ b/files/zh-cn/web/api/urlsearchparams/sort/index.html
@@ -50,56 +50,4 @@ console.log(searchParams.toString());
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.URLSearchParams.sort")}}
diff --git a/files/zh-cn/web/api/urlsearchparams/tostring/index.html b/files/zh-cn/web/api/urlsearchparams/tostring/index.html
index 6efd11d077..01fdc3e789 100644
--- a/files/zh-cn/web/api/urlsearchparams/tostring/index.html
+++ b/files/zh-cn/web/api/urlsearchparams/tostring/index.html
@@ -46,57 +46,7 @@ console.log(params.toString());
<h2 id="浏览器兼容">浏览器兼容</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.URLSearchParams.toString")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/urlsearchparams/urlsearchparams/index.html b/files/zh-cn/web/api/urlsearchparams/urlsearchparams/index.html
index 7d4c0b206b..b67f1cfd88 100644
--- a/files/zh-cn/web/api/urlsearchparams/urlsearchparams/index.html
+++ b/files/zh-cn/web/api/urlsearchparams/urlsearchparams/index.html
@@ -44,90 +44,4 @@ var params4 = new URLSearchParams({"foo" : 1 , "bar" : 2});
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatGeckoDesktop("29.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>USVString</code> or sequence for <code>init</code> object</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("53")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Record for <code>init</code> object</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("54")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatGeckoMobile("29.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- <tr>
- <td><code>USVString</code>  of sequence for <code>init</code> object</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("53")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Record for <code>init</code> object</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("54")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.URLSearchParams.URLSearchParams")}}
diff --git a/files/zh-cn/web/api/vibration_api/index.html b/files/zh-cn/web/api/vibration_api/index.html
index c2e06b1f89..accd5c1f95 100644
--- a/files/zh-cn/web/api/vibration_api/index.html
+++ b/files/zh-cn/web/api/vibration_api/index.html
@@ -87,54 +87,7 @@ function startPeristentVibrate(duration, interval) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("webkit")}}</td>
- <td>11.0 {{property_prefix("moz")}}<br>
- 16</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("webkit")}}</td>
- <td>11.0 {{property_prefix("moz")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Navigator.vibrate")}}
<h2 id="也可以参考">也可以参考</h2>
diff --git a/files/zh-cn/web/api/videoplaybackquality/index.html b/files/zh-cn/web/api/videoplaybackquality/index.html
index cc4d62a270..cc06b72f65 100644
--- a/files/zh-cn/web/api/videoplaybackquality/index.html
+++ b/files/zh-cn/web/api/videoplaybackquality/index.html
@@ -49,62 +49,7 @@ translation_of: Web/API/VideoPlaybackQuality
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>23</td>
- <td>{{CompatGeckoDesktop("25.0")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("42.0")}}</td>
- <td>11<sup>[2]</sup></td>
- <td>15</td>
- <td>8</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4.4</td>
- <td>
- <p>{{CompatNo}}</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>11</td>
- <td>30</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在更改 <code>about:config</code> 中的 media.mediasource.enabled 项为 true 后可用。 此外,支持仅限于白名单站点,例如YouTube、Netflix等其他著名视频站点。在 42+ 后白名单已被移除并且 Media Source Extensions已默认对所有站点启用。</p>
-
-<p>[2] 只在 Windows 8+ 下可用。</p>
+{{Compat("api.VideoPlaybackQuality")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/vrdisplay/index.html b/files/zh-cn/web/api/vrdisplay/index.html
index 60f52c60cf..7af25cdf73 100644
--- a/files/zh-cn/web/api/vrdisplay/index.html
+++ b/files/zh-cn/web/api/vrdisplay/index.html
@@ -78,55 +78,7 @@ translation_of: Web/API/VRDisplay
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.VRDisplay")}}
<h2 id="另请参见">另请参见</h2>
diff --git a/files/zh-cn/web/api/vrdisplay/requestanimationframe/index.html b/files/zh-cn/web/api/vrdisplay/requestanimationframe/index.html
index 31d04f4956..e8b1893573 100644
--- a/files/zh-cn/web/api/vrdisplay/requestanimationframe/index.html
+++ b/files/zh-cn/web/api/vrdisplay/requestanimationframe/index.html
@@ -51,55 +51,7 @@ translation_of: Web/API/VRDisplay/requestAnimationFrame
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.VRDisplay.requestAnimationFrame")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/vrpose/index.html b/files/zh-cn/web/api/vrpose/index.html
index 0cb8562b69..88cf83e9c6 100644
--- a/files/zh-cn/web/api/vrpose/index.html
+++ b/files/zh-cn/web/api/vrpose/index.html
@@ -68,55 +68,7 @@ translation_of: Web/API/VRPose
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.VRPose")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/vrpose/timestamp/index.html b/files/zh-cn/web/api/vrpose/timestamp/index.html
index 73c285fa7c..10b3925103 100644
--- a/files/zh-cn/web/api/vrpose/timestamp/index.html
+++ b/files/zh-cn/web/api/vrpose/timestamp/index.html
@@ -40,55 +40,7 @@ translation_of: Web/API/VRPose/timeStamp
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.VRPose.timestamp")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/web_animations_api/index.html b/files/zh-cn/web/api/web_animations_api/index.html
index 76f53da385..bd6edbbf97 100644
--- a/files/zh-cn/web/api/web_animations_api/index.html
+++ b/files/zh-cn/web/api/web_animations_api/index.html
@@ -90,67 +90,7 @@ translation_of: Web/API/Web_Animations_API
</tbody>
</table>
-<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support (Element.animate())</td>
- <td>{{ CompatChrome(36.0) }}<br>
-  </td>
- <td>{{ CompatGeckoDesktop(48)}}</td>
- <td>{{ CompatNo }}</td>
- <td>
- <p>29<br>
- 28 behind pref</p>
- </td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatChrome(42.0)}}</td>
- <td>{{ CompatGeckoMobile(48) }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatChrome(42.0) }}</td>
- </tr>
- </tbody>
-</table>
-[1] 仅在Firefox 52 Nightly和Dev版本中启用。在测试版/发布版中关闭。</div>
-
-<p> </p>
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/api/web_animations_api/keyframe_formats/index.html b/files/zh-cn/web/api/web_animations_api/keyframe_formats/index.html
index d534d4a5c4..7577389467 100644
--- a/files/zh-cn/web/api/web_animations_api/keyframe_formats/index.html
+++ b/files/zh-cn/web/api/web_animations_api/keyframe_formats/index.html
@@ -134,57 +134,7 @@ translation_of: Web/API/Web_Animations_API/Keyframe_Formats
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Element.animate")}}
<h2 id="相关推荐">相关推荐</h2>
diff --git a/files/zh-cn/web/api/web_audio_api/index.html b/files/zh-cn/web/api/web_audio_api/index.html
index 75edbde9bf..f7178d006c 100644
--- a/files/zh-cn/web/api/web_audio_api/index.html
+++ b/files/zh-cn/web/api/web_audio_api/index.html
@@ -375,58 +375,7 @@ function voiceMute() { // toggle to mute and unmute sound
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>14 {{property_prefix("webkit")}}</td>
- <td>23</td>
- <td>{{CompatNo}}</td>
- <td>15 {{property_prefix("webkit")}}<br>
- 22 (unprefixed)</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>28 {{property_prefix("webkit")}}</td>
- <td>25</td>
- <td>1.2</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6 {{property_prefix("webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.AudioContext", 0)}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/webgl_api/constants/index.html b/files/zh-cn/web/api/webgl_api/constants/index.html
index fc023cbbc9..b7a9468ac1 100644
--- a/files/zh-cn/web/api/webgl_api/constants/index.html
+++ b/files/zh-cn/web/api/webgl_api/constants/index.html
@@ -3980,57 +3980,7 @@ var vendor = gl.getParameter(debugInfo.UNMASKED_VENDOR_WEBGL);</pre>
</tbody>
</table>
-<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("9")}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>{{CompatIE("11")}}</td>
- <td>{{CompatOpera("12")}}</td>
- <td>{{CompatSafari("5.1")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>25</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>12</td>
- <td>8.1</td>
- </tr>
- </tbody>
-</table>
-</div>
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/webgl_api/types/index.html b/files/zh-cn/web/api/webgl_api/types/index.html
index 2ce6fac2bc..20d8267e8a 100644
--- a/files/zh-cn/web/api/webgl_api/types/index.html
+++ b/files/zh-cn/web/api/webgl_api/types/index.html
@@ -156,57 +156,7 @@ translation_of: Web/API/WebGL_API/Types
</tbody>
</table>
-<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("9")}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>{{CompatIE("11")}}</td>
- <td>{{CompatOpera("12")}}</td>
- <td>{{CompatSafari("5.1")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>25</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>12</td>
- <td>8.1</td>
- </tr>
- </tbody>
-</table>
-</div>
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/webgl_api/using_extensions/index.html b/files/zh-cn/web/api/webgl_api/using_extensions/index.html
index bb2c0add23..183cc5df3b 100644
--- a/files/zh-cn/web/api/webgl_api/using_extensions/index.html
+++ b/files/zh-cn/web/api/webgl_api/using_extensions/index.html
@@ -70,503 +70,7 @@ translation_of: Web/API/WebGL_API/Using_Extensions
<p>If an extension defines specific symbols or functions that are not available in the core specification of WebGL, they will be available on the extension object returned by the call to <code>gl.getExtension()</code>.</p>
-<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>9</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>11</td>
- <td>12</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>ANGLE_instanced_arrays</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("33.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_blend_minmax</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("33.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_color_buffer_half_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("30.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_disjoint_timer_query</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("41.0")}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_frag_depth</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("30.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_sRGB</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("28.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_shader_texture_lod</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("34.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_texture_filter_anisotropic</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("17.0")}} [2]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_element_index_uint</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("24.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_standard_derivatives</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("10.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_float_linear</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("24.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_half_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("29.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_half_float_linear</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("30.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_vertex_array_object</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_color_buffer_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("30.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_atc</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("18.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_es3</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("46.0")}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_etc1</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("30.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_pvrtc</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("18.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_s3tc</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("22.0")}} [2]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_debug_renderer_info</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("19.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_debug_shaders</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("30.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_depth_texture</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("22.0")}} [2]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_draw_buffers</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("28.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_lose_context</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("22.0")}} [2]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>25</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>12</td>
- <td>8.0</td>
- </tr>
- <tr>
- <td><code>ANGLE_instanced_arrays</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_blend_minmax</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_color_buffer_half_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_disjoint_timer_query</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_frag_depth</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_sRGB</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_shader_texture_lod</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_texture_filter_anisotropic</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_element_index_uint</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_standard_derivatives</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_float_linear</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_half_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_half_float_linear</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_vertex_array_object</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_color_buffer_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_atc</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_etc1</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_s3tc</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_pvrtc</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_s3tc</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_debug_renderer_info</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_debug_shaders</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_depth_texture</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_draw_buffers</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_lose_context</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Toggling the <code>webgl.enable-draft-extensions</code> preference in about:config is required.</p>
-
-<p>[2] This extension was prefixed with <code>MOZ_</code> in prior versions.</p>
<h2 id="也可以看看">也可以看看</h2>
diff --git a/files/zh-cn/web/api/webglrenderingcontext/activetexture/index.html b/files/zh-cn/web/api/webglrenderingcontext/activetexture/index.html
index 6e5f43f563..483b3f043d 100644
--- a/files/zh-cn/web/api/webglrenderingcontext/activetexture/index.html
+++ b/files/zh-cn/web/api/webglrenderingcontext/activetexture/index.html
@@ -70,55 +70,7 @@ gl.getParameter(gl.ACTIVE_TEXTURE);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("9")}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>{{CompatIE("11")}}</td>
- <td>{{CompatOpera("12")}}</td>
- <td>{{CompatSafari("5.1")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>25</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>12</td>
- <td>8.1</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.WebGLRenderingContext.activeTexture")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/webglrenderingcontext/getsupportedextensions/index.html b/files/zh-cn/web/api/webglrenderingcontext/getsupportedextensions/index.html
index f203803fdf..9f5f0dbbdb 100644
--- a/files/zh-cn/web/api/webglrenderingcontext/getsupportedextensions/index.html
+++ b/files/zh-cn/web/api/webglrenderingcontext/getsupportedextensions/index.html
@@ -51,484 +51,7 @@ var extensions = gl.getSupportedExtensions();
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>9</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>11</td>
- <td>12</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>ANGLE_instanced_arrays</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("33.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_blend_minmax</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("33.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_color_buffer_half_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("30.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_disjoint_timer_query</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("41.0")}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_frag_depth</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("30.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_sRGB</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("28.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_shader_texture_lod</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("34.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_texture_filter_anisotropic</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("17.0")}} [2]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_element_index_uint</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("24.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_standard_derivatives</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("10.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_float_linear</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("24.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_half_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("29.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_half_float_linear</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("30.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_vertex_array_object</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("25.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_color_buffer_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("30.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_atc</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("18.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_etc1</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("30.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_pvrtc</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("18.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_s3tc</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("15.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_debug_renderer_info</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("19.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_debug_shaders</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("30.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_depth_texture</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("17.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_draw_buffers</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("28.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_lose_context</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("19.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>25</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>12</td>
- <td>8.1</td>
- </tr>
- <tr>
- <td><code>ANGLE_instanced_arrays</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_blend_minmax</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_color_buffer_half_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_disjoint_timer_query</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_frag_depth</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_sRGB</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_shader_texture_lod</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>EXT_texture_filter_anisotropic</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_element_index_uint</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_standard_derivatives</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_float_linear</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_half_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_texture_half_float_linear</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>OES_vertex_array_object</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_color_buffer_float</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_atc</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_etc1</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_pvrtc</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_compressed_texture_s3tc</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_debug_renderer_info</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_debug_shaders</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_depth_texture</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_draw_buffers</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>WEBGL_lose_context</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Toggling the <code>webgl.enable-draft-extensions</code> preference in about:config is required.</p>
-
-<p>[2] This was prefixed as <code>MOZ_EXT_texture_filter_anisotropic</code> in prior versions.</p>
+{{Compat("api.WebGLRenderingContext.getSupportedExtensions")}}
<h2 id="浏览其他相关资源">浏览其他相关资源</h2>
diff --git a/files/zh-cn/web/api/webglrenderingcontext/isbuffer/index.html b/files/zh-cn/web/api/webglrenderingcontext/isbuffer/index.html
index dfe9026b22..e9b3e8d342 100644
--- a/files/zh-cn/web/api/webglrenderingcontext/isbuffer/index.html
+++ b/files/zh-cn/web/api/webglrenderingcontext/isbuffer/index.html
@@ -58,61 +58,7 @@ gl.isBuffer(buffer);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("9")}}</td>
- <td>12</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>11</td>
- <td>{{CompatOpera("12")}}</td>
- <td>{{CompatSafari("5.1")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>25</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>12</td>
- <td>8.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.WebGLRenderingContext.isBuffer")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/webglrenderingcontext/isenabled/index.html b/files/zh-cn/web/api/webglrenderingcontext/isenabled/index.html
index 9c87ead999..1f993778a9 100644
--- a/files/zh-cn/web/api/webglrenderingcontext/isenabled/index.html
+++ b/files/zh-cn/web/api/webglrenderingcontext/isenabled/index.html
@@ -135,55 +135,7 @@ gl.disable(gl.STENCIL_TEST);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("9")}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>{{CompatIE("11")}}</td>
- <td>{{CompatOpera("12")}}</td>
- <td>{{CompatSafari("5.1")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>25</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>12</td>
- <td>8.1</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.WebGLRenderingContext.isEnabled")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/webgluniformlocation/index.html b/files/zh-cn/web/api/webgluniformlocation/index.html
index 7c9fa0669d..f53554eb1d 100644
--- a/files/zh-cn/web/api/webgluniformlocation/index.html
+++ b/files/zh-cn/web/api/webgluniformlocation/index.html
@@ -48,74 +48,7 @@ var location = gl.getUniformLocation(WebGLProgram, "uniformName");</pre>
<h2 id="浏览器兼容性:">浏览器兼容性:</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>谷歌Chrome</th>
- <th>火狐Firefox (Gecko)</th>
- <th>微软Internet Explorer</th>
- <th>欧朋Opera</th>
- <th>苹果Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatChrome("9")}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>{{CompatIE("11")}}</td>
- <td>{{CompatOpera("12")}}</td>
- <td>{{CompatSafari("5.1")}}</td>
- </tr>
- <tr>
- <td>可用版本</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(44)}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>安卓Android</th>
- <th>谷歌Chrome(安卓版)</th>
- <th>火狐Firefox(Gecko)(移动版)</th>
- <th>微软IE(移动版)</th>
- <th>欧朋Opera(移动版)</th>
- <th>苹果Safari(移动版)</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatUnknown}}</td>
- <td>25</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>12</td>
- <td>8.1</td>
- </tr>
- <tr>
- <td>可用版本</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckomobile(44)}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 这是特性首选项之后的特性。在 关于:配置,设置<code> gfx.offscreencanvas.enabled 为true。</code></p>
+{{Compat("api.WebGLUniformLocation")}}
<h2 id="另请参阅:">另请参阅:</h2>
diff --git a/files/zh-cn/web/api/websockets_api/index.html b/files/zh-cn/web/api/websockets_api/index.html
index ecc7894c38..21760845c3 100644
--- a/files/zh-cn/web/api/websockets_api/index.html
+++ b/files/zh-cn/web/api/websockets_api/index.html
@@ -56,153 +56,4 @@ translation_of: Web/API/WebSockets_API
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Version -76 support {{obsolete_inline}}</td>
- <td>6</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>11.00 (disabled)</td>
- <td>5.0.1</td>
- </tr>
- <tr>
- <td>Protocol version 7 support {{obsolete_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}<br>
- {{property_prefix("Moz")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Protocol version 10 support {{obsolete_inline}}</td>
- <td>14</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("7.0")}}<br>
- {{property_prefix("Moz")}}</td>
- <td>HTML5 Labs</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Standard - RFC 6455 Support</td>
- <td>16</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("11.0")}}</td>
- <td>10</td>
- <td>12.10</td>
- <td>6.0</td>
- </tr>
- <tr>
- <td>Usable in Workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("37.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Version -76 support {{obsolete_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Protocol version 7 support {{obsolete_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Protocol version 8 support (IETF draft 10) {{obsolete_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("7.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Standard - RFC 6455 Support</td>
- <td>4.4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("11.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>12.10</td>
- <td>6.0</td>
- </tr>
- <tr>
- <td>Usable in Workers</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("37.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Gecko_notes">Gecko notes</h3>
-
-<p>Firefox中的WebSocket支持正在继续跟踪WebSocket规范的发展。Firefox 6实现了底层协议的version 7,而Firefox 7实现了version 8(如IETF draft 10所指定的)。Firefox移动版在Firefox7.0支持WebSocket。</p>
-
-<h4 id="Gecko_6.0">Gecko 6.0</h4>
-
-<p>在Gecko 6.0 {{geckoRelease("6.0")}}之前,一些网站认为<code>WebSocket</code>对象是错误的,意味着<code>WebSocket</code>服务没有前缀,此对象已重命名为<code>MozWebSocket</code>。</p>
-
-<h4 id="Gecko_7.0">Gecko 7.0</h4>
-
-<p>从Gecko 7.0 {{geckoRelease("7.0")}}中开始,<code>network.websocket.max-connections是</code>用于确定每次可以打开的WebSocket连接的最大数量的最大连接首选项。默认值是200。</p>
-
-<h4 id="Gecko_8.0">Gecko 8.0</h4>
-
-<p>从Gecko 8.0 {{geckoRelease("8.0")}}中开始,<code>WebSocket</code>协议的deflate-stream扩展已经被禁用,因为它已经在规范草案中废弃了。这解决了某些站点的不兼容性问题。</p>
-
-<h4 id="Gecko_11.0">Gecko 11.0</h4>
-
-<p>在Gecko 11.0之前,传入和传出消息的大小都限制在16MB。它们现在的大小可能高达 2 GB 。然而,请注意,内存限制(尤其是在移动设备上)使其成为理论上的最大限制,而不是实际的最大限制。实际上,在没有足够内存的设备上,这种大小的传输将会失败。</p>
-
-<p>此外,ArrayBuffer对二进制数据的收发支持已经实现。</p>
-
-<p><br>
- 从Gecko 11.0开始,WebSocket API不需要前缀。</p>
+{{Compat("api.WebSocket")}}
diff --git a/files/zh-cn/web/api/webvr_api/index.html b/files/zh-cn/web/api/webvr_api/index.html
index 9c4577ccff..36aae5ba44 100644
--- a/files/zh-cn/web/api/webvr_api/index.html
+++ b/files/zh-cn/web/api/webvr_api/index.html
@@ -126,70 +126,7 @@ translation_of: Web/API/WebVR_API
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<p><strong>【K】</strong></p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop(39)}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(39)}}<sup>[2]</sup><br>
- {{CompatGeckoMobile(44)}}<sup>[3]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<ul>
- <li>[1] The support in Chrome is currently experimental. To find information on Chrome's WebVR implementation status including supporting builds, check out <a href="http://blog.tojicode.com/2014/07/bringing-vr-to-chrome.html">Bringing VR to Chrome</a> by Brandon Jones.</li>
- <li><strong>[1]在谷歌浏览器中的支持目前尚处于实验阶段。要查找谷歌WebVR的执行状况的相关信息,包括相关技术支持的建设情况,请查看<a href="http://blog.tojicode.com/2014/07/bringing-vr-to-chrome.html">将VR带进Chrome</a> 作者:Brandon Jones.</strong></li>
- <li> </li>
- <li>[2] The support for this feature is currently disabled by default in Firefox. To enable WebVR support in Firefox Nightly/Developer Edition, you can go to <code>about:config</code> and enable the <code>dom.vr*</code> prefs. A better option however is to install the <a href="http://www.mozvr.com/downloads/webvr-addon-0.1.0.xpi">WebVR Enabler Add-on</a>, which does this for you and sets up other necessary parts of the <a href="/en-US/docs/Web/API/WebVR_API/WebVR_environment_setup">environment</a>.</li>
- <li>[2] <strong>这项功能的技术支持,目前在火狐的浏览器中并不能被执行。要想使用火狐浏览器Nightly/开发者版本中WebVR的相关功能,你可以选择:配置并提升<code>dom.vr*</code> prefs的优先级. 另一个更好的选择是安装<a href="http://www.mozvr.com/downloads/webvr-addon-0.1.0.xpi">WebVR</a><a href="http://www.mozvr.com/downloads/webvr-addon-0.1.0.xpi"> Enabler Add-on</a>, 它能代替你完成这些工作并建立其他运行环境中必需的部分<a href="/en-US/docs/Web/API/WebVR_API/WebVR_environment_setup">environment</a>.</strong></li>
- <li>[3] The <code>dom.vr*</code> prefs are enabled by default at this point, in Nightly/Aurora editions.</li>
- <li>[3]<strong> The <code>dom.vr*</code> prefs 在Nightly/Aurora的版本中,目前并不能被执行。</strong></li>
-</ul>
+{{Compat("api.Navigator.getVRDisplays")}}
<h2 id="相关文章">相关文章</h2>
diff --git a/files/zh-cn/web/api/wheelevent/deltamode/index.html b/files/zh-cn/web/api/wheelevent/deltamode/index.html
index 7db3c83a71..656568b861 100644
--- a/files/zh-cn/web/api/wheelevent/deltamode/index.html
+++ b/files/zh-cn/web/api/wheelevent/deltamode/index.html
@@ -62,57 +62,7 @@ console.log(syntheticEvent.deltaMode);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>31</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatGeckoDesktop("17.0") }}</td>
- <td>{{ CompatIE("9.0") }}</td>
- <td>18</td>
- <td>7.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("17.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.WheelEvent.deltaMode")}}
<h2 class="note" id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/wheelevent/deltax/index.html b/files/zh-cn/web/api/wheelevent/deltax/index.html
index ed30709da2..58a7a2d7ab 100644
--- a/files/zh-cn/web/api/wheelevent/deltax/index.html
+++ b/files/zh-cn/web/api/wheelevent/deltax/index.html
@@ -37,59 +37,7 @@ console.log(syntheticEvent.deltaX);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>31</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("17.0") }}</td>
- <td>{{ CompatIE("9.0") }} [1]</td>
- <td>18</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("17.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] IE9 支持一个规范的一个旧版本的草稿, 这里的值的类型是 <code>long</code> 而不是一个 <code>double</code> 类型的值.</p>
+{{Compat("api.WheelEvent.deltaX")}}
<h2 class="note" id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/wheelevent/deltay/index.html b/files/zh-cn/web/api/wheelevent/deltay/index.html
index 1f223c3b37..da0040c0e3 100644
--- a/files/zh-cn/web/api/wheelevent/deltay/index.html
+++ b/files/zh-cn/web/api/wheelevent/deltay/index.html
@@ -39,59 +39,7 @@ console.log(syntheticEvent.deltaY);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>31</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("17.0") }}</td>
- <td>{{ CompatIE("9.0") }} [1]</td>
- <td>18</td>
- <td>9.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("17.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] IE9 支持一个规范的一个旧版本的草稿, 这里的值的类型是 <code>long</code> 而不是一个 <code>double</code> 类型的值.</p>
+{{Compat("api.WheelEvent.deltaY")}}
<h2 class="note" id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/wheelevent/deltaz/index.html b/files/zh-cn/web/api/wheelevent/deltaz/index.html
index d80bf95202..531b618259 100644
--- a/files/zh-cn/web/api/wheelevent/deltaz/index.html
+++ b/files/zh-cn/web/api/wheelevent/deltaz/index.html
@@ -41,59 +41,7 @@ console.log(syntheticEvent.deltaZ);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>31</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("17.0") }}</td>
- <td>{{ CompatIE("9.0") }} [1]</td>
- <td>18</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("17.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] IE9 支持一个规范的一个旧版本的草稿, 这里的值的类型是 <code>long</code> 而不是一个 <code>double</code> 类型的值.</p>
+{{Compat("api.WheelEvent.deltaZ")}}
<h2 class="note" id="另见">另见</h2>
diff --git a/files/zh-cn/web/api/window/cancelanimationframe/index.html b/files/zh-cn/web/api/window/cancelanimationframe/index.html
index 0d98e5db24..95d38eb70f 100644
--- a/files/zh-cn/web/api/window/cancelanimationframe/index.html
+++ b/files/zh-cn/web/api/window/cancelanimationframe/index.html
@@ -45,65 +45,7 @@ window.cancelAnimationFrame(myReq);
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p>21.0 {{ property_prefix("webkit") }}</p>
-
- <p>24.0 脱前缀</p>
- </td>
- <td>
- <p>{{ CompatGeckoDesktop("11.0") }} {{ property_prefix("moz") }} </p>
- </td>
- <td>10</td>
- <td>{{ CompatUnknown() }}</td>
- <td>
- <p>6.0 {{ property_prefix("webkit") }}</p>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>
- <p>{{ CompatUnknown() }}</p>
- </td>
- <td>{{ CompatGeckoMobile("11.0") }} {{ property_prefix("moz") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Window.cancelAnimationFrame")}}
<h2 id="Specification" name="Specification">规范</h2>
diff --git a/files/zh-cn/web/api/window/cancelidlecallback/index.html b/files/zh-cn/web/api/window/cancelidlecallback/index.html
index 79abf32d93..17a3405707 100644
--- a/files/zh-cn/web/api/window/cancelidlecallback/index.html
+++ b/files/zh-cn/web/api/window/cancelidlecallback/index.html
@@ -52,56 +52,4 @@ translation_of: Web/API/Window/cancelIdleCallback
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(47)}}</td>
- <td>{{CompatGeckoDesktop(53)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(47)}}</td>
- <td>{{CompatChrome(47)}}</td>
- <td>{{CompatGeckoMobile(53)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Idle callback 在  Firefox 53 中增加, 默认是禁用状态,设置  <code>dom.requestIdleCallback.enabled</code> 为 <code>true</code>启用。 Idle callbacks 再 Firefox 55及之后版本中默认启用。</p>
+{{Compat("api.Window.cancelIdleCallback")}}
diff --git a/files/zh-cn/web/api/window/clearimmediate/index.html b/files/zh-cn/web/api/window/clearimmediate/index.html
index 84d84226e6..426f7869db 100644
--- a/files/zh-cn/web/api/window/clearimmediate/index.html
+++ b/files/zh-cn/web/api/window/clearimmediate/index.html
@@ -22,51 +22,8 @@ document.getElementById("button").addEventListener(function () {
}, false);
</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.Window.clearImmediate")}}
+
<h2 id="相关链接">相关链接</h2>
<p>{{ domxref("window.setImmediate") }}</p>
<p>{{ spec("https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/setImmediate/Overview.html", "Specification: Efficient Script Yielding") }}</p>
diff --git a/files/zh-cn/web/api/window/deviceorientation_event/index.html b/files/zh-cn/web/api/window/deviceorientation_event/index.html
index 4b36867f04..7c7ff74ad0 100644
--- a/files/zh-cn/web/api/window/deviceorientation_event/index.html
+++ b/files/zh-cn/web/api/window/deviceorientation_event/index.html
@@ -98,55 +98,7 @@ var handleOrientationEvent = function(frontToBack, leftToRight, rotateDegrees) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本功能支持</td>
- <td>7.0</td>
- <td>3.6<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本功能支持</td>
- <td>3.0</td>
- <td>3.6<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>12</td>
- <td>4.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Firefox 3.6, 4, 和 5 支持 <a href="/en-US/docs/Web/Events/MozOrientation">mozOrientation</a> 这一类似 <code>DeviceOrientation</code> 的事件。</p>
+{{Compat("api.Window.deviceorientation_event")}}
<h2 id="相关事件">相关事件</h2>
diff --git a/files/zh-cn/web/api/window/event/index.html b/files/zh-cn/web/api/window/event/index.html
index a46da74b26..77a9af1b10 100644
--- a/files/zh-cn/web/api/window/event/index.html
+++ b/files/zh-cn/web/api/window/event/index.html
@@ -23,59 +23,7 @@ translation_of: Web/API/Window/event
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }} </p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Window.event")}}
<h2 id="更多资料">更多资料</h2>
diff --git a/files/zh-cn/web/api/window/frameelement/index.html b/files/zh-cn/web/api/window/frameelement/index.html
index 12c587d725..f6ed8cca2a 100644
--- a/files/zh-cn/web/api/window/frameelement/index.html
+++ b/files/zh-cn/web/api/window/frameelement/index.html
@@ -25,49 +25,4 @@ if (frameEl)
<h3 id="Specification" name="Specification">规范</h3>
<p><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/#dom-frameelement" title="http://www.whatwg.org/specs/web-apps/current-work/#dom-frameelement">WHATWG</a></p>
<h3 id="浏览器兼容性">浏览器兼容性</h3>
-<p>{{ CompatibilityTable() }}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>18</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>5.5?</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<p>{{ languages( { "ja": "ja/DOM/window.frameElement", "pl": "pl/DOM/window.frameElement", "en": "en/DOM/window.frameElement" } ) }}</p>
+{{Compat("api.Window.frameElement")}}
diff --git a/files/zh-cn/web/api/window/getdefaultcomputedstyle/index.html b/files/zh-cn/web/api/window/getdefaultcomputedstyle/index.html
index 2ec99a1b9a..932bc91e8e 100644
--- a/files/zh-cn/web/api/window/getdefaultcomputedstyle/index.html
+++ b/files/zh-cn/web/api/window/getdefaultcomputedstyle/index.html
@@ -79,66 +79,4 @@ var style = window.getDefaultComputedStyle(elem1);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>19</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>pseudo-element support</td>
- <td>{{CompatNo}}</td>
- <td>19</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>19</td>
- <td>7.5</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>pseudo-element support</td>
- <td>{{CompatNo}}</td>
- <td>19</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Window.getDefaultComputedStyle")}}
diff --git a/files/zh-cn/web/api/window/innerheight/index.html b/files/zh-cn/web/api/window/innerheight/index.html
index d177fd0cd7..19531d83d5 100644
--- a/files/zh-cn/web/api/window/innerheight/index.html
+++ b/files/zh-cn/web/api/window/innerheight/index.html
@@ -57,57 +57,7 @@ var intOuterFramesetHeight = top.innerHeight;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>9</td>
- <td>9</td>
- <td>3</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1</td>
- <td>{{CompatGeckoMobile(1.0)}}</td>
- <td>9</td>
- <td>9</td>
- <td>3</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="Gecko_note" name="Gecko_note">Gecko 备注</h3>
-
-<p>从 Firefox 4 到 Firefox 24,该属性有 bug,而且某种情况下,会在页面加载前给出一个错误的值,查看 {{bug(641188)}}。</p>
+{{Compat("api.Window.innerHeight")}}
<h2 id="Standards_information" name="Standards_information">标准相关信息</h2>
diff --git a/files/zh-cn/web/api/window/languagechange_event/index.html b/files/zh-cn/web/api/window/languagechange_event/index.html
index 953a16707d..af76994cd1 100644
--- a/files/zh-cn/web/api/window/languagechange_event/index.html
+++ b/files/zh-cn/web/api/window/languagechange_event/index.html
@@ -63,55 +63,7 @@ translation_of: Web/API/Window/languagechange_event
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>37</td>
- <td>{{ CompatGeckoDesktop("32") }} [1]</td>
- <td>{{ CompatNo() }}</td>
- <td>24</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("32") }}[1]</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1]In Firefox, the <code>navigator.languages</code> property's value is taken from the <code>intl.accept_languages</code> preference.</p>
+{{Compat("api.Window.languagechange_event")}}
<h2 id="See_also" name="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/window/onappinstalled/index.html b/files/zh-cn/web/api/window/onappinstalled/index.html
index bbf2065738..21662ca3f6 100644
--- a/files/zh-cn/web/api/window/onappinstalled/index.html
+++ b/files/zh-cn/web/api/window/onappinstalled/index.html
@@ -39,59 +39,7 @@ translation_of: Web/API/Window/onappinstalled
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(49)}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(49)}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This feature is behind a feature preference setting. In about:config, set <code>dom.manifest.onappinstall</code> to <code>true</code>.</p>
+{{Compat("api.Window.onappinstalled")}}
<h2 id="See_also" name="See_also">相关文章</h2>
diff --git a/files/zh-cn/web/api/window/onbeforeinstallprompt/index.html b/files/zh-cn/web/api/window/onbeforeinstallprompt/index.html
index e2243375f7..9fe0053476 100644
--- a/files/zh-cn/web/api/window/onbeforeinstallprompt/index.html
+++ b/files/zh-cn/web/api/window/onbeforeinstallprompt/index.html
@@ -37,59 +37,7 @@ window.addEventListener("beforeinstallprompt", function(e) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(45.0)}} [1]</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(45.0)}} [1]</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatChrome(45.0)}} [1]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Behind the flagchrome://flags/#bypass-app-banner-engagement-checks</p>
+{{Compat("api.Window.onbeforeinstallprompt")}}
<h2 id="规范">规范</h2>
diff --git a/files/zh-cn/web/api/window/outerheight/index.html b/files/zh-cn/web/api/window/outerheight/index.html
index 9bc6b127af..fe528e036f 100644
--- a/files/zh-cn/web/api/window/outerheight/index.html
+++ b/files/zh-cn/web/api/window/outerheight/index.html
@@ -20,51 +20,8 @@ translation_of: Web/API/Window/outerHeight
<p><img alt="innerHeight vs outerHeight illustration" src="/@api/deki/files/213/=FirefoxInnerVsOuterHeight2.png" style=""></p>
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
<div>
- {{CompatibilityTable}}</div>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>9</td>
- <td>9</td>
- <td>3</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1</td>
- <td>{{CompatGeckoMobile(1.0)}}</td>
- <td>9</td>
- <td>9</td>
- <td>3</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.Window.outerHeight")}}
+
<h2 id="Specification" name="Specification">规范</h2>
<p>DOM Level 0。不属于任何 W3C 技术规范或推荐。</p>
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/window/outerwidth/index.html b/files/zh-cn/web/api/window/outerwidth/index.html
index fc7a7ca3db..9f089c22db 100644
--- a/files/zh-cn/web/api/window/outerwidth/index.html
+++ b/files/zh-cn/web/api/window/outerwidth/index.html
@@ -17,51 +17,8 @@ translation_of: Web/API/Window/outerWidth
<p>要获取一个窗口的内层宽度(inner width),即页面被展示的区域,请参考 {{domxref("window.innerWidth")}}。</p>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
<div>
- {{CompatibilityTable}}</div>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>9</td>
- <td>9</td>
- <td>3</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1</td>
- <td>{{CompatGeckoMobile(1.0)}}</td>
- <td>9</td>
- <td>9</td>
- <td>3</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("api.Window.outerWidth")}}
+
<h2 id="Specification" name="Specification">规范</h2>
<p>DOM Level 0。不属于任何 W3C 技术规范或推荐。<span class="comment">the To do in Notes</span></p>
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/window/pageshow_event/index.html b/files/zh-cn/web/api/window/pageshow_event/index.html
index 482e1b567e..c733985525 100644
--- a/files/zh-cn/web/api/window/pageshow_event/index.html
+++ b/files/zh-cn/web/api/window/pageshow_event/index.html
@@ -86,55 +86,7 @@ window.addEventListener('load', function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable()}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("4")}}</td>
- <td>{{CompatGeckoDesktop("1.8")}}</td>
- <td>11</td>
- <td>15</td>
- <td>5</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.3</td>
- <td>{{CompatUnknown()}}</td>
- <td>11</td>
- <td>35</td>
- <td>5.1</td>
- </tr>
- </tbody>
-</table>
-
-
-</div>
+{{Compat("api.Window.pageshow_event")}}
<h2 id="相关事件">相关事件</h2>
diff --git a/files/zh-cn/web/api/window/pagexoffset/index.html b/files/zh-cn/web/api/window/pagexoffset/index.html
index d6f823e4a4..0602fcf0a8 100644
--- a/files/zh-cn/web/api/window/pagexoffset/index.html
+++ b/files/zh-cn/web/api/window/pagexoffset/index.html
@@ -31,59 +31,7 @@ translation_of: Web/API/Window/pageXOffset
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>9</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Window.pageXOffset")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/window/pageyoffset/index.html b/files/zh-cn/web/api/window/pageyoffset/index.html
index acef4e640d..04bbe0a9c0 100644
--- a/files/zh-cn/web/api/window/pageyoffset/index.html
+++ b/files/zh-cn/web/api/window/pageyoffset/index.html
@@ -31,59 +31,7 @@ translation_of: Web/API/Window/pageYOffset
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>9</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Window.pageYOffset")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/window/popstate_event/index.html b/files/zh-cn/web/api/window/popstate_event/index.html
index ef4c63f871..22abea92ba 100644
--- a/files/zh-cn/web/api/window/popstate_event/index.html
+++ b/files/zh-cn/web/api/window/popstate_event/index.html
@@ -69,53 +69,7 @@ translation_of: Web/API/Window/popstate_event
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>Yes</td>
- <td>{{ CompatGeckoDesktop("2") }}</td>
- <td>10.0</td>
- <td>Yes</td>
- <td>limited</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>3.0 (buggy in 2.2 and 2.3)</td>
- <td>{{ CompatGeckoMobile("2") }}</td>
- <td>10.0</td>
- <td>Yes</td>
- <td>limited</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Window.popstate_event")}}
<h2 id="示例">示例</h2>
diff --git a/files/zh-cn/web/api/window/scrolly/index.html b/files/zh-cn/web/api/window/scrolly/index.html
index 7bc49120f2..db80b74933 100644
--- a/files/zh-cn/web/api/window/scrolly/index.html
+++ b/files/zh-cn/web/api/window/scrolly/index.html
@@ -69,60 +69,7 @@ var y = supportPageOffset ? window.pageYOffset : isCSS1Compat ? document.documen
<div id="compat-desktop">
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Microsoft Edge</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Window.scrollY")}}
<h2 id="See_also" name="See_also">相关链接</h2>
diff --git a/files/zh-cn/web/api/window/visualviewport/index.html b/files/zh-cn/web/api/window/visualviewport/index.html
index bc751840d9..1c0c30fc68 100644
--- a/files/zh-cn/web/api/window/visualviewport/index.html
+++ b/files/zh-cn/web/api/window/visualviewport/index.html
@@ -36,54 +36,4 @@ translation_of: Web/API/Window/visualViewport
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Window.visualViewport")}}
diff --git a/files/zh-cn/web/api/windowclient/index.html b/files/zh-cn/web/api/windowclient/index.html
index 30073ded26..5c6ec4745a 100644
--- a/files/zh-cn/web/api/windowclient/index.html
+++ b/files/zh-cn/web/api/windowclient/index.html
@@ -80,80 +80,7 @@ translation_of: Web/API/WindowClient
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(42.0)}}</td>
- <td>{{ CompatGeckoDesktop("44.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>navigate()</code></td>
- <td>{{CompatChrome(49.0)}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("44.0") }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(42.0)}}</td>
- </tr>
- <tr>
- <td><code>navigate()</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 45 and 52 Extended Support Releases</a> (ESR.)</p>
+{{Compat("api.WindowClient")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/windowclient/navigate/index.html b/files/zh-cn/web/api/windowclient/navigate/index.html
index 7f86cd4700..546327430d 100644
--- a/files/zh-cn/web/api/windowclient/navigate/index.html
+++ b/files/zh-cn/web/api/windowclient/navigate/index.html
@@ -43,58 +43,4 @@ translation_of: Web/API/WindowClient/navigate
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(49.0)}}</td>
- <td>{{CompatGeckoDesktop(50)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(50)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(49.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Service workers (and <a href="/en-US/docs/Web/API/Push_API">Push</a>) have been disabled in the <a href="https://www.mozilla.org/en-US/firefox/organizations/">Firefox 52 Extended Support Release</a> (ESR.)</p>
+{{Compat("api.WindowClient.navigate")}}
diff --git a/files/zh-cn/web/api/windoweventhandlers/index.html b/files/zh-cn/web/api/windoweventhandlers/index.html
index f4251936cb..7cebdc009c 100644
--- a/files/zh-cn/web/api/windoweventhandlers/index.html
+++ b/files/zh-cn/web/api/windoweventhandlers/index.html
@@ -86,101 +86,7 @@ translation_of: Web/API/WindowEventHandlers
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onhashchange</code></td>
- <td>{{CompatGeckoDesktop(1.9.2)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onlanguage</code>{{experimental_inline}}</td>
- <td>{{CompatGeckoDesktop(32)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onstorage</code></td>
- <td>{{CompatGeckoDesktop(45)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onhashchange</code></td>
- <td>{{CompatGeckoMobile(1.9.2)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onlanguage</code>{{experimental_inline}}</td>
- <td>{{CompatGeckoMobile(32)}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>onstorage</code></td>
- <td>{{CompatGeckoDesktop(45)}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- <td rowspan="1">{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.WindowEventHandlers")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/windoweventhandlers/onafterprint/index.html b/files/zh-cn/web/api/windoweventhandlers/onafterprint/index.html
index be2cd99dd0..8d5e46f2aa 100644
--- a/files/zh-cn/web/api/windoweventhandlers/onafterprint/index.html
+++ b/files/zh-cn/web/api/windoweventhandlers/onafterprint/index.html
@@ -42,59 +42,7 @@ translation_of: Web/API/WindowEventHandlers/onafterprint
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>6.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.WindowEventHandlers.onafterprint")}}
<h2 id="更多请见">更多请见</h2>
diff --git a/files/zh-cn/web/api/windoweventhandlers/onbeforeunload/index.html b/files/zh-cn/web/api/windoweventhandlers/onbeforeunload/index.html
index 3d2b1bd85d..b8f8dc5c71 100644
--- a/files/zh-cn/web/api/windoweventhandlers/onbeforeunload/index.html
+++ b/files/zh-cn/web/api/windoweventhandlers/onbeforeunload/index.html
@@ -49,53 +49,7 @@ original_slug: Web/API/Window/onbeforeunload
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1</td>
- <td>1</td>
- <td>4</td>
- <td>12</td>
- <td>3</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.WindowEventHandlers.onbeforeunload")}}
<h2 id="Specification" name="Specification">规范</h2>
diff --git a/files/zh-cn/web/api/windoweventhandlers/onlanguagechange/index.html b/files/zh-cn/web/api/windoweventhandlers/onlanguagechange/index.html
index ccabcc1c2e..3f5d1f8e5b 100644
--- a/files/zh-cn/web/api/windoweventhandlers/onlanguagechange/index.html
+++ b/files/zh-cn/web/api/windoweventhandlers/onlanguagechange/index.html
@@ -44,55 +44,7 @@ translation_of: Web/API/WindowEventHandlers/onlanguagechange
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoDesktop(32.0) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile(32.0) }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.WindowEventHandlers.onlanguagechange")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/windoweventhandlers/onmessage/index.html b/files/zh-cn/web/api/windoweventhandlers/onmessage/index.html
index c65d7ef861..49140c74b6 100644
--- a/files/zh-cn/web/api/windoweventhandlers/onmessage/index.html
+++ b/files/zh-cn/web/api/windoweventhandlers/onmessage/index.html
@@ -31,54 +31,4 @@ window.onmessage = function(event) { ... }</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOperaMobile(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.WindowEventHandlers.onmessage")}}
diff --git a/files/zh-cn/web/api/windoweventhandlers/onmessageerror/index.html b/files/zh-cn/web/api/windoweventhandlers/onmessageerror/index.html
index 609f9a9923..e7635c3da9 100644
--- a/files/zh-cn/web/api/windoweventhandlers/onmessageerror/index.html
+++ b/files/zh-cn/web/api/windoweventhandlers/onmessageerror/index.html
@@ -36,81 +36,7 @@ translation_of: Web/API/WindowEventHandlers/onmessageerror
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(57)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(57)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(57)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Available in workers</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatChrome(60)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(57)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera(47)}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.WindowEventHandlers.onmessageerror")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/windoweventhandlers/onstorage/index.html b/files/zh-cn/web/api/windoweventhandlers/onstorage/index.html
index fe7dc2a7cc..3598715d0e 100644
--- a/files/zh-cn/web/api/windoweventhandlers/onstorage/index.html
+++ b/files/zh-cn/web/api/windoweventhandlers/onstorage/index.html
@@ -43,56 +43,4 @@ translation_of: Web/API/WindowEventHandlers/onstorage
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(45)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile" style="line-height: 19.0909080505371px;">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(45)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.WindowEventHandlers.onstorage")}}
diff --git a/files/zh-cn/web/api/worker/onmessage/index.html b/files/zh-cn/web/api/worker/onmessage/index.html
index 5baa117035..cd442fcfc4 100644
--- a/files/zh-cn/web/api/worker/onmessage/index.html
+++ b/files/zh-cn/web/api/worker/onmessage/index.html
@@ -69,55 +69,7 @@ myWorker.onmessage = function(e) {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>4</td>
- <td>3.5</td>
- <td>10.0</td>
- <td>10.6</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>4.4</td>
- <td>3.5</td>
- <td>1.0.1</td>
- <td>10.0</td>
- <td>11.5</td>
- <td>5.1</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Worker.onmessage")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/api/worker/postmessage/index.html b/files/zh-cn/web/api/worker/postmessage/index.html
index bc31892eec..27e87d0868 100644
--- a/files/zh-cn/web/api/worker/postmessage/index.html
+++ b/files/zh-cn/web/api/worker/postmessage/index.html
@@ -151,57 +151,7 @@ from worker, POST send back aBuf.byteLength: 0 myWorker.js:7:2</
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10.0 [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10.0 [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Internet Explorer does not support {{domxref("Transferable")}} objects.</p>
+{{Compat("api.Worker.postMessage")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/worker/terminate/index.html b/files/zh-cn/web/api/worker/terminate/index.html
index f49f8f2c91..f724891d22 100644
--- a/files/zh-cn/web/api/worker/terminate/index.html
+++ b/files/zh-cn/web/api/worker/terminate/index.html
@@ -47,59 +47,7 @@ myWorker.terminate();
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>3.5</td>
- <td>10.0</td>
- <td>10.6</td>
- <td>4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4.4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>3.5</td>
- <td>1.0.1</td>
- <td>10.0</td>
- <td>11.5</td>
- <td>5.1</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.Worker.terminate")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/workerglobalscope/index.html b/files/zh-cn/web/api/workerglobalscope/index.html
index 60d0b88373..46cab42581 100644
--- a/files/zh-cn/web/api/workerglobalscope/index.html
+++ b/files/zh-cn/web/api/workerglobalscope/index.html
@@ -149,133 +149,7 @@ console.log(navigator);</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(4)}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10</td>
- <td>10.6</td>
- <td>4</td>
- </tr>
- <tr>
- <td><code>ononline</code>, <code>onoffline</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("29")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>console</code> {{Non-standard_inline}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("29")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("30")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>performance</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("34")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>caches</code></td>
- <td>{{CompatChrome(40)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>1.0.1</td>
- <td>10</td>
- <td>11.5</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>ononline</code>, <code>onoffline</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("29")}}<sup>[1]</sup><br>
- {{CompatGeckoMobile("30")}}</td>
- <td>1.4</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>console</code> {{Non-standard_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("29")}}</td>
- <td>1.4</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>performance</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("34")}}</td>
- <td>2.1</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>caches</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Gecko 29 implemented this as <code>WorkerConsole</code>. Since version 30 it uses the regular <code>Console</code>.</p>
+{{Compat("api.WorkerGlobalScope")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/api/xmlhttprequest/getresponseheader/index.html b/files/zh-cn/web/api/xmlhttprequest/getresponseheader/index.html
index fe2e66b3c0..050e7809f3 100644
--- a/files/zh-cn/web/api/xmlhttprequest/getresponseheader/index.html
+++ b/files/zh-cn/web/api/xmlhttprequest/getresponseheader/index.html
@@ -69,66 +69,7 @@ client.onreadystatechange = function() {//设定侦听器onreadystatechange。
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>浏览器</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatChrome(1)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}<sup>[1]</sup></td>
- <td>{{CompatIe('5')}}<sup>[2]</sup><br>
- {{CompatIe('7')}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari('1.2')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>
- <p>浏览器</p>
- </th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatUnknown}}</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1]从Firefox 49开始,在首选项network.http.keep_empty_response_headers_as_empty_string设置为true的情况下,空响应头将作为空字符串返回,默认为false。 在Firefox 49之前,空响应头已被忽略。从Firefox 50开始,该项默认设置为true。</p>
-
-<p>[2]该功能最开始是通过ActiveXObject()实现的。 直到Internet Explorer 7,标准的XMLHttpRequest才出现。</p>
+{{Compat("api.XMLHttpRequest.getResponseHeader")}}
<h2 id="也请看看">也请看看:</h2>
diff --git a/files/zh-cn/web/api/xmlhttprequest/html_in_xmlhttprequest/index.html b/files/zh-cn/web/api/xmlhttprequest/html_in_xmlhttprequest/index.html
index 74e8cac761..a2c18c0878 100644
--- a/files/zh-cn/web/api/xmlhttprequest/html_in_xmlhttprequest/index.html
+++ b/files/zh-cn/web/api/xmlhttprequest/html_in_xmlhttprequest/index.html
@@ -142,53 +142,4 @@ oReq.send(null);
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Support</td>
- <td>18</td>
- <td>{{CompatGeckoDesktop("11.0")}}</td>
- <td>10</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}<br>
- {{CompatVersionUnknown}}<sup>[1]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("11.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This feature was implemented in {{WebKitBug("74626")}}.</p>
+{{Compat("api.XMLHttpRequest")}}
diff --git a/files/zh-cn/web/api/xmlhttprequest/open/index.html b/files/zh-cn/web/api/xmlhttprequest/open/index.html
index 431c77fb89..9816c0c889 100644
--- a/files/zh-cn/web/api/xmlhttprequest/open/index.html
+++ b/files/zh-cn/web/api/xmlhttprequest/open/index.html
@@ -56,58 +56,7 @@ xhrReq.open(<var>method</var>,<var> url</var>,<var> async</var>,<var> user</var>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(1)}}</td>
- <td>{{ CompatVersionUnknown}}</td>
- <td>{{CompatIe('5')}}<sup>[1]</sup><br>
- {{CompatIe('7')}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari('1.2')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown}}</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 该特性通过ActiveXObject()实现。Internet Explorer从7开始实现了标准的XMLHttpRequest。</p>
+{{Compat("api.XMLHttpRequest.open")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/xmlhttprequest/readystatechange_event/index.html b/files/zh-cn/web/api/xmlhttprequest/readystatechange_event/index.html
index 63cdfe5bf8..5e32e1b9e4 100644
--- a/files/zh-cn/web/api/xmlhttprequest/readystatechange_event/index.html
+++ b/files/zh-cn/web/api/xmlhttprequest/readystatechange_event/index.html
@@ -68,54 +68,4 @@ xhr.send();</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(1)}}</td>
- <td>{{CompatGeckoDesktop(1.0)}}</td>
- <td>{{CompatIe(7)}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari(1.2)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] IE 5 和 6可以通过使用 <code>ActiveXObject()</code> 支持ajax。</p>
+{{Compat("api.XMLHttpRequest.readystatechange_event")}}
diff --git a/files/zh-cn/web/api/xmlhttprequest/responsetext/index.html b/files/zh-cn/web/api/xmlhttprequest/responsetext/index.html
index 5b6708acd4..5fc809707b 100644
--- a/files/zh-cn/web/api/xmlhttprequest/responsetext/index.html
+++ b/files/zh-cn/web/api/xmlhttprequest/responsetext/index.html
@@ -61,54 +61,4 @@ xhr.send(null);</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在IE10前的版本请求完成时, XMLHttpRequest.responseText 的值为只读。</p>
+{{Compat("api.XMLHttpRequest.responseText")}}
diff --git a/files/zh-cn/web/api/xmlhttprequest/responseurl/index.html b/files/zh-cn/web/api/xmlhttprequest/responseurl/index.html
index 4e70133f8b..289cb10feb 100644
--- a/files/zh-cn/web/api/xmlhttprequest/responseurl/index.html
+++ b/files/zh-cn/web/api/xmlhttprequest/responseurl/index.html
@@ -37,54 +37,4 @@ xhr.send(null);</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(37.0)}}</td>
- <td>{{CompatGeckoDesktop("32.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera("24")}}</td>
- <td>{{CompatSafari(8.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+{{Compat("api.XMLHttpRequest.responseURL")}}
diff --git a/files/zh-cn/web/api/xmlhttprequest/responsexml/index.html b/files/zh-cn/web/api/xmlhttprequest/responsexml/index.html
index ffd22d7896..8f0c8574e7 100644
--- a/files/zh-cn/web/api/xmlhttprequest/responsexml/index.html
+++ b/files/zh-cn/web/api/xmlhttprequest/responsexml/index.html
@@ -72,59 +72,7 @@ xhr.send(null);</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)<sup>[1]</sup></th>
- <th>Microsoft Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在 Firefox 51 之前, 解析收到数据的错误会在 {{domxref("Document")}} 的顶部添加一个 <code>&lt;parsererror&gt;</code> 节点,并且在任何状态下返回 Document 。这是不符合规范的。从 Firefox 51开始,这种情况可以正确的返回 null。</p>
+{{Compat("api.XMLHttpRequest.responseXML")}}
<h2 id="了解更多">了解更多</h2>
diff --git a/files/zh-cn/web/api/xmlhttprequest/send/index.html b/files/zh-cn/web/api/xmlhttprequest/send/index.html
index 820c7eb8b0..21f5c7fbe1 100644
--- a/files/zh-cn/web/api/xmlhttprequest/send/index.html
+++ b/files/zh-cn/web/api/xmlhttprequest/send/index.html
@@ -132,124 +132,7 @@ xhr.send("foo=bar&amp;lorem=ipsum");
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特点</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatChrome(1)}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatIe('5')}}<sup>[2]</sup><br>
- {{CompatIe('7')}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari('1.2')}}</td>
- </tr>
- <tr>
- <td><code>send(ArrayBuffer)</code></td>
- <td>{{CompatChrome(9)}}</td>
- <td>{{CompatGeckoDesktop("9.0")}}<sup>[1]</sup></td>
- <td>{{CompatIe('10')}}</td>
- <td>{{CompatOpera('11.60')}}</td>
- <td>{{compatUnknown}}</td>
- </tr>
- <tr>
- <td><code>send(ArrayBufferView)</code></td>
- <td>{{CompatChrome(22)}}</td>
- <td>{{CompatGeckoDesktop("20.0")}}</td>
- <td>{{compatUnknown}}</td>
- <td>{{compatUnknown}}</td>
- <td>{{compatUnknown}}</td>
- </tr>
- <tr>
- <td><code>send(Blob)</code></td>
- <td>{{CompatChrome(7)}}</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}</td>
- <td>{{CompatIe('10')}}</td>
- <td>{{CompatOpera('12')}}</td>
- <td>{{compatUnknown}}</td>
- </tr>
- <tr>
- <td><code>send(FormData)</code></td>
- <td>{{CompatChrome(6)}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>{{CompatIe('10')}}</td>
- <td>{{CompatOpera('12')}}</td>
- <td>{{compatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特点</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatUnknown}}</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>send(ArrayBuffer)</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{compatUnknown}}</td>
- </tr>
- <tr>
- <td><code>send(ArrayBufferView)</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{compatUnknown}}</td>
- </tr>
- <tr>
- <td><code>send(Blob)</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{compatUnknown}}</td>
- </tr>
- <tr>
- <td><code>send(FormData)</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{compatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 发送一个简单的<code><a href="/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer">ArrayBuffer</a></code>对象已不再是ajax规范一部分,也已经被弃用了。请使用 已被加入Gecko 20.0 {{geckoRelease("20.0")}}的<a href="/en-US/docs/Web/API/ArrayBufferView"><code>ArrayBufferView</code></a></p>
-
-<p>[2] 由于 Internet Explorer 7实现了标准的XMLHttpRequest,此功能通过ActiveXObject()实现。</p>
+{{Compat("api.XMLHttpRequest.send")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/api/xmlhttprequest/setrequestheader/index.html b/files/zh-cn/web/api/xmlhttprequest/setrequestheader/index.html
index 2aaf964b5b..5a1c2988e6 100644
--- a/files/zh-cn/web/api/xmlhttprequest/setrequestheader/index.html
+++ b/files/zh-cn/web/api/xmlhttprequest/setrequestheader/index.html
@@ -51,58 +51,7 @@ translation_of: Web/API/XMLHttpRequest/setRequestHeader
<h2 id="兼容性">兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(1)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatIe('5')}}<sup>[1]</sup><br>
- {{CompatIe('7')}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari('1.2')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 使用ActiveXObject()实现的。Internet Explorer 7之后使用的是标准的XMLHttpRequest。</p>
+{{Compat("api.XMLHttpRequest.setRequestHeader")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/api/xmlhttprequest/timeout_event/index.html b/files/zh-cn/web/api/xmlhttprequest/timeout_event/index.html
index 00d587fced..86261f8dfd 100644
--- a/files/zh-cn/web/api/xmlhttprequest/timeout_event/index.html
+++ b/files/zh-cn/web/api/xmlhttprequest/timeout_event/index.html
@@ -65,61 +65,7 @@ translation_of: Web/API/XMLHttpRequest/timeout_event
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>10.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>10.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.XMLHttpRequest.timeout_event")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/api/xmlhttprequest/upload/index.html b/files/zh-cn/web/api/xmlhttprequest/upload/index.html
index eed9701557..df0e2a83b2 100644
--- a/files/zh-cn/web/api/xmlhttprequest/upload/index.html
+++ b/files/zh-cn/web/api/xmlhttprequest/upload/index.html
@@ -65,52 +65,4 @@ translation_of: Web/API/XMLHttpRequest/upload
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("api.XMLHttpRequest.upload")}}
diff --git a/files/zh-cn/web/api/xmlhttprequest/withcredentials/index.html b/files/zh-cn/web/api/xmlhttprequest/withcredentials/index.html
index d91fa7cc87..db46b8c6ed 100644
--- a/files/zh-cn/web/api/xmlhttprequest/withcredentials/index.html
+++ b/files/zh-cn/web/api/xmlhttprequest/withcredentials/index.html
@@ -48,56 +48,4 @@ xhr.send(null);</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(3)}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}<sup>[2]</sup></td>
- <td>{{CompatIe(10)}}<sup>[1]</sup></td>
- <td>{{CompatOpera(12)}}</td>
- <td>{{CompatSafari("4")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1]IE8 和IE9通过使用  <a href="https://msdn.microsoft.com/en-us/library/cc288060%28VS.85%29.aspx">XDomainRequest</a> 支持跨域请求</p>
-
-<p>[2] 从 Gecko 11.0 (Firefox 11.0 / Thunderbird 11.0 / SeaMonkey 2.8)开始, Gecko 不允许在同步请求下使用<code>withCredentials</code> 属性.尝试这么做将会导致浏览器抛出 <code>NS_ERROR_DOM_INVALID_ACCESS_ERR</code> exception的错误.</p>
+{{Compat("api.XMLHttpRequest.withCredentials")}}
diff --git a/files/zh-cn/web/css/-webkit-mask-attachment/index.html b/files/zh-cn/web/css/-webkit-mask-attachment/index.html
index d9eeb59593..35fc7968c6 100644
--- a/files/zh-cn/web/css/-webkit-mask-attachment/index.html
+++ b/files/zh-cn/web/css/-webkit-mask-attachment/index.html
@@ -49,54 +49,7 @@ translation_of: Web/CSS/-webkit-mask-attachment
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}<br>
- {{CompatNo}} 24.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>4.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.-webkit-mask-attachment")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/css/-webkit-overflow-scrolling/index.html b/files/zh-cn/web/css/-webkit-overflow-scrolling/index.html
index 33c9fd5ed1..b68f6654ee 100644
--- a/files/zh-cn/web/css/-webkit-overflow-scrolling/index.html
+++ b/files/zh-cn/web/css/-webkit-overflow-scrolling/index.html
@@ -36,53 +36,4 @@ translation_of: Web/CSS/-webkit-overflow-scrolling
<h3 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h3>
-<p>{{CompatibilityTable}}</p>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>5.0</td>
- </tr>
- </tbody>
-</table>
-
-<h3 id="相关链接:">相关链接:</h3>
-
-<ul>
- <li><a href="http://css-tricks.com/snippets/css/momentum-scrolling-on-ios-overflow-elements/">CSS-Tricks article with demo</a> </li>
- <li><a href="https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/css/property/-webkit-overflow-scrolling"><code>-webkit-overflow-scrolling</code> entry in Safari CSS Reference docs</a></li>
-</ul>
+{{Compat("css.properties.-webkit-overflow-scrolling")}}
diff --git a/files/zh-cn/web/css/-webkit-touch-callout/index.html b/files/zh-cn/web/css/-webkit-touch-callout/index.html
index 0f0d3a2182..6c9cdaf1fd 100644
--- a/files/zh-cn/web/css/-webkit-touch-callout/index.html
+++ b/files/zh-cn/web/css/-webkit-touch-callout/index.html
@@ -41,52 +41,4 @@ translation_of: Web/CSS/-webkit-touch-callout
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] <code>-webkit-touch-callout</code> 属性最早在<a href="https://developer.apple.com/library/safari/documentation/AppleApplications/Reference/SafariCSSRef/Articles/StandardCSSProperties.html#//apple_ref/css/property/-webkit-touch-callout"> iOS 2.0</a> 上实现,后来被添加到WebKit ({{webkitbug(121507)}}).</p>
+{{Compat("css.properties.-webkit-touch-callout")}}
diff --git a/files/zh-cn/web/css/@counter-style/index.html b/files/zh-cn/web/css/@counter-style/index.html
index 65ef2e55ec..90f435d736 100644
--- a/files/zh-cn/web/css/@counter-style/index.html
+++ b/files/zh-cn/web/css/@counter-style/index.html
@@ -147,53 +147,7 @@ translation_of: Web/CSS/@counter-style
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(33)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(33)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.at-rules.counter-style")}}
<h2 id="相关阅读">相关阅读</h2>
diff --git a/files/zh-cn/web/css/@font-face/font-family/index.html b/files/zh-cn/web/css/@font-face/font-family/index.html
index 9c22740f13..3c2866177c 100644
--- a/files/zh-cn/web/css/@font-face/font-family/index.html
+++ b/files/zh-cn/web/css/@font-face/font-family/index.html
@@ -61,54 +61,4 @@ font-family: examplefont;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("4")}}</td>
- <td>12.0</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>{{CompatIE("6.0")}}</td>
- <td>{{CompatOpera("9.0")}}</td>
- <td>{{CompatSafari("3.1")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mini</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatAndroid("2.2")}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatIE("10.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera("12.0")}}</td>
- <td>{{CompatSafari("3.1")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.at-rules.font-face.font-family")}}
diff --git a/files/zh-cn/web/css/@font-face/font-style/index.html b/files/zh-cn/web/css/@font-face/font-style/index.html
index 10d0af4e08..660323dade 100644
--- a/files/zh-cn/web/css/@font-face/font-style/index.html
+++ b/files/zh-cn/web/css/@font-face/font-style/index.html
@@ -81,53 +81,4 @@ font-style: oblique;</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table" style="height: 91px; width: 591px;">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>4.0  </td>
- <td>4.0</td>
- <td>10.0</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mini</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>10.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-</div>
+{{Compat("css.at-rules.font-face.font-style")}}
diff --git a/files/zh-cn/web/css/@font-feature-values/index.html b/files/zh-cn/web/css/@font-feature-values/index.html
index acc7c855fd..5995a0e719 100644
--- a/files/zh-cn/web/css/@font-feature-values/index.html
+++ b/files/zh-cn/web/css/@font-feature-values/index.html
@@ -72,55 +72,7 @@ translation_of: Web/CSS/@font-feature-values
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("34")}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("34")}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Experimental implementation of the CSS Fonts Level 3 extensions was available since Gecko 24. It was governed by the preference <code>layout.css.font-features.enabled</code> defaulting to <code>true</code> on Nightly and Aurora only.</p>
+{{Compat("css.at-rules.font-feature-values")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/@import/index.html b/files/zh-cn/web/css/@import/index.html
index 71a6ea41c3..bd6fe82819 100644
--- a/files/zh-cn/web/css/@import/index.html
+++ b/files/zh-cn/web/css/@import/index.html
@@ -75,50 +75,4 @@ translation_of: Web/CSS/@import
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>5.5</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>5.5</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.at-rules.import")}}
diff --git a/files/zh-cn/web/css/@media/width/index.html b/files/zh-cn/web/css/@media/width/index.html
index 79b6612aac..e9169fe339 100644
--- a/files/zh-cn/web/css/@media/width/index.html
+++ b/files/zh-cn/web/css/@media/width/index.html
@@ -77,50 +77,4 @@ translation_of: Web/CSS/@media/width
<h2 id="Browser_compatibility" name="Browser_compatibility"><strong>浏览器兼容性</strong></h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>9.0</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.at-rules.media.width")}}
diff --git a/files/zh-cn/web/css/@namespace/index.html b/files/zh-cn/web/css/@namespace/index.html
index f521da521a..4e34f5523b 100644
--- a/files/zh-cn/web/css/@namespace/index.html
+++ b/files/zh-cn/web/css/@namespace/index.html
@@ -74,60 +74,4 @@ svg|a {}
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatChrome(1.0)}}</td>
- <td>{{ CompatGeckoDesktop(1.0) }}</td>
- <td>9.0</td>
- <td>8.0</td>
- <td>1.0</td>
- </tr>
- <tr>
- <td>命名空间选择器 (|)</td>
- <td>{{CompatChrome(1.0)}}</td>
- <td>{{ CompatGeckoDesktop(1.0) }}</td>
- <td>9.0</td>
- <td>8.0</td>
- <td>3.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.at-rules.namespace")}}
diff --git a/files/zh-cn/web/css/_colon_-moz-window-inactive/index.html b/files/zh-cn/web/css/_colon_-moz-window-inactive/index.html
index ec8a4b56bb..d2523691d6 100644
--- a/files/zh-cn/web/css/_colon_-moz-window-inactive/index.html
+++ b/files/zh-cn/web/css/_colon_-moz-window-inactive/index.html
@@ -45,58 +45,4 @@ translation_of: 'Web/CSS/:-moz-window-inactive'
<h2 id="浏览器兼容性"><font><font>浏览器兼容性</font></font></h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(2)}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Implemented in {{bug("508482")}}.</p>
+{{Compat("css.selectors.-moz-window-inactive")}}
diff --git a/files/zh-cn/web/css/_colon_default/index.html b/files/zh-cn/web/css/_colon_default/index.html
index fc03ea200e..5aafb92fdd 100644
--- a/files/zh-cn/web/css/_colon_default/index.html
+++ b/files/zh-cn/web/css/_colon_default/index.html
@@ -86,50 +86,4 @@ input:default + label {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>10.0</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>10.0</td>
- <td>5.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>10.0</td>
- <td>5.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.default")}}
diff --git a/files/zh-cn/web/css/_colon_dir/index.html b/files/zh-cn/web/css/_colon_dir/index.html
index 9cd5b27a7f..501349ce96 100644
--- a/files/zh-cn/web/css/_colon_dir/index.html
+++ b/files/zh-cn/web/css/_colon_dir/index.html
@@ -58,53 +58,7 @@ translation_of: 'Web/CSS/:dir'
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoDesktop("17") }} {{ property_prefix("-moz") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("17") }} {{ property_prefix("-moz") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.dir")}}
<h2 id="Related_Pages" name="Related_Pages"> </h2>
diff --git a/files/zh-cn/web/css/_colon_disabled/index.html b/files/zh-cn/web/css/_colon_disabled/index.html
index abdf4e68f1..491aa1d02d 100644
--- a/files/zh-cn/web/css/_colon_disabled/index.html
+++ b/files/zh-cn/web/css/_colon_disabled/index.html
@@ -116,53 +116,7 @@ function toggleBilling() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>9.0</td>
- <td>9.0</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{ CompatGeckoMobile("1") }}</td>
- <td>9.0</td>
- <td>9.5</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.disabled")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/css/_colon_first/index.html b/files/zh-cn/web/css/_colon_first/index.html
index 41d7bc3d37..9c00c4d921 100644
--- a/files/zh-cn/web/css/_colon_first/index.html
+++ b/files/zh-cn/web/css/_colon_first/index.html
@@ -75,57 +75,7 @@ p {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>9.2</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.first")}}
<h2 id="sect1"> </h2>
diff --git a/files/zh-cn/web/css/_colon_fullscreen/index.html b/files/zh-cn/web/css/_colon_fullscreen/index.html
index 8fcd34273b..32138a3756 100644
--- a/files/zh-cn/web/css/_colon_fullscreen/index.html
+++ b/files/zh-cn/web/css/_colon_fullscreen/index.html
@@ -153,82 +153,7 @@ fullscreenButton.addEventListener('click', enterFullscreen);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>
- <p>基本支持</p>
- </td>
- <td>15.0 {{property_prefix("-webkit")}}<sup>[1]</sup></td>
- <td>12</td>
- <td>{{CompatGeckoDesktop("9.0")}}{{property_prefix("-moz")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("47.0")}}<sup>[2]</sup></td>
- <td>11 {{property_prefix("-ms")}}<sup>[3]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>6.0 {{property_prefix("-webkit")}}<sup>[1]</sup></td>
- </tr>
- <tr>
- <td>全屏下选取所有元素</td>
- <td>{{CompatUnknown}}</td>
- <td>12</td>
- <td>{{CompatGeckoDesktop(43)}}</td>
- <td>11</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("9.0")}}<br>
- {{CompatGeckoDesktop("47.0")}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>全屏下选取所有元素</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("43")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Webkit和Gecko前缀版本在<em>full</em>和<em>screen</em>之间带有破折号, 但W3C标准使用一个单词:<code>:fullscreen</code>, <code>:-webkit-full-screen</code>, <code>:-moz-full-screen</code>.</p>
-
-<p>[2] Gecko 47.0 {{geckoRelease("47.0")}} 通过参数<code>full-screen-api.unprefix.enabled使用</code>不带前缀的伪类, 默认为false.</p>
-
-<p>[3] Internet Explorer使用前缀<code>-ms,但在</code><em>full</em>和<em>screen</em>之间没有破折号<code>:-ms-fullscreen</code>.</p>
+{{Compat("css.selectors.fullscreen")}}
<h2 id="再看看">再看看</h2>
diff --git a/files/zh-cn/web/css/_colon_hover/index.html b/files/zh-cn/web/css/_colon_hover/index.html
index a8fa4e40c1..c34a45dbc7 100644
--- a/files/zh-cn/web/css/_colon_hover/index.html
+++ b/files/zh-cn/web/css/_colon_hover/index.html
@@ -112,81 +112,4 @@ div.menu-bar li:hover &gt; ul {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>for <code>&lt;a&gt;</code> elements</td>
- <td>0.2</td>
- <td>{{ CompatGeckoDesktop(1.0) }}</td>
- <td>4.0</td>
- <td>4.0</td>
- <td>2.0.4 (419)<br>
- <span style="font-size: small;">various bugs before</span></td>
- </tr>
- <tr>
- <td>for all elements</td>
- <td>0.2</td>
- <td>{{ CompatGeckoDesktop(1.0) }}</td>
- <td>7.0</td>
- <td>7.0</td>
- <td>2.0.4 (419)<br>
- <span style="font-size: small;">various bugs before</span></td>
- </tr>
- <tr>
- <td>for pseudo-element</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop(28) }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>在IE8-11中,将鼠标指针悬停于一个元素上上下滚动页面而不移动光标会让元素停留在 {{cssxref(":hover")}} 的状态直到鼠标移动。详见 <a href="https://connect.microsoft.com/IE/feedbackdetail/view/926665">IE bug 926665</a>.</p>
-
-<p>在IE9(或是更早的版本中),如果如果一个 {{HTMLElement("table")}}元素 有一个  <code>non-auto </code>{{cssxref("width")}} 和 {{cssxref("overflow-x")}}<code>: auto; 的父对象,而且这个</code> {{HTMLElement("table")}}元素有足够多的内容以至于溢出它的父元素,同时表中的元素有 {{cssxref(":hover")}}的样式,那么悬停在其上会使这个{{HTMLElement("table")}}元素的高度增大。这是一个 <a href="http://jsbin.com/diwiqe">显示该错误的demo</a> 。一个避免这个错误的方法是在这个表格的父元素为 <code>min-height: 0%;</code>(必须强调是百分比形式,<code>0</code> 和 <code>0px 都不会起作用)</code><code>。这也是在 </code><a href="http://bugs.jquery.com/ticket/10854">jQuery ticket #10854</a> 提交过的错误,但是并没有被解决,因为这不被认为是 jQuery 的错误。</p>
-
-<p>至于iOS 7.1.2 中的Safari Mobile,点击一个<a href="/zh-CN/docs/Web/Events/click#Safari_Mobile">可以点击的元素</a>会使这个元素进入{{cssxref(":hover")}}的状态,而这个元素会保持悬停状态直到另一个元素进入{{cssxref(":hover")}}状态。</p>
-
-<p>另请参见:</p>
-
-<ul>
- <li><a href="https://code.google.com/p/chromium/issues/detail?id=370155">Chromium bug #370155: Don't make <code>:hover</code> sticky on tap on sites that set a mobile viewport</a></li>
- <li><a href="https://code.google.com/p/chromium/issues/detail?id=306581">Chromium bug #306581: Immediately show hover and active states on touch when page isn't scrollable.</a></li>
-</ul>
+{{Compat("css.selectors.hover")}}
diff --git a/files/zh-cn/web/css/_colon_nth-child/index.html b/files/zh-cn/web/css/_colon_nth-child/index.html
index 55d5fff80c..63a88b0d28 100644
--- a/files/zh-cn/web/css/_colon_nth-child/index.html
+++ b/files/zh-cn/web/css/_colon_nth-child/index.html
@@ -156,53 +156,7 @@ div em {
<h2 id="兼容性">兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9.0</td>
- <td>9.5</td>
- <td>3.1<span style="font-size: 14px; line-height: 1.5;"> </span></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{CompatGeckoMobile("1.9.1")}}</td>
- <td>9.0</td>
- <td>9.5</td>
- <td>3.1</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.nth-child")}}
<h2 id="注意">注意</h2>
diff --git a/files/zh-cn/web/css/_colon_only-of-type/index.html b/files/zh-cn/web/css/_colon_only-of-type/index.html
index 2f9cfcf423..2004111c23 100644
--- a/files/zh-cn/web/css/_colon_only-of-type/index.html
+++ b/files/zh-cn/web/css/_colon_only-of-type/index.html
@@ -74,53 +74,7 @@ translation_of: 'Web/CSS/:only-of-type'
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1.9.1") }}</td>
- <td>9.0</td>
- <td>9.5</td>
- <td>3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{ CompatGeckoMobile("1.9.1") }}</td>
- <td>9.0</td>
- <td>10.0</td>
- <td>3.2</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.only-of-type")}}
<h2 id="See_also" name="See_also">参见</h2>
diff --git a/files/zh-cn/web/css/_colon_optional/index.html b/files/zh-cn/web/css/_colon_optional/index.html
index 627a0f697c..03520f20c0 100644
--- a/files/zh-cn/web/css/_colon_optional/index.html
+++ b/files/zh-cn/web/css/_colon_optional/index.html
@@ -65,53 +65,7 @@ input:optional {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>10.0</td>
- <td>{{ CompatGeckoDesktop("2") }}</td>
- <td>10</td>
- <td>10.0</td>
- <td>5.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("2") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>10.0</td>
- <td>5.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.optional")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/css/_colon_required/index.html b/files/zh-cn/web/css/_colon_required/index.html
index 1374ca2753..f5d81d4e3a 100644
--- a/files/zh-cn/web/css/_colon_required/index.html
+++ b/files/zh-cn/web/css/_colon_required/index.html
@@ -55,53 +55,7 @@ translation_of: 'Web/CSS/:required'
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>10.0</td>
- <td>{{ CompatGeckoDesktop("2") }}</td>
- <td>10</td>
- <td>10.0</td>
- <td>5.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("2") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>10.0</td>
- <td>5.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.required")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/css/_colon_root/index.html b/files/zh-cn/web/css/_colon_root/index.html
index 130f2e16a6..107c7f6c68 100644
--- a/files/zh-cn/web/css/_colon_root/index.html
+++ b/files/zh-cn/web/css/_colon_root/index.html
@@ -52,54 +52,4 @@ translation_of: 'Web/CSS/:root'
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.7")}}</td>
- <td>9</td>
- <td>9.5</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.root")}}
diff --git a/files/zh-cn/web/css/_colon_visited/index.html b/files/zh-cn/web/css/_colon_visited/index.html
index 8ebd4f7e46..77a5a44be7 100644
--- a/files/zh-cn/web/css/_colon_visited/index.html
+++ b/files/zh-cn/web/css/_colon_visited/index.html
@@ -107,61 +107,7 @@ a:visited {
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>3.5</td>
- <td>3.5</td>
- <td>1.0</td>
- </tr>
- <tr>
- <td>Restrictions in CSS properties allowed in a statement using <code>:visited</code></td>
- <td>6</td>
- <td>{{CompatGeckoDesktop("2.0") }}</td>
- <td>8 (or earlier)</td>
- <td>{{ CompatUnknown() }}</td>
- <td>5.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.visited")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/css/_doublecolon_-webkit-progress-bar/index.html b/files/zh-cn/web/css/_doublecolon_-webkit-progress-bar/index.html
index 754177afee..cca8bfc739 100644
--- a/files/zh-cn/web/css/_doublecolon_-webkit-progress-bar/index.html
+++ b/files/zh-cn/web/css/_doublecolon_-webkit-progress-bar/index.html
@@ -48,53 +48,7 @@ translation_of: 'Web/CSS/::-webkit-progress-bar'
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.-webkit-progress-bar")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/css/_doublecolon_first-letter/index.html b/files/zh-cn/web/css/_doublecolon_first-letter/index.html
index 2876bd9e1c..bf08086b64 100644
--- a/files/zh-cn/web/css/_doublecolon_first-letter/index.html
+++ b/files/zh-cn/web/css/_doublecolon_first-letter/index.html
@@ -103,85 +103,7 @@ p::first-letter { /* 使用:first来兼容IE8- */
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>9.0</td>
- <td>7.0</td>
- <td>1.0 (85)</td>
- </tr>
- <tr>
- <td>Old one-colon syntax (<code>:first-letter</code>)</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>5.5</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- <tr>
- <td>Support for the Dutch digraph <code>IJ</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }} {{ bug("92176") }} </td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td>Old one-colon syntax (<code>:first-letter</code>)</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td>Support for the Dutch digraph <code>IJ</code></td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.first-letter")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/css/_doublecolon_first-line/index.html b/files/zh-cn/web/css/_doublecolon_first-line/index.html
index efbb961c47..5fa42a874b 100644
--- a/files/zh-cn/web/css/_doublecolon_first-line/index.html
+++ b/files/zh-cn/web/css/_doublecolon_first-line/index.html
@@ -137,69 +137,7 @@ sed do eiusmod tempor incididunt ut labore.&lt;/p&gt;</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0 (buggy when using <code>text-transform</code>: <a href="//code.google.com/p/chromium/issues/detail?id=129669">issue 129669</a>)</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>9.0</td>
- <td>7.0</td>
- <td>1.0 (85) (buggy when using <code>text-transform</code>: <a href="//bugs.webkit.org/show_bug.cgi?id=3409">issue 3409</a>)</td>
- </tr>
- <tr>
- <td>Old one-colon syntax (<code>:first-line</code>)</td>
- <td>1.0 (buggy when using <code>text-transform</code>: <a href="//code.google.com/p/chromium/issues/detail?id=129669">issue 129669</a>)</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>5.5</td>
- <td>3.5</td>
- <td>1.0 (85) (buggy when using <code>text-transform</code>: <a href="//bugs.webkit.org/show_bug.cgi?id=3409">issue 3409</a>)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td>Old one-colon syntax (<code>:first-line</code>)</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.first-line")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/css/_doublecolon_grammar-error/index.html b/files/zh-cn/web/css/_doublecolon_grammar-error/index.html
index 9c17a50e9b..c08b08a808 100644
--- a/files/zh-cn/web/css/_doublecolon_grammar-error/index.html
+++ b/files/zh-cn/web/css/_doublecolon_grammar-error/index.html
@@ -40,55 +40,7 @@ translation_of: 'Web/CSS/::grammar-error'
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.grammar-error")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/_doublecolon_placeholder/index.html b/files/zh-cn/web/css/_doublecolon_placeholder/index.html
index 227ae6f8a8..a7d4673d15 100644
--- a/files/zh-cn/web/css/_doublecolon_placeholder/index.html
+++ b/files/zh-cn/web/css/_doublecolon_placeholder/index.html
@@ -79,77 +79,7 @@ translation_of: 'Web/CSS/::placeholder'
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatChrome(57)}}</td>
- <td>{{CompatGeckoDesktop("51.0")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>44</td>
- <td>10.1</td>
- </tr>
- <tr>
- <td>前缀支持</td>
- <td>Supported</td>
- <td>Supported</td>
- <td>Supported</td>
- <td>10 -ms-</td>
- <td>Supported</td>
- <td>5 -webkit-</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatChrome(57)}}</td>
- <td>{{CompatChrome(57)}}</td>
- <td>{{CompatGeckoMobile("52.0")}}</td>
- <td>{{CompatNo}}</td>
- <td> </td>
- <td>10.3</td>
- </tr>
- <tr>
- <td>前缀支持</td>
- <td>Supported</td>
- <td>Supported</td>
- <td>Supported</td>
- <td>10 -ms-</td>
- <td>Supported</td>
- <td>5 -webkit-</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Gecko 51.0 {{geckoRelease("51.0")}} 以及更低的版本中,请使用 {{cssxref("::-moz-placeholder")}} 。</p>
+{{Compat("css.selectors.placeholder")}}
<h2 id="相似阅读">相似阅读</h2>
diff --git a/files/zh-cn/web/css/animation-duration/index.html b/files/zh-cn/web/css/animation-duration/index.html
index 3ca2a86fd9..0ecfa9b9cb 100644
--- a/files/zh-cn/web/css/animation-duration/index.html
+++ b/files/zh-cn/web/css/animation-duration/index.html
@@ -66,56 +66,7 @@ animation-duration: 10s, 30s, 230ms
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>3.0{{ property_prefix("-webkit") }}</td>
- <td>{{ CompatGeckoDesktop("5.0") }}{{ property_prefix("-moz") }}<br>
- {{ CompatGeckoDesktop("16.0") }}</td>
- <td>10</td>
- <td>12{{ property_prefix("-o") }}<br>
- 12.10 <a href="http://my.opera.com/ODIN/blog/2012/08/03/a-hot-opera-12-50-summer-time-snapshot">#</a></td>
- <td>4.0{{ property_prefix("-webkit") }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.0{{ property_prefix("-webkit") }}</td>
- <td>{{ CompatGeckoMobile("5.0") }}{{ property_prefix("-moz") }}<br>
- {{ CompatGeckoMobile("16.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>4.2{{ property_prefix("-webkit") }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.animation-duration")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/animation-iteration-count/index.html b/files/zh-cn/web/css/animation-iteration-count/index.html
index 283caae60b..d1f958d49d 100644
--- a/files/zh-cn/web/css/animation-iteration-count/index.html
+++ b/files/zh-cn/web/css/animation-iteration-count/index.html
@@ -70,62 +70,7 @@ animation-iteration-count: 2, 0, infinite;
<h2 id="Browser_Compatibility" name="Browser_Compatibility">Browser compatibility 兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}<br>
- {{CompatChrome(43.0)}}</td>
- <td>{{ CompatGeckoDesktop("5.0") }}{{ property_prefix("-moz") }}<br>
- {{ CompatGeckoDesktop("16.0") }}</td>
- <td>10 </td>
- <td>12 {{ property_prefix("-o") }}<br>
- 12.10</td>
- <td>4.0{{ property_prefix("-webkit") }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("5.0") }}{{ property_prefix("-moz") }}<br>
- {{ CompatGeckoMobile("16.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatChrome(43.0)}}<br>
-  </td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.animation-iteration-count")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/animation-name/index.html b/files/zh-cn/web/css/animation-name/index.html
index 38b64a701e..e76fbf0110 100644
--- a/files/zh-cn/web/css/animation-name/index.html
+++ b/files/zh-cn/web/css/animation-name/index.html
@@ -77,56 +77,7 @@ animation-name: unset</pre>
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}{{property_prefix("-moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</td>
- <td>10 </td>
- <td>12 {{property_prefix("-o")}}<br>
- 12.10 <a href="http://my.opera.com/ODIN/blog/2012/08/03/a-hot-opera-12-50-summer-time-snapshot">#</a></td>
- <td>4.0{{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}</td>
- <td>{{CompatGeckoMobile("5.0")}}{{property_prefix("-moz")}}<br>
- {{CompatGeckoMobile("16.0")}}</td>
- <td>10</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.animation-name")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/animation-play-state/index.html b/files/zh-cn/web/css/animation-play-state/index.html
index 7def3d5d0f..fbdbe823a0 100644
--- a/files/zh-cn/web/css/animation-play-state/index.html
+++ b/files/zh-cn/web/css/animation-play-state/index.html
@@ -67,60 +67,7 @@ animation-play-state: unset;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br>
- {{CompatChrome(43.0)}}</td>
- <td>{{CompatGeckoDesktop("5.0")}}{{property_prefix("-moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</td>
- <td>10</td>
- <td>12 {{property_prefix("-o")}}<br>
- 12.10</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.animation-play-state")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/css/appearance/index.html b/files/zh-cn/web/css/appearance/index.html
index 678101c0f1..4a6afa9bd0 100644
--- a/files/zh-cn/web/css/appearance/index.html
+++ b/files/zh-cn/web/css/appearance/index.html
@@ -1780,61 +1780,7 @@ translation_of: Web/CSS/appearance
<p>{{Compat("css.properties.appearance")}}</p>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>浏览器</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>最低支持</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.0")}}{{property_prefix("-moz")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>3.0{{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>浏览器</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>最低支持</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>11.0{{property_prefix("-webkit")}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 不完全支持。</p>
-
-<p>[2] 只有 <code>none</code>, <code>button</code>,  <code>和 textfield</code> 值被支持,详见 <a href="https://msdn.microsoft.com/en-us/library/ie/dn793580%28v=vs.85%29.aspx">the documentation on MSDN</a>。</p>
-
-<h3 id="正式语法">正式语法</h3>
-
-{{csssyntax}}
+{{Compat("css.properties.appearance")}}
<h2 id="示例">示例</h2>
diff --git a/files/zh-cn/web/css/background-blend-mode/index.html b/files/zh-cn/web/css/background-blend-mode/index.html
index 4c063163f1..77b621c4b1 100644
--- a/files/zh-cn/web/css/background-blend-mode/index.html
+++ b/files/zh-cn/web/css/background-blend-mode/index.html
@@ -92,53 +92,7 @@ console.log(document.getElementById('div'));</pre>
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable()}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>35</td>
- <td>{{CompatGeckoDesktop('30.0')}}</td>
- <td>{{CompatNo()}}</td>
- <td>22</td>
- <td>7.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatGeckoMobile('30.0')}}</td>
- <td>{{CompatNo()}}</td>
- <td>22</td>
- <td>iOS 8</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.background-blend-mode")}}
<h2 id="See_also" name="See_also">参见</h2>
diff --git a/files/zh-cn/web/css/background-color/index.html b/files/zh-cn/web/css/background-color/index.html
index 297cd25feb..215c5da41f 100644
--- a/files/zh-cn/web/css/background-color/index.html
+++ b/files/zh-cn/web/css/background-color/index.html
@@ -124,55 +124,7 @@ background-color: unset;
<h2 id="Browser_Compatibility" name="Browser_Compatibility" style="margin-bottom: 20px; font-size: 2.14285714285714rem;">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table" style="border-color: transparent;">
- <tbody>
- <tr>
- <th style="line-height: 16px;">特性</th>
- <th style="line-height: 16px;">Firefox (Gecko)</th>
- <th style="line-height: 16px;">Chrome</th>
- <th style="line-height: 16px;">Internet Explorer</th>
- <th style="line-height: 16px;">Opera</th>
- <th style="line-height: 16px;">Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>1.0</td>
- <td>4.0 [1]</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table" style="border-color: transparent;">
- <tbody>
- <tr>
- <th style="line-height: 16px;">特性</th>
- <th style="line-height: 16px;">Firefox Mobile (Gecko)</th>
- <th style="line-height: 16px;">Android</th>
- <th style="line-height: 16px;">IE Phone</th>
- <th style="line-height: 16px;">Opera Mobile</th>
- <th style="line-height: 16px;">Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatGeckoMobile("1.9.2")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1]: In IE8-9, there is a bug where a computed {{cssxref("background-color")}} of <a href="/en-US/docs/Web/CSS/color_value#transparent_keyword"><code>transparent</code></a> causes <a href="/en-US/docs/Web/Events/click"><code>click</code></a> events to not get fired on overlaid elements. <a href="/en-US/docs/Web/Events/click#Browser_compatibility">See the <code>click</code> event documentation</a> for details.</p>
+{{Compat("css.properties.background-color")}}
<h2 id="查看更多" style="margin-bottom: 20px; font-size: 2.14285714285714rem;">查看更多</h2>
diff --git a/files/zh-cn/web/css/background-origin/index.html b/files/zh-cn/web/css/background-origin/index.html
index f9db364d8d..683f22bc9e 100644
--- a/files/zh-cn/web/css/background-origin/index.html
+++ b/files/zh-cn/web/css/background-origin/index.html
@@ -90,77 +90,7 @@ background-origin: inherit
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0 [3]</td>
- <td>{{CompatGeckoDesktop("2.0")}} [1]</td>
- <td>9.0 [2]</td>
- <td>10.5</td>
- <td>3.0 (522) [3]</td>
- </tr>
- <tr>
- <td><code>content-box</code></td>
- <td>1.0 [3]</td>
- <td>{{CompatGeckoDesktop("2.0")}} [1]</td>
- <td>9.0 [2]</td>
- <td>{{CompatNo}}</td>
- <td>3.0 (522) [3]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>content-box</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Gecko supported, from version 1.1 to version 1.9.2, which corresponds to Firefox 1.0 to 3.6 included, a different, and prefixed, syntax: <code>-moz-background-origin: padding | border</code>.</p>
-
-<p>[2] Internet Explorer up to version 7 behaves as if there was a <code>background-origin: border-box;</code> Internet Explorer 8 behaves as if it were <code>background-origin: padding-box;</code> which is the regular default value.</p>
-
-<p>[3] Webkit also supports the prefixed version of this proprietary, and in that case, in addition to the current keywords, the alternative synonyms: <code>padding</code>, <code>border</code>, and <code>content</code>.</p>
-
-<p>[4] Konqueror 3.5.4 supports<code> -khtml-background-origin</code>.</p>
+{{Compat("css.properties.background-origin")}}
<h2 id="相关文献">相关文献</h2>
diff --git a/files/zh-cn/web/css/border-bottom-color/index.html b/files/zh-cn/web/css/border-bottom-color/index.html
index 315bb30c54..ca23148fb5 100644
--- a/files/zh-cn/web/css/border-bottom-color/index.html
+++ b/files/zh-cn/web/css/border-bottom-color/index.html
@@ -84,55 +84,7 @@ border-bottom-color: #F5F6F7;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.0")}}<sup>[1]</sup></td>
- <td>4</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>1.0</td>
- <td>{{CompatGeckoMobile("1.0")}}<sup>[1]</sup></td>
- <td>6.5</td>
- <td>11</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 像 Firefox 这样,基于 Gecko 的浏览器也支持非标准的 {{Cssxref("-moz-border-bottom-colors")}} CSS 属性,来设置底边多重颜色。</p>
+{{Compat("css.properties.border-bottom-color")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/css/border-bottom-left-radius/index.html b/files/zh-cn/web/css/border-bottom-left-radius/index.html
index c1982c205c..9051dc630c 100644
--- a/files/zh-cn/web/css/border-bottom-left-radius/index.html
+++ b/files/zh-cn/web/css/border-bottom-left-radius/index.html
@@ -163,107 +163,7 @@ div {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0 {{property_prefix("-webkit")}}<br>
- 4.0</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}}</td>
- <td>1.0 (1.0){{property_prefix("-moz")}}<sup>[1]</sup><br>
- 4.0 (2.0)<sup>[3]</sup></td>
- <td>9.0</td>
- <td>10.5</td>
- <td>3.0 (522){{property_prefix("-webkit")}}<br>
- 5.0 (532.5)</td>
- </tr>
- <tr>
- <td>Percentages</td>
- <td>4.0</td>
- <td>{{CompatUnknown}}</td>
- <td>1.0 (1.0)<sup>[2]</sup><br>
- 4.0 (2.0)</td>
- <td>9.0</td>
- <td>10.5</td>
- <td>5.0 (532.5)</td>
- </tr>
- <tr>
- <td>Elliptical corners</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>3.5 (1.9.1)</td>
- <td>9.0</td>
- <td>10.5</td>
- <td>3.0 (522)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[3]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Percentages</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Elliptical corners</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] The prefixed version (allowed from Firefox 1 to Firefox 12) of this property uses a different name, <code>-moz-border-radius-bottomleft</code>, than the final property as Mozilla implemented it before the final name was coined.</p>
-
-<p>[2] Before Firefox 4, the {{cssxref("&lt;percentage&gt;")}} was relative to the width of the box even when specifying the radius for a height). This implied that <code>-moz-border-radius-bottomleft</code> was always drawing an arc of circle, and never an ellipse, when followed by a single value.</p>
-
-<p>[3] Prior to Gecko 50.0 {{geckoRelease("50.0")}}, border styles of rounded corners were always rendered as if <code>border-style</code> was <code>solid</code>. This has been fixed in Gecko 50.0.</p>
-
-<p>In addition to the unprefixed support, Gecko 44.0 {{geckoRelease("44.0")}} added support for a <code>-webkit</code> prefixed version of the property for web compatibility reasons behind the preference <code>layout.css.prefixes.webkit</code>, defaulting to <code>false</code>. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to <code>true</code>.</p>
+{{Compat("css.properties.border-bottom-left-radius")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/border-bottom-right-radius/index.html b/files/zh-cn/web/css/border-bottom-right-radius/index.html
index 4c21cf8996..8885c1b660 100644
--- a/files/zh-cn/web/css/border-bottom-right-radius/index.html
+++ b/files/zh-cn/web/css/border-bottom-right-radius/index.html
@@ -165,107 +165,7 @@ div {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0 {{property_prefix("-webkit")}}<br>
- 4.0</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}}</td>
- <td>1.0 (1.0){{property_prefix("-moz")}}<sup>[1]</sup><br>
- 4.0 (2.0)<sup>[3]</sup></td>
- <td>9.0</td>
- <td>10.5</td>
- <td>3.0 (522){{property_prefix("-webkit")}}<br>
- 5.0 (532.5)</td>
- </tr>
- <tr>
- <td>Percentages</td>
- <td>4.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>1.0 (1.0)<sup>[2]</sup><br>
- 4.0 (2.0)</td>
- <td>9.0</td>
- <td>10.5</td>
- <td>5.0 (532.5)</td>
- </tr>
- <tr>
- <td>Elliptical corners</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>3.5 (1.9.1)</td>
- <td>9.0</td>
- <td>10.5</td>
- <td>3.0 (522)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[3]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Percentages</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Elliptical corners</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] The prefixed version (allowed from Firefox 1 to Firefox 12) of this property uses a different name, <code>-moz-border-radius-bottomright</code>.</p>
-
-<p>[2] Before Firefox 4, the {{cssxref("&lt;percentage&gt;")}} was relative to the width of the box even when specifying the radius for a height). This implied that <code>-moz-border-radius-bottomright</code> was always drawing an arc of circle, and never an ellipse, when followed by a single value.</p>
-
-<p>[3] Prior to Gecko 50.0 {{geckoRelease("50.0")}}, border styles of rounded corners were always rendered as if <code>border-style</code> was <code>solid</code>. This has been fixed in Gecko 50.0.</p>
-
-<p>In addition to the unprefixed support, Gecko 44.0 {{geckoRelease("44.0")}} added support for a <code>-webkit</code> prefixed version of the property for web compatibility reasons behind the preference <code>layout.css.prefixes.webkit</code>, defaulting to <code>false</code>. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to <code>true</code>.</p>
+{{Compat("css.properties.border-bottom-right-radius")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/border-bottom-style/index.html b/files/zh-cn/web/css/border-bottom-style/index.html
index 1a90f4455b..d3755d88c4 100644
--- a/files/zh-cn/web/css/border-bottom-style/index.html
+++ b/files/zh-cn/web/css/border-bottom-style/index.html
@@ -115,59 +115,7 @@ tr, td {
<h2 id="Browser_Compatibility" name="Browser_Compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>1.0<sup>[1]</sup></td>
- <td>5.5</td>
- <td>9.2</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown() }}<sup>[1]</sup></td>
- <td>7.0</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Prior to Firefox 50, border styles of rounded corners (with {{cssxref("border-radius")}}) were always rendered as if <code>border-bottom-style</code> was&amp;nb<code>solid</code>. This has been fixed in Firefox 50.</p>
+{{Compat("css.properties.border-bottom-style")}}
<h2 id="See_Also" name="See_Also">See also</h2>
diff --git a/files/zh-cn/web/css/border-color/index.html b/files/zh-cn/web/css/border-color/index.html
index bb30c3161c..410ca4b38b 100644
--- a/files/zh-cn/web/css/border-color/index.html
+++ b/files/zh-cn/web/css/border-color/index.html
@@ -159,6 +159,8 @@ ul {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
+{{Compat("css.properties.border-color")}}
+
<h2 id="CompatibilityTable"><span style="font-size: 14px; font-weight: normal; line-height: 1.5;">{{CompatibilityTable}}</span></h2>
<div id="compat-desktop">
diff --git a/files/zh-cn/web/css/border-image-outset/index.html b/files/zh-cn/web/css/border-image-outset/index.html
index cbae437d1a..959c2031c8 100644
--- a/files/zh-cn/web/css/border-image-outset/index.html
+++ b/files/zh-cn/web/css/border-image-outset/index.html
@@ -78,6 +78,8 @@ border-image-repeat: inherit;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
+{{Compat("css.properties.border-image-outset")}}
+
<h2 id="CompatibilityTable"><span style="font-size: 14px; font-weight: normal; line-height: 1.5;">{{CompatibilityTable}}</span></h2>
<div id="compat-desktop">
diff --git a/files/zh-cn/web/css/border-image-repeat/index.html b/files/zh-cn/web/css/border-image-repeat/index.html
index 0a480d564b..f26a3a22e6 100644
--- a/files/zh-cn/web/css/border-image-repeat/index.html
+++ b/files/zh-cn/web/css/border-image-repeat/index.html
@@ -72,52 +72,4 @@ border-image-repeat: inherit
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>15.0</td>
- <td>{{CompatGeckoDesktop("15.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("15.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p><code>早期候选推荐版本中有space,不过没有浏览器实现它,因而移除,将来可能添加进来。</code></p>
+{{Compat("css.properties.border-image-repeat")}}
diff --git a/files/zh-cn/web/css/border-left/index.html b/files/zh-cn/web/css/border-left/index.html
index c0158bc725..ebbb734708 100644
--- a/files/zh-cn/web/css/border-left/index.html
+++ b/files/zh-cn/web/css/border-left/index.html
@@ -104,54 +104,4 @@ border-left: none thick green;
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>4</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("1.0") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.border-left")}}
diff --git a/files/zh-cn/web/css/border-radius/index.html b/files/zh-cn/web/css/border-radius/index.html
index eb1e31d5a6..cd0dca9bb1 100644
--- a/files/zh-cn/web/css/border-radius/index.html
+++ b/files/zh-cn/web/css/border-radius/index.html
@@ -195,139 +195,7 @@ border-bottom-left-radius: 3px 4px;
<p>{{Compat("css.properties.border-radius")}}</p>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatGeckoDesktop("2.0") }}<br>
- {{ CompatGeckoDesktop("1.0") }}{{ property_prefix("-moz") }}</td>
- <td>4.0<br>
- 0.2{{ property_prefix("-webkit") }}</td>
- <td>9.0</td>
- <td>10.5</td>
- <td>5.0<br>
- 3.0{{ property_prefix("-webkit") }}</td>
- </tr>
- <tr>
- <td>Elliptical borders</td>
- <td>{{ CompatGeckoDesktop("1.9.1") }}</td>
- <td>yes</td>
- <td>yes</td>
- <td>yes</td>
- <td>yes, but see below</td>
- </tr>
- <tr>
- <td>4 values for 4 corners</td>
- <td>yes</td>
- <td>4.0</td>
- <td>yes</td>
- <td>yes</td>
- <td>5.0</td>
- </tr>
- <tr>
- <td>Percentages</td>
- <td>yes<br>
- was {{ non-standard_inline() }} (see below)</td>
- <td>yes</td>
- <td>yes</td>
- <td>11.5</td>
- <td>5.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>iOS Safari</th>
- <th>Opera Mini</th>
- <th>Opera Mobile</th>
- <th>Android Browser</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>3.2{{ property_prefix("-webkit") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>2.1{{ property_prefix("-webkit") }}</td>
- </tr>
- <tr>
- <td>Elliptical borders</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td>4 values for 4 corners</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td>Percentages</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="&lt;percentage>_值"><code>&lt;percentage&gt;</code> 值</h3>
-
-<ul>
- <li>在旧版本的 Chrome 和 Safari 中不支持。(<a class="external" href="http://trac.webkit.org/changeset/66615">fixed in Sepember 2010</a>)</li>
- <li>在 11.50 版本以前的 Opera 中实现有问题。</li>
- <li>Gecko 2.0 (Firefox 4) 版本前实现不标准:水平半轴和垂直半轴<strong>都</strong>相对于盒子模型的宽度。</li>
- <li>在旧版本的 iOS (iOS 5 之前) 和 Android 中 (WebKit 532 之前) 不支持。</li>
-</ul>
-
-<h3 id="Gecko_notes">Gecko notes</h3>
-
-<p>In Gecko 2.0 <code>-moz-border-radius</code> was renamed to <code>border-radius</code>; <code>-moz-border-radius</code> was supported as an alias until Gecko 12.0. In order to conform to the CSS3 standard, Gecko 2.0</p>
-
-<ul>
- <li>changes the handling of {{cssxref("&lt;percentage&gt;")}} values to match the specification. You can specify an ellipse as border on an arbitrary sized element just with <code>border-radius: 50%;</code></li>
- <li>makes rounded corners clip content and images (if {{ cssxref("overflow") }}<code>: visible</code> is not set)</li>
-</ul>
-
-<div class="note"><strong>Note:</strong> Support for the prefixed version (<code>-moz-border-radius</code>) was removed in Gecko 13.0 {{ geckoRelease("13.0") }}.</div>
-
-<h3 id="WebKit_notes">WebKit notes</h3>
-
-<p>旧版本的 Safari 和 Chrome (532.5 之前)</p>
-
-<ul>
- <li>只支持<strong>单值</strong>设定四个角。必须使用<a href="/en/CSS/border-top-left-radius#Examples" style="text-decoration: underline;" title="en/CSS/border-top-left-radius#Examples">完整值</a>来设置不同角。 </li>
- <li>不支持斜杠 / 符号,如果指定了两个值,那么四个角都为椭圆角.
- <pre>/* 它们是等价的 */
-
--webkit-border-radius: 40px 10px;
- border-radius: 40px/10px;
-</pre>
- </li>
-</ul>
-
-<h3 id="Opera_notes">Opera notes</h3>
-
-<p>In Opera (prior to Opera 11.60), applying <code>border-radius</code> to replaced elements will not have rounded corners.</p>
+{{Compat("css.properties.border-radius")}}
<h2 id="另请参阅">另请参阅</h2>
diff --git a/files/zh-cn/web/css/border-right/index.html b/files/zh-cn/web/css/border-right/index.html
index 8a68acacc0..5fb217bb09 100644
--- a/files/zh-cn/web/css/border-right/index.html
+++ b/files/zh-cn/web/css/border-right/index.html
@@ -102,54 +102,4 @@ border-right: thick green;
<h2 id="Browser_compatibility" name="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>4</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("1.0") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.border-right")}}
diff --git a/files/zh-cn/web/css/border-spacing/index.html b/files/zh-cn/web/css/border-spacing/index.html
index b7ea9a871c..4fecd64f65 100644
--- a/files/zh-cn/web/css/border-spacing/index.html
+++ b/files/zh-cn/web/css/border-spacing/index.html
@@ -73,50 +73,4 @@ border-spacing: unset;</code></pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>8.0</td>
- <td>4.0</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1.9.2") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.border-spacing")}}
diff --git a/files/zh-cn/web/css/border-top-left-radius/index.html b/files/zh-cn/web/css/border-top-left-radius/index.html
index c96767e330..f03aa29fda 100644
--- a/files/zh-cn/web/css/border-top-left-radius/index.html
+++ b/files/zh-cn/web/css/border-top-left-radius/index.html
@@ -154,99 +154,7 @@ div {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0 {{property_prefix("-webkit")}}<br>
- 4.0</td>
- <td>1.0 (1.0){{property_prefix("-moz")}}<sup>[1]</sup><br>
- 4.0 (2.0)</td>
- <td>9.0</td>
- <td>10.5</td>
- <td>3.0 (522){{property_prefix("-webkit")}}<br>
- 5.0 (532.5)</td>
- </tr>
- <tr>
- <td>Percentages</td>
- <td>4.0</td>
- <td>1.0 (1.0)<sup>[2]</sup><br>
- 4.0 (2.0)</td>
- <td>9.0</td>
- <td>10.5</td>
- <td>5.0 (532.5)</td>
- </tr>
- <tr>
- <td>Elliptical corners</td>
- <td>1.0</td>
- <td>3.5 (1.9.1)</td>
- <td>9.0</td>
- <td>10.5</td>
- <td>3.0 (522)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Percentages</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Elliptical corners</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
-
-<h5 id="备注:">备注:</h5>
-
-<p>[1] 火狐浏览器较早的版本(Firefox 1 到 Firefox 12) 在使用这个属性时需使用浏览器厂商前缀,<code>-moz-border-radius-topleft</code>,最近的版本Mozilla实现了这个属性的支持(在最终的版本被敲定之前)。</p>
-
-<p>Gecko内核在圆角处无法正确的表现点划线(dotted)和虚线(dashed):它会将它们渲染成实线({{bug("382721")}}).</p>
-
-<p>[2] 在火狐4之前,这个 <a href="https://developer.mozilla.org/zh-CN/docs/Web/CSS/percentage" title="此页面仍未被本地化, 期待您的翻译!"><code>&lt;percentage&gt;</code></a> 是相对于盒子的宽度,即便指定了一个高做为半径. 这被意味着到 <code>-moz-border-radius-topleft</code>是单个值的时候,它总是画一个圆弧,而不是一个椭圆。</p>
+{{Compat("css.properties.border-top-left-radius")}}
<h2 id="另请参阅">另请参阅</h2>
diff --git a/files/zh-cn/web/css/border-top-right-radius/index.html b/files/zh-cn/web/css/border-top-right-radius/index.html
index a818e58307..e9d59f36a8 100644
--- a/files/zh-cn/web/css/border-top-right-radius/index.html
+++ b/files/zh-cn/web/css/border-top-right-radius/index.html
@@ -193,91 +193,7 @@ border-top-right-radius: inherit</code></pre>
<h2 id="浏览器兼容性" style="line-height: 30px; font-size: 2.14285714285714rem;">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table" style="border-color: transparent; border-style: solid;">
- <tbody>
- <tr>
- <th style="border-style: solid; border-color: rgba(212, 221, 228, 0); line-height: 16px;">特性</th>
- <th style="border-style: solid; border-color: rgba(212, 221, 228, 0); line-height: 16px;">Chrome</th>
- <th style="border-style: solid; border-color: rgba(212, 221, 228, 0); line-height: 16px;">Firefox (Gecko)</th>
- <th style="border-style: solid; border-color: rgba(212, 221, 228, 0); line-height: 16px;">Internet Explorer</th>
- <th style="border-style: solid; border-color: rgba(212, 221, 228, 0); line-height: 16px;">Opera</th>
- <th style="border-style: solid; border-color: rgba(212, 221, 228, 0); line-height: 16px;">Safari (WebKit)</th>
- </tr>
- <tr>
- <td rowspan="2" style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);"><span style="font-size: 12px; line-height: 18px;">Basic support</span></td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">0.2 {{ property_prefix("-webkit") }}</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">
- <p>1.0 (1.0) - 12.0 (12.0){{ property_prefix("-moz") }}<br>
- 但有一个非标准的名称:<br>
- <code>-moz-border-radius-topright</code></p>
- </td>
- <td rowspan="2" style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">9.0</td>
- <td rowspan="2" style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">10.5</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">3.0 (522){{ property_prefix("-webkit") }}</td>
- </tr>
- <tr>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">4.0</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">4.0 (2.0)</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">5.0 (532.5)</td>
- </tr>
- <tr>
- <td rowspan="2" style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">百分值</td>
- <td rowspan="2" style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">4.0</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">1.0 (1.0) 有一个bug (see note)</td>
- <td rowspan="2" style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">9.0</td>
- <td rowspan="2" style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">10.5</td>
- <td rowspan="2" style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">5.0 (532.5)</td>
- </tr>
- <tr>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">4.0 (2.0)</td>
- </tr>
- <tr>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">椭圆拐角</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">0.2</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">3.5 (1.9.1)</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">9.0</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">10.5</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">3.0 (522 )</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table" style="border-color: transparent; border-style: solid;">
- <tbody>
- <tr>
- <th style="border-style: solid; border-color: rgba(212, 221, 228, 0); line-height: 16px;">特性</th>
- <th style="border-style: solid; border-color: rgba(212, 221, 228, 0); line-height: 16px;">Android</th>
- <th style="border-style: solid; border-color: rgba(212, 221, 228, 0); line-height: 16px;">Firefox Mobile (Gecko)</th>
- <th style="border-style: solid; border-color: rgba(212, 221, 228, 0); line-height: 16px;">IE Phone</th>
- <th style="border-style: solid; border-color: rgba(212, 221, 228, 0); line-height: 16px;">Opera Mobile</th>
- <th style="border-style: solid; border-color: rgba(212, 221, 228, 0); line-height: 16px;">Safari Mobile</th>
- </tr>
- <tr>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">基本支持</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">{{CompatUnknown()}}</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">{{CompatUnknown()}}</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">{{CompatUnknown()}}</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">{{CompatUnknown()}}</td>
- <td style="border-style: solid; border-color: rgba(212, 221, 228, 0.247059);">{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<h3 id="浏览器备注" style="line-height: 24px; font-size: 1.71428571428571rem;">浏览器备注</h3>
-
-<h4 id="火狐内核(Gecko)" style="line-height: 18px; font-size: 1.28571428571429rem;">火狐内核(Gecko)</h4>
-
-<ul>
- <li>前缀版 (允许火狐1至火狐12) 属性使用一个不相同的名称 <code>-moz-border-radius-topright</code>, 相对最终属性当最终的名称被敲定之前火狐才算完成。</li>
- <li>在火狐4之前,这个 {{cssxref("&lt;percentage&gt;")}} 是相对盒子宽度,甚至是当指定半径作为一个高). 这被应用到 当<code>-moz-border-radius-topright</code>是单个值的时候,它总是画一个圆弧,而不是一个椭圆。</li>
- <li>Gecko不可能正确地以点和虚线展示在圆角,它展示它们是以实线({{ bug("382721") }}).</li>
-</ul>
+{{Compat("css.properties.border-top-right-radius")}}
<h2 id="参见" style="line-height: 30px; font-size: 2.14285714285714rem;"><span class="client_def_list_word_bar">参见</span></h2>
diff --git a/files/zh-cn/web/css/child_combinator/index.html b/files/zh-cn/web/css/child_combinator/index.html
index ef03621513..485d44aac5 100644
--- a/files/zh-cn/web/css/child_combinator/index.html
+++ b/files/zh-cn/web/css/child_combinator/index.html
@@ -66,52 +66,6 @@ div &gt; span {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>7.0</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.child")}}
<h2 id="相关">相关</h2>
diff --git a/files/zh-cn/web/css/class_selectors/index.html b/files/zh-cn/web/css/class_selectors/index.html
index 237e6dbaa0..de1ef537c7 100644
--- a/files/zh-cn/web/css/class_selectors/index.html
+++ b/files/zh-cn/web/css/class_selectors/index.html
@@ -70,54 +70,6 @@ translation_of: Web/CSS/Class_selectors
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.class")}}
<h2 id="See_also" name="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/clip/index.html b/files/zh-cn/web/css/clip/index.html
index 25b8eb6407..45d27458e6 100644
--- a/files/zh-cn/web/css/clip/index.html
+++ b/files/zh-cn/web/css/clip/index.html
@@ -94,57 +94,7 @@ clip: inherit</pre>
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td rowspan="2">Basic support</td>
- <td rowspan="2">1.0</td>
- <td rowspan="2">1.0 (1.0)</td>
- <td>4.0</td>
- <td rowspan="2">7.0</td>
- <td rowspan="2">1.0 (85)</td>
- </tr>
- <tr>
- <td>8.0<br>
- 该版本支持逗号语法。</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.clip")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/column-count/index.html b/files/zh-cn/web/css/column-count/index.html
index 76d558975a..5047f3c7eb 100644
--- a/files/zh-cn/web/css/column-count/index.html
+++ b/files/zh-cn/web/css/column-count/index.html
@@ -63,76 +63,4 @@ column-count: unset;</code></pre>
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}{{property_prefix('-webkit')}}</td>
- <td>{{compatGeckoDesktop("1.8")}}{{property_prefix('-moz')}}</td>
- <td>10</td>
- <td>11.1</td>
- <td>3.0 (522){{property_prefix('-webkit')}}</td>
- </tr>
- <tr>
- <td>on <code>display:</code> <code>table-caption</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{compatGeckoDesktop("37")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{compatGeckoMobile("1.8")}}{{property_prefix('-moz')}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>on <code>display:</code> <code>table-caption</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{compatGeckoMobile("37")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<p> </p>
-
-<h4 id="了解更多">了解更多</h4>
-
-<p><a href="https://www.w3.org/TR/css3-multicol/">https://www.w3.org/TR/css3-multicol/</a></p>
-
-<p><a href="https://caniuse.com/#search=column">https://caniuse.com/#search=column</a></p>
-
-<p> </p>
-</div>
+{{Compat("css.properties.column-count")}}
diff --git a/files/zh-cn/web/css/column-fill/index.html b/files/zh-cn/web/css/column-fill/index.html
index 0c858b3e3a..04335f12eb 100644
--- a/files/zh-cn/web/css/column-fill/index.html
+++ b/files/zh-cn/web/css/column-fill/index.html
@@ -65,50 +65,4 @@ column-fill: unset;
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("13.0")}}{{property_prefix('-moz')}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("13.0")}}{{property_prefix('-moz')}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.column-fill")}}
diff --git a/files/zh-cn/web/css/column-rule-color/index.html b/files/zh-cn/web/css/column-rule-color/index.html
index 99109bb9ae..e2d6f2915a 100644
--- a/files/zh-cn/web/css/column-rule-color/index.html
+++ b/files/zh-cn/web/css/column-rule-color/index.html
@@ -56,52 +56,4 @@ column-rule-color: inherit;</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}{{property_prefix('-webkit')}}</td>
- <td>3.5 (1.9.1){{property_prefix('-moz')}}</td>
- <td>10</td>
- <td>11.1</td>
- <td>3.0 (522){{property_prefix('-webkit')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.column-rule-color")}}
diff --git a/files/zh-cn/web/css/column-rule-style/index.html b/files/zh-cn/web/css/column-rule-style/index.html
index 6b14a9ba93..b4106664f3 100644
--- a/files/zh-cn/web/css/column-rule-style/index.html
+++ b/files/zh-cn/web/css/column-rule-style/index.html
@@ -61,50 +61,4 @@ column-rule-style: inherit;</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}</td>
- <td>3.5 (1.9.1){{ property_prefix('-moz') }}</td>
- <td>10</td>
- <td>11.1</td>
- <td>3.0 (522){{ property_prefix('-webkit') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.column-rule-style")}}
diff --git a/files/zh-cn/web/css/column-rule-width/index.html b/files/zh-cn/web/css/column-rule-width/index.html
index ae3e1cd669..18f4412168 100644
--- a/files/zh-cn/web/css/column-rule-width/index.html
+++ b/files/zh-cn/web/css/column-rule-width/index.html
@@ -60,50 +60,4 @@ column-rule-width: inherit;</pre>
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}</td>
- <td>3.5 (1.9.1){{ property_prefix('-moz') }}</td>
- <td>10</td>
- <td>11.1</td>
- <td>3.0 (522){{ property_prefix('-webkit') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.column-rule-width")}}
diff --git a/files/zh-cn/web/css/column-rule/index.html b/files/zh-cn/web/css/column-rule/index.html
index be4a2b55d9..f14383d968 100644
--- a/files/zh-cn/web/css/column-rule/index.html
+++ b/files/zh-cn/web/css/column-rule/index.html
@@ -76,50 +76,4 @@ p.abc { column-rule: thick inset blue; }
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}{{property_prefix('-webkit')}}</td>
- <td>3.5 (1.9.1){{property_prefix('-moz')}}</td>
- <td>10</td>
- <td>11.1</td>
- <td>3.0 (522){{property_prefix('-webkit')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.column-rule")}}
diff --git a/files/zh-cn/web/css/column-span/index.html b/files/zh-cn/web/css/column-span/index.html
index 1f24023c88..0d29c35d67 100644
--- a/files/zh-cn/web/css/column-span/index.html
+++ b/files/zh-cn/web/css/column-span/index.html
@@ -85,52 +85,4 @@ h2 {
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>10</td>
- <td>11.1+</td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}</td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>11.1+</td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix('-webkit') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.column-span")}}
diff --git a/files/zh-cn/web/css/content/index.html b/files/zh-cn/web/css/content/index.html
index c36142fc76..f9579104f1 100644
--- a/files/zh-cn/web/css/content/index.html
+++ b/files/zh-cn/web/css/content/index.html
@@ -229,61 +229,7 @@ li {
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>8.0</td>
- <td>4.0</td>
- <td>1.0</td>
- </tr>
- <tr>
- <td><code>url()</code> support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>8.0</td>
- <td>7.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoMobile("1.0") }}</td>
- <td>8.0</td>
- <td>9.5</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.content")}}
<h2 id="sect1"> </h2>
diff --git a/files/zh-cn/web/css/counter-increment/index.html b/files/zh-cn/web/css/counter-increment/index.html
index 56907bf233..8c8d4c16cf 100644
--- a/files/zh-cn/web/css/counter-increment/index.html
+++ b/files/zh-cn/web/css/counter-increment/index.html
@@ -85,53 +85,7 @@ counter-increment: unset;
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.0</td>
- <td>1.0 (?)</td>
- <td>8.0</td>
- <td>9.2</td>
- <td>3.0 (?)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.counter-increment")}}
<h2 id="See_also" name="See_also">参考</h2>
diff --git a/files/zh-cn/web/css/css_backgrounds_and_borders/index.html b/files/zh-cn/web/css/css_backgrounds_and_borders/index.html
index 0a43587fc3..6d7d887b6f 100644
--- a/files/zh-cn/web/css/css_backgrounds_and_borders/index.html
+++ b/files/zh-cn/web/css/css_backgrounds_and_borders/index.html
@@ -114,52 +114,4 @@ translation_of: Web/CSS/CSS_Backgrounds_and_Borders
</tbody>
</table>
-<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>4.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.9.2")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
diff --git a/files/zh-cn/web/css/css_flexible_box_layout/index.html b/files/zh-cn/web/css/css_flexible_box_layout/index.html
index 1ffd8a352a..6d4390071f 100644
--- a/files/zh-cn/web/css/css_flexible_box_layout/index.html
+++ b/files/zh-cn/web/css/css_flexible_box_layout/index.html
@@ -123,54 +123,4 @@ translation_of: Web/CSS/CSS_Flexible_Box_Layout
</tbody>
</table>
-<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable()}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatGeckoDesktop("20.0")}}</td>
- <td>21.0{{property_prefix("-webkit")}}<br>
- 29.0</td>
- <td>10.0{{property_prefix("-ms")}}<br>
- 11.0</td>
- <td>12.10</td>
- <td>6.1{{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>4.4</td>
- <td>11</td>
- <td>12.10</td>
- <td><span style="font-size: 12px; line-height: 18px;">7.1{{property_prefix("-webkit")}}</span></td>
- </tr>
- </tbody>
-</table>
-</div>
diff --git a/files/zh-cn/web/css/css_fonts/index.html b/files/zh-cn/web/css/css_fonts/index.html
index 940c9fb0d0..dc3d2bdca4 100644
--- a/files/zh-cn/web/css/css_fonts/index.html
+++ b/files/zh-cn/web/css/css_fonts/index.html
@@ -89,52 +89,4 @@ translation_of: Web/CSS/CSS_Fonts
</tbody>
</table>
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>1.0 (1.0)</td>
- <td>3.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
diff --git a/files/zh-cn/web/css/css_masking/index.html b/files/zh-cn/web/css/css_masking/index.html
index 4a77f79254..4c99c88b6e 100644
--- a/files/zh-cn/web/css/css_masking/index.html
+++ b/files/zh-cn/web/css/css_masking/index.html
@@ -66,68 +66,4 @@ translation_of: Web/CSS/CSS_Masking
</tbody>
</table>
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support (for SVG)</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Support for HTML, for <code>mask</code> and <code>mask-*</code> longhand properties</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(53.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support (for SVG)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Support for HTML, for <code>mask</code> and <code>mask-*</code> longhand properties</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(53.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
diff --git a/files/zh-cn/web/css/css_positioning/index.html b/files/zh-cn/web/css/css_positioning/index.html
index 31d27615e2..c5ec8ad4cd 100644
--- a/files/zh-cn/web/css/css_positioning/index.html
+++ b/files/zh-cn/web/css/css_positioning/index.html
@@ -57,52 +57,4 @@ translation_of: Web/CSS/CSS_Positioning
</tbody>
</table>
-<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>性能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>5.0</td>
- <td>6.0</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoMobile("1") }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
diff --git a/files/zh-cn/web/css/css_shapes/index.html b/files/zh-cn/web/css/css_shapes/index.html
index 08df50f95b..4c955a243f 100644
--- a/files/zh-cn/web/css/css_shapes/index.html
+++ b/files/zh-cn/web/css/css_shapes/index.html
@@ -61,52 +61,4 @@ translation_of: Web/CSS/CSS_Shapes
</tbody>
</table>
-<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>37</td>
- <td>54</td>
- <td>{{CompatNo}}</td>
- <td>24</td>
- <td>8.0 {{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>8.0 {{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
diff --git a/files/zh-cn/web/css/css_transitions/index.html b/files/zh-cn/web/css/css_transitions/index.html
index f9153ca449..8cd7410b51 100644
--- a/files/zh-cn/web/css/css_transitions/index.html
+++ b/files/zh-cn/web/css/css_transitions/index.html
@@ -53,61 +53,7 @@ translation_of: Web/CSS/CSS_Transitions
</tbody>
</table>
-<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>兼容版本</td>
- <td>1.0 {{ property_prefix("-webkit") }}<br>
- 26.0</td>
- <td>{{ CompatGeckoDesktop("2.0") }} {{ property_prefix("-moz") }}<br>
- {{ CompatGeckoDesktop("16.0") }}</td>
- <td>10.0</td>
- <td>11.6 {{ property_prefix("-o") }}<br>
- 12.10 <a href="http://my.opera.com/ODIN/blog/2012/08/03/a-hot-opera-12-50-summer-time-snapshot">#</a></td>
- <td>3.0 {{ property_prefix("-webkit") }}<br>
- 6.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>兼容版本</td>
- <td>2.1 {{ property_prefix("-webkit") }}</td>
- <td>{{ CompatGeckoMobile("2.0") }} {{ property_prefix("-moz") }}<br>
- {{ CompatGeckoMobile("16.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>10.0 {{ property_prefix("-o") }}<br>
- 12.10 <a href="http://my.opera.com/ODIN/blog/2012/08/03/a-hot-opera-12-50-summer-time-snapshot">#</a></td>
- <td>3.2 {{ property_prefix("-webkit") }}</td>
- </tr>
- </tbody>
-</table>
-</div>
<h2 id="sect1"> </h2>
diff --git a/files/zh-cn/web/css/cssom_view/index.html b/files/zh-cn/web/css/cssom_view/index.html
index 6e2aa61e50..88e2ac0738 100644
--- a/files/zh-cn/web/css/cssom_view/index.html
+++ b/files/zh-cn/web/css/cssom_view/index.html
@@ -48,52 +48,4 @@ translation_of: Web/CSS/CSSOM_View
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.scroll-behavior")}}
diff --git a/files/zh-cn/web/css/flex-direction/index.html b/files/zh-cn/web/css/flex-direction/index.html
index eb1fa87ac0..63e5134ba0 100644
--- a/files/zh-cn/web/css/flex-direction/index.html
+++ b/files/zh-cn/web/css/flex-direction/index.html
@@ -126,65 +126,7 @@ flex-direction: unset;</code></pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("18.0")}} (behind a pref) <sup><a href="#bc1">[1]</a> <a href="#bc2">[2]</a></sup><br>
- {{CompatGeckoDesktop("20.0")}} <sup><a href="#bc2">[2]</a></sup></td>
- <td>21.0{{ property_prefix("-webkit") }}</td>
- <td>
- <p>10 {{ property_prefix("-ms") }}<br>
- 11</p>
- </td>
- <td>12.10</td>
- <td>
- <p>7 {{ property_prefix("-webkit") }}</p>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>12.10</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p><sup><a name="bc1">[1]</a></sup> 要激活Firefox 18和19的flexbox支持,用户必须将about:config首选项“layout.css.flexbox.enabled”更改为true。</p>
-
-<p><sup><a name="bc2">[2]</a></sup> 从Firefox 28开始支持多行flexbox。</p>
-
-<p>除了无前缀的支持外,Gecko 48.0{{geckoRelease("48.0")}}由于web兼容性原因,在首选项“layout.css.prefixes.webkit”之后增加了-webkit前缀版本的支持,默认设为false。 由于Gecko 49.0 {{geckoRelease("49.0")}},首选项默认为true。</p>
+{{Compat("css.properties.flex-direction")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/css/flex-flow/index.html b/files/zh-cn/web/css/flex-flow/index.html
index 4ed7ff98e5..4dc0e69573 100644
--- a/files/zh-cn/web/css/flex-flow/index.html
+++ b/files/zh-cn/web/css/flex-flow/index.html
@@ -52,56 +52,7 @@ translation_of: Web/CSS/flex-flow
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>28.0</td>
- <td>
- <p><span style="font-size: 12px; line-height: 18px;">21.0{{property_prefix("-webkit")}}</span><br>
- <span style="font-size: 12px; line-height: 18px;">29.0</span></p>
- </td>
- <td>11</td>
- <td>12.10</td>
- <td><span style="font-size: 12px; line-height: 18px;">6.1{{ property_prefix("-webkit") }}</span></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>28.0</td>
- <td>{{ CompatUnknown() }}</td>
- <td>11</td>
- <td>12.10</td>
- <td><span style="font-size: 12px; line-height: 18px;">7.1{{ property_prefix("-webkit") }}</span></td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.flex-flow")}}
<h2 id="另参见">另参见</h2>
diff --git a/files/zh-cn/web/css/flex-shrink/index.html b/files/zh-cn/web/css/flex-shrink/index.html
index ec5d4d562a..4a8173d3a0 100644
--- a/files/zh-cn/web/css/flex-shrink/index.html
+++ b/files/zh-cn/web/css/flex-shrink/index.html
@@ -102,69 +102,7 @@ flex-shrink: unset</pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoDesktop("18.0")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("32.0")}}<sup>[2]</sup></td>
- <td>21.0{{property_prefix("-webkit")}}</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}}</td>
- <td>10<sup>[3]</sup></td>
- <td>12.10</td>
- <td>8.0{{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>Edge</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoMobile("18.0")}}<sup>[1]</sup><br>
- {{CompatGeckoMobile("32.0")}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>12.10</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Firefox 仅支持单行 flexbox 直到 Firefox 28版本。To activate flexbox support, for Firefox 18 and 19, the user has to change the about:config preference "layout.css.flexbox.enabled" to <code>true</code>.</p>
-
-<p>In addition to the unprefixed support, Gecko 48.0 {{geckoRelease("48.0")}} added support for a <code>-webkit</code> prefixed version of the property for web compatibility reasons behind the preference <code>layout.css.prefixes.webkit</code>, defaulting to <code>false</code>. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to <code>true</code>.</p>
-
-<p>[2] 在 Firefox 32 之前,Gecko不能将动画从0开始或停止在0<code>(<a href="https://drafts.csswg.org/css-flexbox-1/#resolve-flexible-lengths">Spec</a>,<a href="http://jsbin.com/zacifexuke/edit?html,css,output">Demo</a>)</code>.。</p>
-
-<p>[3] Internet Explorer 10 使用 <code>0</code> 而不是 <code>1</code> 作为 <code>flex-shrink</code> 属性的初始值。A workaround is to always set an explicit value for <code>flex-shrink</code>. See <a href="https://github.com/philipwalton/flexbugs#6-the-default-flex-value-has-changed">Flexbug #6</a> for more info.</p>
+{{Compat("css.properties.flex-shrink")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/css/font-size-adjust/index.html b/files/zh-cn/web/css/font-size-adjust/index.html
index 364a0a6524..d61de5b6a6 100644
--- a/files/zh-cn/web/css/font-size-adjust/index.html
+++ b/files/zh-cn/web/css/font-size-adjust/index.html
@@ -81,62 +81,7 @@ font-size-adjust: inherit;
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td rowspan="2">Basic support</td>
- <td rowspan="2">
- <p class="p1">{{ CompatNo() }}</p>
- </td>
- <td>1.0 (1.0)<br>
- Windows only</td>
- <td rowspan="2">{{ CompatNo() }} </td>
- <td rowspan="2">{{ CompatNo() }} </td>
- <td rowspan="2">{{ CompatNo() }} </td>
- </tr>
- <tr>
- <td>{{ CompatGeckoDesktop("1.9") }}<br>
- All platforms</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1.9.2") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatChrome(42.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.font-size-adjust")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/css/font-size/index.html b/files/zh-cn/web/css/font-size/index.html
index 5c61a68884..e2d18657f0 100644
--- a/files/zh-cn/web/css/font-size/index.html
+++ b/files/zh-cn/web/css/font-size/index.html
@@ -179,52 +179,4 @@ span { font-size: 16px; }
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1")}}</td>
- <td>5.5</td>
- <td>7.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>1.0</td>
- <td>{{CompatGeckoMobile("1")}}</td>
- <td>6.0</td>
- <td>6.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.font-size")}}
diff --git a/files/zh-cn/web/css/font-smooth/index.html b/files/zh-cn/web/css/font-smooth/index.html
index 49c5319ac1..893fe26862 100644
--- a/files/zh-cn/web/css/font-smooth/index.html
+++ b/files/zh-cn/web/css/font-smooth/index.html
@@ -77,55 +77,7 @@ font-smooth: 2em;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>25.0<sup>[2]</sup></td>
- <td>5.0<sup>[1]</sup></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>4.0<sup>[1]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>iOS Safari</th>
- <th>Opera Mini</th>
- <th>Opera Mobile</th>
- <th>Android Browser</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>?<sup>[1]</sup></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] <strong>Webkit</strong> 实现了名为<code>-webkit-font-smoothing</code>的相似属性。这个属性仅在 Mac OS X/macOS 下生效。</p>
-
-<p>[2] <strong>Firefox</strong> 实现了名为 <code>-moz-osx-font-smoothing</code> 的相似属性。这个属性仅在 Mac OS X / macOS 下生效。</p>
+{{Compat("css.properties.font-smooth")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/css/font-stretch/index.html b/files/zh-cn/web/css/font-stretch/index.html
index 8081d872e2..fde44cd6aa 100644
--- a/files/zh-cn/web/css/font-stretch/index.html
+++ b/files/zh-cn/web/css/font-stretch/index.html
@@ -103,54 +103,4 @@ font-stretch: unset;
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>48.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("9.0") }}</td>
- <td>9.0</td>
- <td>35.0</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("9.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.font-stretch")}}
diff --git a/files/zh-cn/web/css/gradient/linear-gradient()/index.html b/files/zh-cn/web/css/gradient/linear-gradient()/index.html
index 4e1083f3cd..670d14976a 100644
--- a/files/zh-cn/web/css/gradient/linear-gradient()/index.html
+++ b/files/zh-cn/web/css/gradient/linear-gradient()/index.html
@@ -269,172 +269,7 @@ where &lt;side-or-corner&gt; = [ left | right ] || [ top | bottom ]
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera (Presto)</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support (on {{cssxref("background")}} and {{cssxref("background-image")}})</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}{{property_prefix("-moz")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("16")}}<sup>[2]</sup></td>
- <td>10.0 (534.16){{property_prefix("-webkit")}}<sup>[6]</sup></td>
- <td>10.0<sup>[4]</sup></td>
- <td>11.10{{property_prefix("-o")}}<sup>[1]</sup></td>
- <td>5.1{{property_prefix("-webkit")}}<sup>[6]</sup></td>
- </tr>
- <tr>
- <td>On {{cssxref("border-radius")}}</td>
- <td>{{CompatGeckoDesktop("29")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>On any other property that accepts {{cssxref("&lt;image&gt;")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Legacy webkit syntax{{non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>3{{property_prefix("-webkit")}}<sup>[3]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>4.0{{property_prefix("-webkit")}}<sup>[3]</sup></td>
- </tr>
- <tr>
- <td>Legacy 'from' syntax (without <code>to</code>){{non-standard_inline}}</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}{{property_prefix("-moz")}}<sup>[5]</sup></td>
- <td>10.0 (534.16){{property_prefix("-webkit")}}<sup>[3]</sup></td>
- <td>10</td>
- <td>11.10{{property_prefix("-o")}}<sup>[5]</sup></td>
- <td>5.1{{property_prefix("-webkit")}}<sup>[3]</sup></td>
- </tr>
- <tr>
- <td>Standard syntax (using the <code>to</code> keyword)</td>
- <td>{{CompatGeckoDesktop("16")}}</td>
- <td>26.0 (537.27)</td>
- <td>10</td>
- <td>12.10</td>
- <td>6.1</td>
- </tr>
- <tr>
- <td>Interpolation hints (a percent without a color)</td>
- <td>{{CompatGeckoDesktop("36")}}</td>
- <td>40</td>
- <td>{{CompatUnknown}}</td>
- <td>27</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Unitless 0 for <code>&lt;angle&gt;</code></td>
- <td>{{CompatGeckoDesktop("46")}}{{property_prefix("-moz")}}<sup>[7]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>Edge 12</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera (Presto)</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support (on {{cssxref("background")}} and {{cssxref("background-image")}})</td>
- <td>{{CompatGeckoMobile("1.9.2")}}{{property_prefix("-moz")}}<sup>[1]</sup><br>
- {{CompatGeckoMobile("16")}}[2]</td>
- <td>16{{property_prefix("-webkit")}}<br>
- 26</td>
- <td>10</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>On {{cssxref("border-radius")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>On any other property that accepts {{cssxref("&lt;image&gt;")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Legacy webkit syntax{{non-standard_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Legacy 'from' syntax (without <code>to</code>){{non-standard_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Standard syntax (using the <code>to</code> keyword)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Interpolation hints (a percent without a color)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<p>[1] Gecko, Opera &amp; Webkit consider {{cssxref("&lt;angle&gt;")}} to start to the right, instead of the top. I.e. it considered an angle of <code>0deg</code> as a direction indicator pointing to the right. This is different from the latest specification where an angle of <code>0deg</code> as a direction indicator points to the top. Since Firefox 42, the prefixed version of gradients can be disabled by setting <code>layout.css.prefixes.gradients</code> to <code>false</code>.</p>
-
-<p>[2] Before Gecko 36.0 {{geckoRelease("36.0")}}, Gecko didn't apply gradients on the pre-multiplied color space, leading to shades of grey unexpectedly appearing when used with transparency.</p>
-
-<p>[3] WebKit since 528 supports the legacy <a href="http://developer.apple.com/safari/library/documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Gradients/Gradient.html"><code>-webkit-gradient(linear,…)</code> function</a>. As of WebKit 534.16, it also supports the standard gradient syntax. Unlike in Gecko, in legacy WebKit you cannot specify both a position and an angle in <code>-webkit-linear-gradient()</code>. You can achieve the same effect by offsetting the color stops.</p>
-
-<p>[4] Internet Explorer 5.5 through 9.0 supports proprietary <a href="http://msdn.microsoft.com/en-us/library/ms532997(VS.85,loband).aspx"><code>filter: progid:DXImageTransform.Microsoft.Gradient()</code> filter</a>.</p>
-
-<p>[5] Firefox 3.6 and Opera 11.10 implemented, prefixed, an early syntax where the starting corner or side was indicated without the <code>to</code> keyword, and effectively considered as a 'from' position. The <code>to</code> syntax has been added in Firefox 10 and Opera 11.60.</p>
-
-<p>In addition to the unprefixed support using the standard syntax, Gecko 44.0 {{geckoRelease("44.0")}} added support for a <code>-webkit</code> prefixed version of the function using the legacy 'from' syntax for web compatibility reasons behind the preference <code>layout.css.prefixes.webkit</code>, defaulting to <code>false</code>. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to <code>true</code>.</p>
-
-<p>[6] Opera &amp; Webkit consider {{cssxref("&lt;angle&gt;")}} to start to the right, instead of the top. I.e. it considered an angle of <code>0deg</code> as a direction indicator pointing to the right. This is different from the latest specification where an angle of <code>0deg</code> as a direction indicator points to the top. Since Firefox 42, the prefixed version of gradients can be disabled by setting <code>layout.css.prefixes.gradients</code> to <code>false</code>. WebKit since 528 supports the legacy <a href="http://developer.apple.com/safari/library/documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Gradients/Gradient.html"><code>-webkit-gradient(linear,…)</code> function</a>. As of WebKit 534.16, it also supports the standard gradient syntax. Unlike in Gecko, in legacy WebKit you cannot specify both a position and an angle in <code>-webkit-linear-gradient()</code>. You can achieve the same effect by offsetting the color stops.</p>
-
-<p>[7] <code>linear-gradient(0, pink, teal)</code> equivalent to <code>linear-gradient(0deg, pink, teal)</code>,See {{bug("1239153")}}.</p>
+{{Compat("css.types.image.gradient.linear-gradient")}}
<h2 id="了解更多">了解更多</h2>
diff --git a/files/zh-cn/web/css/gradient/repeating-linear-gradient()/index.html b/files/zh-cn/web/css/gradient/repeating-linear-gradient()/index.html
index c4dd9fc55d..007a1eb361 100644
--- a/files/zh-cn/web/css/gradient/repeating-linear-gradient()/index.html
+++ b/files/zh-cn/web/css/gradient/repeating-linear-gradient()/index.html
@@ -160,144 +160,7 @@ where <code>&lt;side-or-corner&gt; = [left | right] || [top | bottom]</code>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support (on {{cssxref("background")}} and {{cssxref("background-image")}})</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}{{property_prefix("-moz")}}<sup>[3]</sup><br>
- {{CompatGeckoDesktop("16")}}<sup>[5]</sup></td>
- <td>10.0 (534.16){{property_prefix("-webkit")}} <sup>[2]</sup><sup>[3]</sup></td>
- <td>10.0 <sup>[1]</sup></td>
- <td>11.10{{property_prefix("-o")}} <sup>[3]</sup></td>
- <td>5.1{{property_prefix("-webkit")}}<sup>[2]</sup><sup>[3]</sup></td>
- </tr>
- <tr>
- <td>On {{cssxref("border-radius")}}</td>
- <td>{{CompatGeckoDesktop("29")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>On any other property that accept {{cssxref("&lt;image&gt;")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><a class="external" href="http://www.webkit.org/blog/175/introducing-css-gradients/">Legacy webkit syntax</a>{{non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>3{{property_prefix("-webkit")}} <sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>4.0{{property_prefix("-webkit")}}<sup>[2]</sup></td>
- </tr>
- <tr>
- <td>Legacy <em>from </em>syntax (without <code>to</code>){{non-standard_inline}}</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}{{property_prefix("-moz")}}<sup>[4]</sup><br>
- Removed in {{CompatGeckoDesktop("16")}}<sup>[7]</sup></td>
- <td>10.0 (534.16){{property_prefix("-webkit")}} <sup>[2]</sup></td>
- <td>10.0</td>
- <td>11.10{{property_prefix("-o")}}<sup>[4]</sup></td>
- <td>5.1{{property_prefix("-webkit")}}<sup><a href="#bc2%3E">[2]</a></sup></td>
- </tr>
- <tr>
- <td><code>to</code> syntax</td>
- <td>{{CompatGeckoDesktop("10")}}{{property_prefix("-moz")}}<sup>[4]</sup><br>
- {{CompatGeckoDesktop("16")}}</td>
- <td>26.0</td>
- <td>10.0</td>
- <td>11.60{{property_prefix("-o")}}<sup>[4]</sup><br>
- Presto 2.12 will remove the prefix.</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><a href="https://drafts.csswg.org/css-images-4/#color-interpolation-hint">Interpolation hints/gradient midpoints</a> (a percent without a color)</td>
- <td>{{CompatGeckoDesktop("36")}}</td>
- <td><a href="https://code.google.com/p/chromium/issues/detail?id=420527">40</a></td>
- <td>{{CompatUnknown}}</td>
- <td>27</td>
- <td>{{CompatVersionUnknown}}<sup><a href="#bc2%3E">[6]</a></sup></td>
- </tr>
- <tr>
- <td>Unitless 0 for <code>&lt;angle&gt;</code></td>
- <td>{{CompatGeckoDesktop("46")}}{{property_prefix("-webkit")}}<sup>[8]</sup><br>
- {{CompatNo}}<sup>[9]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>Edge 12</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox (Gecko)</th>
- <th>Chrome</th>
- <th>Internet Explorer</th>
- <th>Opera (Presto)</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatGeckoMobile("1.9.2")}}{{property_prefix("-moz")}}<sup>[3]</sup><br>
- {{CompatGeckoMobile("16")}}<sup>[5]</sup></td>
- <td>
- <p>16{{property_prefix("-webkit")}}<br>
- 26</p>
- </td>
- <td>10</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup><a href="#bc2%3E">[6]</a></sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Internet Explorer 5.5 through 9.0 supports proprietary <a class="external" href="http://msdn.microsoft.com/en-us/library/ms532997(VS.85,loband).aspx"><code>filter: progid:DXImageTransform.Microsoft.Gradient()</code> filter</a>.</p>
-
-<p>[2] WebKit since 528 supports the legacy <a class="external" href="http://developer.apple.com/safari/library/documentation/InternetWeb/Conceptual/SafariVisualEffectsProgGuide/Gradients/Gradient.html"><code>-webkit-gradient(linear,…)</code> function</a>. As of WebKit 534.16, it also supports the standard gradient syntax. Unlike in Gecko, in legacy WebKit you cannot specify both a position and angle in <code>-webkit-linear-gradient()</code>. You can achieve the same effect by offsetting the color stops.</p>
-
-<p>[3] Gecko, Opera &amp; Webkit considers {{cssxref("&lt;angle&gt;")}} to start to the right, instead of the top. I.e. it considered an angle of <code>0deg</code> as a direction indicator pointing to the right. This is different from the latest specification where an angle of <code>0deg</code> as a direction indicator points to the top. Since Firefox 42, the prefixed version of gradients can be disabled by setting <code>layout.css.prefixes.gradients</code> to <code>false</code>.</p>
-
-<p>[4] Firefox 3.6 and Opera 11.10 implemented, prefixed, an early syntax where the starting corner or side was indicated without the <code>to</code> keyword, and effectively considered as a <em>from</em> position. The <code>to</code> syntax has been added in Firefox 10 and Opera 11.60 , at first without removing the deprecated syntax and translation between the two is trivial:</p>
-
-<pre class="notranslate">-moz-repeating-linear-gradient(to top left, blue, red);</pre>
-
-<p>is the same as:</p>
-
-<pre class="notranslate">-moz-repeating-linear-gradient(bottom right, blue, red);</pre>
-
-<p>The legacy syntax, without <code>to</code>, is planned to go away when the prefix is removed.</p>
-
-<p>[5] Before Firefox 36, Gecko didn't apply gradient on the pre-multiplied color space, leading to shade of grey unexpectedly appearing when used with transparency.</p>
-
-<p>[6] {{webkitbug(1074056)}}.</p>
-
-<p>[7] In addition to the unprefixed support using the standard syntax, Gecko 44.0 {{geckoRelease("44.0")}} added support for a <code>-webkit</code> prefixed version of the function using the legacy 'from' syntax for web compatibility reasons behind the preference <code>layout.css.prefixes.webkit</code>, defaulting to <code>false</code>. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to <code>true</code>.</p>
-
-<p>[8] In <code>-webkit-linear-gradient </code>function (handled below), Gecko accept unitless 0 for angles, to match webkit/blink,See {{bug("1239153")}}.</p>
-
-<p>[9] See {{bug("1363292")}}.</p>
+{{Compat("css.types.image.gradient.repeating-linear-gradient")}}
<h2 id="了解更多">了解更多</h2>
diff --git a/files/zh-cn/web/css/gradient/repeating-radial-gradient()/index.html b/files/zh-cn/web/css/gradient/repeating-radial-gradient()/index.html
index 8ca073bbd8..f3ac84767e 100644
--- a/files/zh-cn/web/css/gradient/repeating-radial-gradient()/index.html
+++ b/files/zh-cn/web/css/gradient/repeating-radial-gradient()/index.html
@@ -171,99 +171,7 @@ where &lt;extent-keyword&gt; = closest-corner | closest-side | farthest-corner |
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support (on {{cssxref("background")}} and {{cssxref("background-image")}})</td>
- <td>10 {{property_prefix("-webkit")}}</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}{{property_prefix("-moz")}}<br>
- {{CompatGeckoDesktop("16")}}<sup>[1]</sup></td>
- <td>10</td>
- <td>12 {{property_prefix("-o")}}<br>
- 12.5</td>
- <td>5.1 {{property_prefix("-webkit")}}</td>
- </tr>
- <tr>
- <td>On {{cssxref("border-image")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("29")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>On any other property that accept {{cssxref("&lt;image&gt;")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Interpolation hints (a percent without a color)</td>
- <td>40</td>
- <td>{{CompatGeckoDesktop("36")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support (on {{cssxref("background")}} and {{cssxref("background-image")}})</td>
- <td>4.4</td>
- <td>{{CompatGeckoMobile("46")}}</td>
- <td>10</td>
- <td>12.1</td>
- <td>7.1</td>
- </tr>
- <tr>
- <td>On {{cssxref("border-image")}}</td>
- <td>{{CompatGeckoMobile("29")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>On any other property that accept {{cssxref("&lt;image&gt;")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Before Firefox 36, Gecko didn't apply gradient on the pre-multiplied color space, leading to shade of grey unexpectedly appearing when used with transparency. Since Firefox 42, the prefixed version of gradients can be disabled by setting <code>layout.css.prefixes.gradients</code> to <code>false</code>.</p>
-
-<p>In addition to the unprefixed support, Gecko 44.0 {{geckoRelease("44.0")}} added support for a <code>-webkit</code> prefixed version of the function for web compatibility reasons behind the preference <code>layout.css.prefixes.webkit</code>, defaulting to <code>false</code>. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to <code>true</code>.</p>
+{{Compat("css.types.image.gradient.repeating-radial-gradient")}}
<h2 id="参阅:">参阅:</h2>
diff --git a/files/zh-cn/web/css/hyphens/index.html b/files/zh-cn/web/css/hyphens/index.html
index 953d834e50..7a09198e88 100644
--- a/files/zh-cn/web/css/hyphens/index.html
+++ b/files/zh-cn/web/css/hyphens/index.html
@@ -118,692 +118,7 @@ p.auto {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome("13")}}{{property_prefix("-webkit")}}<sup>[1]</sup></td>
- <td>
- <p>{{CompatGeckoDesktop("6.0")}}{{property_prefix("-moz")}}<sup>[2]</sup><br>
- {{CompatGeckoDesktop("43.0")}}</p>
- </td>
- <td>{{CompatIE("10.0")}}{{property_prefix("-ms")}}<sup>[3]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatSafari(5.1)}}{{property_prefix("-webkit")}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Afrikaans (af, af-*)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Bulgarian (bg, bg-*)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Catalan (ca, ca-*)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Croatian (hr, hr-*)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Czech (cs, cs-*)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Danish (da, da-*)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Dutch (nl, nl-*)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for English (en, en-*)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("6.0")}}<sup>[4]</sup></td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>5.1<sup>[5]</sup></td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Esperanto (eo, eo-*)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Estonian (et, et-*)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Finnish (fi, fi-*)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for French (fr, fr-*)</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("8.0")}}</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Galician (gl, gl-*)</td>
- <td>{{CompatNo}}</td>
- <td>9.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for German, Traditional Orthography of 1901 (de-1901, de-AT-1901, de-DE-1901)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for German, Reformed Orthography of 1996 (de, de-1996, de-DE, de-AT, de-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for German, Swiss Orthography (de-CH, de-CH-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Hungarian (hu, hu-*)</td>
- <td>{{CompatNo}}</td>
- <td>9.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Icelandic (is, is-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Interlingua (ia, ia-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Italian (it, it-*)</td>
- <td>{{CompatNo}}</td>
- <td>9.0</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Kurmanji (kmr, kmr-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Latin (la, la-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Lithuanian (lt, lt-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Mongolian (mn, mn-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Norwegian (Bokmål) (no, no-*, nb, nb-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Norwegian (Nynorsk) (nn, nn-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Polish (pl, pl-*)</td>
- <td>{{CompatNo}}</td>
- <td>31.0</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Portuguese (pt, pt-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0<sup>[6]</sup></td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Brazilian Portuguese (pt-BR)</td>
- <td>{{CompatNo}}</td>
- <td>8.0<sup>[6]</sup></td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Russian (ru, ru-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Serbian, Bosnian, Serbo-Croatian (sh, sh-*, sr, sr-*, bs, bs-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Slovenian (sl, sl-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Spanish (es, es-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Swedish (sv, sv-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Turkish (tr, tr-*)</td>
- <td>{{CompatNo}}</td>
- <td>9.0</td>
- <td>10.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Ukrainian (uk, uk-*)</td>
- <td>{{CompatNo}}</td>
- <td>9.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Upper Sorbian (hsb, hsb-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Welsh (cy, cy-*)</td>
- <td>{{CompatNo}}</td>
- <td>8.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for other languages</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatAndroid("4.0")}}{{property_prefix("-webkit")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile("6.0")}}{{property_prefix("-moz")}}<sup>[2]</sup><br>
- {{CompatGeckoDesktop("43.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatSafari(4.2)}}{{property_prefix("-webkit")}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Afrikaans (af, af-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Bulgarian (bg, bg-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Catalan (ca, ca-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Croatian (hr, hr-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Czech (cs, cs-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Danish (da, da-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Dutch (nl, nl-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for English (en, en-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Esperanto (eo, eo-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Estonian (et, et-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Finnish (fi, fi-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for French (fr, fr-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Galician (gl, gl-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for German, Traditional Orthography of 1901 (de-1901, de-AT-1901, de-DE-1901)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for German, Reformed Orthography of 1996 (de, de-1996, de-DE, de-AT, de-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for German, Swiss Orthography (de-CH, de-CH-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Hungarian (hu, hu-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Icelandic (is, is-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Interlingua (ia, ia-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Italian (it, it-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Kurmanji (kmr, kmr-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Latin (la, la-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Lithuanian (lt, lt-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Mongolian (mn, mn-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Norwegian (Bokmål) (no, no-*, nb, nb-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Norwegian (Nynorsk) (nn, nn-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Polish (pl, pl-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Portuguese (pt, pt-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Brazilian Portuguese (pt-BR)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Russian (ru, ru-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Serbian, Bosnian, Serbo-Croatian (sh, sh-*, sr, sr-*, bs, bs-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Slovenian (sl, sl-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Spanish (es, es-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Swedish (sv, sv-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Turkish (tr, tr-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Ukrainian (uk, uk-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Upper Sorbian (hsb, hsb-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for Welsh (cy, cy-*)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Hyphenation dictionary for other languages</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] <strong>No automatic hyphenation</strong>, only <code>-webkit-hyphens: none</code> is supported.</p>
-
-<p>[2] Automatic hyphenation only works for languages whose hyphenation dictionaries are integrated in Gecko. See <a href="#Notes_on_supported_languages">the note below</a> for a complete list of such languages.</p>
-
-<p>[3] Automatic hyphenation only works for languages whose hyphenation dictionaries are integrated in Internet Explorer. See <a href="#Notes_on_supported_languages">the note below</a> for a complete list of such languages.</p>
-
-<p>[4] Uses an en-US dictionary.</p>
-
-<p>[5] en-GB and en-US used different dictionaries.</p>
-
-<p>[6] Uses a Portuguese dictionary.</p>
+{{Compat("css.properties.hyphens")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/integer/index.html b/files/zh-cn/web/css/integer/index.html
index b0b71a76a5..183086063a 100644
--- a/files/zh-cn/web/css/integer/index.html
+++ b/files/zh-cn/web/css/integer/index.html
@@ -81,53 +81,7 @@ _5 Special characters are not allowed.
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>basic</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>3.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.types.integer")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/css/isolation/index.html b/files/zh-cn/web/css/isolation/index.html
index ad3c297a5f..1f5ecf3f29 100644
--- a/files/zh-cn/web/css/isolation/index.html
+++ b/files/zh-cn/web/css/isolation/index.html
@@ -96,57 +96,7 @@ isolation: unset;
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable()}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p class="p1">{{CompatChrome(41.0)}}</p>
- </td>
- <td>{{CompatGeckoDesktop('36')}}</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>
- <p class="p1">{{CompatChrome(41.0)}}</p>
- </td>
- <td>{{CompatGeckoMobile('36')}}[1]</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.isolation")}}
<h2 id="See_also" name="See_also">参见</h2>
diff --git a/files/zh-cn/web/css/justify-content/index.html b/files/zh-cn/web/css/justify-content/index.html
index 125f5b410f..eddbc5bf32 100644
--- a/files/zh-cn/web/css/justify-content/index.html
+++ b/files/zh-cn/web/css/justify-content/index.html
@@ -177,179 +177,7 @@ justifyContent.addEventListener("change", function (evt) {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(21.0)}} {{property_prefix("-webkit")}}<br>
- {{CompatChrome(29.0)}}<sup>[3]</sup></td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("18.0")}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop("20.0")}}<sup>[2]</sup></td>
- <td>11</td>
- <td>12.10</td>
- <td>9</td>
- </tr>
- <tr>
- <td><code>space-evenly</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("52.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>start</code>, <code>end</code></td>
- <td>{{CompatNo}}<sup>[4]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}<sup>[4]</sup></td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>left</code>, <code>right</code></td>
- <td>{{CompatNo}}<sup>[4]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("52.0")}}<sup>[5]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}<sup>[4]</sup></td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>baseline</code></td>
- <td>{{CompatChrome("57.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera("44.0")}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>first baseline</code>, <code>last baseline</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("52.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>stretch</code></td>
- <td>{{CompatChrome("57.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("52.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera("44.0")}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[3]</sup></td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}<br>
- {{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>12.10</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}<sup>[3]</sup></td>
- </tr>
- <tr>
- <td><code>space-evenly</code></td>
- <td>{{CompatGeckoMobile("52.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>start</code>, <code>end</code></td>
- <td>{{CompatNo}}<sup>[4]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}<sup>[4]</sup></td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>left</code>, <code>right</code></td>
- <td>{{CompatNo}}<sup>[4]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("52.0")}}<sup>[5]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}<sup>[4]</sup></td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>baseline</code></td>
- <td>{{CompatChrome("57.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera("44.0")}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>first baseline</code>, <code>last baseline</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("52.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>stretch</code></td>
- <td>{{CompatChrome("57.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("52.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera("44.0")}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 直到Firefox 28,Firefox都只支持单行弹性框。用户需要修改about:config,将“layout.css.flexbox.enabled”设置为“<code>true</code>”来在Firefox 18和19应用弹性框。</p>
-
-<p>[2] 比较旧的版本规范将绝对定位子项认为0 x 0 flex项。 后面的规范版本将它们从流程中取出并根据对齐和对齐属性设置它们的位置。 Chrome从Chrome 52开始的实施新行为。</p>
+{{Compat("css.properties.justify-content")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/css/list-style-image/index.html b/files/zh-cn/web/css/list-style-image/index.html
index 6185aca835..3cd961dae9 100644
--- a/files/zh-cn/web/css/list-style-image/index.html
+++ b/files/zh-cn/web/css/list-style-image/index.html
@@ -90,53 +90,7 @@ list-style-image: unset;
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特征</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>4.0</td>
- <td>7.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特征</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>1.0</td>
- <td>{{ CompatGeckoMobile("1") }}</td>
- <td>6.0</td>
- <td>6.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.list-style-image")}}
<h2 id="其他链接">其他链接</h2>
diff --git a/files/zh-cn/web/css/list-style-position/index.html b/files/zh-cn/web/css/list-style-position/index.html
index 1b63e9c8b6..91d8204131 100644
--- a/files/zh-cn/web/css/list-style-position/index.html
+++ b/files/zh-cn/web/css/list-style-position/index.html
@@ -105,55 +105,7 @@ list-style-position: unset;
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>1.0 (1.0)</td>
- <td>4.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>N.B. There is variance among browsers regarding behaviour when a block element is placed first within a list element declared as <code>list-style-position:inside</code>. Chrome and Safari both place this element on the same line as the marker box, whereas Firefox, Internet Explorer and Opera place it on the next line. For more information on this, see this <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=36854">Mozilla Bug</a> report and an <a href="http://jsfiddle.net/hydrurga/MAS7j/">example</a>.</p>
+{{Compat("css.properties.list-style-position")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/list-style/index.html b/files/zh-cn/web/css/list-style/index.html
index a65ff6621b..20de87e51b 100644
--- a/files/zh-cn/web/css/list-style/index.html
+++ b/files/zh-cn/web/css/list-style/index.html
@@ -88,53 +88,7 @@ List 2
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1")}}</td>
- <td>4.0</td>
- <td>7.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoMobile("1")}}</td>
- <td>6.0</td>
- <td>6.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.list-style")}}
<h2 id="See_also" name="See_also">另参见</h2>
diff --git a/files/zh-cn/web/css/margin-bottom/index.html b/files/zh-cn/web/css/margin-bottom/index.html
index 4a5b7f23b7..40fc567130 100644
--- a/files/zh-cn/web/css/margin-bottom/index.html
+++ b/files/zh-cn/web/css/margin-bottom/index.html
@@ -130,58 +130,4 @@ div {
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1")}}</td>
- <td>3.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- <tr>
- <td><code>auto</code> value</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1")}}</td>
- <td>6.0 (strict mode)</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoMobile("1")}}</td>
- <td>6.0</td>
- <td>6.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.margin-bottom")}}
diff --git a/files/zh-cn/web/css/margin-left/index.html b/files/zh-cn/web/css/margin-left/index.html
index c7f3b25b19..86f047379b 100644
--- a/files/zh-cn/web/css/margin-left/index.html
+++ b/files/zh-cn/web/css/margin-left/index.html
@@ -152,58 +152,4 @@ margin-left: unset;
<h2 id="Browser_Compatibility" name="Browser_Compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable()}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1")}}</td>
- <td>3.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- <tr>
- <td><code>auto</code> value</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1")}}</td>
- <td>6.0 (strict mode)</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoMobile("1")}}</td>
- <td>6.0</td>
- <td>6.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.margin-left")}}
diff --git a/files/zh-cn/web/css/margin-right/index.html b/files/zh-cn/web/css/margin-right/index.html
index a0a25c9993..30c9cc0376 100644
--- a/files/zh-cn/web/css/margin-right/index.html
+++ b/files/zh-cn/web/css/margin-right/index.html
@@ -151,58 +151,4 @@ margin-right: unset;
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>3.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- <tr>
- <td><code>auto</code> value</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>6.0 (strict mode)</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoMobile("1") }}</td>
- <td>6.0</td>
- <td>6.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.margin-right")}}
diff --git a/files/zh-cn/web/css/margin-top/index.html b/files/zh-cn/web/css/margin-top/index.html
index 3e12c45805..1ed70069c2 100644
--- a/files/zh-cn/web/css/margin-top/index.html
+++ b/files/zh-cn/web/css/margin-top/index.html
@@ -88,58 +88,4 @@ margin-top: unset;
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable()}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1")}}</td>
- <td>3.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- <tr>
- <td><code>auto</code> value</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1")}}</td>
- <td>6.0 (strict mode)</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoMobile("1")}}</td>
- <td>6.0</td>
- <td>6.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.margin-top")}}
diff --git a/files/zh-cn/web/css/mask-image/index.html b/files/zh-cn/web/css/mask-image/index.html
index ef59ab1649..94cb2529a5 100644
--- a/files/zh-cn/web/css/mask-image/index.html
+++ b/files/zh-cn/web/css/mask-image/index.html
@@ -88,96 +88,4 @@ mask-image: unset;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Edge</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0{{property_prefix("-webkit")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}</td>
- <td>4.0{{property_prefix("-webkit")}}<sup>[3]</sup></td>
- </tr>
- <tr>
- <td>Multiple mask images</td>
- <td>1.0{{property_prefix("-webkit")}}</td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}</td>
- <td>4.0{{property_prefix("-webkit")}}</td>
- </tr>
- <tr>
- <td>SVG masks</td>
- <td>8.0</td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}</td>
- <td>4.0{{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1{{property_prefix("-webkit")}}<sup>[4]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>3.2{{property_prefix("-webkit")}}<sup>[5]</sup></td>
- </tr>
- <tr>
- <td>Multiple mask images</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}</td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}</td>
- </tr>
- <tr>
- <td>SVG masks</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}</td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}{{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Implemented in version 8.0, Chrome initially only supported the <code>-webkit</code> prefixed versions of gradients as values. Later, support for the unprefixed versions was added.</p>
-
-<p>[2] This feature is not implemented yet. It is only available in Nightly and Dev Edition. See {{bug("1251161")}}.</p>
-
-<p>[3] Implemented in version 4.0, Safari initially only supported the <code>-webkit</code> prefixed versions of gradients as values.</p>
-
-<p>[4] Android initially only supported the <code>-webkit</code> prefixed versions of gradients as values.</p>
-
-<p>[5] iOS Safari initially only supported the <code>-webkit</code> prefixed versions of gradients as values.</p>
+{{Compat("css.properties.mask-image")}}
diff --git a/files/zh-cn/web/css/max-width/index.html b/files/zh-cn/web/css/max-width/index.html
index c059156cad..ee807e175d 100644
--- a/files/zh-cn/web/css/max-width/index.html
+++ b/files/zh-cn/web/css/max-width/index.html
@@ -135,76 +135,7 @@ max-width: unset;
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>7.0</td>
- <td>4.0</td>
- <td>2.0.2 (416),<br>
- buggy before</td>
- </tr>
- <tr>
- <td>applies to <code>&lt;table&gt; </code>[1]</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatVersionUnknown()}}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td rowspan="1"><code>max-content</code>, <code>min-content</code>, <code>fit-content</code>, and <code>fill-</code><code>available</code> {{ experimental_inline() }}</td>
- <td>{{ CompatNo() }} [3]</td>
- <td>{{CompatGeckoDesktop("1.9")}}{{property_prefix("-moz")}} [2]</td>
- <td rowspan="1">{{ CompatNo() }}</td>
- <td rowspan="1">{{ CompatNo() }}</td>
- <td>{{ CompatNo() }} [3]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] CSS 2.1 explicitly leaves the behavior of <code>max-width</code> with {{ HTMLElement("table") }} undefined. Therefore any behavior is CSS2.1-compliant; newer CSS specifications may define this behavior, so Web developers shouldn't rely on a specific one now.</p>
-
-<p>[2] Gecko experimentally implements the definitions given in CSS3 Basic Box. This one defines <code>available</code> and not <code>fill-available</code>. Also the definition of <code>fit-content</code> is simpler than in CSS3 Sizing.</p>
-
-<p>[3] WebKit implements an earlier proposal for setting the height to an intrinsic height: the keywords <code>intrinsic</code>, instead of <code>max-content</code>, and <code>min-intrinsic</code>, instead of <code>min-content</code> There is no equivalent for <code>fill-available</code> or <code>fit-content</code>.</p>
+{{Compat("css.properties.max-width")}}
<h2 id="参考链接">参考链接</h2>
diff --git a/files/zh-cn/web/css/number/index.html b/files/zh-cn/web/css/number/index.html
index ab51b9d680..4e6917e407 100644
--- a/files/zh-cn/web/css/number/index.html
+++ b/files/zh-cn/web/css/number/index.html
@@ -69,61 +69,7 @@ translation_of: Web/CSS/number
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>basic</td>
- <td>1.0</td>
- <td>1.0 (1.0)</td>
- <td>&lt;=5.0</td>
- <td>yes</td>
- <td>1.0 (85)</td>
- </tr>
- <tr>
- <td>Scientific notation</td>
- <td>?</td>
- <td>29</td>
- <td>11</td>
- <td>?</td>
- <td>?</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>yes</td>
- <td>yes</td>
- <td>yes</td>
- <td>yes</td>
- <td>yes</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.types.number")}}
<h2 id="See_also" name="See_also">参见</h2>
diff --git a/files/zh-cn/web/css/order/index.html b/files/zh-cn/web/css/order/index.html
index 37f8da8ae8..c015258757 100644
--- a/files/zh-cn/web/css/order/index.html
+++ b/files/zh-cn/web/css/order/index.html
@@ -81,80 +81,7 @@ order: unset;
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome(21.0) }}{{ property_prefix("-webkit") }}<br>
- 29</td>
- <td>
- <p>{{ CompatGeckoDesktop("18.0") }} (behind a pref) [1][3]<br>
- {{CompatGeckoDesktop("20.0")}}<br>
- 28</p>
- </td>
- <td>
- <p>10.0, but under the non-standard <code>-ms-flex-order</code> name {{ property_prefix("-ms") }}  [2]<br>
- 11</p>
- </td>
- <td>12.10</td>
- <td>
- <p>7 {{ property_prefix("-webkit") }}<br>
- 9</p>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatUnknown }}</td>
- <td>{{ CompatGeckoMobile("18.0") }} (behind a pref) [1]<br>
- {{CompatGeckoMobile("20.0")}}</td>
- <td>{{ CompatUnknown }}</td>
- <td>12.10</td>
- <td>
- <p><span style="font-size: 12px; line-height: 18px;">7 {{ property_prefix("-webkit") }}</span><br>
- <span style="font-size: 12px; line-height: 18px;">9</span></p>
-
- <p> </p>
- </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在 Firefox 18 和 19 中使用弹性布局,需要将 about:config 中 <code>layout.css.flexbox.enabled</code> 设置为 <code>true</code>。从 Firefox 28 起开始完整支持。</p>
-
-<p>Firefox 中不正确地更改元素的 Tab 顺序. 查看 {{bug("812687")}}。</p>
-
-<p>[2] In addition to the unprefixed support, Gecko 48.0 {{geckoRelease("48.0")}} added support for a <code>-webkit</code> prefixed version of the property for web compatibility reasons behind the preference <code>layout.css.prefixes.webkit</code>, defaulting to <code>false</code>. Since Gecko 49.0 {{geckoRelease("49.0")}} the preference defaults to <code>true</code>.</p>
-
-<p>[3] 在 Internet Explorer 10 中,使用 <code>display: -ms-flexbox</code> 来声明弹性盒子。<code>-ms-flex-order</code> 属性是非标准实现。</p>
+{{Compat("css.properties.order")}}
<h2 id="See_also" name="See_also">参考</h2>
diff --git a/files/zh-cn/web/css/outline-offset/index.html b/files/zh-cn/web/css/outline-offset/index.html
index 3d928679a5..e6460afd74 100644
--- a/files/zh-cn/web/css/outline-offset/index.html
+++ b/files/zh-cn/web/css/outline-offset/index.html
@@ -88,50 +88,4 @@ outline-offset: unset;
<h2 id="Browser_Compatibility" name="Browser_Compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.8")}}</td>
- <td>{{ CompatNo() }}</td>
- <td>9.5</td>
- <td>1.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.outline-offset")}}
diff --git a/files/zh-cn/web/css/outline-style/index.html b/files/zh-cn/web/css/outline-style/index.html
index d38b4ed59e..2a0ed4ad9a 100644
--- a/files/zh-cn/web/css/outline-style/index.html
+++ b/files/zh-cn/web/css/outline-style/index.html
@@ -199,74 +199,4 @@ outline-style: unset;
<p>{{Compat("css.properties.outline-style")}}</p>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>1.5 (1.8)<sup>[1]</sup></td>
- <td>8.0</td>
- <td>7.0</td>
- <td>1.2 (125)</td>
- </tr>
- <tr>
- <td><code>auto</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("46")}}</td>
- <td>10</td>
- <td>12</td>
- <td>3.2</td>
- </tr>
- <tr>
- <td><code>auto</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] <a href="/zh-CN/docs/Gecko">Gecko</a> 1.8及以前 (<a href="/zh-CN/docs/Firefox_1.5_for_developers">Firefox 1.5</a>) 该效果可用<a href="/zh-CN/docs/CSS/CSS_Reference/Mozilla_Extensions">Mozilla CSS Extension</a> 实现{{Cssxref("-moz-outline-style")}}.</p>
+{{Compat("css.properties.outline-style")}}
diff --git a/files/zh-cn/web/css/overflow-y/index.html b/files/zh-cn/web/css/overflow-y/index.html
index 08941c82e5..e3dbe4df2b 100644
--- a/files/zh-cn/web/css/overflow-y/index.html
+++ b/files/zh-cn/web/css/overflow-y/index.html
@@ -142,57 +142,7 @@ overflow-y: unset; /*未设置*/
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器支持</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.5")}}</td>
- <td>5.0 [*]</td>
- <td>9.5</td>
- <td>3.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.5")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[*] IE8 引入了属性<code>-ms-overflow-y</code>,作用与<code>overflow-y</code>相同。不要使用前缀<code>-ms-</code>。</p>
+{{Compat("css.properties.overflow-y")}}
<h2 id="See_also" name="See_also">参见</h2>
diff --git a/files/zh-cn/web/css/overflow/index.html b/files/zh-cn/web/css/overflow/index.html
index fc78daee71..42daa56262 100644
--- a/files/zh-cn/web/css/overflow/index.html
+++ b/files/zh-cn/web/css/overflow/index.html
@@ -177,57 +177,7 @@ overflow: scroll hidden;</code></pre>
<h2 id="浏览器兼容性" style="margin-bottom: 20px; font-size: 2.14285714285714rem;">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table" style="border-color: transparent;">
- <tbody>
- <tr>
- <th style="line-height: 16px;">Feature</th>
- <th style="line-height: 16px;">Chrome</th>
- <th style="line-height: 16px;">Firefox (Gecko)</th>
- <th style="line-height: 16px;">Internet Explorer</th>
- <th style="line-height: 16px;">Opera</th>
- <th style="line-height: 16px;">Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1") }}[1]</td>
- <td>4.0[2]</td>
- <td>7.0</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table" style="border-color: transparent;">
- <tbody>
- <tr>
- <th style="line-height: 16px;">Feature</th>
- <th style="line-height: 16px;">Android</th>
- <th style="line-height: 16px;">Firefox Mobile (Gecko)</th>
- <th style="line-height: 16px;">IE Phone</th>
- <th style="line-height: 16px;">Opera Mobile</th>
- <th style="line-height: 16px;">Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> [1] Firefox 3.6 (Gecko 1.9.2)中, <code> overflow 属性被错误地应用到表组元素(&lt;thead&gt;,&lt;tbody&gt;,&lt;tfoot&gt;)中。这个错误在之后的版本中被修复。</code> </p>
-
-<p>[2]Internet Explorer 4 - 6 会扩大一个带有<code>overflow:visible 的元素以适应它的内容。此处</code><code> height/width 的<font face="Open Sans, Arial, sans-serif">作用相当于</font></code><code> min-height/min-width</code>。</p>
+{{Compat("css.properties.overflow")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/padding-bottom/index.html b/files/zh-cn/web/css/padding-bottom/index.html
index d9d588167a..6d86467bc1 100644
--- a/files/zh-cn/web/css/padding-bottom/index.html
+++ b/files/zh-cn/web/css/padding-bottom/index.html
@@ -87,57 +87,7 @@ padding-bottom: unset;
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>1.0 (1.0)</td>
- <td>4.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.padding-bottom")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/padding-inline-start/index.html b/files/zh-cn/web/css/padding-inline-start/index.html
index dca56682c7..acc113a16a 100644
--- a/files/zh-cn/web/css/padding-inline-start/index.html
+++ b/files/zh-cn/web/css/padding-inline-start/index.html
@@ -82,57 +82,7 @@ padding-inline-start: unset;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatGeckoDesktop("41.0")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("41.0") }}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Available since Gecko 38, but behind the preference <code>layout.css.vertical-text.enabled</code>, then disabled by default. The preference has been removed in Gecko 51 and this property cannot be disabled since this version. From Firefox 3, Gecko supports the prefixed <code>-moz-padding-start</code>.</p>
-
-<p>[2] From Chrome 2 and Safari 3, the similar prefixed <code>-webkit-padding-start</code> are supported.</p>
+{{Compat("css.properties.padding-inline-start")}}
<h2 id="也可以看看">也可以看看</h2>
diff --git a/files/zh-cn/web/css/padding-right/index.html b/files/zh-cn/web/css/padding-right/index.html
index b9d591adff..6ec61008a7 100644
--- a/files/zh-cn/web/css/padding-right/index.html
+++ b/files/zh-cn/web/css/padding-right/index.html
@@ -84,57 +84,7 @@ padding-right: unset;
<h2 id="Browser_Compatibility" name="Browser_Compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>1.0 (1.0)</td>
- <td>4.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.padding-right")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/padding-top/index.html b/files/zh-cn/web/css/padding-top/index.html
index 473a0194e5..6d0ad5e996 100644
--- a/files/zh-cn/web/css/padding-top/index.html
+++ b/files/zh-cn/web/css/padding-top/index.html
@@ -86,57 +86,7 @@ padding-top: unset;
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器的兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>1.0 (1.0)</td>
- <td>4.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.padding-top")}}
<h2 id="更多浏览"> 更多浏览</h2>
diff --git a/files/zh-cn/web/css/page-break-after/index.html b/files/zh-cn/web/css/page-break-after/index.html
index 5d83330342..596b72971f 100644
--- a/files/zh-cn/web/css/page-break-after/index.html
+++ b/files/zh-cn/web/css/page-break-after/index.html
@@ -121,75 +121,7 @@ div.footnotes {
<h2 id="Browser_Compatibility" name="Browser_Compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support (<code>auto</code>, <code>always</code>)</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>4.0</td>
- <td>7.0</td>
- <td>1.2 (125)</td>
- </tr>
- <tr>
- <td><code>avoid</code>, <code>left</code>, <code>right</code></td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatNo() }} ({{ bug("132035") }})</td>
- <td>4.0</td>
- <td>7.0</td>
- <td>1.2 (125)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("1.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td><code>avoid</code>, <code>left</code>, <code>right</code></td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatNo() }} ({{ bug("132035") }})</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.page-break-after")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/position_value/index.html b/files/zh-cn/web/css/position_value/index.html
index d96912be34..341106f928 100644
--- a/files/zh-cn/web/css/position_value/index.html
+++ b/files/zh-cn/web/css/position_value/index.html
@@ -81,84 +81,6 @@ translation_of: Web/CSS/position_value
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>4.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- <tr>
- <td>Combination of a keyword and a {{cssxref("&lt;length&gt;")}}, or {{cssxref("&lt;percentage&gt;")}}</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>4.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- <tr>
- <td>Four-value syntax (support for offset from any edge) {{ experimental_inline() }}</td>
- <td>{{ CompatNo() }} {{ webkitbug("37514") }}</td>
- <td>{{ CompatGeckoDesktop("13.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>10.5</td>
- <td>{{ CompatNo() }} {{ webkitbug("37514") }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Combination of a keyword and a {{cssxref("&lt;length&gt;")}}, or {{cssxref("&lt;percentage&gt;")}}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Four-value syntax (support for offset from any edge) {{ experimental_inline() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("13.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.types.position")}}
<h2 id="sect1"> </h2>
diff --git a/files/zh-cn/web/css/resize/index.html b/files/zh-cn/web/css/resize/index.html
index 95f00e5ec9..79f318087f 100644
--- a/files/zh-cn/web/css/resize/index.html
+++ b/files/zh-cn/web/css/resize/index.html
@@ -137,71 +137,7 @@ p {
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support (on {{HTMLElement("textarea")}})</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("2.0")}}{{property_prefix("-moz")}}</td>
- <td>{{CompatNo}}</td>
- <td>12.1</td>
- <td>3.0 (522)</td>
- </tr>
- <tr>
- <td>On any block-level and replaced element, table cell, and inline block element (unless {{cssxref("overflow")}} is <code>visible</code>)</td>
- <td>4.0</td>
- <td>{{CompatGeckoDesktop("5.0")}}[1]</td>
- <td>{{CompatNo}}</td>
- <td>15</td>
- <td>4.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support (on {{HTMLElement("textarea")}})</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>On any block-level and replaced element, table cell, and inline block element (unless {{cssxref("overflow")}} is <code>visible</code>)</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] <code>resize</code> doesn't have any effect on {{HTMLElement("iframe")}} (cf. {{bug(680823)}})</p>
+{{Compat("css.properties.resize")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/scroll-snap-coordinate/index.html b/files/zh-cn/web/css/scroll-snap-coordinate/index.html
index 653df49790..373dbd66d3 100644
--- a/files/zh-cn/web/css/scroll-snap-coordinate/index.html
+++ b/files/zh-cn/web/css/scroll-snap-coordinate/index.html
@@ -148,54 +148,4 @@ scroll-snap-coordinate: unset;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>支持度</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>支持度</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("39.0") }}<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile("39.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Firefox移动版上,从内核Gecko 39开始可用,但是低于 <code>layout.css.vertical-text.enabled</code>优先级,默认不可用。</p>
+{{Compat("css.properties.scroll-snap-coordinate")}}
diff --git a/files/zh-cn/web/css/scroll-snap-destination/index.html b/files/zh-cn/web/css/scroll-snap-destination/index.html
index c2042ca391..86c27e9f69 100644
--- a/files/zh-cn/web/css/scroll-snap-destination/index.html
+++ b/files/zh-cn/web/css/scroll-snap-destination/index.html
@@ -139,54 +139,4 @@ scroll-snap-destination: unset;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>支持度</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>支持度</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("39.0") }}<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile("39.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Firefox移动版上,从内核Gecko 39开始可用,但是低于 <code>layout.css.vertical-text.enabled</code>优先级,默认不可用。</p>
+{{Compat("css.properties.scroll-snap-destination")}}
diff --git a/files/zh-cn/web/css/scroll-snap-points-x/index.html b/files/zh-cn/web/css/scroll-snap-points-x/index.html
index c2b0b3c2fc..878e03b57f 100644
--- a/files/zh-cn/web/css/scroll-snap-points-x/index.html
+++ b/files/zh-cn/web/css/scroll-snap-points-x/index.html
@@ -87,54 +87,4 @@ scroll-snap-points-x: unset;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>支持度</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>9{{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>支持度</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("39.0")}}<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile("39.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>9{{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Firefox移动版上,从内核Gecko 39开始可用,但是低于 <code>layout.css.vertical-text.enabled</code>优先级,默认不可用。</p>
+{{Compat("css.properties.scroll-snap-points-x")}}
diff --git a/files/zh-cn/web/css/scroll-snap-points-y/index.html b/files/zh-cn/web/css/scroll-snap-points-y/index.html
index ad78875020..3401315f5c 100644
--- a/files/zh-cn/web/css/scroll-snap-points-y/index.html
+++ b/files/zh-cn/web/css/scroll-snap-points-y/index.html
@@ -88,54 +88,4 @@ scroll-snap-points-y: unset;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>支持度</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("39.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>9{{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>支持度</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("39.0") }}<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile("39.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>9{{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Firefox移动版上,从内核Gecko 39开始可用,但是低于 <code>layout.css.vertical-text.enabled</code>优先级,默认不可用。</p>
+{{Compat("css.properties.scroll-snap-points-y")}}
diff --git a/files/zh-cn/web/css/string/index.html b/files/zh-cn/web/css/string/index.html
index 01a13db60b..dd2a9a0903 100644
--- a/files/zh-cn/web/css/string/index.html
+++ b/files/zh-cn/web/css/string/index.html
@@ -74,69 +74,4 @@ awesome string"
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>1.0 (1.0)</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{compatVersionUnknown}}</td>
- <td>1.0 (85)</td>
- </tr>
- <tr>
- <td>\xx</td>
- <td>1.0</td>
- <td>1.0 (1.0)</td>
- <td>6.0</td>
- <td>{{compatVersionUnknown}}</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{compatVersionUnknown}}</td>
- <td>{{compatVersionUnknown}}</td>
- <td>{{compatVersionUnknown}}</td>
- <td>{{compatVersionUnknown}}</td>
- <td>{{compatVersionUnknown}}</td>
- <td>{{compatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>\xx</td>
- <td>{{compatVersionUnknown}}</td>
- <td>{{compatVersionUnknown}}</td>
- <td>{{compatVersionUnknown}}</td>
- <td>{{compatVersionUnknown}}</td>
- <td>{{compatVersionUnknown}}</td>
- <td>{{compatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.types.string")}}
diff --git a/files/zh-cn/web/css/text-align/index.html b/files/zh-cn/web/css/text-align/index.html
index b18ab96e5b..9c806d8571 100644
--- a/files/zh-cn/web/css/text-align/index.html
+++ b/files/zh-cn/web/css/text-align/index.html
@@ -348,142 +348,7 @@ some more inline content...</div>
<h2 id="浏览器兼容性" style="margin-bottom: 20px; line-height: 30px;">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support (<code>left</code>, <code>right</code>, <code>center</code> and <code>justify</code>)</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>3.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- <tr>
- <td>Block alignment values {{non-standard_inline}}</td>
- <td>1.0{{property_prefix("-webkit")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}{{property_prefix("-moz")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>1.0 (85){{property_prefix("-khtml")}}<br>
- 1.3 (312){{property_prefix("-webkit")}} [1]</td>
- </tr>
- <tr>
- <td><code>start</code> {{experimental_inline}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>3.1 (525)</td>
- </tr>
- <tr>
- <td><code>end</code> {{experimental_inline}}</td>
- <td>1.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>3.1 (525)</td>
- </tr>
- <tr>
- <td><code>match-parent</code>{{experimental_inline}}</td>
- <td>16</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("40")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td>Block alignment values {{non-standard_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>start</code> {{experimental_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>end</code> {{experimental_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>match-parent</code>{{experimental_inline}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("40")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>true</code>(non-standard syntax){{non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-
-<p>[1] Both WebKit and Gecko supports a prefixed version of <code>left</code>, <code>center</code>, and <code>right</code>, that applies not only to inline content but also to block elements. This is used to implement the legacy {{htmlattrxref("align", "td")}} attributes on some table-related element. Do not use these on production Web sites.</p>
+{{Compat("css.properties.text-align")}}
<h2 id="参见" style="margin-bottom: 20px; line-height: 30px;">参见</h2>
diff --git a/files/zh-cn/web/css/text-justify/index.html b/files/zh-cn/web/css/text-justify/index.html
index 8760107504..d465e9b7e7 100644
--- a/files/zh-cn/web/css/text-justify/index.html
+++ b/files/zh-cn/web/css/text-justify/index.html
@@ -109,63 +109,7 @@ text-justify: distribute; /* 已被废除,不提倡使用 */
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>14<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop("55.0")}}</td>
- <td>11<sup>[1]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>14<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile("55.0")}}</td>
- <td>11<sup>[1]</sup></td>
- <td>{{CompatNo}}<sup>[2]</sup></td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 不支持标准属性值 <code>inter-character</code> 或 <code>none</code> 。但是支持过时的属性值 <code>distribute</code>和废弃属性值 <code>distribute-all-lines</code>、<code>distribute-center-last</code>、<code>inter-cluster</code>、<code>inter-ideograph</code>,以及 <code>newspaper</code>。</p>
-
-<p>[2] 参照了默认的规范,属性值 <code>inter-word</code> 和 <code>distribute</code> 在“实验平台特性”的旗帜下被保留了下来,尽管 <code>distribulte</code> 已经不被提倡使用了。</p>
+{{Compat("css.properties.text-justify")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/css/text-overflow/index.html b/files/zh-cn/web/css/text-overflow/index.html
index 2b648418eb..e2a07ee7e8 100644
--- a/files/zh-cn/web/css/text-overflow/index.html
+++ b/files/zh-cn/web/css/text-overflow/index.html
@@ -308,132 +308,7 @@ text-overflow: unset;</code></pre>
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0 (312.3)</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("7.0")}}<sup>[1]</sup></td>
- <td>6.0<sup>[2]</sup></td>
- <td>9{{property_prefix("-o")}}<sup>[3]</sup><br>
- 11.0</td>
- <td>1.3 (312.3)</td>
- </tr>
- <tr>
- <td>Two-value syntax {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("9.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>String value {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("9.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>fade</code>{{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>fade()</code>{{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("7.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>Two-value syntax {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("9.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>String value {{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("9.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>fade</code>{{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>fade()</code>{{experimental_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-
-<p>[1] 从 Gecko 10.0 {{geckoRelease("10.0")}} 起,修正了text-overflow属性在行内溢出的块级元素两端都溢出的显示效果,早前的版本如果仅仅使用一个属性(比如说<code>text-overflow:ellipsis;</code>),可能会导致块级元素文本两端都会变为省略号,而不是仅仅期望的仅仅在文本末尾显示省略号。</p>
-
-<p>[2] IE 8 提供了带有浏览器前缀的版本, <code>-ms-text-overflow</code>,和text-overflow作用相同。但是并不推荐这样使用。</p>
-
-<p>[3] Opera 9 和 10 要求带有浏览器前缀 <code>-o-text-overflow</code>。</p>
+{{Compat("css.properties.text-overflow")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/css/text-rendering/index.html b/files/zh-cn/web/css/text-rendering/index.html
index 8a3c674df8..32b735b99a 100644
--- a/files/zh-cn/web/css/text-rendering/index.html
+++ b/files/zh-cn/web/css/text-rendering/index.html
@@ -133,79 +133,4 @@ body { text-rendering: optimizeLegibility; }
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support for Windows and Linux</td>
- <td>
- <p>4.0 but the implementation known bugs on Windows and Linux which can break <a href="http://crbug.com/114719">font substitition</a>, <a href="http://crbug.com/51973">small-caps</a>, <a href="http://crbug.com/55458">letter-spacing</a> or cause <a href="http://crbug.com/149548">text to overlap</a></p>
- </td>
- <td><strong>3.0</strong> (1.9)</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>5.0 (532.5)</td>
- </tr>
- <tr>
- <td>Basic support for other operating systems</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>auto</code></td>
- <td>Chrome treats this as <code>optimizeSpeed</code>.<br>
- Work is continuing on{{ Webkitbug("41363") }}</td>
- <td>If the font size is 20 px or higher, Gecko browsers use <code>optimizeLegibility</code>; for smaller text, they use <code>optimizeSpeed</code>.</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>Safari treats this as <code>optimizeSpeed</code>.<br>
- Work is continuing on{{ Webkitbug("41363") }}</td>
- </tr>
- <tr>
- <td><code>geometricPrecision</code></td>
- <td>13 supports true geometric precision, without rounding up or down to the nearest supported font size in the operating system.<br>
- Introduced in WebKit 535.1   {{ Webkitbug("60317") }}</td>
- <td>Gecko treats the value the same as <code>optimizeLegibility</code>.</td>
- <td> {{ CompatNo() }}</td>
- <td> {{ CompatNo() }}</td>
- <td> </td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.text-rendering")}}
diff --git a/files/zh-cn/web/css/text-transform/index.html b/files/zh-cn/web/css/text-transform/index.html
index 6939245741..7ac6c0015e 100644
--- a/files/zh-cn/web/css/text-transform/index.html
+++ b/files/zh-cn/web/css/text-transform/index.html
@@ -253,182 +253,4 @@ strong { width: 100%; float: right; }</code></pre>
<h2 id="浏览器兼容性">浏览器兼容性 </h2>
-<p>{{CompatibilityTable}}</p>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1")}}</td>
- <td>4.0</td>
- <td>7.0</td>
- <td>1.0</td>
- </tr>
- <tr>
- <td><code>capitalize</code>(CSS3 version)</td>
- <td>{{CompatUnknown}}<sup>[1]</sup></td>
- <td>{{CompatGeckoDesktop("14")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}<sup>[1]</sup></td>
- </tr>
- <tr>
- <td><code>full-size-kana</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>full-width</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("19")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>ß</code> → <code>SS</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("1")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>i</code> → <code>İ</code> and <code>ı</code>→ <code>I</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("14")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Dutch <code>IJ</code>digraph</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("14")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Greek accented letters</td>
- <td>30</td>
- <td>{{CompatGeckoDesktop("15")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>Σ</code> → <code>σ</code> or word-final <code>ς</code></td>
- <td>30</td>
- <td>{{CompatGeckoDesktop("14")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>6.0</td>
- </tr>
- </tbody>
-</table>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoMobile("1")}}</td>
- <td>6.0</td>
- <td>6.0</td>
- <td>1.0</td>
- </tr>
- <tr>
- <td><code>capitalize</code>(CSS3 version)</td>
- <td>{{CompatUnknown}}<sup>[1]</sup></td>
- <td>{{CompatGeckoMobile("14")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}<sup>[1]</sup></td>
- </tr>
- <tr>
- <td><code>full-size-kana</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>full-width</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("19")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>ß</code> → <code>SS</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("1")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>i</code> → <code>İ</code> and <code>ı</code>→ <code>I</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("14")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Dutch <code>IJ</code>digraph</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("14")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>Greek accented letters</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>Σ</code> → <code>σ</code> or word-final <code>ς</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile("14")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-
-<p>[1] The <code>capitalize</code> keyword was under-specified in CSS 1 and CSS 2.1. There were differences between browsers in the way the first letter was calculated (Firefox considered - and _ as letters, but not the others. Both Webkit and Gecko incorrectly considered letter-based symbols like <code>ⓐ</code> to be real letters. Internet Explorer 9 was the closest to the CSS 2 definition, but with some weird cases). By precisely defining the correct behavior, CSS Text Level 3 cleans this mess up. The <code>capitalize</code> line in the browser compatibility table contains the version the different engines started to support this now precisely defined behavior.</p>
-
-<p> </p>
-
-<p>/////////////////////////////////////////////////////////////////////////////////////////////////////////////////</p>
-
-<p> </p>
+{{Compat("css.properties.text-transform")}}
diff --git a/files/zh-cn/web/css/transform-box/index.html b/files/zh-cn/web/css/transform-box/index.html
index b2ba704cf3..b67283c99a 100644
--- a/files/zh-cn/web/css/transform-box/index.html
+++ b/files/zh-cn/web/css/transform-box/index.html
@@ -62,57 +62,7 @@ transform-box: unset;
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{ CompatibilityTable }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatGeckoDesktop("41.0")}}<sup>[1]</sup></td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatNo()}}</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatGeckoDesktop("41.0")}}<sup>[1]</sup></td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- <td>{{CompatUnknown()}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This property is implemented in Gecko 43.0 {{geckoRelease("43")}} behind the preference <code>svg.transform-box.enabled</code>, defaulting to <code>false</code>. Initially it was implemented in Gecko 41.0 {{geckoRelease("41")}} with the preference named <code>svg.transform-origin.enabled</code>. See {{bug("923193")}} and {{bug("1208550")}}.</p>
+{{Compat("css.properties.transform-box")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/transition-delay/index.html b/files/zh-cn/web/css/transition-delay/index.html
index 3492c90d67..8859c3b34b 100644
--- a/files/zh-cn/web/css/transition-delay/index.html
+++ b/files/zh-cn/web/css/transition-delay/index.html
@@ -336,59 +336,7 @@ var intervalID = window.setInterval(updateTransition, 7000);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>?特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>1.0 {{property_prefix("-webkit")}}</td>
- <td>{{CompatGeckoDesktop("2.0")}} {{property_prefix("-moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</td>
- <td>10.0</td>
- <td>11.6 {{property_prefix("-o")}}<br>
- 12.10</td>
- <td>3.0 {{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>2.1 {{property_prefix("-webkit")}}</td>
- <td>{{CompatGeckoMobile("2.0")}} {{property_prefix("-moz")}}<br>
- {{CompatGeckoMobile("16.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>10.0 {{property_prefix("-o")}}<br>
- 12.10<sup>[1]</sup></td>
- <td>3.2 {{property_prefix("-webkit")}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 详见 <a href="http://my.opera.com/ODIN/blog/2012/08/03/a-hot-opera-12-50-summer-time-snapshot">blog post about Opera 12.50</a>.</p>
+{{Compat("css.properties.transition-delay")}}
<h2 id="扩展阅读">扩展阅读</h2>
diff --git a/files/zh-cn/web/css/transition-duration/index.html b/files/zh-cn/web/css/transition-duration/index.html
index bb5d632a36..ce41084bd1 100644
--- a/files/zh-cn/web/css/transition-duration/index.html
+++ b/files/zh-cn/web/css/transition-duration/index.html
@@ -323,57 +323,7 @@ var intervalID = window.setInterval(updateTransition, 7000);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0 {{ property_prefix("-webkit") }}</td>
- <td>{{ CompatGeckoDesktop("2.0") }} {{ property_prefix("-moz") }}<br>
- {{ CompatGeckoDesktop("16.0") }}</td>
- <td>10.0</td>
- <td>11.6 {{ property_prefix("-o") }}<br>
- 12.10 <a href="http://my.opera.com/ODIN/blog/2012/08/03/a-hot-opera-12-50-summer-time-snapshot">#</a></td>
- <td>3.0 {{ property_prefix("-webkit") }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.1 {{ property_prefix("-webkit") }}</td>
- <td>{{ CompatGeckoMobile("2.0") }} {{ property_prefix("-moz") }}<br>
- {{ CompatGeckoMobile("16.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>10.0 {{ property_prefix("-o") }}<br>
- 12.10 <a href="http://my.opera.com/ODIN/blog/2012/08/03/a-hot-opera-12-50-summer-time-snapshot">#</a></td>
- <td>3.2 {{ property_prefix("-webkit") }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.transition-duration")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/css/transition-property/index.html b/files/zh-cn/web/css/transition-property/index.html
index 36a3372c14..2753f6f3f8 100644
--- a/files/zh-cn/web/css/transition-property/index.html
+++ b/files/zh-cn/web/css/transition-property/index.html
@@ -75,75 +75,7 @@ transition-property: unset;
<h2 id="浏览器兼容">浏览器兼容</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}</td>
- <td>{{CompatGeckoDesktop("2.0")}} {{property_prefix("-moz")}}<br>
- {{CompatGeckoDesktop("16.0")}}</td>
- <td>10</td>
- <td>11.6{{property_prefix("-o")}}<br>
- 12.10 <a href="http://my.opera.com/ODIN/blog/2012/08/03/a-hot-opera-12-50-summer-time-snapshot">#</a></td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}</td>
- </tr>
- <tr>
- <td><code>IDENT value</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>12.10 {{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}</td>
- <td>{{CompatGeckoMobile("2.0")}} {{property_prefix("-moz")}}<br>
- {{CompatGeckoMobile("16.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}} {{property_prefix("-webkit")}}</td>
- </tr>
- <tr>
- <td><code>IDENT value</code></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.transition-property")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/css/transition-timing-function/index.html b/files/zh-cn/web/css/transition-timing-function/index.html
index e01f97037c..6c84e2e9b6 100644
--- a/files/zh-cn/web/css/transition-timing-function/index.html
+++ b/files/zh-cn/web/css/transition-timing-function/index.html
@@ -571,58 +571,7 @@ var intervalID = window.setInterval(updateTransition, 7000);
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}{{ property_prefix("-moz") }}<br>
- {{ CompatGeckoDesktop("16.0") }}</td>
- <td>10</td>
- <td>11.6{{ property_prefix("-o") }}<br>
- 12.10 <a href="http://my.opera.com/ODIN/blog/2012/08/03/a-hot-opera-12-50-summer-time-snapshot">#</a></td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}</td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}</td>
- <td>{{ CompatGeckoMobile("2.0") }}{{ property_prefix("-moz") }}<br>
- {{ CompatGeckoMobile("16.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}{{ property_prefix("-webkit") }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.transition-timing-function")}}
<h2 id="参考">参考</h2>
diff --git a/files/zh-cn/web/css/type_selectors/index.html b/files/zh-cn/web/css/type_selectors/index.html
index 5c406694e9..1375d55ca7 100644
--- a/files/zh-cn/web/css/type_selectors/index.html
+++ b/files/zh-cn/web/css/type_selectors/index.html
@@ -69,54 +69,6 @@ translation_of: Web/CSS/Type_selectors
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.type")}}
<h2 id="See_also" name="See_also">See also</h2>
diff --git a/files/zh-cn/web/css/universal_selectors/index.html b/files/zh-cn/web/css/universal_selectors/index.html
index 0289c4f3e3..28f0a0ba34 100644
--- a/files/zh-cn/web/css/universal_selectors/index.html
+++ b/files/zh-cn/web/css/universal_selectors/index.html
@@ -72,71 +72,6 @@ translation_of: Web/CSS/Universal_selectors
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>7</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Combination with namespace support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("1") }}</td>
- <td>9</td>
- <td>8</td>
- <td>1.3</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- <tr>
- <td>Combination with namespace support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.selectors.universal")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/css/url()/index.html b/files/zh-cn/web/css/url()/index.html
index 2199ca83ed..85f9f27cc5 100644
--- a/files/zh-cn/web/css/url()/index.html
+++ b/files/zh-cn/web/css/url()/index.html
@@ -79,50 +79,4 @@ original_slug: Web/CSS/url
<h2 id="Browser_Compatibility" name="Browser_Compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>1.0</td>
- <td>1.0 (1.0)</td>
- <td>3.0</td>
- <td>3.5</td>
- <td>1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>1.0</td>
- <td>1.0 (3.5)</td>
- <td>yes</td>
- <td>yes</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.types.url")}}
diff --git a/files/zh-cn/web/css/will-change/index.html b/files/zh-cn/web/css/will-change/index.html
index 8ae9374a37..4628f932b5 100644
--- a/files/zh-cn/web/css/will-change/index.html
+++ b/files/zh-cn/web/css/will-change/index.html
@@ -113,52 +113,4 @@ function removeHint() {
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(36)}}</td>
- <td>{{CompatGeckoDesktop(36)}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera(24)}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>37</td>
- <td>{{CompatGeckoMobile(36)}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在 Firefox 31 到 35 中,需要在 <code>about:config</code> 中开启 <code>layout.css.will-change.enabled</code> 选项。</p>
+{{Compat("css.properties.will-change")}}
diff --git a/files/zh-cn/web/css/word-spacing/index.html b/files/zh-cn/web/css/word-spacing/index.html
index 914fa1a7d6..92c9872b81 100644
--- a/files/zh-cn/web/css/word-spacing/index.html
+++ b/files/zh-cn/web/css/word-spacing/index.html
@@ -112,50 +112,4 @@ word-spacing: inherit;</code></pre>
<h2 id="Browser_compatibility" name="Browser_compatibility" style="margin: 0px 0px 20px; padding: 0px; border: 0px; word-wrap: break-word; font-family: 'Open Sans', Arial, sans-serif; line-height: 1; font-size: 2.14285714285714rem; letter-spacing: -1px; color: rgb(77, 78, 83); background-color: rgb(255, 255, 255);">Browser compatibility</h2>
-<p style="margin: 0px 0px 24px; padding: 0px; border: 0px; color: rgb(77, 78, 83); font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; line-height: 21px; background-color: rgb(255, 255, 255);">{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop" style="margin: 0px; padding: 0px; border: 0px; color: rgb(77, 78, 83); font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; line-height: 21px; background-color: rgb(255, 255, 255);">
-<table class="compat-table" style="border-collapse: collapse; border: 1px solid transparent; margin: 0px; padding: 0px;">
- <tbody>
- <tr style="margin: 0px; padding: 0px; border: 0px;">
- <th style="margin: 0px; padding: 2px 4px 8px; border: 1px solid rgba(212, 221, 228, 0); font-style: inherit; font-weight: 200; font-family: 'Open Sans Light', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px; background: 0px 0px;">Feature</th>
- <th style="margin: 0px; padding: 2px 4px 8px; border: 1px solid rgba(212, 221, 228, 0); font-style: inherit; font-weight: 200; font-family: 'Open Sans Light', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px; background: 0px 0px;">Chrome</th>
- <th style="margin: 0px; padding: 2px 4px 8px; border: 1px solid rgba(212, 221, 228, 0); font-style: inherit; font-weight: 200; font-family: 'Open Sans Light', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px; background: 0px 0px;">Firefox (Gecko)</th>
- <th style="margin: 0px; padding: 2px 4px 8px; border: 1px solid rgba(212, 221, 228, 0); font-style: inherit; font-weight: 200; font-family: 'Open Sans Light', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px; background: 0px 0px;">Internet Explorer</th>
- <th style="margin: 0px; padding: 2px 4px 8px; border: 1px solid rgba(212, 221, 228, 0); font-style: inherit; font-weight: 200; font-family: 'Open Sans Light', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px; background: 0px 0px;">Opera</th>
- <th style="margin: 0px; padding: 2px 4px 8px; border: 1px solid rgba(212, 221, 228, 0); font-style: inherit; font-weight: 200; font-family: 'Open Sans Light', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px; background: 0px 0px;">Safari</th>
- </tr>
- <tr style="margin: 0px; padding: 0px; border: 0px;">
- <td style="margin: 0px; padding: 5px; border: 1px solid rgba(212, 221, 228, 0.247059); font-size: 12px; vertical-align: top; word-wrap: break-word; background-clip: initial;">Basic support</td>
- <td style="margin: 0px; padding: 5px; border: 1px solid rgba(212, 221, 228, 0.247059); font-size: 12px; vertical-align: top; word-wrap: break-word; background-clip: initial;">1.0</td>
- <td style="margin: 0px; padding: 5px; border: 1px solid rgba(212, 221, 228, 0.247059); font-size: 12px; vertical-align: top; word-wrap: break-word; background-clip: initial;">{{ CompatGeckoDesktop("1.0") }}</td>
- <td style="margin: 0px; padding: 5px; border: 1px solid rgba(212, 221, 228, 0.247059); font-size: 12px; vertical-align: top; word-wrap: break-word; background-clip: initial;">6.0</td>
- <td style="margin: 0px; padding: 5px; border: 1px solid rgba(212, 221, 228, 0.247059); font-size: 12px; vertical-align: top; word-wrap: break-word; background-clip: initial;">3.5</td>
- <td style="margin: 0px; padding: 5px; border: 1px solid rgba(212, 221, 228, 0.247059); font-size: 12px; vertical-align: top; word-wrap: break-word; background-clip: initial;">1.0 (85)</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile" style="margin: 0px; padding: 0px; border: 0px; color: rgb(77, 78, 83); font-family: 'Open Sans', Arial, sans-serif; font-size: 14px; line-height: 21px; background-color: rgb(255, 255, 255);">
-<table class="compat-table" style="border-collapse: collapse; border: 1px solid transparent; margin: 0px; padding: 0px;">
- <tbody>
- <tr style="margin: 0px; padding: 0px; border: 0px;">
- <th style="margin: 0px; padding: 2px 4px 8px; border: 1px solid rgba(212, 221, 228, 0); font-style: inherit; font-weight: 200; font-family: 'Open Sans Light', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px; background: 0px 0px;">Feature</th>
- <th style="margin: 0px; padding: 2px 4px 8px; border: 1px solid rgba(212, 221, 228, 0); font-style: inherit; font-weight: 200; font-family: 'Open Sans Light', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px; background: 0px 0px;">Android</th>
- <th style="margin: 0px; padding: 2px 4px 8px; border: 1px solid rgba(212, 221, 228, 0); font-style: inherit; font-weight: 200; font-family: 'Open Sans Light', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px; background: 0px 0px;">Firefox Mobile (Gecko)</th>
- <th style="margin: 0px; padding: 2px 4px 8px; border: 1px solid rgba(212, 221, 228, 0); font-style: inherit; font-weight: 200; font-family: 'Open Sans Light', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px; background: 0px 0px;">IE Mobile</th>
- <th style="margin: 0px; padding: 2px 4px 8px; border: 1px solid rgba(212, 221, 228, 0); font-style: inherit; font-weight: 200; font-family: 'Open Sans Light', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px; background: 0px 0px;">Opera Mobile</th>
- <th style="margin: 0px; padding: 2px 4px 8px; border: 1px solid rgba(212, 221, 228, 0); font-style: inherit; font-weight: 200; font-family: 'Open Sans Light', Helvetica, Arial, sans-serif; font-size: 16px; line-height: 16px; background: 0px 0px;">Safari Mobile</th>
- </tr>
- <tr style="margin: 0px; padding: 0px; border: 0px;">
- <td style="margin: 0px; padding: 5px; border: 1px solid rgba(212, 221, 228, 0.247059); font-size: 12px; vertical-align: top; word-wrap: break-word; background-clip: initial;">Basic support</td>
- <td style="margin: 0px; padding: 5px; border: 1px solid rgba(212, 221, 228, 0.247059); font-size: 12px; vertical-align: top; word-wrap: break-word; background-clip: initial;">{{ CompatUnknown() }}</td>
- <td style="margin: 0px; padding: 5px; border: 1px solid rgba(212, 221, 228, 0.247059); font-size: 12px; vertical-align: top; word-wrap: break-word; background-clip: initial;">{{ CompatUnknown() }}</td>
- <td style="margin: 0px; padding: 5px; border: 1px solid rgba(212, 221, 228, 0.247059); font-size: 12px; vertical-align: top; word-wrap: break-word; background-clip: initial;">{{ CompatUnknown() }}</td>
- <td style="margin: 0px; padding: 5px; border: 1px solid rgba(212, 221, 228, 0.247059); font-size: 12px; vertical-align: top; word-wrap: break-word; background-clip: initial;">{{ CompatUnknown() }}</td>
- <td style="margin: 0px; padding: 5px; border: 1px solid rgba(212, 221, 228, 0.247059); font-size: 12px; vertical-align: top; word-wrap: break-word; background-clip: initial;">{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("css.properties.word-spacing")}}
diff --git a/files/zh-cn/web/html/cors_enabled_image/index.html b/files/zh-cn/web/html/cors_enabled_image/index.html
index 3c5f89b27d..7e99cff44a 100644
--- a/files/zh-cn/web/html/cors_enabled_image/index.html
+++ b/files/zh-cn/web/html/cors_enabled_image/index.html
@@ -105,55 +105,7 @@ translation_of: Web/HTML/CORS_enabled_image
<p>您可以在 Glitch 上<a href="https://cors-image-example.glitch.me">尝试</a>或<a href="https://glitch.com/edit/#!/remix/cors-image-example">重写</a>此例子。</p>
-<h2 id="浏览器兼容性">浏览器兼容性</h2>
-
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>13</td>
- <td>8</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基础支持</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+
<h2 id="另请参阅">另请参阅</h2>
diff --git a/files/zh-cn/web/html/element/acronym/index.html b/files/zh-cn/web/html/element/acronym/index.html
index ec8bbd958b..7f01f62e32 100644
--- a/files/zh-cn/web/html/element/acronym/index.html
+++ b/files/zh-cn/web/html/element/acronym/index.html
@@ -63,53 +63,7 @@ translation_of: Web/HTML/Element/acronym
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.acronym")}}
<h2 id="See_also" name="See_also">另见</h2>
diff --git a/files/zh-cn/web/html/element/applet/index.html b/files/zh-cn/web/html/element/applet/index.html
index 0c9ae20904..071b788231 100644
--- a/files/zh-cn/web/html/element/applet/index.html
+++ b/files/zh-cn/web/html/element/applet/index.html
@@ -63,55 +63,7 @@ translation_of: Web/HTML/Element/applet
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特征</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特征</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mini</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.applet")}}
<h2 id="注意">注意</h2>
diff --git a/files/zh-cn/web/html/element/area/index.html b/files/zh-cn/web/html/element/area/index.html
index f30e273215..f84e54c987 100644
--- a/files/zh-cn/web/html/element/area/index.html
+++ b/files/zh-cn/web/html/element/area/index.html
@@ -142,55 +142,7 @@ translation_of: Web/HTML/Element/area
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mini</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.area")}}
<h2 id="注意">注意</h2>
diff --git a/files/zh-cn/web/html/element/b/index.html b/files/zh-cn/web/html/element/b/index.html
index a9758d7016..c9c430ebb2 100644
--- a/files/zh-cn/web/html/element/b/index.html
+++ b/files/zh-cn/web/html/element/b/index.html
@@ -107,57 +107,7 @@ Keywords are displayed with the default style of the &lt;b&gt; element, likely i
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.b")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/html/element/basefont/index.html b/files/zh-cn/web/html/element/basefont/index.html
index f8cffd6ba2..b9ba5ebffe 100644
--- a/files/zh-cn/web/html/element/basefont/index.html
+++ b/files/zh-cn/web/html/element/basefont/index.html
@@ -46,57 +46,7 @@ translation_of: Web/HTML/Element/basefont
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.basefont")}}
<h2 id="备注">备注</h2>
diff --git a/files/zh-cn/web/html/element/bgsound/index.html b/files/zh-cn/web/html/element/bgsound/index.html
index 6aa97f9f7c..6b9805c3b2 100644
--- a/files/zh-cn/web/html/element/bgsound/index.html
+++ b/files/zh-cn/web/html/element/bgsound/index.html
@@ -41,55 +41,7 @@ translation_of: Web/HTML/Element/bgsound
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Up to Firefox 22, even if not supporting this element, Gecko was associating it an {{domxref("HTMLSpanElement")}}. This was fixed then and now the associated element is an {{domxref("HTMLUnknownElement")}} as required by the specification.</p>
+{{Compat("html.elements.bgsound")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/html/element/big/index.html b/files/zh-cn/web/html/element/big/index.html
index eff8d2cc7c..c91a99f0e8 100644
--- a/files/zh-cn/web/html/element/big/index.html
+++ b/files/zh-cn/web/html/element/big/index.html
@@ -43,57 +43,7 @@ translation_of: Web/HTML/Element/big
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.big")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/html/element/blink/index.html b/files/zh-cn/web/html/element/blink/index.html
index 93fb766928..3fd4695a79 100644
--- a/files/zh-cn/web/html/element/blink/index.html
+++ b/files/zh-cn/web/html/element/blink/index.html
@@ -30,57 +30,7 @@ translation_of: Web/HTML/Element/blink
<h2 id="浏览器兼容">浏览器兼容</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Supported until version 22. Removed in version 23.</p>
-
-<p>[2] Supported until version 12.1. Removed in version 15.0.</p>
+{{Compat("html.elements.blink")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/html/element/caption/index.html b/files/zh-cn/web/html/element/caption/index.html
index 3482c5b47a..1f2346340b 100644
--- a/files/zh-cn/web/html/element/caption/index.html
+++ b/files/zh-cn/web/html/element/caption/index.html
@@ -89,53 +89,7 @@ translation_of: Web/HTML/Element/caption
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.caption")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/html/element/code/index.html b/files/zh-cn/web/html/element/code/index.html
index 974d1aafeb..30647ec830 100644
--- a/files/zh-cn/web/html/element/code/index.html
+++ b/files/zh-cn/web/html/element/code/index.html
@@ -50,51 +50,8 @@ translation_of: Web/HTML/Element/code
</tbody>
</table>
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-<div id="compat-desktop">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
- </table>
-</div>
-<div id="compat-mobile">
- <table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
- </table>
-</div>
+{{Compat("html.elements.code")}}
+
<h2 id="See_also" name="See_also">See also</h2>
<ul>
<li>{{HTMLElement("samp")}}</li>
diff --git a/files/zh-cn/web/html/element/col/index.html b/files/zh-cn/web/html/element/col/index.html
index 367ae6d8b8..eb62564571 100644
--- a/files/zh-cn/web/html/element/col/index.html
+++ b/files/zh-cn/web/html/element/col/index.html
@@ -192,101 +192,7 @@ translation_of: Web/HTML/Element/col
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>align/valign</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}} {{bug(915)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>char/charoff</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}} {{bug(2212)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>bgcolor</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>align/valign</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}} {{bug(915)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>char/charoff</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}} {{bug(2212)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>bgcolor</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.col")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/html/element/content/index.html b/files/zh-cn/web/html/element/content/index.html
index 21f0f196cd..9d321836d4 100644
--- a/files/zh-cn/web/html/element/content/index.html
+++ b/files/zh-cn/web/html/element/content/index.html
@@ -100,55 +100,7 @@ translation_of: Web/HTML/Element/content
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>35</td>
- <td><span style="font-size: 12px; line-height: 18px;">{{CompatGeckoDesktop("28")}}</span> [1]</td>
- <td>{{CompatNo}}</td>
- <td>26</td>
- <td><span style="font-size: 12px; line-height: 18px;">{{CompatNo}}</span></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>37</td>
- <td>{{CompatGeckoMobile("28")}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 如果 Shadow DOM 在 Firefox 中没有开启, <code>&lt;content&gt; </code>元素会表现为<code> </code>domxref("HTMLUnknownElement")}}。Shadow DOM 首先在 Firefox 33 中实现,并且在首选项 <code>dom.webcomponents.enabled </code>背后,它默认是关闭的。</p>
+{{Compat("html.elements.content")}}
<h2 id="See_also" name="See_also">另见</h2>
diff --git a/files/zh-cn/web/html/element/dd/index.html b/files/zh-cn/web/html/element/dd/index.html
index 0810f9908c..ce627b9bd6 100644
--- a/files/zh-cn/web/html/element/dd/index.html
+++ b/files/zh-cn/web/html/element/dd/index.html
@@ -82,55 +82,7 @@ translation_of: Web/HTML/Element/dd
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Up to Gecko 1.9.2 (Firefox 4) inclusive, Firefox implements the <a href="/en-US/docs/DOM/span" title="DOM/span"><span style="font-family: courier new;">HTMLSpanElement</span></a> interface for this element.</p>
+{{Compat("html.elements.dd")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/html/element/dfn/index.html b/files/zh-cn/web/html/element/dfn/index.html
index c0b6570808..a13ebe63f2 100644
--- a/files/zh-cn/web/html/element/dfn/index.html
+++ b/files/zh-cn/web/html/element/dfn/index.html
@@ -108,53 +108,7 @@ translation_of: Web/HTML/Element/dfn
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.dfn")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/html/element/dl/index.html b/files/zh-cn/web/html/element/dl/index.html
index 30b42ef8bb..eceefc3085 100644
--- a/files/zh-cn/web/html/element/dl/index.html
+++ b/files/zh-cn/web/html/element/dl/index.html
@@ -172,53 +172,7 @@ translation_of: Web/HTML/Element/dl
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.dl")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/html/element/dt/index.html b/files/zh-cn/web/html/element/dt/index.html
index 83caa4d909..6408d422dc 100644
--- a/files/zh-cn/web/html/element/dt/index.html
+++ b/files/zh-cn/web/html/element/dt/index.html
@@ -59,53 +59,7 @@ translation_of: Web/HTML/Element/dt
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.dt")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/html/element/em/index.html b/files/zh-cn/web/html/element/em/index.html
index a8f83c8958..63cab944ee 100644
--- a/files/zh-cn/web/html/element/em/index.html
+++ b/files/zh-cn/web/html/element/em/index.html
@@ -84,53 +84,7 @@ translation_of: Web/HTML/Element/em
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特征</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.em")}}
<h2 id="See_also" name="See_also">了解更多</h2>
diff --git a/files/zh-cn/web/html/element/figcaption/index.html b/files/zh-cn/web/html/element/figcaption/index.html
index f75af29512..bb4b182c1d 100644
--- a/files/zh-cn/web/html/element/figcaption/index.html
+++ b/files/zh-cn/web/html/element/figcaption/index.html
@@ -70,53 +70,7 @@ translation_of: Web/HTML/Element/figcaption
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>8</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>9.0</td>
- <td>11.10</td>
- <td>5.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>3.0</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>9.0</td>
- <td>11.0</td>
- <td>5.1 (iOS 5.0)</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.figcaption")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/html/element/hgroup/index.html b/files/zh-cn/web/html/element/hgroup/index.html
index 393e922126..01d5aa8708 100644
--- a/files/zh-cn/web/html/element/hgroup/index.html
+++ b/files/zh-cn/web/html/element/hgroup/index.html
@@ -115,53 +115,7 @@ translation_of: Web/HTML/Element/hgroup
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>5</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>9.0</td>
- <td>11.10</td>
- <td>4.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.2</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>9.0</td>
- <td>11.0</td>
- <td>5.0</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.hgroup")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/html/element/i/index.html b/files/zh-cn/web/html/element/i/index.html
index b415ade597..b4051d1351 100644
--- a/files/zh-cn/web/html/element/i/index.html
+++ b/files/zh-cn/web/html/element/i/index.html
@@ -76,52 +76,4 @@ mentioned in music, art, and literature&lt;/p&gt;
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>{{HTMLRef}}</p>
+{{Compat("html.elements.i")}}
diff --git a/files/zh-cn/web/html/element/input/button/index.html b/files/zh-cn/web/html/element/input/button/index.html
index 61a701e3ae..5dbd8ca3c8 100644
--- a/files/zh-cn/web/html/element/input/button/index.html
+++ b/files/zh-cn/web/html/element/input/button/index.html
@@ -133,113 +133,7 @@ translation_of: Web/HTML/Element/input/button
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Google Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>
- <p>IE</p>
- </th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>formenctype</code> attribute</td>
- <td>9.0</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>10</td>
- <td>10.6</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>formmethod</code> attribute</td>
- <td>9.0</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>10</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>autofocus</code> attribute</td>
- <td>9.0</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>10</td>
- <td>9.6</td>
- <td>5.0</td>
- </tr>
- <tr>
- <td><code>formaction</code> attribute</td>
- <td>9.0</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>10</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox 移动版 (Gecko)</th>
- <th>IE 移动版</th>
- <th>Opera 移动版</th>
- <th>Safari 移动版</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>formenctype</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>formmethod</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>formaction</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p> </p>
+{{Compat("html.elements.input.input-button")}}
<h2 id="更多">更多</h2>
diff --git a/files/zh-cn/web/html/element/input/checkbox/index.html b/files/zh-cn/web/html/element/input/checkbox/index.html
index aeb7784bd1..0554028f27 100644
--- a/files/zh-cn/web/html/element/input/checkbox/index.html
+++ b/files/zh-cn/web/html/element/input/checkbox/index.html
@@ -71,67 +71,4 @@ translation_of: Web/HTML/Element/input/checkbox
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.7 or earlier")}}</td>
- <td>2 or earlier</td>
- <td>1.0</td>
- <td>1.0</td>
- </tr>
- <tr>
- <td>type=checkbox</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.7 or earlier")}}<br>
- {{CompatGeckoDesktop("1.9.2")}} for <code>indeterminate</code> value</td>
- <td>2</td>
- <td>1.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>type=checkbox</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.input.input-checkbox")}}
diff --git a/files/zh-cn/web/html/element/input/color/index.html b/files/zh-cn/web/html/element/input/color/index.html
index dbf1d2c6c6..b6e72c199d 100644
--- a/files/zh-cn/web/html/element/input/color/index.html
+++ b/files/zh-cn/web/html/element/input/color/index.html
@@ -150,71 +150,4 @@ colorPicker<span class="punctuation token">.</span><span class="function token">
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>1.0</td>
- <td>12</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>2</td>
- <td>1.0</td>
- <td>1.0</td>
- </tr>
- <tr>
- <td>type="color"</td>
- <td>20.0</td>
- <td>38</td>
- <td>{{CompatGeckoDesktop("29.0")}} <sup><a href="#footnote_1">[1]</a></sup></td>
- <td>{{CompatNo}}</td>
- <td>11.01</td>
- <td>10</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特性</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>type=color</td>
- <td>4.4</td>
- <td>{{CompatGeckoDesktop("27.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p id="footnote_1">[1]  在 Windows Touch 上尚未实现。</p>
+{{Compat("html.elements.input.input-color")}}
diff --git a/files/zh-cn/web/html/element/input/date/index.html b/files/zh-cn/web/html/element/input/date/index.html
index 1ec9f893fd..9f7cf097a1 100644
--- a/files/zh-cn/web/html/element/input/date/index.html
+++ b/files/zh-cn/web/html/element/input/date/index.html
@@ -441,61 +441,7 @@ daySelect.onchange = function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>20</td>
- <td>12</td>
- <td>{{CompatGeckoDesktop(57)}}</td>
- <td>{{CompatNo}}</td>
- <td>10.62</td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(57)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>10.62</td>
- <td>5</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] It is recognized but there is no UI.</p>
+{{Compat("html.elements.input.input-date")}}
<h2 id="也可以参见">也可以参见</h2>
diff --git a/files/zh-cn/web/html/element/input/number/index.html b/files/zh-cn/web/html/element/input/number/index.html
index 41fc88d92b..0976de7d73 100644
--- a/files/zh-cn/web/html/element/input/number/index.html
+++ b/files/zh-cn/web/html/element/input/number/index.html
@@ -350,60 +350,7 @@ switchBtn.addEventListener('click', function() {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>iOS WebKit<br>
- <sup><sub>(Safari/Chrome/Firefox/etc.)</sub></sup></th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.input.input-number")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/html/element/input/tel/index.html b/files/zh-cn/web/html/element/input/tel/index.html
index 576fb67d77..8e2e6d64ed 100644
--- a/files/zh-cn/web/html/element/input/tel/index.html
+++ b/files/zh-cn/web/html/element/input/tel/index.html
@@ -422,60 +422,7 @@ input:valid+span:after {
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>10</td>
- <td>10.62</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>iOS WebKit<br>
- <sup><sub>(Safari/Chrome/Firefox/etc)</sub></sup></th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.input.input-tel")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/html/element/kbd/index.html b/files/zh-cn/web/html/element/kbd/index.html
index 619e694059..cd65a34656 100644
--- a/files/zh-cn/web/html/element/kbd/index.html
+++ b/files/zh-cn/web/html/element/kbd/index.html
@@ -94,53 +94,7 @@ translation_of: Web/HTML/Element/kbd
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.kbd")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/html/element/keygen/index.html b/files/zh-cn/web/html/element/keygen/index.html
index c242e69048..04a0803d8b 100644
--- a/files/zh-cn/web/html/element/keygen/index.html
+++ b/files/zh-cn/web/html/element/keygen/index.html
@@ -127,58 +127,4 @@ translation_of: Web/HTML/Element/keygen
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{compatChrome(1.0)}} [1]</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>3.0</td>
- <td>1.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>2.3</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Deprecated in Chrome 49.</p>
-
-<p>{{HTMLRef}}</p>
+{{Compat("html.elements.keygen")}}
diff --git a/files/zh-cn/web/html/element/li/index.html b/files/zh-cn/web/html/element/li/index.html
index b9e59a4a13..998afe8ae6 100644
--- a/files/zh-cn/web/html/element/li/index.html
+++ b/files/zh-cn/web/html/element/li/index.html
@@ -141,53 +141,7 @@ translation_of: Web/HTML/Element/li
<h2 id="浏览兼容性">浏览兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.li")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/html/element/map/index.html b/files/zh-cn/web/html/element/map/index.html
index b62562bf05..4408f92848 100644
--- a/files/zh-cn/web/html/element/map/index.html
+++ b/files/zh-cn/web/html/element/map/index.html
@@ -97,70 +97,7 @@ translation_of: Web/HTML/Element/map
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop(1.0)}}<sup>[1]</sup><br>
- {{CompatGeckoDesktop(5.0)}}<sup>[2]</sup><br>
- {{CompatGeckoDesktop(17.0)}}<sup>[3]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>1.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoMobile(1.0)}}<sup>[1]</sup><br>
- {{CompatGeckoMobile(5.0)}}<sup>[2]</sup><br>
- {{CompatGeckoMobile(17.0)}}<sup>[3]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>1.0</td>
- <td>1.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 从 Gecko 5.0 {{geckoRelease("5.0")}} 起,空的映射不再略过,以支持兼容模式匹配时的非空映射。例如,考虑下面的 HTML: </p>
-
-<pre class="brush: html notranslate">&lt;map&gt;&lt;/map&gt;
-&lt;map&gt;
- &lt;area shape="rect" coords="25,25,75,75" href="#fail"&gt;
-&lt;/map&gt;
-&lt;img usemap="#a" src="image.png"&gt;
-</pre>
-
-<p>[2] Gecko 5.0 之前, {{HTMLElement("img")}} 元素会匹配第二个非空映射。现在它匹配第一个,即使它是空的。</p>
-
-<p>[3] 从 Firefox 17 起, <code>&lt;map&gt;</code> HTML 元素的默认样式是 <code>display: inline;</code> 并且不再是 <code>display: block;</code>。这和其它浏览器行为一致,并且已经在兼容模式中这样做了。</p>
+{{Compat("html.elements.map")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/html/element/mark/index.html b/files/zh-cn/web/html/element/mark/index.html
index 8857d8cc3c..b6222b227c 100644
--- a/files/zh-cn/web/html/element/mark/index.html
+++ b/files/zh-cn/web/html/element/mark/index.html
@@ -71,53 +71,7 @@ translation_of: Web/HTML/Element/mark
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>9.0</td>
- <td>11.0</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.mark")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/html/element/marquee/index.html b/files/zh-cn/web/html/element/marquee/index.html
index 36e201fdfc..0a8639f9e8 100644
--- a/files/zh-cn/web/html/element/marquee/index.html
+++ b/files/zh-cn/web/html/element/marquee/index.html
@@ -102,108 +102,4 @@ translation_of: Web/HTML/Element/marquee
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>2.0</td>
- <td>7.2</td>
- <td>1.2</td>
- </tr>
- <tr>
- <td><code>truespeed</code> attribute</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9")}}</td>
- <td>4.0</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>hspace/vspace</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>loop</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>truespeed</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>hspace/vspace</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>loop</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.marquee")}}
diff --git a/files/zh-cn/web/html/element/meter/index.html b/files/zh-cn/web/html/element/meter/index.html
index 9a943677c3..96ac469141 100644
--- a/files/zh-cn/web/html/element/meter/index.html
+++ b/files/zh-cn/web/html/element/meter/index.html
@@ -121,63 +121,7 @@ translation_of: Web/HTML/Element/meter
<h2 id="浏览器兼容">浏览器兼容</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Edge</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>6.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("16.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>20<sup>[1]</sup></td>
- <td>11.0</td>
- <td>5.2</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Edge Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("16.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>20<sup>[1]</sup></td>
- <td>11.0</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] See the <a href="https://developer.microsoft.com/en-us/microsoft-edge/platform/status/meterelement">Microsoft Edge Platform Status page</a>.</p>
+{{Compat("html.elements.meter")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/html/element/p/index.html b/files/zh-cn/web/html/element/p/index.html
index 1db922a968..62656e1540 100644
--- a/files/zh-cn/web/html/element/p/index.html
+++ b/files/zh-cn/web/html/element/p/index.html
@@ -73,53 +73,7 @@ translation_of: Web/HTML/Element/p
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.p")}}
<h2 id="另请参阅">另请参阅</h2>
diff --git a/files/zh-cn/web/html/element/rp/index.html b/files/zh-cn/web/html/element/rp/index.html
index 0c67a1001f..77064e870e 100644
--- a/files/zh-cn/web/html/element/rp/index.html
+++ b/files/zh-cn/web/html/element/rp/index.html
@@ -77,53 +77,7 @@ translation_of: Web/HTML/Element/rp
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>5.0</td>
- <td>{{CompatGeckoDesktop(38)}}</td>
- <td>5.0</td>
- <td>{{CompatNo}}</td>
- <td>5.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(38)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.rp")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/html/element/rt/index.html b/files/zh-cn/web/html/element/rt/index.html
index 03ec718c19..e5ed3ee18c 100644
--- a/files/zh-cn/web/html/element/rt/index.html
+++ b/files/zh-cn/web/html/element/rt/index.html
@@ -72,57 +72,7 @@ translation_of: Web/HTML/Element/rt
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>5.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop(38)}}</td>
- <td>5.0</td>
- <td>{{CompatNo}}</td>
- <td>5.0</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(38)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.rt")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/html/element/rtc/index.html b/files/zh-cn/web/html/element/rtc/index.html
index c756d2a85c..0fd3d28f86 100644
--- a/files/zh-cn/web/html/element/rtc/index.html
+++ b/files/zh-cn/web/html/element/rtc/index.html
@@ -72,53 +72,7 @@ translation_of: Web/HTML/Element/rtc
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop(33)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoMobile(33)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.elements.rtc")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/html/element/script/index.html b/files/zh-cn/web/html/element/script/index.html
index d475094641..1c343630ff 100644
--- a/files/zh-cn/web/html/element/script/index.html
+++ b/files/zh-cn/web/html/element/script/index.html
@@ -178,147 +178,7 @@ translation_of: Web/HTML/Element/script
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome(1.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}<sup>[2]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>async attribute</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.2")}}<sup>[1]</sup></td>
- <td>10<sup>[1]</sup></td>
- <td>15<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- </tr>
- <tr>
- <td>defer attribute</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}<sup>[6]</sup></td>
- <td>
- <p>4<sup>[3]</sup><br>
- 10</p>
- </td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>crossorigin attribute</td>
- <td>{{CompatChrome(30.0)}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("13")}}</td>
- <td>{{CompatNo}}</td>
- <td>12.50</td>
- <td>{{CompatVersionUnknown}}<sup>[4]</sup></td>
- </tr>
- <tr>
- <td>integrity attribute</td>
- <td>{{CompatChrome(45.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("43")}}</td>
- <td></td>
- <td></td>
- <td>{{CompatNo}}<sup>[5]</sup></td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}<sup>[2]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>async attribute</td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}<sup>[1]</sup></td>
- </tr>
- <tr>
- <td>defer attribute</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td>integrity attribute</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(45.0)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatGeckoDesktop("43")}}</td>
- <td></td>
- <td></td>
- <td></td>
- <td>{{CompatChrome(45.0)}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] In older browsers that don't support the <code>async</code> attribute, parser-inserted scripts block the parser; script-inserted scripts execute asynchronously in IE and WebKit, but synchronously in Opera and pre-4.0 Firefox. In Firefox 4.0, the <code>async</code> DOM property defaults to <code>true</code> for script-created scripts, so the default behavior matches the behavior of IE and WebKit. To request script-inserted external scripts be executed in the insertion order in browsers where the <code>document.createElement("script").async</code> evaluates to <code>true</code> (such as Firefox 4.0), set <code>.async=false</code> on the scripts you want to maintain order. Never call <code>document.write()</code> from an <code>async</code> script. In Gecko 1.9.2, calling <code>document.write()</code> has an unpredictable effect. In Gecko 2.0, calling <code>document.write()</code> from an <code>async</code> script has no effect (other than printing a warning to the error console).</p>
-
-<p>[2] Starting in Gecko 2.0 {{geckoRelease("2.0")}}, inserting script elements that have been created by calling <code>document.createElement("script")</code> into the DOM no longer enforces execution in insertion order. This change lets Gecko properly abide by the HTML5 specification. To make script-inserted external scripts execute in their insertion order, set <code>.async=false</code> on them.</p>
-
-<p>Also, {{HTMLElement("script")}} elements inside {{HTMLElement("iframe")}}, {{HTMLElement("noembed")}} and {{HTMLElement("noframes")}} elements are now executed, for the same reasons.</p>
-
-<p>[3] In versions prior to Internet Explorer 10 Trident implemented <code>&lt;script&gt;</code> by a proprietary specification. Since version 10 it conforms to the W3C specification.</p>
-
-<p>[4] The <code>crossorigin</code> attribute was implemented in WebKit in {{WebKitBug(81438)}}.</p>
-
-<p>[5] {{WebKitBug(148363)}} tracks WebKit implementation of Subresource Integrity (which includes the <code>integrity</code> attribute).</p>
-
-<p>[6] 从 Gecko 1.9.2 {{geckoRelease("1.9.2")}} 开始,在没有 <code>src</code> 属性的脚本标签上的 <code>defer</code> 属性会被忽略。但是在 Gecko 1.9.1 {{geckoRelease("1.9.1")}} 中,如果定义了 <code>defer</code> 属性,即使内嵌的脚本也会被延迟执行。</p>
+{{Compat("html.elements.script")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/html/element/shadow/index.html b/files/zh-cn/web/html/element/shadow/index.html
index 440d8d23ad..29bcc84d46 100644
--- a/files/zh-cn/web/html/element/shadow/index.html
+++ b/files/zh-cn/web/html/element/shadow/index.html
@@ -105,55 +105,7 @@ translation_of: Web/HTML/Element/shadow
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>35</td>
- <td>{{CompatGeckoDesktop("28")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>26</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>37</td>
- <td>{{CompatGeckoMobile("28")}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 如果 Firefox 上没有开启 Shadow DOM, <code>&lt;shadow&gt;</code> 元素会表现为 {{domxref("HTMLUnknownElement")}},Shadow DOM 首先在 Firefox 33 中实现,并且在首选项 <code>dom.webcomponents.enabled</code> 背后,它默认是关闭的。</p>
+{{Compat("html.elements.shadow")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/html/element/source/index.html b/files/zh-cn/web/html/element/source/index.html
index 8beedaffea..b973894612 100644
--- a/files/zh-cn/web/html/element/source/index.html
+++ b/files/zh-cn/web/html/element/source/index.html
@@ -108,105 +108,7 @@ translation_of: Web/HTML/Element/source
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.9.1")}}</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>media</code> attribute</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("15.0")}}</td>
- <td>9.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>sizes</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(33)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>srcset</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop(33)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>media</code> attribute</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("15.0")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>sizes</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(33)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>srcset</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(33)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] This feature is behind the <code>dom.image.picture.enabled</code> preference, defaulting to <code>false</code>.</p>
-
-<p>Currently, only a small subset of the functionality is implemented — Gecko picks the first source element that has a type matching <a href="/en-US/docs/Media_formats_supported_by_the_audio_and_video_elements">the MIME-type of a supported media format</a>; see {{bug(449363)}} for details.</p>
+{{Compat("html.elements.source")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/html/element/time/index.html b/files/zh-cn/web/html/element/time/index.html
index e6746bce63..bf406f13f0 100644
--- a/files/zh-cn/web/html/element/time/index.html
+++ b/files/zh-cn/web/html/element/time/index.html
@@ -86,52 +86,4 @@ translation_of: Web/HTML/Element/time
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }} {{ bug("629801") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>11.50</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>{{ languages( { "en": "en/HTML/HTML_Elements/time"} ) }}</p>
+{{Compat("html.elements.time")}}
diff --git a/files/zh-cn/web/html/element/tr/index.html b/files/zh-cn/web/html/element/tr/index.html
index 664b865930..0b861732ce 100644
--- a/files/zh-cn/web/html/element/tr/index.html
+++ b/files/zh-cn/web/html/element/tr/index.html
@@ -124,115 +124,7 @@ translation_of: Web/HTML/Element/tr
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>align/valign</code> attribute</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>char/charoff</code> attribute</td>
- <td>1.0</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>bgcolor</code> attribute {{Non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile("1.0")}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>align/valign</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>char/charoff</code> attribute</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}} [2]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- <tr>
- <td><code>bgcolor</code> attribute {{Non-standard_inline}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] See {{bug(915)}}.</p>
-
-<p>[2] See {{bug(2212)}}.</p>
+{{Compat("html.elements.tr")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/html/global_attributes/dir/index.html b/files/zh-cn/web/html/global_attributes/dir/index.html
index a38f8d049a..c4c2cf740e 100644
--- a/files/zh-cn/web/html/global_attributes/dir/index.html
+++ b/files/zh-cn/web/html/global_attributes/dir/index.html
@@ -68,56 +68,7 @@ translation_of: Web/HTML/Global_attributes/dir
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable()}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.global_attributes.dir")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/html/global_attributes/draggable/index.html b/files/zh-cn/web/html/global_attributes/draggable/index.html
index dda8df2427..714e7212a0 100644
--- a/files/zh-cn/web/html/global_attributes/draggable/index.html
+++ b/files/zh-cn/web/html/global_attributes/draggable/index.html
@@ -44,55 +44,7 @@ translation_of: Web/HTML/Global_attributes/draggable
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("1.8.1") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoMobile("1.8.1") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.global_attributes.draggable")}}
<h2 id="参考资料">参考资料</h2>
diff --git a/files/zh-cn/web/html/global_attributes/hidden/index.html b/files/zh-cn/web/html/global_attributes/hidden/index.html
index ccb93c9302..f761481304 100644
--- a/files/zh-cn/web/html/global_attributes/hidden/index.html
+++ b/files/zh-cn/web/html/global_attributes/hidden/index.html
@@ -50,55 +50,7 @@ translation_of: Web/HTML/Global_attributes/hidden
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("2") }}</td>
- <td>11</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoMobile("2") }}</td>
- <td>11</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.global_attributes.hidden")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/html/global_attributes/itemid/index.html b/files/zh-cn/web/html/global_attributes/itemid/index.html
index 6d42d5bca7..08d1929b6c 100644
--- a/files/zh-cn/web/html/global_attributes/itemid/index.html
+++ b/files/zh-cn/web/html/global_attributes/itemid/index.html
@@ -83,55 +83,7 @@ translation_of: Web/HTML/Global_attributes/itemid
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.global_attributes.itemid")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/html/global_attributes/itemprop/index.html b/files/zh-cn/web/html/global_attributes/itemprop/index.html
index d65aff7690..a0ca9ddb12 100644
--- a/files/zh-cn/web/html/global_attributes/itemprop/index.html
+++ b/files/zh-cn/web/html/global_attributes/itemprop/index.html
@@ -441,53 +441,7 @@ translation_of: Web/HTML/Global_attributes/itemprop
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
+{{Compat("html.global_attributes.itemprop")}}
<h2 id="查看其他">查看其他</h2>
diff --git a/files/zh-cn/web/html/global_attributes/itemref/index.html b/files/zh-cn/web/html/global_attributes/itemref/index.html
index a16ec3bf27..3857a78be5 100644
--- a/files/zh-cn/web/html/global_attributes/itemref/index.html
+++ b/files/zh-cn/web/html/global_attributes/itemref/index.html
@@ -101,55 +101,7 @@ translation_of: Web/HTML/Global_attributes/itemref
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.global_attributes.itemref")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/html/global_attributes/itemscope/index.html b/files/zh-cn/web/html/global_attributes/itemscope/index.html
index 1890a6b3c1..5fd51b998a 100644
--- a/files/zh-cn/web/html/global_attributes/itemscope/index.html
+++ b/files/zh-cn/web/html/global_attributes/itemscope/index.html
@@ -257,55 +257,7 @@ Directions: &lt;br&gt;
<p>下表详细列出了主流浏览器中该条目的兼容性。 </p>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.global_attributes.itemscope")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/html/global_attributes/itemtype/index.html b/files/zh-cn/web/html/global_attributes/itemtype/index.html
index 3f0927d5cf..4b26a587f7 100644
--- a/files/zh-cn/web/html/global_attributes/itemtype/index.html
+++ b/files/zh-cn/web/html/global_attributes/itemtype/index.html
@@ -223,55 +223,7 @@ translation_of: Web/HTML/Global_attributes/itemtype
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.global_attributes.itemtype")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/html/global_attributes/lang/index.html b/files/zh-cn/web/html/global_attributes/lang/index.html
index bc8794dfe5..b345fdae3a 100644
--- a/files/zh-cn/web/html/global_attributes/lang/index.html
+++ b/files/zh-cn/web/html/global_attributes/lang/index.html
@@ -74,55 +74,7 @@ translation_of: Web/HTML/Global_attributes/lang
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.global_attributes.lang")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/html/global_attributes/spellcheck/index.html b/files/zh-cn/web/html/global_attributes/spellcheck/index.html
index ae77e5b0b2..4c997448eb 100644
--- a/files/zh-cn/web/html/global_attributes/spellcheck/index.html
+++ b/files/zh-cn/web/html/global_attributes/spellcheck/index.html
@@ -156,55 +156,7 @@ translation_of: Web/HTML/Global_attributes/spellcheck
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("1.8.1") }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("1.8.1") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.global_attributes.spellcheck")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/html/global_attributes/style/index.html b/files/zh-cn/web/html/global_attributes/style/index.html
index 6b2f0f5acc..0de33096cf 100644
--- a/files/zh-cn/web/html/global_attributes/style/index.html
+++ b/files/zh-cn/web/html/global_attributes/style/index.html
@@ -50,55 +50,7 @@ translation_of: Web/HTML/Global_attributes/style
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.global_attributes.style")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/html/global_attributes/title/index.html b/files/zh-cn/web/html/global_attributes/title/index.html
index 73fbf8eda3..1d71da71ca 100644
--- a/files/zh-cn/web/html/global_attributes/title/index.html
+++ b/files/zh-cn/web/html/global_attributes/title/index.html
@@ -65,72 +65,7 @@ multiline title"&gt;example&lt;/abbr&gt;.&lt;/p&gt;
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>特征</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Multi-line support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatGeckoDesktop(12)}}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Multi-line support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile(12)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.global_attributes.title")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/html/global_attributes/translate/index.html b/files/zh-cn/web/html/global_attributes/translate/index.html
index 1524e08f6e..d46caf241d 100644
--- a/files/zh-cn/web/html/global_attributes/translate/index.html
+++ b/files/zh-cn/web/html/global_attributes/translate/index.html
@@ -40,55 +40,7 @@ translation_of: Web/HTML/Global_attributes/translate
<h2 id="浏览器兼容性"><strong>浏览器兼容性</strong></h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- <td>{{ CompatNo }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("html.global_attributes.translate")}}
<h2 id="参阅"><strong>参阅</strong></h2>
diff --git a/files/zh-cn/web/javascript/reference/global_objects/number/min_safe_integer/index.html b/files/zh-cn/web/javascript/reference/global_objects/number/min_safe_integer/index.html
index b9f00623d2..17f1858927 100644
--- a/files/zh-cn/web/javascript/reference/global_objects/number/min_safe_integer/index.html
+++ b/files/zh-cn/web/javascript/reference/global_objects/number/min_safe_integer/index.html
@@ -45,10 +45,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/Number/MIN_SAFE_INTEGER
<h2 id="浏览器支持">浏览器支持</h2>
-<div>{{CompatibilityTable}}</div>
-
-<p>{{Compat("javascript.builtins.Number.MIN_SAFE_INTEGER")}}</p>
-
+{{Compat("javascript.builtins.Number.MIN_SAFE_INTEGER")}}
<h2 id="参阅">参阅</h2>
diff --git a/files/zh-cn/web/manifest/index.html b/files/zh-cn/web/manifest/index.html
index e60724183c..15cbe1bb5d 100644
--- a/files/zh-cn/web/manifest/index.html
+++ b/files/zh-cn/web/manifest/index.html
@@ -326,88 +326,4 @@ translation_of: Web/Manifest
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(39.0)}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>32.0</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(39.0)}}</td>
- </tr>
- <tr>
- <td><code>background_color</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(46.0)}} [1]</td>
- </tr>
- <tr>
- <td><code>theme_color</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatChrome(46.0)}}<sup>[1]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatChrome(46.0)}} [1]</td>
- </tr>
- <tr>
- <td><code>icons</code>, <code>name</code>, <code>short_name</code>, and <code>theme_color</code> used for <a href="https://support.mozilla.org/t5/Other/How-to-add-a-shortcut-to-a-website-on-Android/ta-p/21992">Add to home screen</a> feature.</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(53)}}<sup>[2]</sup></td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Does not support <code>lang</code> or <code>scope</code>.</p>
-
-<p>[2] The <code>icons</code>, <code>name</code>, <code>short_name</code>, and <code>theme_color</code> fields of the <a href="/en-US/docs/Web/Manifest">Web App Manifest</a> (if present) can now be as the source of the homescreen/apps window icons, apps window title, homescreen icon title, and apps window color (respectively) for "Add to home screen" (Firefox Mobile only; see {{bug(1234558)}}).</p>
+{{Compat("html.manifest")}}
diff --git a/files/zh-cn/web/mathml/element/maction/index.html b/files/zh-cn/web/mathml/element/maction/index.html
index 3715f500ec..b31cec26c6 100644
--- a/files/zh-cn/web/mathml/element/maction/index.html
+++ b/files/zh-cn/web/mathml/element/maction/index.html
@@ -94,131 +94,7 @@ translation_of: Web/MathML/Element/maction
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}} [2]</td>
- </tr>
- <tr>
- <td><code>actiontype</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}} [4]</td>
- </tr>
- <tr>
- <td><code>href</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("7.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>10.0 {{webkitbug(85733)}} [3]</td>
- </tr>
- <tr>
- <td><code>mathbackground</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>mathcolor</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("1.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>actiontype</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>href</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("7.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mathbackground</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mathcolor</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 只包括 <code>toggle</code> 和 <code>statusline</code>, <code>tooltip</code> 暂未实现。参考 <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=544001">bug 544001</a>.</p>
-
-<p>[2] 参考 <a href="https://bugs.webkit.org/show_bug.cgi?id=85734">WebKit bug 85734</a>.</p>
-
-<p>[3] 参考 <a href="https://bugs.webkit.org/show_bug.cgi?id=85733">WebKit bug 85733</a>.</p>
-
-<p>[4] 只包括<code>toggle</code>, <code>statusline</code> 和 <code>tooltip</code> 暂未实现 。参考<a href="https://bugs.webkit.org/show_bug.cgi?id=120059">WebKit bug 120059</a>.</p>
+{{Compat("mathml.elements.maction")}}
<h2 id="Gecko具体说明">Gecko具体说明</h2>
diff --git a/files/zh-cn/web/mathml/element/math/index.html b/files/zh-cn/web/mathml/element/math/index.html
index bd9a187690..5eada860f8 100644
--- a/files/zh-cn/web/mathml/element/math/index.html
+++ b/files/zh-cn/web/mathml/element/math/index.html
@@ -143,159 +143,7 @@ translation_of: Web/MathML/Element/math
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>XHTML标记</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>9.5</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td>HTML5标记</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>dir</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("12.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>href</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("7.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}} [1]</td>
- </tr>
- <tr>
- <td><code>mathbackground</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>mathcolor</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>overflow</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>XHTML 标记</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("1.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>HTML5 标记</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>dir</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("12.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>href</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("7.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}} [1]</td>
- </tr>
- <tr>
- <td><code>mathbackground</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mathcolor</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>overflow</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] See <a href="https://bugs.webkit.org/show_bug.cgi?id=85733">bug 85733</a>.</p>
+{{Compat("mathml.elements.math")}}
<h2 id="Gecko-specific_注释">Gecko-specific 注释</h2>
diff --git a/files/zh-cn/web/mathml/element/mroot/index.html b/files/zh-cn/web/mathml/element/mroot/index.html
index 1df10ea315..284ce11985 100644
--- a/files/zh-cn/web/mathml/element/mroot/index.html
+++ b/files/zh-cn/web/mathml/element/mroot/index.html
@@ -62,106 +62,7 @@ translation_of: Web/MathML/Element/mroot
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>href</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("7.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mathbackground</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>mathcolor</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("1.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>href</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("7.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mathbackground</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mathcolor</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("mathml.elements.mroot")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/mathml/element/mspace/index.html b/files/zh-cn/web/mathml/element/mspace/index.html
index f136b5a551..c063dc4f9f 100644
--- a/files/zh-cn/web/mathml/element/mspace/index.html
+++ b/files/zh-cn/web/mathml/element/mspace/index.html
@@ -64,89 +64,7 @@ translation_of: Web/MathML/Element/mspace
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>linebreak</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>depth</code>, <code>height</code>, <code>width</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("1.9.2") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>linebreak</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>depth</code>, <code>height</code>, <code>width</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("1.9.2") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("mathml.elements.mspace")}}
<h2 id="Gecko说明">Gecko说明</h2>
diff --git a/files/zh-cn/web/mathml/element/msqrt/index.html b/files/zh-cn/web/mathml/element/msqrt/index.html
index 6c8871916a..d4b741d38f 100644
--- a/files/zh-cn/web/mathml/element/msqrt/index.html
+++ b/files/zh-cn/web/mathml/element/msqrt/index.html
@@ -61,106 +61,7 @@ translation_of: Web/MathML/Element/msqrt
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>href</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("7.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mathbackground</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>mathcolor</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("1.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>href</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("7.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mathbackground</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mathcolor</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("mathml.elements.msqrt")}}
<h2 id="相关链接">相关链接</h2>
diff --git a/files/zh-cn/web/mathml/element/msub/index.html b/files/zh-cn/web/mathml/element/msub/index.html
index 8acea4f5bb..edd18d677a 100644
--- a/files/zh-cn/web/mathml/element/msub/index.html
+++ b/files/zh-cn/web/mathml/element/msub/index.html
@@ -64,123 +64,7 @@ translation_of: Web/MathML/Element/msub
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>href</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("7.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td><code>mathbackground</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>mathcolor</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("2.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatNo}}</td>
- <td>5.1</td>
- </tr>
- <tr>
- <td><code>subscriptshift</code></td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatGeckoDesktop("1.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("1.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>href</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("7.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>mathbackground</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>mathcolor</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("2.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- <tr>
- <td><code>subscriptshift</code></td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatGeckoMobile("1.0") }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatNo() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("mathml.elements.msub")}}
<h2 id="关于Gecko的特殊说明">关于Gecko的特殊说明</h2>
diff --git a/files/zh-cn/web/security/subresource_integrity/index.html b/files/zh-cn/web/security/subresource_integrity/index.html
index 7a6d4b4756..825d29d9a8 100644
--- a/files/zh-cn/web/security/subresource_integrity/index.html
+++ b/files/zh-cn/web/security/subresource_integrity/index.html
@@ -121,73 +121,7 @@ original_slug: Web/Security/子资源完整性
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>The integrity attribute for <code>&lt;script&gt;</code> and <code>&lt;link&gt;</code></td>
- <td>{{ CompatChrome("45.0") }}</td>
- <td>{{ CompatGeckoDesktop("43") }}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOpera("32")}}</td>
- <td>{{CompatNo}} [1]</td>
- </tr>
- <tr>
- <td>The CSP {{CSP("require-sri-for")}} directive</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop("49") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>The integrity attribute for <code>&lt;script&gt;</code> and <code>&lt;link&gt;</code></td>
- <td>{{ CompatChrome("45.0") }}</td>
- <td>{{CompatGeckoMobile("43")}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}} [1]</td>
- </tr>
- <tr>
- <td>The CSP {{CSP("require-sri-for")}} directive</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("49")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] {{WebKitBug(148363)}}</p>
-
-<p>[2] 位于 <code>security.csp.experimentalEnabled</code> 之后的是: config preference。</p>
+{{Compat("html.elements.script.integrity")}}
<h2 id="相关资料">相关资料</h2>
diff --git a/files/zh-cn/web/svg/element/a/index.html b/files/zh-cn/web/svg/element/a/index.html
index f8c97e0f44..597c101d51 100644
--- a/files/zh-cn/web/svg/element/a/index.html
+++ b/files/zh-cn/web/svg/element/a/index.html
@@ -67,54 +67,4 @@ translation_of: Web/SVG/Element/a
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>IE</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop('1.8')}}</td>
- <td>{{CompatIE('9.0')}}</td>
- <td>{{CompatOpera('9.0')}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatAndroid('3.0')}}</td>
- <td>{{CompatGeckoMobile('1.8')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/docs/SVG/Compatibility_sources" title="SVG/Compatibility sources">这些资源</a>。</p>
-
-<p>{{note("No browser supports the full XLink set.")}}</p>
+{{Compat("svg.elements.a")}}
diff --git a/files/zh-cn/web/svg/element/altglyph/index.html b/files/zh-cn/web/svg/element/altglyph/index.html
index f9c25d6c68..64dbd95405 100644
--- a/files/zh-cn/web/svg/element/altglyph/index.html
+++ b/files/zh-cn/web/svg/element/altglyph/index.html
@@ -52,57 +52,7 @@ translation_of: Web/SVG/Element/altGlyph
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop('2.0')}} [1]</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera('10.6')}}</td>
- <td>{{CompatSafari('4.0')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile('2.0')}}<sup>[1]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatOperaMobile('11.0')}}</td>
- <td>{{CompatSafari('4.0')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 部分支持,请看<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=456286">bug 456286</a> 以及<a href="https://bugzilla.mozilla.org/show_bug.cgi?id=571808">bug 571808</a>.</p>
-
-<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些资源</a>。</p>
+{{Compat("svg.elements.altGlyph")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/animate/index.html b/files/zh-cn/web/svg/element/animate/index.html
index 3c7e98145a..637576ebce 100644
--- a/files/zh-cn/web/svg/element/animate/index.html
+++ b/files/zh-cn/web/svg/element/animate/index.html
@@ -94,52 +94,4 @@ translation_of: Web/SVG/Element/animate
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatChrome('2.0')}}</td>
- <td>{{CompatGeckoDesktop("2.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>9.0</td>
- <td>{{CompatSafari('4.0')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("2.0")}}</td>
- <td>{{CompatNo}}</td>
- <td>9.5</td>
- <td>{{CompatSafari('4.0')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/docs/SVG/Compatibility_sources" title="SVG/Compatibility sources">这些资源</a>。</p>
+{{Compat("svg.elements.animate")}}
diff --git a/files/zh-cn/web/svg/element/animatecolor/index.html b/files/zh-cn/web/svg/element/animatecolor/index.html
index a9ca7d2387..5c2faefc28 100644
--- a/files/zh-cn/web/svg/element/animatecolor/index.html
+++ b/files/zh-cn/web/svg/element/animatecolor/index.html
@@ -84,51 +84,7 @@ translation_of: Web/SVG/Element/animateColor
<h2 id="Browser_compatibility">Browser compatibility</h2>
-<p>{{CompatibilityTable}}</p>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>IE</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-
-<table>
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
+{{Compat("svg.elements.animateColor")}}
<h2 id="See_also">See also</h2>
diff --git a/files/zh-cn/web/svg/element/circle/index.html b/files/zh-cn/web/svg/element/circle/index.html
index c660234c1a..4f822a81f8 100644
--- a/files/zh-cn/web/svg/element/circle/index.html
+++ b/files/zh-cn/web/svg/element/circle/index.html
@@ -56,55 +56,7 @@ translation_of: Web/SVG/Element/circle
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th scope="col">功能</th>
- <th scope="col">Chrome</th>
- <th scope="col">Firefox (Gecko)</th>
- <th scope="col">Internet Explorer</th>
- <th scope="col">Opera</th>
- <th scope="col">Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('8.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/docs/Web/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p>
+{{Compat("svg.elements.circle")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/svg/element/defs/index.html b/files/zh-cn/web/svg/element/defs/index.html
index 775eefd896..933bba4a9e 100644
--- a/files/zh-cn/web/svg/element/defs/index.html
+++ b/files/zh-cn/web/svg/element/defs/index.html
@@ -57,55 +57,7 @@ translation_of: Web/SVG/Element/defs
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('8.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>.</p>
+{{Compat("svg.elements.defs")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/svg/element/desc/index.html b/files/zh-cn/web/svg/element/desc/index.html
index d5d778eea5..1decb9b81e 100644
--- a/files/zh-cn/web/svg/element/desc/index.html
+++ b/files/zh-cn/web/svg/element/desc/index.html
@@ -37,53 +37,7 @@ translation_of: Web/SVG/Element/desc
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('8.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("svg.elements.desc")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/ellipse/index.html b/files/zh-cn/web/svg/element/ellipse/index.html
index 6c68c8c711..6810b64095 100644
--- a/files/zh-cn/web/svg/element/ellipse/index.html
+++ b/files/zh-cn/web/svg/element/ellipse/index.html
@@ -52,55 +52,7 @@ translation_of: Web/SVG/Element/ellipse
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th scope="col">功能</th>
- <th scope="col">Chrome</th>
- <th scope="col">Firefox (Gecko)</th>
- <th scope="col">Internet Explorer</th>
- <th scope="col">Opera</th>
- <th scope="col">Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('8.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/SVG/Compatibility_sources" title="en-US/SVG/Compatibility sources">这些资源</a>。</p>
+{{Compat("svg.elements.ellipse")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/feimage/index.html b/files/zh-cn/web/svg/element/feimage/index.html
index 03cdc4120f..dc1cce54ff 100644
--- a/files/zh-cn/web/svg/element/feimage/index.html
+++ b/files/zh-cn/web/svg/element/feimage/index.html
@@ -88,61 +88,7 @@ translation_of: Web/SVG/Element/feImage
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoDesktop('2.0')}}<sup>[1]</sup></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatOpera('9.0')}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 部分支持,请参阅 {{bug(455986)}}.</p>
-
-<p>图表是基于 <a href="/en-US/SVG/Compatibility_sources">these sources</a> 的。</p>
+{{Compat("svg.elements.feImage")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/filter/index.html b/files/zh-cn/web/svg/element/filter/index.html
index 2ca6bf0792..3b1970b1fd 100644
--- a/files/zh-cn/web/svg/element/filter/index.html
+++ b/files/zh-cn/web/svg/element/filter/index.html
@@ -90,57 +90,7 @@ translation_of: Web/SVG/Element/filter
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop('2.0') }}</td>
- <td>{{ CompatIE('10.0') }}</td>
- <td>9.0</td>
- <td>{{ CompatSafari('3.0') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile('2.0') }}</td>
- <td>{{CompatNo}}</td>
- <td>9.5</td>
- <td>{{ CompatSafari('3.0') }}[1]</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 在Webkit浏览器上存在<a href="https://bugs.webkit.org/show_bug.cgi?id=26389">一些问题</a>。</p>
-
-<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些资源</a>。</p>
+{{Compat("svg.elements.filter")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/g/index.html b/files/zh-cn/web/svg/element/g/index.html
index d75c11cc71..d43dabd181 100644
--- a/files/zh-cn/web/svg/element/g/index.html
+++ b/files/zh-cn/web/svg/element/g/index.html
@@ -56,52 +56,4 @@ translation_of: Web/SVG/Element/g
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th scope="col">Feature</th>
- <th scope="col">Chrome</th>
- <th scope="col">Firefox (Gecko)</th>
- <th scope="col">Internet Explorer</th>
- <th scope="col">Opera</th>
- <th scope="col">Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop('1.8')}}</td>
- <td>{{CompatIE('9.0')}}</td>
- <td>{{CompatOpera('8.0')}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatAndroid('3.0')}}</td>
- <td>{{CompatGeckoMobile('1.8')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/docs/SVG/Compatibility_sources" title="SVG/Compatibility sources">这些资源</a>。</p>
+{{Compat("svg.elements.g")}}
diff --git a/files/zh-cn/web/svg/element/glyphref/index.html b/files/zh-cn/web/svg/element/glyphref/index.html
index 5441c76747..c57e047dd5 100644
--- a/files/zh-cn/web/svg/element/glyphref/index.html
+++ b/files/zh-cn/web/svg/element/glyphref/index.html
@@ -49,55 +49,7 @@ translation_of: Web/SVG/Element/glyphRef
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatOpera('9.80')}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些资源</a>。</p>
+{{Compat("svg.elements.glyphRef")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/image/index.html b/files/zh-cn/web/svg/element/image/index.html
index 4f9f2710b8..6dfb6743d4 100644
--- a/files/zh-cn/web/svg/element/image/index.html
+++ b/files/zh-cn/web/svg/element/image/index.html
@@ -92,52 +92,4 @@ translation_of: Web/SVG/Element/image
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('8.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p>
+{{Compat("svg.elements.image")}}
diff --git a/files/zh-cn/web/svg/element/line/index.html b/files/zh-cn/web/svg/element/line/index.html
index 6dfd6bfe11..a3d11dfa73 100644
--- a/files/zh-cn/web/svg/element/line/index.html
+++ b/files/zh-cn/web/svg/element/line/index.html
@@ -59,55 +59,7 @@ translation_of: Web/SVG/Element/line
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>IE</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop('1.8')}}</td>
- <td>{{CompatIE('9.0')}}</td>
- <td>{{CompatOpera('8.0')}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{CompatAndroid('3.0')}}</td>
- <td>{{CompatGeckoMobile('1.8')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/docs/Web/SVG/Compatibility_sources">这些资源</a>。</p>
+{{Compat("svg.elements.line")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/svg/element/lineargradient/index.html b/files/zh-cn/web/svg/element/lineargradient/index.html
index e9b7172c09..11cdc764df 100644
--- a/files/zh-cn/web/svg/element/lineargradient/index.html
+++ b/files/zh-cn/web/svg/element/lineargradient/index.html
@@ -66,59 +66,7 @@ translation_of: Web/SVG/Element/linearGradient
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>IE</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('9.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{CompatNo}}</td>
- <td>{{ CompatVersionUnknown}}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p>
-
-<h3 id="sect1"> </h3>
-
-<p>[1] WebKit不支持<code>spread方法</code> (<a class="link-https" href="https://bugs.webkit.org/show_bug.cgi?id=5968">bug 5968</a>) 以及颜色插值 (<a class="link-https" href="https://bugs.webkit.org/show_bug.cgi?id=6034">bug 6034</a>)。</p>
+{{Compat("svg.elements.linearGradient")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/marker/index.html b/files/zh-cn/web/svg/element/marker/index.html
index 92473f3527..f9f389041f 100644
--- a/files/zh-cn/web/svg/element/marker/index.html
+++ b/files/zh-cn/web/svg/element/marker/index.html
@@ -74,52 +74,4 @@ translation_of: Web/SVG/Element/marker
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th><span style="font-family: open sans light,sans-serif; font-size: 16px; line-height: 16px;">Feature</span></th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>IE</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome('1.0') }}</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('9.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th><span style="font-family: open sans light,sans-serif; font-size: 16px; line-height: 16px;">Feature</span></th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p>
+{{Compat("svg.elements.marker")}}
diff --git a/files/zh-cn/web/svg/element/metadata/index.html b/files/zh-cn/web/svg/element/metadata/index.html
index e3c54f7d4d..5d5a5d4168 100644
--- a/files/zh-cn/web/svg/element/metadata/index.html
+++ b/files/zh-cn/web/svg/element/metadata/index.html
@@ -35,52 +35,4 @@ translation_of: Web/SVG/Element/metadata
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop('1.8')}}</td>
- <td>{{CompatIE('9.0')}}</td>
- <td>{{CompatOpera('8.0')}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatAndroid('3.0')}}</td>
- <td>{{CompatGeckoMobile('1.8')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些数据</a>。</p>
+{{Compat("svg.elements.metadata")}}
diff --git a/files/zh-cn/web/svg/element/path/index.html b/files/zh-cn/web/svg/element/path/index.html
index 33120a9f55..fbaf9b835e 100644
--- a/files/zh-cn/web/svg/element/path/index.html
+++ b/files/zh-cn/web/svg/element/path/index.html
@@ -60,55 +60,7 @@ translation_of: Web/SVG/Element/path
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>IE</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop('1.8')}}</td>
- <td>{{CompatIE('9.0')}}</td>
- <td>{{CompatOpera('8.0')}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatAndroid('3.0')}}</td>
- <td>{{CompatGeckoMobile('1.8')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/docs/Web/SVG/Compatibility_sources">这些资源</a>。</p>
+{{Compat("svg.elements.path")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/polygon/index.html b/files/zh-cn/web/svg/element/polygon/index.html
index 8767722c25..8b979adadb 100644
--- a/files/zh-cn/web/svg/element/polygon/index.html
+++ b/files/zh-cn/web/svg/element/polygon/index.html
@@ -47,55 +47,7 @@ translation_of: Web/SVG/Element/polygon
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>IE</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatChrome('1.0') }}</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('8.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>基本支持</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p>
+{{Compat("svg.elements.polygon")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/svg/element/polyline/index.html b/files/zh-cn/web/svg/element/polyline/index.html
index a67c884d46..fdcf0882a9 100644
--- a/files/zh-cn/web/svg/element/polyline/index.html
+++ b/files/zh-cn/web/svg/element/polyline/index.html
@@ -47,55 +47,7 @@ translation_of: Web/SVG/Element/polyline
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>IE</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome('1.0') }}</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('8.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p>
+{{Compat("svg.elements.polyline")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/rect/index.html b/files/zh-cn/web/svg/element/rect/index.html
index d3e2d3a7e2..ea372eed0f 100644
--- a/files/zh-cn/web/svg/element/rect/index.html
+++ b/files/zh-cn/web/svg/element/rect/index.html
@@ -85,55 +85,7 @@ translation_of: Web/SVG/Element/rect
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th scope="col">Feature</th>
- <th scope="col">Chrome</th>
- <th scope="col">Firefox (Gecko)</th>
- <th scope="col">Internet Explorer</th>
- <th scope="col">Opera</th>
- <th scope="col">Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('8.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p>
+{{Compat("svg.elements.rect")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/script/index.html b/files/zh-cn/web/svg/element/script/index.html
index c45248af1c..a3028c68d0 100644
--- a/files/zh-cn/web/svg/element/script/index.html
+++ b/files/zh-cn/web/svg/element/script/index.html
@@ -71,55 +71,7 @@ translation_of: Web/SVG/Element/script
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop('1.8')}}</td>
- <td>{{CompatIE('9.0')}}</td>
- <td>{{CompatOpera('9.0')}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatAndroid('3.0')}}</td>
- <td>{{CompatGeckoMobile('1.8')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些资源</a>。</p>
+{{Compat("svg.elements.script")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/stop/index.html b/files/zh-cn/web/svg/element/stop/index.html
index 28097fd94a..db406d5b52 100644
--- a/files/zh-cn/web/svg/element/stop/index.html
+++ b/files/zh-cn/web/svg/element/stop/index.html
@@ -68,55 +68,7 @@ translation_of: Web/SVG/Element/stop
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>IE</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatIE('1.0')}}</td>
- <td>{{CompatGeckoDesktop('1.8')}}</td>
- <td>{{CompatIE('9.0')}}</td>
- <td>{{CompatOpera('9.0')}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatAndroid('3.0')}}</td>
- <td>{{CompatGeckoMobile('1.8')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/docs/Web/SVG/Compatibility_sources">这些资源</a>。</p>
+{{Compat("svg.elements.stop")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/style/index.html b/files/zh-cn/web/svg/element/style/index.html
index aa8f886674..fab606a81d 100644
--- a/files/zh-cn/web/svg/element/style/index.html
+++ b/files/zh-cn/web/svg/element/style/index.html
@@ -59,55 +59,7 @@ translation_of: Web/SVG/Element/style
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop('1.8')}}</td>
- <td>{{CompatIE('9.0')}}</td>
- <td>{{CompatOpera('9.0')}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatAndroid('3.0')}}</td>
- <td>{{CompatGeckoMobile('1.8')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些资源</a>。</p>
+{{Compat("svg.elements.style")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/svg/index.html b/files/zh-cn/web/svg/element/svg/index.html
index fd694d1bb2..d36a11b283 100644
--- a/files/zh-cn/web/svg/element/svg/index.html
+++ b/files/zh-cn/web/svg/element/svg/index.html
@@ -88,54 +88,4 @@ translation_of: Web/SVG/Element/svg
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>IE</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome("1.0") }}</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('8.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/docs/SVG/Compatibility_sources" title="en-US/docs/SVG/Compatibility sources">这些来源</a>。</p>
-
-<p>{{SVGRef}}</p>
+{{Compat("svg.elements.svg")}}
diff --git a/files/zh-cn/web/svg/element/switch/index.html b/files/zh-cn/web/svg/element/switch/index.html
index 133652ca3a..7e8ac9298c 100644
--- a/files/zh-cn/web/svg/element/switch/index.html
+++ b/files/zh-cn/web/svg/element/switch/index.html
@@ -47,54 +47,4 @@ translation_of: Web/SVG/Element/switch
<h2 id="浏览器支持">浏览器支持</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>1.8</td>
- <td>9.0</td>
- <td>8.0</td>
- <td>3.0.4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Chrome for Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>3.0</td>
- <td>{{ CompatUnknown() }}</td>
- <td>1.8</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>3.0.4</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/docs/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p>
+{{Compat("svg.elements.switch")}}
diff --git a/files/zh-cn/web/svg/element/symbol/index.html b/files/zh-cn/web/svg/element/symbol/index.html
index 42ddc1465b..78f0ab5eb3 100644
--- a/files/zh-cn/web/svg/element/symbol/index.html
+++ b/files/zh-cn/web/svg/element/symbol/index.html
@@ -63,57 +63,7 @@ translation_of: Web/SVG/Element/symbol
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- </tr>
- <tr>
- <th scope="col">Feature</th>
- <th scope="col">Chrome</th>
- <th scope="col">Firefox (Gecko)</th>
- <th scope="col">Internet Explorer</th>
- <th scope="col">Opera</th>
- <th scope="col">Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('9.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p>
+{{Compat("svg.elements.symbol")}}
<h2 id="另见">另见</h2>
diff --git a/files/zh-cn/web/svg/element/text/index.html b/files/zh-cn/web/svg/element/text/index.html
index 3f1fa7eecb..20b2e073d7 100644
--- a/files/zh-cn/web/svg/element/text/index.html
+++ b/files/zh-cn/web/svg/element/text/index.html
@@ -98,55 +98,7 @@ translation_of: Web/SVG/Element/text
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>IE</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatChrome('1.0') }}</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('8.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>这个图表基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p>
+{{Compat("svg.elements.text")}}
<h2 id="相关内容">相关内容</h2>
diff --git a/files/zh-cn/web/svg/element/title/index.html b/files/zh-cn/web/svg/element/title/index.html
index 5d7013239b..5c39c262ff 100644
--- a/files/zh-cn/web/svg/element/title/index.html
+++ b/files/zh-cn/web/svg/element/title/index.html
@@ -51,71 +51,7 @@ translation_of: Web/SVG/Element/title
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{CompatGeckoDesktop('1.8')}}</td>
- <td>{{CompatIE('9.0')}}</td>
- <td>{{CompatOpera('8.0')}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- <tr>
- <td>Tooltip display</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop('2.0')}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatAndroid('3.0')}}</td>
- <td>{{CompatGeckoMobile('1.8')}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatSafari('3.0.4')}}</td>
- </tr>
- <tr>
- <td>Tooltip display</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop('2.0')}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en-US/SVG/Compatibility_sources">这些数据</a>。</p>
+{{Compat("svg.elements.title")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/tref/index.html b/files/zh-cn/web/svg/element/tref/index.html
index 0150f5a9a7..bc9b7f012b 100644
--- a/files/zh-cn/web/svg/element/tref/index.html
+++ b/files/zh-cn/web/svg/element/tref/index.html
@@ -69,53 +69,7 @@ translation_of: Web/SVG/Element/tref
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th scope="col">Feature</th>
- <th scope="col">Chrome</th>
- <th scope="col">Firefox (Gecko)</th>
- <th scope="col">Internet Explorer</th>
- <th scope="col">Opera</th>
- <th scope="col">Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("svg.elements.tref")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/tspan/index.html b/files/zh-cn/web/svg/element/tspan/index.html
index 4e55a0be06..00836eb814 100644
--- a/files/zh-cn/web/svg/element/tspan/index.html
+++ b/files/zh-cn/web/svg/element/tspan/index.html
@@ -53,57 +53,7 @@ translation_of: Web/SVG/Element/tspan
<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>IE</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>1.0</td>
- <td>{{ CompatGeckoDesktop('1.8') }}</td>
- <td>{{ CompatIE('9.0') }}</td>
- <td>{{ CompatOpera('9.0') }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatAndroid('3.0') }}</td>
- <td>{{ CompatGeckoMobile('1.8') }}</td>
- <td>{{ CompatNo() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatSafari('3.0.4') }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>该表格基于<a href="/en/SVG/Compatibility_sources" title="en/SVG/Compatibility sources">这些资源</a>。</p>
-
-<p>[1] 多种外观属性不起作用。rotate属性在Gecko2.0中实现。{{geckoRelease("2.0")}}.</p>
+{{Compat("svg.elements.tspan")}}
<h2 id="参见">参见</h2>
diff --git a/files/zh-cn/web/svg/element/use/index.html b/files/zh-cn/web/svg/element/use/index.html
index a225a0914e..faa37f981b 100644
--- a/files/zh-cn/web/svg/element/use/index.html
+++ b/files/zh-cn/web/svg/element/use/index.html
@@ -74,82 +74,4 @@ translation_of: Web/SVG/Element/use
<h2 id="Browser_compatibility" name="Browser_compatibility">浏览器兼容性</h2>
-<p>{{ CompatibilityTable() }}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Load from external URI</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{CompatNo()}}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Load from data: URI</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatGeckoDesktop("10.0") }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Load from external URI</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- <tr>
- <td>Load from data: URI</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- <td>{{ CompatVersionUnknown() }}</td>
- </tr>
- </tbody>
-</table>
-</div>
+{{Compat("svg.elements.use")}}
diff --git a/files/zh-cn/web/svg/svg_as_an_image/index.html b/files/zh-cn/web/svg/svg_as_an_image/index.html
index 80fbdbc59b..4f397188e2 100644
--- a/files/zh-cn/web/svg/svg_as_an_image/index.html
+++ b/files/zh-cn/web/svg/svg_as_an_image/index.html
@@ -67,89 +67,7 @@ translation_of: Web/SVG/SVG_as_an_Image
</tbody>
</table>
-<h2 id="浏览器兼容性">浏览器兼容性</h2>
-<div>{{CompatibilityTable}}</div>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari</th>
- </tr>
- <tr>
- <td>in HTML {{HTMLElement("img")}}</td>
- <td>4.0</td>
- <td>{{CompatGeckoDesktop("2")}}</td>
- <td>9</td>
- <td>9.0</td>
- <td>4</td>
- </tr>
- <tr>
- <td>in CSS background</td>
- <td>4.0</td>
- <td>{{CompatGeckoDesktop("2")}}</td>
- <td>9</td>
- <td>9.5</td>
- <td>5</td>
- </tr>
- <tr>
- <td>in other contexts</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoDesktop("2")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>in HTML {{HTMLElement("img")}}</td>
- <td>3.0</td>
- <td>{{CompatGeckoMobile("2")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>10.0</td>
- <td>4.0</td>
- </tr>
- <tr>
- <td>in CSS background</td>
- <td>3.0</td>
- <td>{{CompatGeckoMobile("2")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>10.0</td>
- <td>3.2<sup>[1]</sup></td>
- </tr>
- <tr>
- <td>in other contexts</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatGeckoMobile("2")}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] Safari移动浏览器只有在CSS background中实现了对SVG的部分支持</p>
<h2 id="参见">参见</h2>