528 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
7bb0d33a99 Don't repeatedly reapply the carried out bottom margin when clearing long words past floats. Fixes infinite loop in the case where the margin is negative. b=153429 sr=bzbarsky r=roc+moz
git-svn-id: svn://10.0.0.236/trunk@127254 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:44:40 +00:00
dbaron%fas.harvard.edu
26e2cab608 Fix regression causing scrollbars not to be extended by absolutely positioned elements in some cases. Also removed unused |FixParentAndView|. b=154230 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@126501 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 12:54:52 +00:00
bzbarsky%mit.edu
46e1f06343 Remove mis-implementation of the "ua-dependent" min-width stuff from
CSS1/2.  Bug 159059, sr=dbaron, r=hyatt


git-svn-id: svn://10.0.0.236/trunk@126437 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 04:50:40 +00:00
kin%netscape.com
73a7e6dade Fix for bug 157055 (Text doesn't show up on Lycos mail front page (layout broken by focus))
Removed |!aReflowState.path->mReflowCommand| check from |if| condition for the first block that attempts to incrementally reflow the block's absolute children.

This was preventing us from properly reflowing an absolute positioned child or one its children when the current reflow path tree contained both a reflow command targeted at the block and one targeted at the aboslutely positioned child or one of its children. This check shouldn't be necessary since nsAbsoluteContainingBlock::IncrementalReflow() does the necessary checks to see if it really should reflow any of the absolute children.

r=karnaze@netscape.com,waterson@netscape.com  sr=dbaron@fas.harvard.edu   a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@125984 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 04:19:15 +00:00
karnaze%netscape.com
e1b0af4e1d bug 153785 - Added function to undo splitting floaters when the line they are on gets moved to the next page. Cached the break type of the last floater that gets split in the block reflow state so that the frame afterh the floater's continuation can combine that break type with its own. a=asa, sr=kin, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@125355 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-17 01:48:56 +00:00
smontagu%netscape.com
b1d789fcb1 Fix regression with form controls on visual bidi pages. Bug 142233, r=jkeiser, sr=kin
git-svn-id: svn://10.0.0.236/trunk@124915 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-10 00:52:17 +00:00
karnaze%netscape.com
6d087c9706 bug 150652 - find correct containing block in nsBlockFrame::DoRemoveOutOfFlowFrame. sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@124496 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-02 14:56:18 +00:00
bernd.mielke%snafu.de
c67e5d2a21 bug 154979 - use gNoisyMaxElementSize instead of NOISY_MAX_ELEMENTSIZE r=karnaze sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124405 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 17:43:02 +00:00
dbaron%fas.harvard.edu
7c4652cc16 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
bzbarsky%mit.edu
e045622d4e Bug 152979, r=dbaron,chak, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@123712 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-20 20:34:37 +00:00
karnaze%netscape.com
f849232aae bug 151620 - always use quirk line-height inside a td. sr=waterson, r=dbaron.
git-svn-id: svn://10.0.0.236/trunk@123624 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-19 22:28:47 +00:00
karnaze%netscape.com
924ea247db bug 148245 - only split floaters when printing if the height is constrained, never split floating first letters. sr=waterson
git-svn-id: svn://10.0.0.236/trunk@123316 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-14 14:30:33 +00:00
kin%netscape.com
2ce51981fc Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/layout/html/base/src/nsBlockFrame.cpp

    - Removed code in ReflowDirtyChild() which propagated
      the reflow command up to the block's parent if the
      block already had dirty children. There's no need
      for this optimization with waterson's reflow command
      tree changes.

  mozilla/xul/base/src/nsBox.cpp

    - Modified RelayoutDirtyChild() so that it posts
      a dirty reflow event if |this| is a reflow root.
      This prevents ReflowDirtyChild requests from
      propagating all the way out of the box hierarchy.

r=dbaron@fas.harvard.edu  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@123234 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 20:30:14 +00:00
dbaron%fas.harvard.edu
f06e55f876 Fix performance problem on home.netscape.com: Don't do full reflow of all absolutely positioned elements whose containing block is on the path to the target of an incremental reflow. b=146831 sr=waterson r=kin
git-svn-id: svn://10.0.0.236/trunk@123125 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-12 03:21:00 +00:00
bernd.mielke%snafu.de
dafbd8aee3 no math with NS_UNCONSTRAINEDSIZE please, bug 14862 r=karnaze sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@122641 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:37:06 +00:00
kin%netscape.com
79aa82cbf1 Fix for bug 138573 (hitting return in list item causes list problems; workaround is to refresh)
Modified SlideLine() to use the combined area instead of the linebox
  bounds when invalidating. This makes sure that we invalidate the
  area occupied by the list bullets/ordinals.

r=dbaron@fas.harvard.edu  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@122594 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 21:35:54 +00:00
karnaze%netscape.com
49e0a9f4cb bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
jst%netscape.com
0e34136ef1 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
waterson%netscape.com
5b30d03c75 Bug 143959. Undo previous temporary fix. Fix (and document) nsBoxReflowState::Unwind to propagate the _root_ box through the recursion. r=dbaron, sr=kin
git-svn-id: svn://10.0.0.236/trunk@121416 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:00:31 +00:00
waterson%netscape.com
40088e3131 Bug 143959. Temporarily disable block reflow coalescing.
git-svn-id: svn://10.0.0.236/trunk@121388 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 19:00:56 +00:00
waterson%netscape.com
5bae3657e6 Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:22:41 +00:00
waterson%netscape.com
dbe6737108 Fix build bustage when NOISY_SPACE_MANAGER is set.
git-svn-id: svn://10.0.0.236/trunk@120908 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 01:32:55 +00:00
waterson%netscape.com
46262a3fef Bug 137094. Prevent flow-of-control leak of space manager. r=attinasi, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@120693 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 13:49:44 +00:00
smontagu%netscape.com
a2b76cba1b Fix hang when pressing ENTER in Hebrew text fields. Bug 95228, r=jkeiser, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120562 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:25:32 +00:00
jkeiser%netscape.com
cdf91f6f16 Make iframe border repaint when style changes (bug 124507), r=waterson@netscape.com, sr=attinasi@netscape.com
git-svn-id: svn://10.0.0.236/trunk@120131 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 07:53:41 +00:00
waterson%netscape.com
fc93436b44 Bug 138057. Eliminate nsBlockFrame::RememberFloaterDamage, instead recording the damage when we reflow the floater. This allows us to catch several cases that we weren't catching before, so we no longer need to dirty all the line boxes when an incremental reflow targeted at a float arrives. r=dbaron, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@119984 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 19:19:39 +00:00
karnaze%netscape.com
479f972b95 bug 136746 - check for null pointer if a line is empty. sr=waterson, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@119857 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:53:32 +00:00
attinasi%netscape.com
f3872354cd Make sure SpaceManager is in the reflowState before absolute items are reflowed to prevent crash. b=130251 r=alexsavulov sr=waterson
git-svn-id: svn://10.0.0.236/trunk@119337 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-18 23:37:51 +00:00
mjudge%netscape.com
971c0c3c10 82151 r=jfrancis sr = kin
git-svn-id: svn://10.0.0.236/trunk@119055 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-16 02:42:09 +00:00
kin%netscape.com
cb4f8026fd Fix for bug 110940 (order List ID does not display correctly after change )
RenumberListsFor() now calls Invalidate() for a bullet frame if it's ordinal is changed.

r=kmcclusk@netscape.com  sr=waterson@netscape.com
adt=jaimejr@netscape.com  a=asa@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@118750 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 14:01:11 +00:00
waterson%netscape.com
27b2245dbd Bug 135146. Implement NS_FRAME_REFLOW_ROOT to allow reflows for <textarea> and <input type='text'> to be dispatched from the scroll frame within the nsGfxTextControlFrame2. r=kin, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@118697 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 01:13:41 +00:00
alexsavulov%netscape.com
d471bf6ed8 fix for bug 107545
added nullchek for a frame pointer
r= kmcckuskey sr= attinasi a=rjesup adt1.0.0+=syd


git-svn-id: svn://10.0.0.236/trunk@118680 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 00:06:39 +00:00
attinasi%netscape.com
15c4b120a6 Backing out patch from bug 128133 due to the myriad regression - my apologies to all good Mozillans.
git-svn-id: svn://10.0.0.236/trunk@118496 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-08 23:57:37 +00:00
attinasi%netscape.com
6bc6a98dd4 stop positioning views for floaters before the frame is placed - avoids flicker due to painting at erroneous position. b=128133 r=karnaze,dbaron sr=waterson a=roc,jaimejr
git-svn-id: svn://10.0.0.236/trunk@118445 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-07 18:20:27 +00:00
dbaron%fas.harvard.edu
94075d45c2 Remove |aForceUnique| parameter from style context resolving methods, and corresponding flag from nsStyleContext, since the only caller was ReResolveStyleContext (on the assumption that other callers used it). Allow ReResolveStyleContext to benefit from FindChildWithRules and allow it to re-resolve to the same tree even when called on the root style context. b=133821 r=attinasi sr=hyatt a=asa
git-svn-id: svn://10.0.0.236/trunk@117795 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-31 16:59:00 +00:00
alexsavulov%netscape.com
7de8bdc786 fix for bug 100963 r= kmcklusk sr= attinasi a= asa
added region invalidation to cause repainting of areas previously
occupied by a removed line


git-svn-id: svn://10.0.0.236/trunk@117493 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 20:03:41 +00:00
karnaze%netscape.com
d2766aacef bug 128804 - moved optimization of text controls to nsBlockReflowState and initialized it earlier. a=dbaron, sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@116409 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:48:52 +00:00
alexsavulov%netscape.com
66e4b80082 fix for bug 122200 - floaters regression and fix for bug 99461 - floating
tables will be constrained in the same line if they can fit
quirks mode only
sr= attinasi, r= kin, a= asa


git-svn-id: svn://10.0.0.236/trunk@116174 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 20:25:54 +00:00
rbs%maths.uq.edu.au
2e58797523 bug 92896 - incorrect position of bullets next to child blocks if the font-size within the child block is different, r=dbaron, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@115982 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:22:24 +00:00
jkeiser%netscape.com
04268ce076 bug 125124 (frame resize on unload crasher), r=alexsavulov@netscape.com, sr=attinasi@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@115314 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 19:23:48 +00:00
dbaron%fas.harvard.edu
b1582a7dc4 Fix regression that prevented 'font-size' from applying to list numbers. b=110360 sr=attinasi r=karnaze a=roc
git-svn-id: svn://10.0.0.236/trunk@115128 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-21 01:36:16 +00:00
attinasi%netscape.com
779d9368ff Fixed problems with reframing recursively due to block-in-inline frames and content appended notifications. r=karnaze sr=waterson b=56894
git-svn-id: svn://10.0.0.236/trunk@112109 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 22:05:26 +00:00
waterson%netscape.com
b2f8754193 Bug 52242. Include space manager information when computing auto-sized block's height. r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@112082 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 20:04:30 +00:00
waterson%netscape.com
e72c8455d0 Bug 99461 and it's ilk. Remove hack that blasts tables into the same space. r=dbaron, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@111638 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 03:01:13 +00:00
dbaron%fas.harvard.edu
b7194a0ea8 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
dbaron%fas.harvard.edu
ba011ecd80 Clean up nsBlockFrame::RemoveFrame and add assertion to nsFrameList. b=114222 r=waterson sr=kin
git-svn-id: svn://10.0.0.236/trunk@111449 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 18:17:41 +00:00
dbaron%fas.harvard.edu
4a32ed3c58 Bug 117374: nsBlockFrame::UpdateSpaceManager is no longer needed since nsBlockReflowState::RecoverFloaters does the same work.
Bug 113895:  Pass |aDeltaY| as 0 for recursive calls to RecoverFloaters.
b=117374  r=attinasi  sr=waterson


git-svn-id: svn://10.0.0.236/trunk@111448 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 18:14:00 +00:00
waterson%netscape.com
6357150a06 Bug 116230 et al; fix-on-a-fix for bug 91423. Don't always retarget to the primary frame: stop at the first continuation after a hard-break if there is one. Also, move retargeting to reflow state setup. r=rbs, sr=nobody.
git-svn-id: svn://10.0.0.236/trunk@111391 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 01:42:36 +00:00
waterson%netscape.com
6f61230818 Bug 117769. Remove vestigial |aStopPulling| parameter from nsBlockFrame::PullFrameFrom; clean up surrounding logic. r=dbaron, sr=attinasi.
git-svn-id: svn://10.0.0.236/trunk@111253 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-02 22:10:13 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00