Closed Bug 268365 Opened 20 years ago Closed 20 years ago

table background-image, a narrow bar (few pixels) at the top is cut off

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: spam, Assigned: bugzilla)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041107 Firefox/0.9.1+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a5) Gecko/20041107 Firefox/0.9.1+

In the stylesheet: table{background-image: url("?.jpg");}
A narrow bar of a few pixels of the top of the image is not shown, in IE6 it is
shown correctly. When text is added above the the table, the table does not move
down to make room for the text but even more is cut off.


Reproducible: Always
Steps to Reproduce:
1. Load the website www.ruthjes.net
2. Compare to what you see in IE6
3. View the background-image in an imageviewer to verify that it is not shown
completely in Firefox.

Actual Results:  
It should be clear that a bug is present in Firefox

Expected Results:  
Behaviour of IE6 is correct in this case
Mozilla's rendering is correct. background-attachment:fixed means fixed with
respect to the viewport, and top and left, unspecified, default to 0, so the
background is fixed in the top left of the screen. The only part that's visible
is the part that the table reveals. 

See http://www.w3.org/TR/CSS21/colors.html#propdef-background-attachment
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Component: General → Layout
Product: Firefox → Browser
Resolution: --- → INVALID
Version: unspecified → Trunk
Thanks, I'm sorry to have falsly claimed to have found a bug. Next time I will
think twice before stating that the behaviour of IE6 is correct.
Verified.  Note that IE's support of background-attachment is well-known to be
quite broken.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.