Page MenuHomePhabricator

PRE lower border not shown
Closed, InvalidPublic

Description

bug fix for Monobook skin

This image: http://i22.tinypic.com/t04uwl.png

Shows how you see http://www.mediawiki.org/wiki/Interwiki_table in firefox. As you notice, the lower border of the bottom PRE (grey box) is not shown; it is becaue it is overlapped by the object below it (the Categories box). This can be fixed by adding a one pixel margin-bottom to PRE tags. I'm also attaching a patch for it, to fix the bug in Monobook skin. Whether it should be applied to a more general level (like the common CSS files) is what we should discuss, I believe.


Version: unspecified
Severity: enhancement

attachment patch.patch ignored as obsolete

Details

Reference
bz11465

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:01 PM
bzimport set Reference to bz11465.
bzimport added a subscriber: Unknown Object (MLST).

ayg wrote:

Comment on attachment 4162
bug fix for Monobook skin

I can't reproduce this bug in Firefox 2.0.0.8 for Ubuntu Gutsy: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.8) Gecko/20071022 Ubuntu/7.10 (gutsy) Firefox/2.0.0.8. What version of Firefox are you using, on what OS? What resolution? What extensions? If you do random weird stuff like resizing the window, clicking on things, and highlighting things with mouse dragging, does the problem go away?

At any rate, this is a browser bug. Changing the bottom margin to 1px globally is undesirable; note that the standard bottom margin is (I think) one em, in my case 11px, and you're sharply reducing it. If we want to add a workaround for this, it needs to be restricted to those Firefox versions that exhibit the problem, it can't change stuff on other browsers. The first step is to figure out under what circumstances, exactly, the problem occurs.

I was using 2.0.0.5 or 2.0.0.6 when I submitted this bug, and I've updated to 2.0.0.9 recently and it still persists. I'm on Windows XP SP2 if it helps. My screen resolution is 1024*768, and no, neither resizing nor dragging/highlighting fix the problem.

I'll be happy to provide any more details you want. For the record, I'm in full agrement with the approach you have here, and understand what was wrong with the patch I suggested at the first place.

ayg wrote:

Maybe you could ask around? So far we have two data-points. Try it on some other Windows computers, perhaps? Ideally, also some Mac and/or Linux, maybe other major versions of Firefox? Since it's so trivial, it's probably not worth the effort.

michaeldaly wrote:

The bottom lines don't show on my Windows XP + FF 2.0.0.9 if the page has the donation advert at the top showing and the lines reappear if the donation advert is hidden. The disappearance is based on position on the page.

This is "normal" FF behaviour for several revisions now (ever since 1.5 at least) on Windows AFAIK. There is always at least one line that shows text "scrunched" in the vertical dimension. That makes the lowest bit of the font show as missing a few pixels like an entire row or two (3?) of pixels is missing. It's very noticeable with Wikipedia but it happens with lots of web pages. I think that this <pre> issue is just the same with the missing bottom pixels coincidently lining up with the bottom line of the <pre> blocks.

I seriously doubt it's a MW problem. It may be a Windows problem or a VGA driver problem; mine's an Asus video card FWIW. It might be a FF + Windows problem.

There sometimes-disappearing borders in Firefox are generally rounding errors in Gecko.

Check it with Firefox 3.0 betas and nightlies and see if that's been fixed; otherwise I guess put it on the pile over at https://bugzilla.mozilla.org :)

I'll stick this as an INVALID here for now pending confirmation of a local problem.