--- 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::setFaviconUrlForPagensIFaviconService::setFaviconDatansIFaviconService::getFaviconDatansIFaviconService::getFaviconForPagensIFaviconService::setAndLoadFaviconForPagensIFaviconService::getFaviconImageForPagensIFaviconService::getFaviconDataAsDataURLmozIAsyncLivemarks:
nsILivemarkService::*PlacesUtils.itemIsLivemarkPlacesUtils.nodeIsLivemarkContainerPlacesUtils.nodeIsLivemarkItemPlacesUIUtils.showBookmarkDialogmozIAsyncHistory instead:
nsIGlobalHistory2::addURInsIGlobalHistory2::isVisitednsIGlobalHistory2::setPageTitleonDeleteURI or onItemRemoved:
nsINavHistoryObserver::OnBeforeDeleteURInsINavBookmarkObserver::OnBeforeItemRemovednsINavHistoryFullVisitResultNode mozIAsyncHistory::updatePlaces instead:
nsINavHistoryService::AddVisit{{Firefox_for_developers('20')}}