Closed Bug 140401 Opened 22 years ago Closed 22 years ago

background-position with png is messy

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: kjetil.wikestad, Assigned: dcone)

Details

(Keywords: platform-parity)

Attachments

(1 file)

Try create a div with the following style:
div{
  background-image: url(image.png);
  background-repeat: no-repeat;
  background-position: left center; 
 }

This will not result in any positioning, and the picture gets positioned in the
upper left corner despite every attempt to put it somewhere else. But this
stubborn behavior vanishes if I uses image.gif. 
I also get a bad image behavior if I try to resize the div dynamically. Then I
get multiple instances of the image and displacement. I have some simillary
problems with the image.gif. 

My build: 2002042606
ccing dcone

Kjetil, any chance of a testcase?  this is almost certainly Windows-only, but....
This is mine.. probably fixed with some of the latest changes I put in.
Assignee: pavlov → dcone
Yeah, this worksforme on Linux...
Keywords: pp
Re-test this on windows.. this is probably cleared up with the latest checkins.
Confirmed. WFM on 2002042908
Kjetil, thanks!
Status: UNCONFIRMED → RESOLVED
Closed: 22 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.

Attachment

General

Created:
Updated:
Size: