Closed
Bug 281887
Opened 20 years ago
Closed 20 years ago
CSS position:fixed causes flicker with innerHTML
Categories
(Core :: Web Painting, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: nrm, Assigned: roc)
Details
Attachments
(1 file, 2 obsolete files)
|
896 bytes,
text/html
|
Details |
Tested on MAS 1.7.5 and Fx1.0. A simple test case attached shows flickering of a position:fixed element whose content is mutated using .innerHTML. Uncomment the commented out .nodeValue line, and comment out the .innerHTML line to remove the problem. Alternately, remove the position:fixed style. The bug has to do with .innerHTML. Safari has had problems with .nodeValue, so .innerHTML is the most portable solution (or at least the most well-known portable solution). Mozilla performs poorly against other browsers when this "truly portable" .innerHTML version is used, since other browsers (especially IE) flicker less. Note that Mozilla doesn't flicker for normal positioning. Where would you want to put this clock on a typical page, though? In the top right corner. There are lots of position:fixed bugs, but I couldn't find one explicitly for this combination. Feel free to dup. - N.
| Reporter | ||
Comment 1•20 years ago
|
||
| Reporter | ||
Comment 2•20 years ago
|
||
Comment 3•20 years ago
|
||
This testcase works directly in the page, so it's easier to test. I can see the bug in Mozilla1.7, but I can't see the bug in the latest trunk (1.8a) build. I think this is already fixed somehow (I suspect the fix for bug 244366 fixed this).
Attachment #174008 -
Attachment is obsolete: true
Attachment #174009 -
Attachment is obsolete: true
Comment 4•20 years ago
|
||
seen on Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.6) Gecko/20050207 Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.7.5) Gecko/20050211 Firefox/1.0 current trunk nightly is working.
| Assignee | ||
Comment 5•20 years ago
|
||
marking FIXED based on those comments
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•