Closed
Bug 79594
Opened 25 years ago
Closed 22 years ago
:hover doesn't work on text originally invisible as overflow
Categories
(Core :: DOM: UI Events & Focus Handling, defect, P2)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: chrislea, Assigned: dbaron)
References
()
Details
Attachments
(3 files)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9) Gecko/20010505
BuildID: 2001050515
HREF's which have been affected with a:hover AND which are not initally visible
when the page loads because the link is overflowed out of a DIV do not exhibit
the correct :hover attribute. Specifically, this happens on a site that uses
DHTML "scrolling" to show text that's not initially visible.
Reproducible: Always
Steps to Reproduce:
1. Go to http://www.chrislea.com and click on the enter graphic. This will pop
up a new window.
2. On the first page you see, use the down arrow just to the left of the top
part of the text to scroll down. Keep scrolling until you see a link which you
couldn't see when the page first loaded (links are bold.)
3. Put your mouse over the link.
Actual Results: The link does not underline when the mouse is hovering on it.
Expected Results: The link should underline when the mouse is hovering on it.
This works for any link which you can see when the page loads initially. Meaning
that the underline appears for such a link. I see the same behaviour in Linux
2.2.19 with the Mozilla 0.9 release.
Comment 1•25 years ago
|
||
sounds like it could be a compositor issue... Are we maybe not repainting those
because we think they are still invisible? I see this on Linux build
2001-05-08-08, by the way.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 98 → All
Not sure if this matters / helps, but I have another page at
http://www.chrislea.com/devel/ which has links originally hidden but which
exhibits the CORRECT behaviour. For example, scroll around on the box in the
lower left corner.
On this page, the divs are set up with overflow=auto and the text and links are
put into the divs with innerHTML. On the page which DOESN'T work, I believe the
div "scrolls" around by moving the div itself.
If I can help out by decomposing these in some way please let me know.
Comment 3•25 years ago
|
||
Selection also doesn't work in the originally clipped area. I don't believe
event targetting is at fault since the links work, the cursor updates correctly,
and a selection which is begun inside the non-working area and dragged up into
the originally visible and working area will still display properly in that
upper area. So who gets this one? It seems most likely we're seeing style
updates getting filtered out due to a mistaken notion that the area in question
isn't visible.
I am guessing David Baron, reassigning. If this is what I think it is, we are
not properly updating the state in element.
Assignee: joki → dbaron
| Assignee | ||
Comment 5•25 years ago
|
||
| Assignee | ||
Comment 6•25 years ago
|
||
| Assignee | ||
Comment 7•25 years ago
|
||
Mousing around in the last testcase in viewer with Event Target Debugging makes
this seem like an invalidation problem.
| Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Priority: -- → P2
Target Milestone: --- → mozilla0.9.2
| Assignee | ||
Updated•25 years ago
|
Target Milestone: mozilla0.9.2 → mozilla0.9.3
| Assignee | ||
Updated•25 years ago
|
Target Milestone: mozilla0.9.3 → mozilla0.9.4
| Assignee | ||
Updated•25 years ago
|
Target Milestone: mozilla0.9.4 → mozilla0.9.5
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Comment 9•24 years ago
|
||
I think I've seen the same thing happen in a dhtml scroller that manipulates
opacity as a transition effect. The opacity of the overflowed section is not
updated. You can see an example here:
http://e-syed.net/skriptlab/pageslidefade/pageslidefade.htm
You can scroll down a bit with the arrows, then click one of the links (I, II,
III) to fade out and get a new layer. Only the section that was not originally
overflowed gets faded.
build info:
Mozilla/5.0 (Windows; U; Win98; en-US; rv:0.9.5) Gecko/20011011
There are more problems with clipping and overflow, some people have suggested
it may affect performance a great deal, in bug 21762:
http://bugzilla.mozilla.org/show_bug.cgi?id=21762
Thanks ppl
| Reporter | ||
Comment 10•24 years ago
|
||
Confirmed that I see Michael van Ouwerkerk's bug on the 0.9.5 build running
Linux. Looks like the exact same problem to me. I can probably point to a half
dozen other examples that highlight the problem if they would be useful.
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.6 → mozilla0.9.8
| Assignee | ||
Comment 11•24 years ago
|
||
*** Bug 116597 has been marked as a duplicate of this bug. ***
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Comment 12•24 years ago
|
||
This proves that JavaScript rollovers are also affected when moved into visible
area
Comment 13•24 years ago
|
||
Actually, the above testcase may be a new bug all together :(
Comment 14•24 years ago
|
||
Created new bug for last few posts, sorry for the clutter!
http://bugzilla.mozilla.org/show_bug.cgi?id=122265
| Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9.9 → Future
Updated•24 years ago
|
QA Contact: madhur → rakeshmishra
| Reporter | ||
Comment 15•24 years ago
|
||
Umm... not sure what happened, but everything in the test cases is working for
me now using rc1 under Linux.
Comment 16•24 years ago
|
||
Me too!!! WFM Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc1)
Gecko/20020417
Updated•23 years ago
|
QA Contact: rakeshmishra → trix
Comment 17•22 years ago
|
||
worksforme with windows Mozilla 2004020308
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Updated•7 years ago
|
Component: Event Handling → User events and focus handling
You need to log in
before you can comment on or make changes to this bug.
Description
•