Closed Bug 199584 Opened 22 years ago Closed 11 years ago

RealOne Survey - improper use of :hover

Categories

(Tech Evangelism Graveyard :: English US, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: leminh_amd, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030327 Phoenix/0.5
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030327 Phoenix/0.5

encounter "dance" box in
http://www.expressresponse.com/cgi-bin/progsnp/real_fbk/srchjnnp?search_type=surveyreq&search_input=survey_1.html
when moving the mouse along the message box..

Reproducible: Always

Steps to Reproduce:
1.Go that web page
2.Moce mouse along the message box :/

Actual Results:  
the message box will "dance"   (small - big - big to small ....many times)

Expected Results:  
Mozilla shouldn't have "dance" box like this . I tested in IE and no "dance"
box, it's just an innocent form :P

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4a) Gecko/20030327 Phoenix/0.5
I can confirm using Win2k -- Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;
rv:1.4a) Gecko/20030319 Phoenix/0.5.
Not exactly innocent.  The box style (swh) has :hover properties.  Why in the
heck is there a hover style?  And there's no 'normal' style for this class.  I
think it's switching between the base TD style font size of 13px and the
.swh:hover font size of 10px.  Shoot me if I'm wrong.
This isn't a bug, it's correct behaviour. The textarea has been assigned a class
of .swh and as Kevin says there's a rule in
http://www.expressresponse.com/real_fbk/real.css setting font-size to 10px for
.swh:hover. I suspect this class was only meant to be applied to hyperlinks, not
to textareas. IE doesn't support :hover on textareas (only links) so the problem
doesn't show up in IE.

There's a good article at
http://devedge.netscape.com/viewsource/2003/arbitrary-hover/ explaining why
indiscriminately applying :hover styles without an element selector is often a
bad idea.
I have experienced this on another site as well, although not on a textbox.

To reproduce:
1. Go to http://www.secsports.com
2. Mouseover the area outlined in the attachment I included with this comment

Result:
Text "dances" like the textbox on the link provided in the original bug
submission.
CSS2 allows :hover to apply to all elements.

-> Tech Evangelism?
-> TechEv
Assignee: blaker → susiew
Status: UNCONFIRMED → NEW
Component: General → US General
Ever confirmed: true
OS: Windows XP → All
Product: Phoenix → Tech Evangelism
QA Contact: asa → zach
Hardware: PC → All
Summary: "dance" box when moving mouse → RealOne Survey - improper use of :hover
I thought that bug 169078 was supposed to take care of things like this.

The page is indeed in quirks mode, but apparantly :hover still affects the
submit button and the textarea...

But the table cell which has the text "Let us know what you think about
RealOne..." also has the swh class and that text doesn't react to :hover.



Re comment 4: that's the link's :hover that's causing the jumping due to text
resizing on hover; I guess that behavior is supposed to happen.
In quirks mode :hover still applies to links (a, link, or area with href),
button, img, input, label, select, and textarea.
OK, but I'd say then that the summary on bug 169078 '...ignored for
non-links...' is a tad inaccurate, and led be to believe there was a real bug here.

Now I know to expect that links and certain other elements are still affected by
:hover in quirks mode.
tech evang june 2003 reorg
Assignee: susiew → english-us
QA Contact: zach → english-us
http://expressresponse.com/ is listed as for sale... we're a little late. :P
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: