W3C API

The APIs listed in this category are all part of the W3C specifications. Some of the APIs are stable while others are draft specifications. The draft APIs are subject to change as the W3C specification evolves.

The W3C APIs are categorized based on the functionality to make it easier to locate specific APIs. 

DOM, Forms and Styles

Specification
Description
Status *
HTML5 Forms (Partial)

HTML5 form features. The method and attribute currently not supported is:

  • getter (RadioNodeList or Element) (DOMString name) of HTMLFormElement interface
  • tooShort of ValidityState interface

Some Input type form features may be omitted if the device does not need:

  • time, date, datetime, datetime_local, month and week
CR
Selectors API Level 1 API for retrieving Element nodes from the DOM by matching against a group of selectors REC
Selectors API Level 2 (Partial)

API for retrieving Element nodes from the DOM by matching against a group of selectors, and for testing if a given element matches a particular selector. The methods currently not supported are:

  • find, findAll of Document interface
  • find, findAll of DocumentFragment interface
  • find, findAll of Element interface 
Note
Media Queries Offers a mechanism that allows adapting the layout and behavior of a Web page based on some of the characteristics of the device, including the screen width/height. REC
CSS Transforms CSS transforms allows elements styled with CSS to be transformed in two-dimensional or three-dimensional space. WD
CSS Animations Module Level 3 CSS Animations allow an author to modify CSS property values over time. WD
CSS Transitions Module Level 3 CSS Transitions allow property changes in CSS values to occur smoothly over a specified duration. WD
CSS Color Module Level 3 CSS3 color enhancements related to color values and properties for foreground color and group opacity REC
CSS Backgrounds and Borders Module Level 3 Rounded corners, complex background images, shadow effects. LCWD
CSS Flexible Box Layout Module CSS box model optimized for user interface design. LCWD
CSS Multi-column Layout Module (Partial)

Creates multiple columns for laying out text. The property currently not supported is:

  • column-fill

The values currently not supported are:

  • avoid-page and avoid-column of properties break-before, break-after and break-inside
CR
CSS Text Module Level 3 (Partial)

CSS properties for text manipulation and specifies their processing model. The property and property values currently not supported are:

  • hanging-punctuation
  • full-width of text-transform property
  • keep-all of word-break property 
LCWD
CSS Basic User Interface Module Level 3 (CSS3 UI) User interface related CSS enhancements. WD
CSS Fonts Module Level 3 (Partial)

@font-face rule with downloadable font src URL. The properties and property values currently not supported are:

  • font-language-override, font-size-adjust, font-synthesis, font-variant-alternates, font-variant-east-asian, font-variant-numeric, font-variant-position
  • font-variant-caps, petite-caps, all-petite-caps, unicase, titling-caps of font-variant-caps property 
CR
WOFF File Format 1.0 Web Open Font Format: File Format 1.0. REC
DOM/JavaScript related HTML5 Enhancements Handy DOM/JavaScript related enhancements in HTML5. CR
HTML5 The session history of browsing contexts (Partial)

Navigating the sequence of documents in a browsing context. The dictionaries currently not supported are:

  • PopStateEventInit
  • HashChangeEventInit
  • PageTransitionEventInit
CR

Device

Specification
Description
Status *
HTML5 Browser state Signals when network connectivity is available to the Web environment CR
The Screen Orientation API

To provide an interface for web applications to be able to read the screen orientation state, to be informed when this state changes and to be able to lock the screen orientation to a specific state.

Required feature:

WD

Graphics

Specification
Description
Status *

HTML5 The canvas element (Partial)

HTML5 canvas element including 2D context and text. The method currently not supported is:

  • toBlob of HTMLCanvasElement interface
CR
HTML Canvas 2D Context (Partial)

2D Context for the HTML canvas element. The methods currently not supported are:

  • drawSystemFocusRing, drawCustomFocusRing, scrollPathIntoView, addHitRegion, removeHitRegion of CanvasRenderingContext2D interface
  • ellipse of CanvasPathMethods interface
