madrobby / scripty2

scripty2: for a more delicious web
http://scripty2.com/
Other
516 stars 57 forks source link

Broken VENDOR_PREFIX detection on Minefield #14

Open charettes opened 13 years ago

charettes commented 13 years ago

It looks like firefox is dropping the style.MozBorderRadius in favor of style.borderRadius which breaks VENDOR_PREFIX detection AND VENDOR_MAP.

We should try to find another way of populating the VENDOR_MAP. Maybe by iterating through a list of style properties scripty2 depends on by testing the presence of the property and fallback appending possible prefixes (webkit Moz) and cache it.

I'll have a look at it tomorrow.

savetheclocktower commented 13 years ago

Yeah, the vendor prefix stuff was my way of prying open this gigantic can of worms. It definitely needs a more solid implementation. Thanks for taking a stab at it!

charettes commented 13 years ago

Let me know what you think of my approach @ http://github.com/charettes/scripty2/commits/fix-vendor-map.