background preloader

Web API

Facebook Twitter

XMLHttpRequest Level 2. Abstract The XMLHttpRequest specification defines an API that provides scripted client functionality for transferring data between a client and a server.

XMLHttpRequest Level 2

Status of this Document This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at This document is published as a snapshot of the XMLHttpRequest Living Specification. If you wish to make comments regarding this document in a manner that is tracked by the W3C, please submit them via using our public bug database, or please send comments to public-webapps@w3.org (archived) with [XHR] at the start of the subject line.

Selectors API Level 1. Abstract Selectors, which are widely used in CSS, are patterns that match against elements in a tree structure [SELECT][CSS21].

Selectors API Level 1

The Selectors API specification defines methods for retrieving Element nodes from the DOM by matching against a group of selectors. It is often desirable to perform DOM operations on a specific set of elements in a document. These methods simplify the process of acquiring specific elements, especially compared with the more verbose techniques defined and used in the past. C WebApps Working Group. Network Communication API. Abstract To enable Web applications to communicate using TCP this specification introduces the TCPSocket interface and a corresponding optional security model.

Network Communication API

Web IDL. This section describes a language, Web IDL, which can be used to define interfaces for APIs in the Web platform.

Web IDL

A specification that defines Web APIs can include one or more IDL fragments that describe the interfaces (the state and behavior that objects can exhibit) for the APIs defined by that specification. An IDL fragment is a sequence of definitions that matches the Definitions grammar symbol. The set of IDL fragments that an implementation supports is not ordered. Each definition (matching Definition) can be preceded by a list of extended attributes (matching ExtendedAttributeList), which can control how the definition will be handled in language bindings. 3.1. Every interface, partial interface definition, dictionary, partial dictionary definition, exception, enumeration, callback function and typedef (together called named definitions ) and every constant, attribute, exception field and dictionary member has an identifier , as do some operations.

Reserved identifiers. File API. Abstract This specification provides an API for representing file objects in web applications, as well as programmatically selecting them and accessing their data.

File API

This includes: A FileList interface, which represents an array of individually selected files from the underlying system. The user interface for selection can be invoked via <input type="file">, i.e. when the input element is in the File Upload state [HTML] . A Blob interface, which represents immutable raw binary data, and allows access to ranges of bytes within the Blob object as a separate Blob. Additionally, this specification defines objects to be used within threaded web applications for the synchronous reading of files. The section on Requirements and Use Cases [REQ] covers the motivation behind this specification. C Web API Working Group. Element Traversal Specification. Abstract This specification defines the ElementTraversal interface, which allows script navigation of the elements of a DOM tree, excluding all other nodes in the DOM, such as text nodes.

Element Traversal Specification

It also provides an attribute to expose the number of child elements of an element. It is intended to provide a more convenient alternative to existing DOM navigation interfaces, with a low implementation footprint. Status of this Document This section describes the status of this document at the time of its publication. This is the 22 December 2008 Recommendation of the Element Traversal specification.

This document has been reviewed by W3C Members, by software developers, and by other W3C groups and interested parties, and is endorsed by the Director as a W3C Recommendation. The Web Applications (WebApps) Working Group has produced a test suite and implementation report to indicate the current level of implementation support for this specification, with passing results for all tests. Clipboard API and events. Abstract This document describes APIs for clipboard operations such as copy, cut and paste in web applications.

Clipboard API and events

Status of This Document This section describes the status of this document at the time of its publication.