Re: Attach PIE.js automatically on elements with CSS3 proper
First, since Friday, I thought about my solution for the IE6/IE7 margin bug (replace margin-top with a position: relative & top += margin-top) and now I think it's not the good way to do it (even if it kinda works).
I don't like this because it forces the "position: relative" on all the elements after the margin-topped element - they could need another position than "relative", and my fix wouldn't be compatible with this.
So I'm gonna re-do it but with the solution we discussed earlier on this topic: viewtopic.php?f=3&t=1279
Since you're trying to tackle margin collapsing here, do you happen to have a set of testcases that you're using to verify it works? If so, could you send them my way? I'm trying to integrate a workaround into PIE itself and testcases would be very useful.
For now, my only test case is the last attached HTML file, which of course isn't complete.
I'm okay to write such a test case, as soon as I have some time,
BTW thanks for your advices in this post viewtopic.php?p=4025#p4025
, i'll consider each of the points you mentioned.
I've got some more comments on the current code, but this forum is a bit awkward for making line-level comments. Would you be able to check it into a public GitHub repository or something?
I'm already juggling with SVN and Mercurial on various projects but I guess I could try Git too ^^, I don't know how to use that yet.
So, see you soon.
PS: do you know why my tested border-image doesn't work on IE9 only?