Closed Bug 172540 Opened 23 years ago Closed 22 years ago

:hover applied to non <A> tags, unaware that all page text gets :hover effect

Categories

(Tech Evangelism Graveyard :: English Other, defect, P4)

x86
Windows 2000

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2a) Gecko/20020910 When moving mouse pointer over text in example URL, text becomes underlined for no obvious reason. Underlining disappears onmouseout. Reproducible: Always Steps to Reproduce: 1. Go to the given URL 2. Move mouse over text body in article, watch text become underlined 3. Move mouse out to the side of page and watch underlining disappear Actual Results: Text becomes underlined Expected Results: Nothing
The paragraphs are in a TD assigned class "btbig". In the http://www.hindustantimes.com/on/sty/newsHome.css, btbig:hover is assigned text-decoration: underline. So the browser is doing exactly what the CSS is telling it to do. The site developers are assuming that :hover only applies to A tags, when in fact it applies to any tag. -->tech evangelism
Assignee: dbaron → momoi
Severity: trivial → minor
Status: UNCONFIRMED → NEW
Component: Style System → Asian
Ever confirmed: true
Priority: -- → P4
Product: Browser → Tech Evangelism
QA Contact: ian → ruixu
Summary: Strange onmouseover behaviour → :hover applied to non <A> tags, unaware that all page text gets :hover effect
Version: other → unspecified
The Mozilla behavior regarding this changed after 1.0. (Netscaep 7.0 for example does not apply underline to the <TD> element in question.) See Bug 96984 for details. A comment by Zbarsky indicates that the current case may not be what that fix wanted. See http://bugzilla.mozilla.org/show_bug.cgi?id=96984#c13 What the discussion in Bug 96984 reveals is that the applicability of :hover may not be desirable for all elements. Is this bug really an evangelism bug? Should :hover effect apply to <TD> on this page which is in Quirks mode?
It's not applying to <td>. It's applying to elements of class "btbig". Yes, it should apply to them. The quirk is that raw ":hover" with no other qualifiers will not apply to <td> in quirks pages. But something like "#foo:hover" or ".foo:hover" will certainly apply.
Component: Asian → English: Non-US
QA Contact: ruixu → jeesun
Mass reassigning English-Other bugs to general default assignees.
Assignee: momoi → english-other
QA Contact: jeesun → english-other
The URL in the summary now gives a 404. I checked some subpages of hindustantimes.com and they do not suffer from this bug. (e.g. http://www.hindustantimes.com/news/181_391393,001300510000.htm ) We should consider marking this bug worksforme or fixed.
I'm also not seeing any problems any more...marking as WORKSFORME.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
Product: Tech Evangelism → Tech Evangelism Graveyard
You need to log in before you can comment on or make changes to this bug.