bugzilla.mozilla.org has resumed normal operation. Attachments prior to 2014 will be unavailable for a few days. This is tracked in Bug 1475801.
Please report any other irregularities here.

css background image wrapping during text wrap

RESOLVED INVALID

Status

()

Core
Layout: Block and Inline
RESOLVED INVALID
15 years ago
15 years ago

People

(Reporter: Gerry Reno, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

15 years ago
User-Agent:       
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

When I declare a background image in a td and then the cell size is decreased
horizontally causing the text to wrap, the background image that was under the
text in its original position is still under the wrapped text.

Reproducible: Always
Steps to Reproduce:
1.create table td with background image
2.add length of text to cell
3.shrink browser so text in cell wraps

Actual Results:  
background image under the text in its original position stays behind text when
the text wraps.

Expected Results:  
the text should appear on top of whatever portion of the image that it has
wrapped over.
(Reporter)

Comment 1

15 years ago
This occurs in Firebird 0.7.
(Reporter)

Comment 2

15 years ago
The image was declared as repeat-x.  So the image actually would not tile
vertically.  I have the background color set to match the bottom of the image so
the text should actually be wrapping over the background color not the image.

Comment 3

15 years ago
How about a testcase? And also, please re-test with a current build.
.
Assignee: firefox → nobody
Component: General → Layout: Block and Inline
Product: Firefox → Browser
QA Contact: core.layout.block-and-inline
Version: unspecified → Trunk
I can't really figure out what you think should happen, but this seems to me to
be the desired behaviour.  Read bug 14777, which implemented the current
behaviour, and
http://www.hixie.ch/tests/adhoc/css/background/inline/policy/continuous/
http://www.hixie.ch/tests/adhoc/css/background/inline/policy/bounding-box/ and
http://www.hixie.ch/tests/adhoc/css/background/inline/policy/each-box/ for more.

So I think this is invalid, and I'm marking as such.  Re-open if you disagree
after reading the above material.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.