Adding window.open method, fixing editormode in release builds, various event fixes

This commit is contained in:
joki@netscape.com
1998-08-07 04:45:03 +00:00
parent cce5797cd6
commit 725e43b7d3
30 changed files with 654 additions and 96 deletions

View File

@@ -95,20 +95,6 @@ NS_METHOD nsHTMLContainerFrame::HandleEvent(nsIPresContext& aPresContext,
nsGUIEvent* aEvent,
nsEventStatus& aEventStatus)
{
// This masks out selection on the down click
if (aEvent->message == NS_MOUSE_LEFT_BUTTON_DOWN) {
nsIAtom* tag = mContent->GetTag();
if (nsHTMLAtoms::a == tag) {
nsString href;
mContent->GetAttribute(nsString("href"), href);
if (href.Length() > 0) {
NS_RELEASE(tag);
return NS_OK;
}
}
NS_RELEASE(tag);
}
return nsContainerFrame::HandleEvent(aPresContext, aEvent, aEventStatus);
}