Closed
Bug 277589
Opened 20 years ago
Closed 20 years ago
bad writen html causes false use of stylesheet a:hover
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: and, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 during browsing the manual vom pear.php.net i found an error on all manual pages (eg. http://pear.php.net/manual/en/introduction.php): sometimes the color of an normal paragraph changes the hover-color of an anchor. the a:hover style (in http://pear.php.net/css/style.css) effects the other tags. (<p>, <h?>, ...) Reproducible: Always Steps to Reproduce: move mouse over an <p> tag that is located in front of an <a> tag (for example over this string: "A standard style for code written in PHP," on this page: http://pear.php.net/manual/en/introduction.php) Actual Results: nothing... Expected Results: don't use a:hover on an paragraph :)
Comment 1•20 years ago
|
||
there is an unclosed <a name> in front of this tag. this is the <a> that triggers the :hover. hence, this is not a bug, but a fault in the webpage. invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Comment 2•20 years ago
|
||
(also, this is HTML, not XHTML. it would not even be wellformed XHTML, since various tags are not closed etc. but since the page is sent as text/html, it gets treated as HTML 4.01)
Summary: bad writen xhtml causes false use of stylesheet a:hover → bad writen html causes false use of stylesheet a:hover
You need to log in
before you can comment on or make changes to this bug.
Description
•