Closed
Bug 395413
Opened 18 years ago
Closed 18 years ago
With the Dusk skin, text enclosed in <a name=""></a> is displayed in blue
Categories
(Bugzilla :: User Interface, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.2
People
(Reporter: LpSolit, Assigned: Wurblzap)
Details
Attachments
(1 file, 1 obsolete file)
|
681 bytes,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
Many places use <a name="foo">some text</a> to easily point to some portion of a page. But the Dusk skin displays all these strings in blue, as if they were real links. That's confusing and not really nice from a visual point of view. So we should only display text in blue if it's really a link. No idea how to do that in CSS (at least not from the top of my head).
Comment 1•18 years ago
|
||
You have to make your links <a name="something"></a>Text. You can't enclose the text in the anchor. This is a well-known issue that only shows up in Firefox.
| Reporter | ||
Comment 2•18 years ago
|
||
(In reply to comment #1)
> You have to make your links <a name="something"></a>Text. You can't enclose the
> text in the anchor.
Of course you can, and is even recommended by the spec:
http://www.w3.org/TR/html4/struct/links.html#h-12.2
They even explicitly say that: "User agents should be able to find anchors created by empty A elements, but some fail to do so."
| Reporter | ||
Comment 3•18 years ago
|
||
I use this trick for years on a website I'm managing.
| Assignee | ||
Comment 4•18 years ago
|
||
Comment on attachment 280162 [details] [diff] [review]
patch, v1
The underline on hover is removed on IE7, but it's still blue there. We may need some entries in IE-fixes.css.
It works on Firefox, so I'm willing to make this r+ if we agree to fix IE separately.
Attachment #280162 -
Flags: review?(wurblzap) → review-
| Reporter | ||
Comment 5•18 years ago
|
||
Marc, can you help with IE7? I have Linux and Windows 2000, so I cannot install IE7.
| Assignee | ||
Comment 6•18 years ago
|
||
Taking bug as agreed on IRC.
Here's a patch which works on both IE7 and FF2. Frédéric, can you please test it on IE6?
On a side note, I'd like to understand why it's necessary to mention a:link:hover near the beginning of the patch. I'd've thought that this is covered by a:link, but it apparently isn't.
Assignee: LpSolit → wurblzap
Attachment #280162 -
Attachment is obsolete: true
Attachment #280245 -
Flags: review?(LpSolit)
| Reporter | ||
Comment 7•18 years ago
|
||
Comment on attachment 280245 [details] [diff] [review]
Patch 2
Tested successfully with Firefox 2.0.0.6 (Windows 2000 + Linux), Opera 9.23 (Linux), IE6 SP1 (Windows 2000) and Konqueror 3.5.6 (Linux). r=LpSolit
Attachment #280245 -
Flags: review?(LpSolit) → review+
| Reporter | ||
Updated•18 years ago
|
Flags: approval+
| Assignee | ||
Comment 8•18 years ago
|
||
Checking in skins/contrib/Dusk/global.css;
/cvsroot/mozilla/webtools/bugzilla/skins/contrib/Dusk/global.css,v <-- global.css
new revision: 1.2; previous revision: 1.1
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•