| Page 1 of 1 | [ 7 posts ] |
|
We are using the calendar control on our website that uses https. When I display the calendar in IE 7, I get the dreaded secure/non-secure content security warning. I believe it's because the css is using data uri's for backgrounds:
Code: backgroud: transparent url(data:image/png;base64,.....) After googling, it appears that data uri's are not supported in IE < 8. Any ideas on the best ways to fix this? |
Allen RabinovichYUI Developer
|
Hi Erik,
The data URIs are not supported in IE < 8, but the calendar skin uses an IE-specific *display property on the "<" and ">" symbols in the calendar controls to put them in place if the sprite backgrounds are not supported. One thing to try would be to overwrite the *background property as well (* will make it specific to IE < 8), with an empty value. I don't know if that will defeat the warning or not off the top of my head. I'll look into this more and post followups if I find other workarounds. |
|
You are correct, it is functionality appropriately and the "<" and ">" are showing in IE 7. I'll try out the *background option and look into modifying the css to target only IE 8 and higher.
|
|
Ok, it appears that if I add a
*background: none; after the background with the data URI, I stop getting the warning in IE 7. Is this something that should be filed as a defect? Could this type of issue be affecting other YUI modules? |
|
One other thought. Would it be possible to create the navigation arrows using just CSS borders? Similar to how Luke implemented the up/down sort arrows in the DataTable?
|
Allen RabinovichYUI Developer
|
This is definitely a defect, and I think the idea to use CSS borders is a good one. Can you file this as a defect for calendar? The short term fix would be adding the *background property, but if I have some extra time left this sprint, I'll switch the skin to CSS borders.
|
|
Ticket #2532321
Thanks for the help. I know that some data URIs are used in other modules. Might want to let the other component owners know about this issue so they can verify there aren't other bugs. |
| Page 1 of 1 | [ 7 posts ] |
| 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 |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group