Closed Bug 1138168 Opened 9 years ago Closed 9 years ago

background-image:fixed bug in table elements (td, th, tr, theader, tbody, tfooter, and respective elements that look alike with display:table-cell etc.)

Categories

(Core :: Web Painting, defect)

36 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1082249

People

(Reporter: j_mach_wust, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150222232811

Steps to reproduce:

Define a background-image with CSS background-attachment:fixed for either of td, th, tr, thead, tbody, or tfoot, or for other elements that use CSS in order to look alike: display:table-cell, display:table-row, display:table-header-group, display:table-row-group, or display:table-footer-group. Then scroll.

Here is a test page: http://schrybwys.ch/misc/fixed_background-image_bug_in_table_elements/


Actual results:

The background image will not stay fixed when scrolling. Sometimes it scrolls, other times it breaks, sometimes it updates to the fixed image. When refreshing the page, the image will repair to the fixed image position.


Expected results:

The background image should be fixed when scrolling (as in the recent versions of Google Chrome, Internet Explorer, or Safari).

Backgrounds on the table element itself or on the caption element are not affected, and neither are backgrounds on other elements within table cells.
I am very sorry. This is not a Firefox issue, of course, but a WebKit issue. I am re-filing a bugreport in the appropriate place.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → INVALID
OK, now I have plainly documented my ignorance of browser engines … Sorry again. I meant Gecko … therefore, the affected product should be "Core", and therein, if I am not mistaken (again), "Layout:Images".

I can confirm the bug on Windows, Mac OS X and (L)Ubuntu, so I am changing the platform to "All".
Status: RESOLVED → UNCONFIRMED
Component: Untriaged → Layout: Images
OS: Mac OS X → All
Product: Firefox → Core
Hardware: x86 → All
Resolution: INVALID → ---
This sounds like a table background painter invalidation issue.  In particular, triggering a relayout after scroll (e.g. by opening the bookmarks sidebar) makes things look like they should.

Matt, do you have time to look at this?
Status: UNCONFIRMED → NEW
Component: Layout: Images → Layout: View Rendering
Ever confirmed: true
Flags: needinfo?(matt.woodrow)
Ah, looks like we had a bug on this already.
Status: NEW → RESOLVED
Closed: 9 years ago9 years ago
Flags: needinfo?(matt.woodrow)
Resolution: --- → DUPLICATE
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: