--- title: Firefox 21 for developers slug: Mozilla/Firefox/Releases/21 translation_of: Mozilla/Firefox/Releases/21 ---
none时和设置为
-moz-none时
效果等同于
,这样才能让Gecko和其他内核WebKit(Chrome, Safari),Presto (Opera)以及Trident(Internet Explorer)中的表现相同({{bug("816298")}}).auto
value of {{cssxref("hyphens", "-moz-hyphens")}} incorrectly applied hyphenation rules when the language was not explicitly declared. This is fixed by ({{bug("702121")}}).auto
.当应用到一个{{HTMLElement("meter")}}元素或者{{HTMLElement("progress")}}元素上时,auto就等同于
horizontal
({{bug("835883")}}).origin
属性 ({{bug("828261")}}).实现了
<input type="time">
对象上的valueAsDate
和valueAsNumber
方法({{bug("781570")}}).<input type="time">
对象上的min
和max
属性({{bug("781572")}}).window.crypto.getRandomValues
函数({{bug("440046")}}).Content-Security-Policy
HTTP header (in addition to the experimental X-Content-Security-Policy
) has been added ({{bug("783049")}}). Note: the patch for this new header landed in Firefox 21, it is disabled on builds ({{bug("842657")}}).mozIAsyncFavicons
:
nsIFaviconService::setFaviconUrlForPage
nsIFaviconService::setFaviconData
nsIFaviconService::getFaviconData
nsIFaviconService::getFaviconForPage
nsIFaviconService::setAndLoadFaviconForPage
nsIFaviconService::getFaviconImageForPage
nsIFaviconService::getFaviconDataAsDataURL
mozIAsyncLivemarks
:
nsILivemarkService::*
PlacesUtils.itemIsLivemark
PlacesUtils.nodeIsLivemarkContainer
PlacesUtils.nodeIsLivemarkItem
PlacesUIUtils.showBookmarkDialog
mozIAsyncHistory
instead:
nsIGlobalHistory2::addURI
nsIGlobalHistory2::isVisited
nsIGlobalHistory2::setPageTitle
onDeleteURI
or onItemRemoved
:
nsINavHistoryObserver::OnBeforeDeleteURI
nsINavBookmarkObserver::OnBeforeItemRemoved
nsINavHistoryFullVisitResultNode
mozIAsyncHistory::updatePlaces
instead:
nsINavHistoryService::AddVisit
{{Firefox_for_developers('20')}}