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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12654, the corresponding Phabricator task for complete and up-to-date bug report information.
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)
unspecified
All All
: High major (vote)
: ---
Assigned To: Nobody - You can work on this!
: accessibility
Depends on:
Blocks:
  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: ---


Attachments

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: http://en.wikipedia.org/w/index.php?title=United_States&diff=146047696&oldid=146044645

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:
* http://en.wikipedia.org/w/index.php?title=Wikipedia:Bot_requests&curid=912023&diff=145731448&oldid=145714756#Accessibility_and_printable_layout-breaking_div_markup
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; }
"

* http://en.wikipedia.org/w/index.php?title=MediaWiki_talk:Common.js&oldid=146019315
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.


Navigation
Links