Bug in jsavard_mojoportal in Safari browser (Windows)

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
2/6/2009 6:32:31 AM
Gravatar
Total Posts 88

Bug in jsavard_mojoportal in Safari browser (Windows)

Hi,

I'm having problems with the jsavard_mojoportal skin. I have a forum on my site, and when viewed in Safari (Windows version) the forum text is not visible. The header of each post appears, but not the underlying text. dcarter's skins don't have this problem and I've tried to narrow it down but I am having no luck. I suspect it may have something to do with a neathtml class but the styling is hardcoded so I cannot change it..

Has anyone else had this problem and found a solution?

Many thanks

Leah

2/6/2009 6:41:14 AM
Gravatar
Total Posts 18439

Re: Bug in jsavard_mojoportal in Safari browser (Windows)

Hi Leah,

I will look into this when I get a chance, but I'm pretty sure it has nothing to do with neathtml as that would impact all skins. NeatHtml is just to prevent cross site scripting and other attacks caused by users posting malicious content it should not impact the visibility or css.

Best,

Joe

2/6/2009 6:47:17 AM
Gravatar
Total Posts 18439

Re: Bug in jsavard_mojoportal in Safari browser (Windows)

I have to eat my words. I am able to produce the problem here and when I remove NeatHtml it goes away.

I will have to follow up with Dean Brettle, the author of NeatHtml.

Best,

Joe

2/6/2009 7:00:02 AM
Gravatar
Total Posts 88

Re: Bug in jsavard_mojoportal in Safari browser (Windows)

Hi Joe, there seems to be some hardcoded styling on the neathtml - for each forumpost the following HTMl exists:

style='overflow: hidden; position: relative; border: none; padding: 0; margin: 0;' and I thought perhaps the overflow: hidden might be causing the problem? If there are some conflicts on the box positioning the content of the forum post might be being clipped..
 

2/6/2009 7:14:19 AM
Gravatar
Total Posts 18439

Re: Bug in jsavard_mojoportal in Safari browser (Windows)

I've emailed Dean a link to this thread and a screen shot I produced with Safari on my local machine.

I'm sure he will look into it as soon as he's able.

Best,

Joe

 

2/6/2009 7:18:59 AM
Gravatar
Total Posts 88

Re: Bug in jsavard_mojoportal in Safari browser (Windows)

Thanks Joe..

2/6/2009 7:23:43 AM
Gravatar
Total Posts 18439

Re: Bug in jsavard_mojoportal in Safari browser (Windows)

It seems to happen most with very short posts. When I view this thread in Safari your last reply is clipped.

screen shot of clipped post in Safari

 

2/6/2009 7:35:39 AM
Gravatar
Total Posts 18439

Re: Bug in jsavard_mojoportal in Safari browser (Windows)

I see the same problem in Chrome, probably because both Chrome and Safari are based on WebKit

Best,

Joe

2/7/2009 5:02:51 AM
Gravatar
Total Posts 148

Re: Bug in jsavard_mojoportal in Safari browser (Windows)

Fixed in NeatHtml-trunk.218 (just released).  Thanks for the bug report!

--Dean

 

2/7/2009 5:12:10 AM
Gravatar
Total Posts 18439

Re: Bug in jsavard_mojoportal in Safari browser (Windows)

Awesome! Thanks for the quick work Dean, I'll upgrade to the new version today and make a new release of mojoPortal early next week.

Best,

Joe

2/7/2009 7:33:29 AM
Gravatar
Total Posts 18439

Re: Bug in jsavard_mojoportal in Safari browser (Windows)

Hi Leah,

This will be fixed in the next release of mojoPortal, but you can fix it right away by downloading the new release of NeatHtml. All you need is the new version of NeatHtml.js, put it in the /ClientScript folder. You may also need to clear your browser cache to make it load the new js.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.