DOM/prefixes: Difference between revisions

< DOM
(fill out prefixed apis with a few examples, policy, unprefixing, and dropping. float TOC)
m (s)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<div style="float:right">__TOC__</div>
{{stub}}
{{stub}}
<span style="float:right">__TOC__</span>
 
Some [[DOM]] APIs have vendor prefixes on them. This page provides documentation on which (partial), why (Mozilla's DOM prefixing policy), and how we transition away from vendor prefixes.
Some [[DOM]] APIs have vendor prefixes on them. This page provides documentation on which (partial), why (Mozilla's DOM prefixing policy), and how we transition away from vendor prefixes.



Latest revision as of 00:38, 16 August 2013

This article is a stub. You can help MozillaWiki by expanding it.

Some DOM APIs have vendor prefixes on them. This page provides documentation on which (partial), why (Mozilla's DOM prefixing policy), and how we transition away from vendor prefixes.

Prefixed APIs

Policy

In short: no new DOM/WebAPI prefixes.

Unprefixing

When do we implement an unprefixed version of an API?

Requirements for unprefixing a particular DOM API:

  1. There must be a public specification for the unprefixed version.
  2. We must make sure our implementation adheres to the specification before supporting the unprefixed version of an API in Gecko.

Dropping

When do we drop support for a prefixed version of an API?

Requirements:

  1. We must support an unprefixed version
  2. The web doesn't depend on the prefixed version too much (to be evaluated on a per case basis).

See Also