Provide a prefix object on window or navigator

RESOLVED WONTFIX

Status

()

Core
DOM
RESOLVED WONTFIX
6 years ago
5 years ago

People

(Reporter: dbuc, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
We should provide a prefix object on the window or navigator object that provides the following prefix styles:

(window|navigator).prefix = {
  dom: 'moz',
  js: 'Moz',
  css: '-moz-'
};

This is a stupid simple way to immediately provide developers a sane way to deal with prefix issues and help fight the gravitational prefix pull of WebKit.
Was that discussed in any WG?
I don't think so.
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.