Closed Bug 233646 Opened 21 years ago Closed 21 years ago

when using style(background-image(GIF)) no-repeat is ignored

Categories

(Core Graveyard :: GFX, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 113561

People

(Reporter: mohk, Unassigned)

Details

Attachments

(1 file)

User-Agent: Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 when using the following code with a gif, the no-repeat option will be irgnored <body style="background-image:url(bg.gif);background-repeat:no-repeat;background-position:center;background-attachment:fixed;background-color:#ffffff;"> or shorter: <body style="background: url(bg.gif) no-repeat center fixed #ffffff"> the same tag but with a png image is rendered correct! <body style="background: url(bg.png) no-repeat center fixed #ffffff"> the repeat-y and repeat-x flags are correctly implementd, only no-repeat ist missed. Reproducible: Always Steps to Reproduce: 1. create a 0 8 15 page with the tag in the description 2. open the page in mozilla/firefox Actual Results: the gif is shown as w/o no-repeat option Expected Results: a centered non repeated image i used a gif with transparend background, maybe this is importend.
> the same tag but with a png image is rendered correct! Then it's not layout; layout knows nothing of the image format. That said, I can't reproduce this with a gif, on the testcase I am about to attach. Please attach a testcase showing the problem.
Assignee: jdunn → general
Component: Layout: Images → GFX
QA Contact: core.layout.images → ian
Summary: when using style(background-image(GIF)) no-repeat is ignored → when using style(background-image(GIF)) no-repeat is ignored
Attached file Testcase
(In reply to comment #2) > Created an attachment (id=141032) > Testcase > This one WFM as well: Firefox/0.8 on Win2000
I create a testcase www.mohk.de/moztest/index.html it seems, that the gif is repeated and clipped to a wrong size (maybe a general gif problem?)
Oh, that. It was a general problem with gifs that specified a logical size and were a different actual size... it's been fixed for almost a month (but the code in firefox 0.8 is older than that). *** This bug has been marked as a duplicate of 113561 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
(In reply to comment #5) > Oh, that. It was a general problem with gifs that specified a logical size and > were a different actual size... it's been fixed for almost a month (but the code > in firefox 0.8 is older than that). > > *** This bug has been marked as a duplicate of 113561 *** I tested it on my home computer with the latest nightlybuild of fire(bird|fox) 0.8.0+ and it works for me, too.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: