Closed Bug 134547 Opened 22 years ago Closed 20 years ago

multiple monitor setting an element's background properties via script or css is buggy

Categories

(Core :: XUL, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ellisteer_box8003, Assigned: jag+mozilla)

References

Details

Windows 2000 or XP, dual monitors, build 2002031104

When setting the background properties of an element via script or CSS the
property is momentarily set then quickly reverts to its original state on screen
(flickers on briefly).  This occurs with setting a background image or color.

This may be related to a UI bug where the background color flickers off on menus.  

Two testcases follow:

______________

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"" xml:lang="en" lang="en">

    <head>
    <title>hover testcase</title>
    <style type="text/css">
        a:hover {background-color:#0054aa;color:#ffffff;}
    </style>
    </head>

    <body>
        <a href="">mouse over to see hover bug</a>
    </body>
</html> 

________________________

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"" xml:lang="en" lang="en">

    <head>
    <title>hover testcase</title>
    <style type="text/css">
        a:hover
{background-image:url(http://www.sitepen.com/images/peopleSmall.gif);color:#ffffff;}
    </style>
    </head>

    <body>
        <a href="">mouse over to see hover bug</a>
    </body>
</html>
Note this only occurs in the second/extended monitor.  If the window with the
test case is dragged to the primary/first monitor there is no problem.

The may be related to bug 134548
Confirmed on Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9+)
Gecko/20020402
BuildID:    2002040203
Also, if the link area spans accross both monitors, and the cursor hovers over
it on the primary monitor, it's fine, but in the secondary monitor, it has this
problem.

Also, the same problem occurs if the secondary monitor is set to be above the
primary monitor, so it's problem a negative coordinate problem.
Additional note that I forgot to mention:
This only happens if the secondary monitor is above or to the left of the
primary monitor.
.
Assignee: asa → jaggernaut
Component: Browser-General → XP Toolkit/Widgets
QA Contact: doron → jrgm
Marking as New
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: multimon-win
WFM: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7) Gecko/20040802
Firefox/0.9.1+

This might have been fixed by Bug 135079.

If anyone can reproduce with a nightly build, please reopen.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.