Closed
Bug 271384
Opened 20 years ago
Closed 20 years ago
Wrong cursor selected for cursor:auto on anchor elements
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
People
(Reporter: wasti.redl, Unassigned)
References
()
Details
Attachments
(1 file)
288 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040817 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8a3) Gecko/20040817 The 'auto' value for the 'cursor' property should select the cursor that the browser will display by default for that element. However, Mozilla will use the I-beam cursor for <a href="..."> elements. I suppose this bug is due to <a> using a nsTextFrame for being displayed, which, in its GetCursor method, return NS_STYLE_CURSOR_TEXT if GetStyleUserInterface()->mCursor results in NS_STYLE_CURSOR_AUTO. http://lxr.mozilla.org/seamonkey/source/layout/html/base/src/nsTextFrame.cpp#1338 Reproducible: Always Steps to Reproduce: 1. Go to demonstration page. 2. Hover mouse over third paragraph in the cursor: auto presentation (and never mind the typo - the css uses the correct cursor property) Actual Results: The cursor turns into an I-beam. Expected Results: The cursor should turn into a hand (link pointer).
Reporter | ||
Comment 1•20 years ago
|
||
Minimal testcase with just a single paragraph and link.
Comment 2•20 years ago
|
||
*** This bug has been marked as a duplicate of 88688 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•