DOM/prefixes

From MozillaWiki
< DOM
Jump to: navigation, search

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