Closed Bug 277440 Opened 20 years ago Closed 20 years ago

Layout problem with repeat

Categories

(Core Graveyard :: XForms, defect)

x86
Windows XP
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 266685
mozilla1.8beta1

People

(Reporter: darin.moz, Assigned: darin.moz)

References

()

Details

Layout problem with repeat

I noticed that the first repeatitem is properly positioned, but the second
repeatitem appears to be layed out off to the right hand side of the window.  It
appears that it is positioned off the edge of the <body>!  Resizing the window
appears to affect the layout positioning of the second repeatitem too.
Investigating...
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8beta
OK, using the layout debugger (mozilla -layoutdebug), I found the source of this
problem.  The <repeat> element and the <contextcontainer> are both inline
frames.  As a result, we end up with a frame tree like this:

  Inline(repeat)
    Block(div)
      Inline(contextcontainer)
        Block(div)
          Inline(output)

By setting the display style of the repeat and contextcontainer to block, I was
able to eliminate the layout problem.

See http://friedfish.homeip.net/test/xforms/bugs/repeat-layout/test-mod.xhtml
So, to fix this bug we just need to solve bug 274663.
Depends on: 274663
Check. The "good old" layout problem.

*** This bug has been marked as a duplicate of 266685 ***
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.