CSS3 PIE Forums

Only Border-radius FIX.
Page 1 of 1

Author:  jsldtakafc [ Sat Sep 13, 2014 11:29 am ]
Post subject:  Only Border-radius FIX.

Hi guys,

I am using CSS3 PIE solely for the border-radius fix in IE, it is working great.
It would be even better if the file was a little smaller, and would load quicker. This will improve if the .htc file only contains the border-radius fix. Does someone know if such file is available? This file doesn't work: https://code.google.com/p/curved-corner/downloads/detail?name=border-radius.htc.

Thanks in advance!


Author:  jason [ Fri Sep 26, 2014 10:59 am ]
Post subject:  Re: Only Border-radius FIX.

Thanks for the input! This has been suggested a few times before and I've actually prototyped it out a bit. Unfortunately, border-radius is not something that can be easily isolated -- rendering rounded corners requires a full re-rendering of the element's border and background, and therefore requires most of the code around parsing and rendering borders and background properties. So the file size improvement ends up not being nearly as significant as you'd expect, and that's put it pretty far down my priority list.

That said, PIE 2.0's new loading mechanism was partially designed with this sort of feature-specific build in mind, so I'm not against the idea. If someone wanted to step up and do the work to figure out what parts of the code could be eliminated, I'd welcome it.

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group