ElkArte Community

Elk Development => Theme development => Topic started by: forumsearch0r on January 26, 2014, 12:10:11 pm

Title: Add prefixfree
Post by: forumsearch0r on January 26, 2014, 12:10:11 pm
As my Firefox error console dislikes the amount of not officially supported CSS3 extensions here, you might want to integrate prefixfree (https://github.com/LeaVerou/prefixfree) or something.
Title: Re: Add prefixfree
Post by: Jokerâ„¢ on January 31, 2014, 12:00:58 pm
Well I'm personally a big fan of prefix-free, even used on my personal online portfolio.

I've proposed this to SMF team as well, and most of the team members turned this down, as it's a 3rd party api/lib/code. Lol, what is jQuery then?
Title: Re: Add prefixfree
Post by: forumsearch0r on January 31, 2014, 12:03:04 pm
With the additional joke that prefixfree is easy to maintain, while jQuery is not.
Title: Re: Add prefixfree
Post by: Spuds on January 31, 2014, 03:22:34 pm
Had not heard of it before,  interesting idea. 

Seems like the main benefit is it lets us just write "compliant" css, or mostly so thats good for maintenance (less tags to remove as time goes on).  Only negative I see is that the page may render and the render some areas again as the JS get loaded and run.  Certainly something to consider.
Title: Re: Add prefixfree
Post by: forumsearch0r on January 31, 2014, 03:23:33 pm
Quote from: Spuds – Only negative I see is that the page may render and the render some areas again as the JS get loaded and run.

This would be a valid negative if ElkArte wouldn't already use several KiB of JavaScript...
Title: Re: Add prefixfree
Post by: Nao on January 31, 2014, 03:26:07 pm
I'd have used that one if I hadn't already built a better replacement (which, granted, requires some tech watch now and then, but at least it avoids any kind of FOUC). I liked it so much, there's even a line of code by me in it.. ;) (the simplified algorithm for converting between old and new rotation schemes in linear gradients. I didn't do a pull request for that as i wasn't good at git at the time, but my discussion can still be found over at github. Yeah, I'm proud -- and shallow! I can do no better in my life.)
Title: Re: Add prefixfree
Post by: forumsearch0r on May 24, 2014, 07:23:34 pm
I'd push this (just found the "hyphens" warning in my console here).
Title: Re: Add prefixfree
Post by: emanuele on May 25, 2014, 03:32:08 am
The minified version is about 2k, we are (apparently) serving 30k for jQuery and 30k for the combined top.

I suspect these prefixes are not meant to be removed "soon", right?
On the other hand, I suspect the js could be loaded only if the browser need it.
Title: Re: Add prefixfree
Post by: forumsearch0r on May 25, 2014, 05:43:41 am
Well, as it is now, the error console throws some errors (related to the "hyphens" tag).