Closed Bug 457291 Opened 16 years ago Closed 8 years ago

Cutting images when there is a fixed element on top of page

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: tsalacinski, Unassigned)

References

()

Details

(Keywords: regression)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686 (x86_64); pl; rv:1.9.0.2) Gecko/2008091618 Firefox/3.0.2
Build Identifier: Mozilla/5.0 (X11; U; Linux i686 (x86_64); pl; rv:1.9.0.2) Gecko/2008091618 Firefox/3.0.2

When I try to visid the page mentioned in URL, the image is cut.

You will see this page on a normal zoom. Zoom in, then click on the image (it will go out to it's original size). Notice that the image is cut and there is no way to see it other than clicking "Usuń ramkę" on the top-right (it stands for Remove the Frame on the top). This frame belongs to polish digg.com clone, when someone submits a page there is a frame on the top allowing for quick navigation. The frame works properly, but when user posts a simple image instead of a webpage, this thing happen. Screenshot:

http://www.wykop.pl/ramka/97684/jak-moglaby-wygladac-debata-obama-mccain

This is a temporary link, so if it won't exist, please mail me for another one.

If user is playing with zoom, the scrollbar on the right side appears and disappar. After some time, scrollbar contains only garbage (like noise graphics, hard to explain, it just looks like a random pieces of memory instead of scrollbar), and the image is corrupted too - the upper part is zoomed normally, the lower part is smaller.

I am running on such links very often, because I like to have my "wykop.pl" page zoomed, and when I click on any picture link there, this happens. It doesn't happen on normal zoom. It happens only when when the page is zoomed - no matter if it was zoomed before entering the page or when on the page.

Reproducible: Always

Steps to Reproduce:
To cut the image:

1. Go to the website
2. Zoom in
3. Click on the image

To corrupt the image:

1. Go to the website
2. Zoom out
3. Click on the image - notice lower part is smaller
Actual Results:  
The image is cut/corrupted.

Expected Results:  
The image should look normally no matter what is the zoom level.
PS. Forgot to mention - this happens on Firefox 3.0, Firefox 3.0.1 and Firefox 3.0.2.
Confirmed on Windows XP, latest trunk.
Works: 2008020700
Fails: 2008020800
Regression window: http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=2008-02-07+00%3A00&maxdate=2008-02-08+00%3A00
So this seems to be caused by Bug 389756.
Blocks: 389756
Status: UNCONFIRMED → NEW
Component: General → DOM
Ever confirmed: true
Keywords: regression
OS: Linux → All
Product: Firefox → Core
QA Contact: general → general
Hardware: PC → All
Version: unspecified → Trunk
Flags: blocking1.9.1?
Would be great to have a minimal testcase.
It's quite hard to write a testcase because the URL I've provided is the only URL that have this problem, and it uses frames and stuff, I don't know how to write a testcsae for it.
Sounds like a image layout bug.
Component: DOM → Layout: Images
QA Contact: general → layout.images
Flags: blocking1.9.1? → wanted1.9.1+
Not reproducible in windows-10 with latest Nightly and release.
Considering this, I will mark this issue as Resolved-WORKSFORME. If anyone can still reproduce it, feel free to reopen the issue and provide more information. Thanks

--
Version 	49.0a1
Build ID 	20160428030218
Update Channel 	nightly
User Agent 	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:49.0) Gecko/20100101 Firefox/49.0
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.