The modular architecture of PIE 2 made me wondering if there could be a way to replace in CSS files:
.pie { behavior: url(PIE.htc); }
with
.pie { behavior: expression(/* insert some clever code here doing the same thing as PIE.htc */); }
This could save an HTTP request and prevent problems such as HTC invalid mime-type and path relative to HTML.
But I don't know enough about CSS expressions to do it alone, I just know they can do amazing things, like min-max/width-height, or pure CSS PNG fix on old IEs... so why not trying to load an external JS file and call the appropriate functions when the element is created or deleted?
What's your opinion?
Thanks!
Wed Sep 04, 2013 3:46 am
jason
Joined: Wed Jul 14, 2010 11:46 am Posts: 1452
Re: Could PIE.htc be replaced by a css expression?
I fooled around with that idea briefly a while back. The thing that kills it is that CSS expressions are not supported in IE8 standards mode and later.
Wed Sep 11, 2013 1:38 pm
xem
Joined: Thu Apr 07, 2011 3:23 am Posts: 73
Re: Could PIE.htc be replaced by a css expression?
Users browsing this forum: No registered users and 4 guests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum