More hacks for floating embed's, object's and applet's

git-svn-id: svn://10.0.0.236/trunk@5551 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp
1998-07-15 00:47:46 +00:00
parent 2532972048
commit bb375cde2c
2 changed files with 8 additions and 2 deletions

View File

@@ -86,7 +86,10 @@ nsPlaceholderFrame::Reflow(nsIPresContext* aPresContext,
if (nsnull != atom) {
atom->ToString(tmp);
if (tmp.EqualsIgnoreCase("select") ||
tmp.EqualsIgnoreCase("table")) {
tmp.EqualsIgnoreCase("table") ||
tmp.EqualsIgnoreCase("embed") ||
tmp.EqualsIgnoreCase("object") ||
tmp.EqualsIgnoreCase("applet")) {
select = PR_TRUE;
}
NS_RELEASE(atom);

View File

@@ -86,7 +86,10 @@ nsPlaceholderFrame::Reflow(nsIPresContext* aPresContext,
if (nsnull != atom) {
atom->ToString(tmp);
if (tmp.EqualsIgnoreCase("select") ||
tmp.EqualsIgnoreCase("table")) {
tmp.EqualsIgnoreCase("table") ||
tmp.EqualsIgnoreCase("embed") ||
tmp.EqualsIgnoreCase("object") ||
tmp.EqualsIgnoreCase("applet")) {
select = PR_TRUE;
}
NS_RELEASE(atom);