Closed Bug 864651 Opened 11 years ago Closed 11 years ago

Problem with position:fixed and overflow:hidden

Categories

(Core :: Web Painting, defect)

20 Branch
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: davidef, Unassigned)

Details

(Keywords: css2, regression)

Attachments

(7 files)

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0
Build ID: 20130409194949

Steps to reproduce:

Create DIV (or SPAN) with stile position:fixed; overflow:hidden and inside second DIV (or SPAN) with position:fixed


Actual results:

Overflow _NOT_ function, second DIV (or SPAN) is _MOVED_ on top page


Expected results:

With position:relative or position:absolute is overflow:hidden and position OK
Keywords: css2, regression
OS: Windows XP → All
Hardware: x86 → All
Position fixed is totaly broken, bad any other combination is broken too.
Attachment #740668 - Attachment mime type: text/plain → text/html
Attachment #741179 - Attachment mime type: text/plain → text/html
Component: Untriaged → Layout: View Rendering
Product: Firefox → Core
This worksforme as far as I can tell.  Reporter, can still reproduce?
Flags: needinfo?(davidef)
Flags: needinfo?(davidef)
Attached image Firefox version: 23
I'm not seeing the rendering you see in attachment 803654 [details] in a current trunk build (though I do see it in Firefox 23).

The rendering in attachment 803655 [details] looks correct to me: fixed-positioned boxes are kids of the viewport, so not affected by overflow styles on DOM ancestors.

Sounds like this got fixed sometime after 23.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
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: