Added WBR

This commit is contained in:
kipp%netscape.com 1998-09-04 01:02:30 +00:00
parent cf44450a9d
commit cfc8e0d61a
5 changed files with 11 additions and 0 deletions

View File

@ -82,6 +82,7 @@ CPPSRCS= \
nsHTMLTextAreaElement.cpp \
nsHTMLTitleElement.cpp \
nsHTMLUListElement.cpp \
nsHTMLWBRElement.cpp \
$(NULL)
CPP_OBJS= \
@ -144,6 +145,7 @@ CPP_OBJS= \
.\$(OBJDIR)\nsHTMLTextAreaElement.obj \
.\$(OBJDIR)\nsHTMLTitleElement.obj \
.\$(OBJDIR)\nsHTMLUListElement.obj \
.\$(OBJDIR)\nsHTMLWBRElement.obj \
$(NULL)
LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\raptor -I$(PUBLIC)\js \

View File

@ -1635,6 +1635,9 @@ nsGenericHTMLElement::CreateFrame(nsIPresContext* aPresContext,
else if (mTag == nsHTMLAtoms::spacer) {
rv = NS_NewSpacerFrame(mContent, aParentFrame, frame);
}
else if (mTag == nsHTMLAtoms::wbr) {
rv = NS_NewWBRFrame(mContent, aParentFrame, frame);
}
if (NS_OK != rv) {
return rv;
}

View File

@ -80,6 +80,7 @@ CPPSRCS= \
nsHTMLTextAreaElement.cpp \
nsHTMLTitleElement.cpp \
nsHTMLUListElement.cpp \
nsHTMLWBRElement.cpp \
$(NULL)
MODULE = raptor

View File

@ -82,6 +82,7 @@ CPPSRCS= \
nsHTMLTextAreaElement.cpp \
nsHTMLTitleElement.cpp \
nsHTMLUListElement.cpp \
nsHTMLWBRElement.cpp \
$(NULL)
CPP_OBJS= \
@ -144,6 +145,7 @@ CPP_OBJS= \
.\$(OBJDIR)\nsHTMLTextAreaElement.obj \
.\$(OBJDIR)\nsHTMLTitleElement.obj \
.\$(OBJDIR)\nsHTMLUListElement.obj \
.\$(OBJDIR)\nsHTMLWBRElement.obj \
$(NULL)
LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\raptor -I$(PUBLIC)\js \

View File

@ -1635,6 +1635,9 @@ nsGenericHTMLElement::CreateFrame(nsIPresContext* aPresContext,
else if (mTag == nsHTMLAtoms::spacer) {
rv = NS_NewSpacerFrame(mContent, aParentFrame, frame);
}
else if (mTag == nsHTMLAtoms::wbr) {
rv = NS_NewWBRFrame(mContent, aParentFrame, frame);
}
if (NS_OK != rv) {
return rv;
}