The default bug view has changed. See this FAQ.

position:fixed elements are incorrectly redrawn when the value of the display property changes

NEW
Unassigned

Status

()

Core
Layout: R & A Pos
P2
normal
14 years ago
8 years ago

People

(Reporter: Vincent Lefevre, Unassigned)

Tracking

({css2, testcase})

Trunk
All
Linux
css2, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5a) Gecko/20030529
Build Identifier: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.5a) Gecko/20030529

CSS menus with position:fixed have some problems with positioning when the menu
contents disappear. Here's an example, which contains a menu with position:fixed
and a similar menu with position:absolute.

Reproducible: Always

Steps to Reproduce:
1. Open the above URL.
2. Move the mouse pointer over the first menu.
3. Move the mouse pointer upwards to make the contents disappear.

Actual Results:  
After 2, the menu flickers to the left but then it is correctly displayed. After
3, the menu is shifted to the right and the box is truncated.

Expected Results:  
One should get the same behaviour as with the second menu (position:absolute).
(Reporter)

Comment 1

14 years ago
In fact, this is more than a display problem: When there are submenus, this bug
may render them inaccessible.
Looks like a layout problem (seeing this on Linux too).
Assignee: kmcclusk → position
Status: UNCONFIRMED → NEW
Component: GFX → Layout: R & A Pos
Ever confirmed: true
Priority: -- → P2

Comment 3

13 years ago
Created attachment 147543 [details]
test case (from uri)

Updated

13 years ago
Keywords: css2, testcase
This worksforme in a current build (likely as a result of widget change caching
and reflow before painting).  Vincent, are you still seeing this in current
trunk builds?
(Reporter)

Comment 5

12 years ago
It seems to be partly fixed, but I still get a case with a strange behavior: by
replacing topleft by topright in <http://www.vinc17.org/cijml/index.fr.html> and
using the CSS menu (BTW, is it possible to ask Mozilla to produce a standalone
testcase?). Opera doesn't have the positioning problem seen with Mozilla.

Note: I've tried with Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8b)
Gecko/20050114.
Assignee: layout.r-and-a-pos → nobody
QA Contact: ian → layout.r-and-a-pos
You need to log in before you can comment on or make changes to this bug.