CR
HTML5 SVG (Partial)

Inline SVG (1.1) support in HTML5. The attributes and methods currently not supported are:

  • iccColor of SVGColor interface
  • title, referrer, domain, URL of SVGDocument interface
  • kernelUnitLengthX, kernelUnitLengthY of SVGFESpecularLightingElement interface
  • suspendRedraw, unsuspendRedraw, unsuspendRedrawAll, forceRedraw of SVGSVGElement interface
  • hasExtension of SVGTests interface
CR

Media

Specification
Description
Status *
HTML5 The video element (Partial) HTML5 video element. The attributes currently not supported are:

  • crossorigin of HTMLMediaElement interface

CR
HTML5 The audio element (Partial) HTML5 audio element. The attributes currently not supported are:

  • crossorigin of HTMLMediaElement interface

CR

getUserMedia

API that directly manipulates streams from cameras and microphones.

Privilege level: Public
Privilegehttp://tizen.org/privilege/mediacapture
Required feature

ED
HTML Media Capture Capture and record multimedia content with input tag.

Required feature:

CR

Communication

Specification
Description
Status *
The WebSocket API Offers bi-directional network connectivity.

CR
XMLHttpRequest Level 1 Enhancements on XHR, including binary file uploading, formdata submission, transfer progress, etc.

WD
Server-Sent Events The API allows triggering DOM events based on push notifications(via HTTP and other protocols). CR
HTML5 Web Messaging HTML5 Web Messaging. The postMessage API allows for Web Applications to communicate between each other. CR

Storage

Specification
Description
Status *
Web Storage W3C storage specification including session and local storage. WD
File API Reads files from local device file system. WD
HTML5 Application caches HTML5 application cache and custom handlers. CR
Indexed Database API A database of values and hierarchical objects that integrates naturally with JavaScript, and can be queried and updated very efficiently. The attributes and method currently not supported are:

LCWD

Security

Specification
Description
Status *
Cross-Origin Resource Sharing Sharing of resources across different domains.

REC
HTML5 The iframe element Access restriction (sandboxing) for iframe content. The available values of sandbox attribute are:

  • allow-same-origin, allow-scripts, allow-forms, allow-top-navigation

CR
Content Security Policy 1.0 Defines a policy language used to declare a set of content restrictions for a web resource, and a mechanism for transmitting the policy from a server to a client where the policy is enforced. The directive currently not supported is:

  • object-src

CR

UI

Specification
Description
Status *
Clipboard API and events (Partial) To describe APIs for clipboard operations such as copy, cut and paste in web applications.

  • The constructor of ClipboardEvent interface is not supported.

WD

Performance and Optimization

Specification
Description
Status *
Web Workers (Partial) API that allows Web application authors to spawn background workers running scripts in parallel to their main page. The event handlers, interfaces and attributes currently not supported are:

  • ononline, onoffline of WorkerGlobalScope interface SharedWorkerGlobalScope and SharedWorker interfaces

     CR
Page Visibility This specification defines a means for developers to programmatically determine the current visibility state of the page in order to develop power and CPU efficient Web applications. REC
Timing control for script-based animations Resource effective animation timing control by user agent. CR
This specification defines an interface for web applications to access timing information related to navigation and elements. REC

Widget

Specification
Description
Status *
Widget Packaging and XML Configuration A packaging format and metadata for a class of software known as widgets. REC
Widget Interface API for widgets that provides, amongst other things, functionality for accessing a widget's metadata and persistently storing data. LCWD
XML Digital Signatures for Widgets A profile of the XML Signature Syntax and Processing 1.1 specification to allow a widget package to be digitally signed. PR
* W3C Specification Status

Note: The APIs in ED, WD, LC status are considered to be in preliminary state. Such APIs do not carry a version compatibility promise. They may change in future versions of Tizen if the specifications change.