Last modified: 2007-07-22 21:33:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 10654 - div overflow flags break printable layout
div overflow flags break printable layout
Status: CLOSED DUPLICATE of bug 10239
Product: MediaWiki
Classification: Unclassified
Parser (Other open bugs)
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
: accessibility
Depends on:
  Show dependency treegraph
Reported: 2007-07-21 17:08 UTC by MrZaius
Modified: 2007-07-22 21:33 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description MrZaius 2007-07-21 17:08:22 UTC
Text obscured within an overflow/scroll box remain obscured when printed. This prevents readers of the printed page from seeing content obscured within a handful of image galleries that are inside of "template:scroll box" galleries on the it wikipedia, numerous text from most namespaces other than Main on the en Wikipedia within that same template, and the raw HTML keeps coming up in edits like this:

Regardless of the specific examples above, nothing should be hidden from readers of the printable layout of any wiki. If fixed, this should probably be fed into not only Wikimedia projects but also the default printable css for the current version of MediaWiki as well.

Relevant discussion from en wiki:
From this link: 
"A developer can add the following to /skins-1.5/common/commonPrint.css, and the problem would be solved (in the printable version, at least):
    * { overflow: visible !important; }

Comment 2 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-07-22 03:37:22 UTC
* { overflow: visible !important; } is completely unacceptable in that it unthinkingly overrides perfectly legitimate uses of overflow.  (If a particular wiki doesn't care, they can add it to Common.css in a @media tag just as easily as we can.)  The correct answer is for overflow: auto/scroll to either not be used to obscure important content, or to only be used as part of classes that are specifically overridden for print.  This is a content issue, not software.

*** This bug has been marked as a duplicate of bug 10239 ***
Comment 3 MrZaius 2007-07-22 15:44:53 UTC
There are no legitimate uses of overflow that warrant not disabling it in the default printable css. This isn't a software issue, but it is much more than a single-wiki issue.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-07-22 21:33:07 UTC
(In reply to comment #3)
> There are no legitimate uses of overflow that warrant not disabling it in the
> default printable css.

Not true.  overflow: hidden;, for instance, is often used to create a new block formatting context, rather than for its overflow effects (see bug 1629).  In some layouts non-visible overflow values may be the lesser of two evils for print, if the alternative is to have overtyping or other unpleasant effects.  In the case of overflow: auto or overflow: scroll on a block with a fixed height, for instance, the correct solution for print is to remove the fixed height, not remove the overflow; the latter may make the page unreadable by overprinting.

Note You need to log in before you can comment on or make changes to this bug.