fixed <frameset frameborder=no> allowed frame resizing

git-svn-id: svn://10.0.0.236/trunk@14363 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
karnaze%netscape.com 1998-11-10 20:49:51 +00:00
parent 15fd435da7
commit c220a9a260
2 changed files with 2 additions and 2 deletions

View File

@ -1033,7 +1033,7 @@ nsHTMLFramesetFrame::Reflow(nsIPresContext& aPresContext,
if (lastRow != cellIndex.y) { // changed to next row
offset.x = 0;
offset.y += lastSize.height;
if (borderWidth > 0) {
if ((borderWidth > 0) && (eFrameborder_No != frameborder)) {
if (firstTime) { // create horizontal border
borderFrame = new nsHTMLFramesetBorderFrame(mContent, this, borderWidth, PR_FALSE, PR_FALSE);
nsIStyleContext* pseudoStyleContext =

View File

@ -1033,7 +1033,7 @@ nsHTMLFramesetFrame::Reflow(nsIPresContext& aPresContext,
if (lastRow != cellIndex.y) { // changed to next row
offset.x = 0;
offset.y += lastSize.height;
if (borderWidth > 0) {
if ((borderWidth > 0) && (eFrameborder_No != frameborder)) {
if (firstTime) { // create horizontal border
borderFrame = new nsHTMLFramesetBorderFrame(mContent, this, borderWidth, PR_FALSE, PR_FALSE);
nsIStyleContext* pseudoStyleContext =