diff options
Diffstat (limited to 'files/zh-cn/web/html/element/map/index.html')
| -rw-r--r-- | files/zh-cn/web/html/element/map/index.html | 65 |
1 files changed, 1 insertions, 64 deletions
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"><map></map> -<map> - <area shape="rect" coords="25,25,75,75" href="#fail"> -</map> -<img usemap="#a" src="image.png"> -</pre> - -<p>[2] Gecko 5.0 之前, {{HTMLElement("img")}} 元素会匹配第二个非空映射。现在它匹配第一个,即使它是空的。</p> - -<p>[3] 从 Firefox 17 起, <code><map></code> HTML 元素的默认样式是 <code>display: inline;</code> 并且不再是 <code>display: block;</code>。这和其它浏览器行为一致,并且已经在兼容模式中这样做了。</p> +{{Compat("html.elements.map")}} <h2 id="另见">另见</h2> |
