mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 811815 - A href links are not underlined/showing as links in Browser. r=jlebar a=blocking-basecamp
This commit is contained in:
parent
ee00a41700
commit
5501032117
@ -90,15 +90,15 @@ Link::LinkState() const
|
||||
return nsEventStates();
|
||||
}
|
||||
|
||||
// Assume that we are not visited until we are told otherwise.
|
||||
self->mLinkState = eLinkState_Unvisited;
|
||||
|
||||
// We have a good href, so register with History.
|
||||
if (mHistory) {
|
||||
nsresult rv = mHistory->RegisterVisitedCallback(hrefURI, self);
|
||||
if (NS_SUCCEEDED(rv)) {
|
||||
self->mRegistered = true;
|
||||
|
||||
// Assume that we are not visited until we are told otherwise.
|
||||
self->mLinkState = eLinkState_Unvisited;
|
||||
|
||||
// And make sure we are in the document's link map.
|
||||
nsIDocument *doc = element->GetCurrentDoc();
|
||||
if (doc) {
|
||||
|
Loading…
Reference in New Issue
Block a user