Closed Bug 441366 Opened 17 years ago Closed 17 years ago

Element (div) width set in percentage does not display the css background image

Categories

(Core :: CSS Parsing and Computation, defect)

1.9.0 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jeff_tr, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9) Gecko/2008061004 Firefox/3.0 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9) Gecko/2008061004 Firefox/3.0 If an element (div) have a background image set in css and the width is set in percentage, the background image will not be displayed. eg : css : .elem {width: 100%; background-image: url(/pix.gif);)} Reproducible: Always Steps to Reproduce: 1. 2. 3.
Do you have a test case that shows the issue ? It certainly works correctly for me. And not, in the stylerule you give above, there is a syntax mistake - a redundant ')'
Component: General → Style System (CSS)
Product: Firefox → Core
QA Contact: general → style-system
Version: unspecified → 1.9.0 Branch
(In reply to comment #1) > It certainly works correctly for me. While the redundant ")" doesn't make a difference, this also works fine for me.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.