Closed Bug 424672 Opened 17 years ago Closed 16 years ago

Page Zoom: Pixel Gap after background image

Categories

(Core :: Graphics, defect, P2)

defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Portfolioso, Unassigned)

References

(Depends on 1 open bug, )

Details

(Keywords: testcase)

Attachments

(3 files, 2 obsolete files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008032304 Minefield/3.0b5pre
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008032304 Minefield/3.0b5pre

If you look certain websites, you will notice that there is a one pixel gap after the background image fades into a solid color background.

Example: http://portfolioso.com

The example site is valid XHTML 1.0 Strict and valid CSS 2.1 and this did not happen in yesterday's nightly or on other browsers. Someone with Vista said it also did not happen.

Regression:
Works: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008032204 Minefield/3.0b5pre
Broken: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008032304 Minefield/3.0b5pre 

Reproducible: Always

Steps to Reproduce:
1. Visit http://portfolioso.com
2. Notice the rendering issue
Actual Results:  
Page rendering: A gap appears where it should not

Expected Results:  
There should not be a gap after a background image

Screenshot: http://img139.imageshack.us/my.php?image=issueme5.png
Works fine for me. I do not see the pixel gap.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5pre) Gecko/2008032304 Minefield/3.0b5pre ID:2008032304

Adblock Plus 0.7.5.3
Brief 1.1
CustomizeGoogle 0.71
Fission 0.9.5
IE Tab 1.5.20080310
Metrics Collector 2a6
Nightly Tester Tools 1.3
OpenDownload 1.0.0
ShowIP 0.8.05
Seems to be a corrupted profile. Odd
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
Edit: This happens when you zoom out one level. It remembered my page zoom settings and that was doing it. Therefore, it still is a bug.
Status: RESOLVED → UNCONFIRMED
Resolution: WORKSFORME → ---
(In reply to comment #2)
> Seems to be a corrupted profile. Odd

Ignore that

(In reply to comment #3)
> Edit: This happens when you zoom out one level. It remembered my page zoom
> settings and that was doing it. Therefore, it still is a bug.
> 

This the regression range I gave is wrong. Please disregard.
Version: unspecified → Trunk
Confirmed Regression range (it's from a while ago):

WORKS: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a9pre) Gecko/2007102504 Minefield/3.0a9pre

BROKEN: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a9pre) Gecko/2007102605 Minefield/3.0a9pre
Summary: Pixel Gap after a background image → Page Zoom: Pixel Gap after background image
One other thing. I never actually made the steps to reproduce clear since I didn't understand the bug at first. But now I narrowed it down:

Steps to Reproduce:
1. Visit http://portfolioso.com
2. Zoom out once (control -)
Actual Results:  
Page rendering: A gap appears under the menu (where the background image ends). There should not be a gap here on page zoom.

Attached file Testcase (deleted) —
Also occurs on Linux and MacOSX.
Keywords: regression, testcase
OS: Windows XP → All
Hardware: PC → All
Component: General → GFX: Thebes
Product: Firefox → Core
QA Contact: general → thebes
Attached patch Possible fix? (obsolete) (deleted) — Splinter Review
Since we're rounding the pattern origin (p0), seems like we should adjust
the size accordingly?  It fixes the problem on Linux and OSX, haven't
tested Windows.  (passes reftests on Linux, fwiw)
I don't seem to see this bug on Mac. I'm not sure why the offset is rounded at all, to be honest.
(In reply to comment #12)
> I don't seem to see this bug on Mac. I'm not sure why the offset is rounded at
> all, to be honest.
> 

Zooming out on the testcase breaks it. It seems to work if you zoom in. Also, is there any way I can get a compiled version of this patch so I can test it on Windows and let you know if it should be checked in?
Can someone commit the fix or come up with a test build, so I can test this on Windows? Thanks
Flags: blocking1.9?
The patch in bug 430465 might fix this.

However, we aren't going to block on it.
Depends on: 430465
Flags: wanted1.9+
Flags: blocking1.9?
Flags: blocking1.9-
It didn't fix it (at least not on Linux).
Attached patch Possible fix? (obsolete) (deleted) — Splinter Review
Attachment #312184 - Attachment is obsolete: true
Fixed in the test build posted above.
Flags: wanted1.9.1?
Flags: blocking1.9.1?
Flags: wanted1.9.1?
Flags: wanted1.9.1+
Flags: blocking1.9.1?
Flags: blocking1.9.1-
Priority: -- → P2
Keywords: checkin-needed
checkin-needed is only for reviewed patches.
Keywords: checkin-needed
Is this ready for review?
Attached patch Possible fix? (deleted) — Splinter Review
Updated to tip.
Assignee: nobody → mats.palmgren
Attachment #317691 - Attachment is obsolete: true
(In reply to comment #21)
> Is this ready for review?

I wanted to see the outcome of bug 430465 first, but perhaps we
should take this in the meantime?  It passes reftests on Linux,
Windows and MacOSX.
Attachment #336871 - Flags: superreview?(roc)
Attachment #336871 - Flags: review?(roc)
What's the rationale for this patch? I think it should be solved at a higher level, like bug 430465 or something similar.
(In reply to comment #24)
> What's the rationale for this patch?

It's just an intermediate fix until we have something better.
Bug 430465 didn't seem to fix it when I tested it (comment 16).
I'd prefer not to take an intermediate fix unless this is super-critical.
Attachment #336871 - Flags: superreview?(roc)
Attachment #336871 - Flags: review?(roc)
Comment on attachment 336871 [details] [diff] [review]
Possible fix?

Ok, it's not critical at all.
Assignee: mats.palmgren → nobody
Whatever was checked in recently seemed to have fixed this. Marking resolved wontfix, since another fix took care of the problem.
Status: NEW → RESOLVED
Closed: 17 years ago16 years ago
Resolution: --- → WONTFIX
WONTFIX means "we won't fix it", WORKSFORME is the appropriate resolution for this case.
Resolution: WONTFIX → WORKSFORME
Depends on: 458487
Attached image att (deleted) —
hfhs
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: