This project is archived and is in readonly mode.

Adding a prefix property to Browser/Browser.Engine
Reported by Arieh | September 15th, 2010 @ 12:10 PM | in 2.0 (closed)
Hey.
I thought it might be useful to add a prefix property to Browser,
that will contain the css prefix used for the current browser.
Something like:
Browser.prefix = (Browser.Engine.gecko)
? 'moz' : (Browser.Engine.webkit)
? 'webkit' : (Browser.Engine.presto)
? 'o' : 'ms';</code>
This can be very useful for apps working with CSS3
Comments and changes to this ticket
-
Arieh September 15th, 2010 @ 12:11 PM
code looks broken so:
Browser.prefix = (Browser.Engine.gecko)
? 'moz' : (Browser.Engine.webkit) ? 'webkit' : (Browser.Engine.presto) ? 'o' : 'ms';
-
Christoph Pojer September 15th, 2010 @ 01:06 PM
- Milestone set to 2.0
- State changed from new to open
- Assigned user set to Valerio
- Milestone order changed from 798 to 0
-
ibolmo January 19th, 2012 @ 08:08 AM
- State changed from open to invalid
Moved to Github Issues: https://github.com/mootools/mootools-core/issues/2218
Please use Github Issues, since Lighthouse has been deprecated.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »