Ticket #1484128 (closed Bugs: duplicate)

Opened 2 years ago

Last modified 2 years ago

Preview pane not fully displayed in IE7

Reported by: Gryphon Owned by: robin
Priority: 5 Milestone: 0.2-beta
Component: Interface Version: svn-trunk
Severity: major Keywords: preview pane
Cc:

Description

As of the introduction of the preview pane in Revision 391, the lower pane is not full screen in IE7. It is only as tall as the message subject pane leaving the lower half of the preview area blank.

http://dec01.imghost.us/HJc1.jpg

I compared this feature in Firefox and confirm that it is not working as intended IE7.

Attachments

2006-12-06_142543.jpg (57.2 kB) - added by Gryphon 2 years ago.
Example of display in IE7
RC_407_Safari.png (21.3 kB) - added by ahndee 2 years ago.
preview display in Safari (2.0.4 on 10.4.8/PPC) with r407

Change History

Changed 2 years ago by thomasb

As I don't have IE7 installed here, cold somebody please post fixes for that? Must be a CSS issue.

Changed 2 years ago by ahndee

The preview pane is messed up in Safari as well - looking at the page source I see that there is

<style type="text/css">
#mailcontframe {
  bottom: auto;
  height: 210px;
}
</style>

after the <div id="mailpreviewframe">...</div> - this new style definition (especially the height declaration) seems to override the one in mail.css.

I tried to look through the code to figure out where this additional style is written in order to see whether removing solves the issue but was not able to find the proper place...

Changed 2 years ago by Gryphon

Changing mail.css line no. 147 to 100% appeared to fix it for IE7. Not sure what the result of that is in other browsers.

html>body*#messagecontframe
{
  height: 40%;
}

to

html>body*#messagecontframe
{
  height: 100%;
}

Changed 2 years ago by ahndee

Changing the height from 40% to 100% does not work in Safari - after changing this the preview frame extends beyond the bottom of the viewport.

Changed 2 years ago by Reload

Changing the height from 40% to 100% is working for IE 7.0

Changed 2 years ago by robin

Looks fine with r398. Please test again.

Changed 2 years ago by Gryphon

Example of display in IE7

Changed 2 years ago by Gryphon

Still the same in r400.

Changed 2 years ago by robin

  • owner set to robin
  • status changed from new to assigned
  • severity changed from normal to major

I see it too now. Must have something to do with the fact that IE7 does better CSS rendering than IE6 but still responds to IE6 hacks.

Changed 2 years ago by robin

Please try this:

Index: skins/default/mail.css
===================================================================
--- skins/default/mail.css      (revision 403)
+++ skins/default/mail.css      (working copy)
@@ -144,7 +144,9 @@
 /*\*/
 html>body*#messagecontframe
 {
+  [height: 40%;
   height: 40%;
+  ]height: 100%;
 }
 /**/

Changed 2 years ago by robin

I forgot to give credit to where I found this hack:

LitePacific Hack

Changed 2 years ago by Gryphon

robin, that change works in IE7. I also viewed the change in FF 2.0 and it appears to still work normally as well.

Changed 2 years ago by robin

  • status changed from assigned to closed
  • resolution set to fixed

OK, I've tested this on Opera 9 (win32), Firefox 1.5 (mac), Firefox 2.0 (win32), IE6, IE7 and Safari. Looks good on all of them, commited SVN406.

Changed 2 years ago by ahndee

preview display in Safari (2.0.4 on 10.4.8/PPC) with r407

Changed 2 years ago by ahndee

  • status changed from closed to reopened
  • resolution deleted

Still broken for me with Safari (latest version on 10.4.8/PPC) - see attached file

Changed 2 years ago by robin

  • status changed from reopened to closed
  • resolution set to duplicate

Since Safari is the last known browser to have a problem, I'll set this ticket to duplicate of #1484187, which has a better subject.

Changed 2 years ago by jpingle

  • milestone set to 0.2-beta
Note: See TracTickets for help on using tickets.