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:
parent
15fd435da7
commit
c220a9a260
@ -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 =
|
||||
|
||||
@ -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 =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user