Ticket #126 (defect)

Opened 2 years ago

Last modified 2 weeks ago

trac formatting doesn't work with Internet Explorer 7.0

Status: assigned

Reported by: dward Assigned to: trapicki (accepted)
Priority: normal Milestone: to-be-decided
Component: trac Version:
Keywords: Cc: don2387ward@sprynet.com

The contents of a preformatted block (i.e., enclosed in triple braces) containing a single long line are obscured by a horizontal scroll bar when viewed with Internet Explorer 7.0. It appears that the text is under the scroll bar and is thus completely hidden. An example is in wxPythonCygwin, in steps (11):

cd $WXDIR/wxPython; python setup.py build_ext --inplace WXPORT=msw BUILD_GLCANVAS=0 BUILD_STC=0 BUILD_GIZMOS=0 BUILD_ANIMATE=0

I don't know if this is a trac problem or an IE 7 problem; if it is a trac problem I don't know if it is in GNU Radio's use of trac or in trac itself.

Change History

01/12/07 23:31:50: Modified by jcorgan

Don, can you send me a screenshot?

06/12/07 06:51:11: Modified by trapicki

  • owner changed from jcorgan to trapicki.
  • status changed from new to assigned.

Seems like IE 7 does not recalculate the inner dimension after adding a scrollbar. I suggest a) activating scollbars for all pre.wiki tags in trac.css or b) add a IE7-specific fix: After incuding trac.css, add

<!--[if IE 7]>
    <style type="text/css">
      pre.wiki, pre.literal-block {
        overflow: scroll;
      }
    </style>
<![endif]-->

The first one results in not-so-pretty pre's for all browsers, the second one uses a nasty browser specific hack.

07/26/07 09:07:41: Modified by jcorgan

Can you re-verify this is still an issue?

07/26/07 09:23:02: Modified by dward

It is still an issue as of 26 Jul. I have been working around the problem by adding an extra blank line to force room for the scrollbar.

09/19/08 07:31:08: Modified by n4hy

The easy way is the best way. Truncate the lines with "\" and stop needing these ugly, silly looking slide bars!