But the "fix" that I wait the most is to prevent PIE from deleting margin-tops on IE6 and IE7... by using the same technique as dd_roundies.htc that doesn't have this problem, like we discussed here:viewtopic.php?p=5780#p5780

Thanks!

Mon Jan 28, 2013 4:18 am

jason

Joined: Wed Jul 14, 2010 11:46 amPosts: 1451

Re: PIE 2 features

Thanks for the suggestions, they're all good ones!

Inset shadows have been at the top of my list since day 1. As you read in that other thread there are severe limitations with it, however, and despite several tries at a real implementation I've always failed. I might try to do a limited implementation that doesn't work with border-radius, but I'm not committed to it yet.

I do want to flesh out the preliminary work in the text-shadow branch, so it's possible that will make it in 2.0.

Radial gradients are probably never going to be possible in IE 6-8, but I'd like to try getting it done in IE9 for 2.0.

I'll take box-sizing into consideration.

The margin-top workaround sounds like it should be simple, so I'll bump that to the top of my list. I'm leaning toward making it something you have to explicitly enable with a custom CSS property, to prevent unwanted side-effects, but I'll give it a shot without first.

Mon Jan 28, 2013 10:37 am

xem

Joined: Thu Apr 07, 2011 3:23 amPosts: 73

Re: PIE 2 features

Great!

Please keep us posted of what you can achieve when you'll work on that!

- and allow PIE'd elements to be inserted / removed without causing JS errors... (even when using PIE.js)

Just saying ... :p

Mon Feb 04, 2013 3:06 am

jason

Joined: Wed Jul 14, 2010 11:46 amPosts: 1451

Re: PIE 2 features

Do you have an example of JS errors when inserting/removing elements? My testing hasn't triggered any errors.

Mon Feb 04, 2013 10:13 am

xem

Joined: Thu Apr 07, 2011 3:23 amPosts: 73

Re: PIE 2 features

Hi

I can't reproduce any error anymore but I remember it happened on big projects with lots of AJAX updates... I solved it by calling PIE.detach() before each AJAX update, and PIE.attach() after.

It would be great, though, if PIE (2) could automatically detect DOM changes (add + delete) and act accordingly.

But DOM change detection is very hacky...

What about a jQuery plugin that would do this task during jQuery's DOM / AJAX operations?

Tue Feb 05, 2013 2:18 am

jason

Joined: Wed Jul 14, 2010 11:46 amPosts: 1451

Re: PIE 2 features

Theoretically, using the htc behavior should handle DOM changes seamlessly -- that's one of the main reasons I chose to use it. I'm fairly confident that any errors could be fixed within the htc's lifecycle, but it's going to require testcases to reproduce the problem.

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum