Mozilla support list for HTML5 specification

Source: Internet
Author: User
Tags html interpreter mozilla developer network

Translated from Mozilla Developer Network

On October 28, 2009, the HTML 5 specification draft was largely finalized in the Web Hypertext Application Working Group (WHATWG), which meant that the HTML 5 standard was basically stereotyped. Here are some of the HTML 5 features that have been supported in Mozilla's gecko.

HTML5 Introduction

HTML5 Introduction
This article describes how to use HTML5 in your web design and applications.

HTML5 elements

Using audio and video elements (Firefox 3.5)
Support for audio and video elements in HTML5 is added in Firefox 3.5.

Canvas support

Use canvas to paint (Firefox 1.5)
Learn how to use the new <canvas> tags to draw in Firefox.

Using the HTML5 text API in the Cavnas element (Firefox 3.5)
Canvas now supports HTML5 's text drawing API.

Network application features

Offline resources (Firefox 3.5)
Firefox fully supports the HTML 5 offline resource specification.

Worker thread--web Workers (Firefox 3.5)
Firefox 3.5 began to support worker threads, allowing multithreaded operations to be available in network applications. Although this part is not a HTML5 specification, it has been WHATWG normalized and is often mentioned as part of the feature HTML5.

Online and offline events (Firefox 3)
The online and offline events in Firefox 3 that support the WHATWG specification allow network applications and browser extensions to monitor whether a user currently has an available network connection, and also monitoring the effectiveness of the network connection.

WHATWG client session and persistent storage-dom storage (Firefox 2)
Customer short sessions and persistent storage allow network applications to store structural session data on the client.

Using file objects in a web app (Firefox 3.6)
Support for the new HTML5 file API has been added to the Gecko engine to allow network applications to operate more easily on local files that the user chooses. The content includes selecting multiple files by specifying the input control for type= ' file '.

Dom Features

Getelementsbyclassname (Firefox 3)
The use of the Getelementsbyclassname method on document objects and ELEMENT nodes has been added to Firefox. You can find nodes by class name or class name list.

Drag-and-drop operation (Firefox 3.5)
HTML5 's Drag API allows objects to be dragged between sites and multiple sites. A simpler API is now available for extensions and applications based on Mozilla technology.

Focus Management in HTML (Firefox 3)
The new HTML5 activeelement and Hasfocus properties are now supported.

Web applications can be registered as Protocol handlers (Firefox 3) Now you can use the Navigator.registerprotocolhandler () method to register a network application as a protocol processor-protocol handlers.

HTML interpreter

Since 2010, the gecko built-in HTML5 compatible interpreter has been turned on by default-the interpreter is responsible for translating HTML bytes read from the Web into the Document Object model. (Note that there are a lot of problems with the HTML5 interpreter built into the gecko 1.9.2, the Firefox 3.6 series, and hopefully not open in real-world use.) This interpreter will be used in Firefox 4.

Other changes
      • LocalName and NamespaceURI in HTML documents work the same way as similar attributes in XML: LocalName returns lowercase content, HTML element NamespaceURI is "http://www.w3.org/1999/ XHTML "(Firefox 3.6)
      • The page can receive "Hashchange" events when the document fragment identification of the page URI (the part after "#" in the URL) changes. You can view window.onhashchange for more information (Firefox 3.6)
      • Support HTML5 's element.classlist for easy access to class properties (Firefox 3.6)
      • Color information in Display properties is parsed according to HTML5 rules (Firefox 4)

http://mozilla.com.cn/post/21628/

Mozilla support list for HTML5 specification

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.