Page MenuHomePhabricator

<pre> with overflow: auto; causes usability problems for long blocks
Closed, ResolvedPublic

Description

Screenshot

See bug 260 and https://gerrit.wikimedia.org/r/#/c/12564/ for the change.

This change makes the situation worse when the <pre> is longer than the window. Look at the attached screenshot (MediaWiki:Common.js from TWN in a small window).
Do you see at once that line 4 is not complete? To see the rest of it, you have to use the vertical scrollbar of the window to scroll down to the horizontal scrollbar of the pre block, then scroll right and up again (if the page were longer, would you remember where you were?)

Try to read [[commons:MediaWiki:Gadget-HotCat.js]] with the new CSS, you will go mad.


Version: 1.20.x
Severity: normal

Attached:

preauto.png (715×865 px, 112 KB)

Details

Reference
bz37864

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 12:22 AM
bzimport set Reference to bz37864.
bzimport added a subscriber: Unknown Object (MLST).

Since the change was reverted I am closing this bug as FIXED, in favor of a centralized discussion at bug 260.