зеркало из https://github.com/mozilla/gecko-dev.git
Added WBR
This commit is contained in:
Родитель
cf44450a9d
Коммит
cfc8e0d61a
|
@ -82,6 +82,7 @@ CPPSRCS= \
|
||||||
nsHTMLTextAreaElement.cpp \
|
nsHTMLTextAreaElement.cpp \
|
||||||
nsHTMLTitleElement.cpp \
|
nsHTMLTitleElement.cpp \
|
||||||
nsHTMLUListElement.cpp \
|
nsHTMLUListElement.cpp \
|
||||||
|
nsHTMLWBRElement.cpp \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
CPP_OBJS= \
|
CPP_OBJS= \
|
||||||
|
@ -144,6 +145,7 @@ CPP_OBJS= \
|
||||||
.\$(OBJDIR)\nsHTMLTextAreaElement.obj \
|
.\$(OBJDIR)\nsHTMLTextAreaElement.obj \
|
||||||
.\$(OBJDIR)\nsHTMLTitleElement.obj \
|
.\$(OBJDIR)\nsHTMLTitleElement.obj \
|
||||||
.\$(OBJDIR)\nsHTMLUListElement.obj \
|
.\$(OBJDIR)\nsHTMLUListElement.obj \
|
||||||
|
.\$(OBJDIR)\nsHTMLWBRElement.obj \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\raptor -I$(PUBLIC)\js \
|
LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\raptor -I$(PUBLIC)\js \
|
||||||
|
|
|
@ -1635,6 +1635,9 @@ nsGenericHTMLElement::CreateFrame(nsIPresContext* aPresContext,
|
||||||
else if (mTag == nsHTMLAtoms::spacer) {
|
else if (mTag == nsHTMLAtoms::spacer) {
|
||||||
rv = NS_NewSpacerFrame(mContent, aParentFrame, frame);
|
rv = NS_NewSpacerFrame(mContent, aParentFrame, frame);
|
||||||
}
|
}
|
||||||
|
else if (mTag == nsHTMLAtoms::wbr) {
|
||||||
|
rv = NS_NewWBRFrame(mContent, aParentFrame, frame);
|
||||||
|
}
|
||||||
if (NS_OK != rv) {
|
if (NS_OK != rv) {
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
|
@ -80,6 +80,7 @@ CPPSRCS= \
|
||||||
nsHTMLTextAreaElement.cpp \
|
nsHTMLTextAreaElement.cpp \
|
||||||
nsHTMLTitleElement.cpp \
|
nsHTMLTitleElement.cpp \
|
||||||
nsHTMLUListElement.cpp \
|
nsHTMLUListElement.cpp \
|
||||||
|
nsHTMLWBRElement.cpp \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
MODULE = raptor
|
MODULE = raptor
|
||||||
|
|
|
@ -82,6 +82,7 @@ CPPSRCS= \
|
||||||
nsHTMLTextAreaElement.cpp \
|
nsHTMLTextAreaElement.cpp \
|
||||||
nsHTMLTitleElement.cpp \
|
nsHTMLTitleElement.cpp \
|
||||||
nsHTMLUListElement.cpp \
|
nsHTMLUListElement.cpp \
|
||||||
|
nsHTMLWBRElement.cpp \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
CPP_OBJS= \
|
CPP_OBJS= \
|
||||||
|
@ -144,6 +145,7 @@ CPP_OBJS= \
|
||||||
.\$(OBJDIR)\nsHTMLTextAreaElement.obj \
|
.\$(OBJDIR)\nsHTMLTextAreaElement.obj \
|
||||||
.\$(OBJDIR)\nsHTMLTitleElement.obj \
|
.\$(OBJDIR)\nsHTMLTitleElement.obj \
|
||||||
.\$(OBJDIR)\nsHTMLUListElement.obj \
|
.\$(OBJDIR)\nsHTMLUListElement.obj \
|
||||||
|
.\$(OBJDIR)\nsHTMLWBRElement.obj \
|
||||||
$(NULL)
|
$(NULL)
|
||||||
|
|
||||||
LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\raptor -I$(PUBLIC)\js \
|
LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\raptor -I$(PUBLIC)\js \
|
||||||
|
|
|
@ -1635,6 +1635,9 @@ nsGenericHTMLElement::CreateFrame(nsIPresContext* aPresContext,
|
||||||
else if (mTag == nsHTMLAtoms::spacer) {
|
else if (mTag == nsHTMLAtoms::spacer) {
|
||||||
rv = NS_NewSpacerFrame(mContent, aParentFrame, frame);
|
rv = NS_NewSpacerFrame(mContent, aParentFrame, frame);
|
||||||
}
|
}
|
||||||
|
else if (mTag == nsHTMLAtoms::wbr) {
|
||||||
|
rv = NS_NewWBRFrame(mContent, aParentFrame, frame);
|
||||||
|
}
|
||||||
if (NS_OK != rv) {
|
if (NS_OK != rv) {
|
||||||
return rv;
|
return rv;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче