---
title: Firefox 45 для разработчиков
slug: Mozilla/Firefox/Releases/45
translation_of: Mozilla/Firefox/Releases/45
---
{{FirefoxSidebar}}
Установить Firefox Developer Edition Firefox 45 был выпущен 8 марта 2016 года. В этой статье перечислены ключевые изменения, которые полезны не только для веб-разработчиков, но и для разработчиков Firefox и Gecko, а также для разработчиков приложений.
Изменения для Веб разработчиков
Инструменты разработчика
Без изменений.
HTML
- Настройки безопасности содержимого можно устанавливать прямо на html элемент {{HTMLElement("meta")}} ({{bug(663570)}}).
- Атрибут
referrer
переименован в referrerpolicy
в тегах {{HTMLElement("image")}}, {{HTMLElement("area")}}, {{HTMLElement("a")}}, and {{HTMLElement("iframe")}} ({{bug(1187357)}}).
CSS
- В {{cssxref("word-spacing")}} можно указывать значения в процентах ({{bug(1038663)}}).
- Добавлены
inline-start
и inline-end
в {{cssxref("float")}} and {{cssxref("clear")}} ({{bug(1122918)}}). Они активированы по умолчанию в Nightly и Aurora (Dev edition), а также в Firefox OS; чтобы активировать их в текущем релизе или бете, нужно установить значение layout.css.float-logical-values.enabled
в true (about:config).
- Реализованы The {{cssxref("text-emphasis")}}, {{cssxref("text-emphasis-style")}}, {{cssxref("text-emphasis-color")}}, и {{cssxref("text-emphasis-position")}}; по умолчанию они недоступны, чтобы активировать их (установите значение
layout.css.text-emphasis.enabled
в true ({{bug(1040668)}}).
- Алиас -webkit-transform related CSS properties ({{bug(1179444)}}).
- Support -webkit-min-device-pixel-ratio in CSS media queries (nonstandard version of "min-resolution") ({{bug(1176968)}}).
- Remove pref layout.css.ruby.enabled ({{bug(1202940)}}).
- [css-grid][css-flexbox] Implement grid/flex layout for <fieldset> ({{bug(1230207)}}).
- Support -webkit-box styling, as aliases for modern CSS flexbox (behind a pref) ({{bug(1208635)}}).
- Our experimental implementation of CSS Grids has been improved:
- Gutters, that is the {{cssxref("grid-column-gap")}}, {{cssxref("grid-row-gap")}}, and {{cssxref("grid-gap")}} properties are now supported ({{bug(1176792)}}).
- The implied minimum size of grid Items, that is the special {{cssxref("min-width")}} and {{cssxref("min-height")}}
auto
behavior has been implemented ({{bug(1176775)}}).
- Percentage lengths for grid item are now calculated correctly ({{bug(1163435)}}).
- {{cssxref("align-self")}} and {{cssxref("justify-self")}} are now supported on grid layouts ({{bug(1151213)}}).
- {{cssxref("align-content")}} and {{cssxref("justify-content")}} are now supported on grid layouts ({{bug(1151214)}}).
- An empty grid now still has one explicit grid line in each axis ({{bug(1215099)}}).
- Negative line numbers should start counting from the end of the explicit grid ({{bug(1215957)}}).
- Make our "Implicit Named Areas" handling match the spec ({{bug(1215182)}}).
- Tweak the implementation of Grid Placement Conflict Handling (due to a spec change) ({{bug(1211260)}}).
- min-height is not applied to grid container ({{bug(1229165)}}).
- Grid item with 100%-wide image ends up hugely tall ({{bug(1227285)}}).
- Fix grid-auto-flow: dense algorithm error ({{bug(1228984)}}).
- abs.pos. child spanning from an 'auto' start position to an end line should end on the start side of the gutter ({{bug(1230695)}}).
JavaScript
- {{jsxref("Operators/Expression_closures", "Expression closures", "", 1)}} are deprecated and will now present a warning in the console ({{bug(995610)}}).
- {{jsxref("String.prototype.replace")}} does not restore {{jsxref("Global_Objects/RegExp/n", "RegExp static properties", "", 1)}} after executing function parameter anymore ({{bug(1226936)}}).
- The ES2016 (ES7) {{jsxref("Object.entries()")}} and {{jsxref("Object.values()")}} methods have been implemented in non-release channels ({{bug(1208464)}}).
- The ES2015 (ES6) block-level functions have been implemented ({{bug(1071646)}}).
Interfaces/APIs/DOM
DOM & HTML DOM
- Для улучшения совместимости реализовано нестандартное свойство
Node.innerText
({{bug(264412)}}).
- <img srcset> реагирует на изменения размеров/области просмотра ({{bug(1166138)}}).
WebGL
Без изменений.
IndexedDB
Без изменений.
Service Workers
- Реализованы {{domxref("Clients.get()")}} и {{domxref("FetchEvent.clientId")}} ({{bug(1222464)}}.)
- Реализовано {{domxref("Clients.openWindow()")}} ({{bug(1172870)}}.)
WebRTC
Без изменений.
New APIs
Без изменений.
Разное
- Web Speech Synthesis API has been implemented on Firefox Desktop ({{bug(1003439)}}).Реализован API
- The {{domxref("Window.onstorage")}} event handler has been added.
- The interface {{domxref("ComputedTiming")}} have been added to our experimental implmenation of Web Animations API ({{bug(1108055)}}).
No change.
MathML
No change.
SVG
- SVG stroke hit-testing is buggy when cairo is the Moz2D backend ({{bug(676001)}}).
- Unable to interact with elements who have large transform / translate values ({{bug(1217012)}}).
Audio/Video
- Fixed: Regression (since Firefox 41) whereby audio playback was stuttering due to duration time rounding errors ({{bug(1222866)}}.)
HTTP
No change.
Networking
No change.
Security
- Support of the
child-src
CSP policy directive has been implemented ({{bug(1045891)}}).
- EV certificates with a validity greater than 27 months are now considered and handled as DV certificates ({{bug(1222903)}}).
Changes for add-on and Mozilla developers
Interfaces
Без изменений.
XUL
Без изменений
JavaScript code modules
Без изменений.
XPCOM
Без изменений.
Other
- WebIDL constructors could be called without the
new
operator in chrome context.. Now such code will raise a TypeError
like in Web content since Firefox 30. For example, var req = XMLHttpRequest();
need to be var req = new XMLHttpRequest();
.
See also
Older versions
{{Firefox_for_developers(44)}}