News for hackers. Stuff that matters.
Re:Lesser known cool features of HTML5 by sp332 on Thursday July 14, 2011 @09:17AM (#2762857)
Features that haven't been standardized are put in their own namespaces. For example, webkit-* and mozilla-* had conflicting implementations of CSS gradients for a while. After the standard was ratified, the prefix was removed. Safari still supported the old webkit-* syntax, and Firefox still didn't, just like before, but new pages could use the functionality without the prefix and it would work in both browsers.

Also, if webkit has settings or features that are specific to the library used, it makes sense to put those in a different namespace as well, to avoid pollution.

There are no comments on this comment yet.