Closed
Bug 291965
Opened 21 years ago
Closed 20 years ago
background images with transparency not drawn/redrawn correctly
Categories
(Core Graveyard :: GFX: Gtk, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: jdarmochwal, Assigned: roc)
Details
(Keywords: testcase)
Attachments
(3 files)
|
311 bytes,
text/html
|
Details | |
|
15.67 KB,
image/png
|
Details | |
|
1.32 KB,
patch
|
roc
:
review+
roc
:
superreview+
asa
:
approval1.8b2+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050426
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b2) Gecko/20050426
With the latest nightly build the table background image in
mozilla/layout/html/tests/table/marvin/backgr_simple-table.html do not render
correctly. I will add a testcase.
Reproducible: Always
Steps to Reproduce:
1. see testcase
Actual Results:
background is broken (I will add a screenshot as well)
Expected Results:
background renders correcly
| Reporter | ||
Comment 1•21 years ago
|
||
| Reporter | ||
Comment 2•21 years ago
|
||
| Reporter | ||
Comment 3•21 years ago
|
||
This bug is caused by these lines from the fix for bug 287168:
+ if (haveClip) {
+ GdkRectangle gdkrect = {clipRect.x + aTileRect.x - aSXOffset,
+ clipRect.y + aTileRect.y - aSYOffset,
+ clipRect.width, clipRect.height};
+ gdk_gc_set_clip_rectangle(tileGC, &gdkrect);
+ }
Using
+ GdkRectangle gdkrect = {clipRect.x, clipRect.y,
+ clipRect.width, clipRect.height};
instead seems to work fine, but someone who knows this code should check that.
| Reporter | ||
Updated•21 years ago
|
Attachment #181931 -
Flags: review?(blizzard)
| Assignee | ||
Comment 4•21 years ago
|
||
Comment on attachment 181931 [details] [diff] [review]
possible fix
I'm trying to remember what I was thinking when I wrote that code, but I'm
failing. This is clearly the correct code, and it passes my tests. Thanks!
This patch fixes a regression I just introduced in Linux clipping.
Attachment #181931 -
Flags: superreview+
Attachment #181931 -
Flags: review?(blizzard)
Attachment #181931 -
Flags: review+
Attachment #181931 -
Flags: approval1.8b2?
| Assignee | ||
Updated•21 years ago
|
Assignee: blizzard → roc
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 5•21 years ago
|
||
Comment on attachment 181931 [details] [diff] [review]
possible fix
a=asa
Attachment #181931 -
Flags: approval1.8b2? → approval1.8b2+
| Assignee | ||
Comment 6•20 years ago
|
||
I checked this in yesterday.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•