Open Bug 286856 Opened 20 years ago Updated 2 years ago

View->Page Style->No style shows PDF document in small box

Categories

(Core :: Layout, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: mikel, Unassigned)

Details

After selecting View->Page Style->No Style then following a link to a PDF file,
the PDF plugin's window is a very small box (about 100 pixels) in the top left
corner of the screen rather than a window the full size of the browser window.

Using Firefox 1.0.1, Adobe PDF Reader 6.0, Windows XP.
Whoops!  I'm running Adobe Reader 7.

about:plugins shows

    File name: nppdf32.dll
    Adobe Acrobat Plug-In Version 7.00 for Netscape
Confirming with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2)
Gecko/20050317 Firefox/1.0+
Version: 1.0 Branch → Trunk
Partly related to bug 258815 (No Style should not persist across sites).  I also
think "no style" should only affect text/html and other related types depending
on where the hook is.

A couple of other style/width bugs are bug 203605 and bug 186918.
Assignee: firefox → nobody
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
Summary: View->Page Style breaks PDF plugin → View->Page Style->No style shows PDF document in small box
The across-sites thing doesn't help when going to a PDF on the same site.

Perhaps the easiest thing to do is to have a function on nsIDocument that
indicates whether to apply the "no style" thing and have nsMediaDocument return
false....
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.