New Features of Firefox 5:
-
- Supports css3 animations, such as transition and keyframes. The-moz-prefix is required;
-
- All elements support the accesskey attribute, blur (), click (), focus (), and other methods;
-
- UTF-7 and UTF-32 character sets are no longer supported;
-
- AndroidThe woff font is supported;
-
- Extensive improvements to canvas:
- Canvas 2D supports setting an imagedata object as the input of the createimagedata () method;
- If an infinite value is specified for the canvasgradient method addcolorstop, index_size_err is returned instead of syntax_err;
- The todataurl () method of htmlcanvaselement can correctly convert the specified MIME type to lowercase before matching;
- When creatradialgradient () is called, if a negative value is specified, index_size_err is returned correctly;
- Including translate (), transform (), rect (), clearrect (), fillrect (), strokerect (), lineto (), moveTo (), quadraticcurveto (), or an invalid value set by arc () will not throw an exception, but will be ignored;
- Setting invalid values for rotate and scale will be ignored;
- Setting invalid values for shadowoffsetx, shadowoffsety, or shadowblur will be ignored;
- Other bugfix...
- a large number of Dom updates
- the modify () method of the selection object is adjusted. Consecutive spaces are no longer included in the selected text, which is consistent with the WebKit behavior.
- window. the setTimeout () method imposes a limit on the interactive tab. A maximum of timeout is sent every second, and the minimum value of nested timeout follow the HTML5 Standard 4 ms-the previous 10 ms;
- the setTimeout and window. setinterval () methods are used to limit the maximum number of times in the interactive tab.
- XMLHttpRequest supports loadend events to process listeners.
- the slice () method of blob and file objects is removed, and replaced by elastic slice ();
- window. Navigator. Language is detected by the accept-language in the HTTP header.