Closed Bug 305823 Opened 19 years ago Closed 16 years ago

Hidden <div> tags temporarily displayed on page load, causing a flicker.

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jack, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

<div> tags set to css style display:none (specified in an imported css file, not
sure if it occurs with inline styles) are initially painted on the screen, then
disappear, causing a flicker. further, they seem to be displayed at the top left
of the html page, rather than down in the page where css rules would specify
they be placed. 

Reproducible: Always

Steps to Reproduce:
1. create an html page with a fair number (~20-50) hidden <div> tags
2.
3.

Actual Results:  
screen flickers during page load.

Expected Results:  
the screen should not flicker, since these <div> tags are set to display:none,
which means they should be invisible.
It also happens with inline styles (styles defined in the html tag itself). 
Most likely already fixed in current nightly trunk build.
Probably fixed by the widget state change caching bug.
Please test with nightly trunk build:
http://ftp.scarlet.be/pub/mozilla.org/firefox/nightly/latest-trunk/
Yes, this is working. I have no idea how to test this in an automated test though.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.