3817 Commits

Author SHA1 Message Date
jkeiser%netscape.com
d73bc69f1a Fix race condition where iframe's frame is created after document is loaded and body is parsed (bug 153815), kin@netscape.com's patch, r=jkeiser@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@128944 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-06 05:44:31 +00:00
rbs%maths.uq.edu.au
a1be59664a Overshooting when measuring the text caused things to go out-of-sync and to hang, b=142206, r=shanjian, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@128860 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-05 01:58:55 +00:00
karnaze%netscape.com
309cb4340b bug 149275 - Allocate reflow state and let ReflowBlock initialize it so the correct reflow state can be passed to DidReflow. Combined DoReflowBlock with ReflowBlock. sr=bzbarsky, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@128817 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 06:55:40 +00:00
karnaze%netscape.com
17f5d7a861 bug 137388 - Jery Tan's patch to restrict applying CalcQuirkContainingBlockHeight to a frame inside a table cell. sr=bzbarsky, r=karnaze.
git-svn-id: svn://10.0.0.236/trunk@128803 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 04:00:41 +00:00
karnaze%netscape.com
f7e67af4b3 bug 154780 - Revised bernd's patch. treat null unit margins as auto. leave the cell avail width at 0 if a strategy init will occur. sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@128780 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-04 00:10:43 +00:00
karnaze%netscape.com
cb28c9b4aa bug 131065 - revised Jerry Tan's patch to handle top/bottom margins and absolutely positioned cases. sr=kin, r=peterl.
git-svn-id: svn://10.0.0.236/trunk@128774 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:42:52 +00:00
dougt%netscape.com
1ebc6538fb Move FROZEN ContractID into nsXPCOM.h and define r=rpotts, sr=alec, b=166426
git-svn-id: svn://10.0.0.236/trunk@128770 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 23:36:13 +00:00
cbiesinger%web.de
281964d562 bug 151983 patch by bernd.mielke@snafu.de r=paper sr=tor
ASSERTION: imgLoader::LoadImage -- NULL URI pointer: 'aURI'


git-svn-id: svn://10.0.0.236/trunk@128754 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 22:49:51 +00:00
roc+%cs.cmu.edu
4f2eb464ee Bug 164625. Remove references to nsRectFast, they're not needed and this shouldn't be used outside of the nsRegion code. Patch by Dainis_Jonitis@swh-t.lv. r=roc,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128736 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-03 21:53:22 +00:00
timeless%mac.com
9ea8d4c86b Bug 161945 clean up simple mac build warnings
r=dbradley sr=bz


git-svn-id: svn://10.0.0.236/trunk@128679 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-02 21:26:11 +00:00
roc+%cs.cmu.edu
45a8f7c62d Bug 164625. Native regions on Linux (and probably some other platforms) are limited to 16bit signed coordinates, so we have to use our own region implementation to manipulate regions in twips space. Using our own regions should also improve performance. r=kmcclusk,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128522 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 03:32:05 +00:00
mjudge%netscape.com
24b6c23cc2 23784 r=akk sr=dbaron fix for stopping immediate drag after double clicking of the mouse
git-svn-id: svn://10.0.0.236/trunk@128516 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-30 01:32:11 +00:00
pete.zha%sun.com
f1830c00be Reproducible crash when printing page [@nsFloaterCacheList::~nsFloaterCacheList()] (bug=149074)
r=karnaze@netscape.com sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@128412 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-29 01:44:15 +00:00
alexsavulov%netscape.com
aef6811a4b Fix for bug 78820 - right aligned floater in nowrap blocks are not
positioned correctly. r= alexsavulov sr= kin


git-svn-id: svn://10.0.0.236/trunk@128299 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 22:31:24 +00:00
bzbarsky%mit.edu
d8f58536ba Bug 162546 and bug 141883. Better handling of unknown area shapes and
more graceful handling of bogus rect coords.  r=jkeiser, sr=roc.


git-svn-id: svn://10.0.0.236/trunk@128287 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 20:49:54 +00:00
seawood%netscape.com
6487e8df55 Rename conflicting global symbols to fix debug static build runtime bustage.
Bug #162918 r=serge sr=alecf


git-svn-id: svn://10.0.0.236/trunk@128162 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 21:20:31 +00:00
mjudge%netscape.com
2f5c006a1d 4302 r=jfrancis sr=kin. pageup/down bug with navigation.
git-svn-id: svn://10.0.0.236/trunk@128157 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-26 20:55:30 +00:00
roc+%cs.cmu.edu
c6bb83f66a Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
shanjian%netscape.com
0e38ae2644 #161328 CJK string is not breakable before joined frames
This patch include 3 changes:
 1) check the breaking possibility  in between for 2 connection pieces.
 2) Make word breakable after the second word, priviously it only applies to western.
 3) always call RevertSpacesToNBSP before call line breaker. This is necessary because the
    change in 1.
r=boris zbarsky, sr=rbs


git-svn-id: svn://10.0.0.236/trunk@127993 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 21:43:42 +00:00
dbaron%fas.harvard.edu
3c91110102 Fix XUL style attribute change regression by making |#ifdef MOZ_SVG| code the default, but moved elsewhere. b=163481 r=bbaetz sr=bryner
git-svn-id: svn://10.0.0.236/trunk@127813 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-22 00:01:30 +00:00
pete.zha%sun.com
9202c4a93e Browser crash when close print preview in a page has fixed DIV
bug=163800 r=rods sr=jst


git-svn-id: svn://10.0.0.236/trunk@127758 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-21 08:56:58 +00:00
mjudge%netscape.com
1b7fd3dbf6 163631 fixing regression caused by last checkin. just undoing to what was there allready. no need to check height on frames. this messed up table row group frames.
git-svn-id: svn://10.0.0.236/trunk@127730 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 22:42:26 +00:00
mjudge%netscape.com
c19120f618 163483 backing out poor change that didnt take into account the translation of coordinates by the container frame. this is just a backout.
git-svn-id: svn://10.0.0.236/trunk@127722 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-20 22:08:44 +00:00
dbaron%fas.harvard.edu
12c9b29b2b Ensure that the event state manager doesn't send content state changed notifications for content that's been removed from the document. b=157322 r=bryner sr=kin
git-svn-id: svn://10.0.0.236/trunk@127627 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 18:31:59 +00:00
kin%netscape.com
a850d5d255 Fix for bug #96736: [FLOATER]The "Top 1000 Reviewer" is overwritten by text
mozilla/layout/base/src/nsSpaceManager.cpp
  mozilla/layout/base/src/nsSpaceManager.h

    - Implemented nsSpaceManager methods PushState()
      and PopState().

  mozilla/layout/html/base/src/nsBlockReflowContext.cpp

    - Modified nsBlockReflowContext::DoReflowBlock() to
      call PushState() and PopState() to remove any
      floaters that may have been added to the SpaceManager
      during the intermediate "unconstrained" Reflow()
      call, used to calculate the max block width. This
      allows the Reflow() call that immediately follows
      it to properly place the floaters.


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


git-svn-id: svn://10.0.0.236/trunk@127595 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-19 04:41:57 +00:00
aaronl%netscape.com
6ec7265fbf Bug 132158. Active Accessibility: expose correct bounds information and accessible value for HTML areas. r=saari, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@127523 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-17 01:46:58 +00:00
bzbarsky%mit.edu
8df67b73a5 Fix placement of positioned elements with auto "top". Bug 44508, patch
by Mats Palmgren (mats.palmgren@bredband.net), r=dbaron, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@127417 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 23:00:23 +00:00
shanjian%netscape.com
abf2bedad3 Back out my previous change because it cause regression 162670.
git-svn-id: svn://10.0.0.236/trunk@127269 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 19:18:27 +00:00
dbaron%fas.harvard.edu
87f1ec1ab2 Back out most of patch for bug 154910 to fix crash, since nsLineLayout need not do all its allocation without other things lower on the stack. b=162516
git-svn-id: svn://10.0.0.236/trunk@127257 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 13:00:16 +00:00
dbaron%fas.harvard.edu
47bcd9d189 Mark freed memory in stack arena with 0xdd. b=161283 sr=bzbarsky r=kin
git-svn-id: svn://10.0.0.236/trunk@127256 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:49:24 +00:00
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
shanjian%netscape.com
68a2861b2a #161328, CJK string is not breakable before joined frames
CJK character is marked as breakable after first word.
For joined piece, check if it is breakable in between.

r=rbs, sr=boris zbarsky


git-svn-id: svn://10.0.0.236/trunk@127215 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 23:50:42 +00:00
jkeiser%netscape.com
b1a1838c37 Rearrange how layout history keys are created (bug 162409), r=sicking@bigfoot.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@127177 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 17:14:18 +00:00
seawood%netscape.com
823af36499 Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.


git-svn-id: svn://10.0.0.236/trunk@127074 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 13:35:18 +00:00
dbaron%fas.harvard.edu
1894434edb Make BR-related parts of the quirky inline box model also quirky in almost-standards mode, to match the rest of the inline box model quirks. b=161691 sr=bzbarsky r=caillon
git-svn-id: svn://10.0.0.236/trunk@127036 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-11 18:00:07 +00:00
dbaron%fas.harvard.edu
1be537f3c0 Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127035 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-11 17:56:15 +00:00
aaronl%netscape.com
dd1d50f19e Bug 158754 - rest of checkin (correct code formatting this time)
git-svn-id: svn://10.0.0.236/trunk@126982 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:22:52 +00:00
aaronl%netscape.com
89d5e8b0f9 Bug 158754. Allow type ahead find to change selection color, and show caret with selection. r=akkana, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126980 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:15:30 +00:00
aaronl%netscape.com
54113de18f Bug 160793. Active Accessibility: support broken images. r=kyle, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@126976 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:59:44 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00
smontagu%netscape.com
87e0459927 GetWidth optimizations for Unix. Bug 36146. Authors Tomi.Leppikangas@oulu.fi, Roland.Mainz@informatik.med.uni-giessen.de; r=shanjian,smontagu; sr=rbs, darin
git-svn-id: svn://10.0.0.236/trunk@126829 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 00:13:11 +00:00
mjudge%netscape.com
0661484e2b 127321. r=brade sr=sfrasier. bug that skips getting stuck on word jumping on macs. This feature now may want to be turned on in the windows and unix builds as well.
git-svn-id: svn://10.0.0.236/trunk@126742 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-08 06:37:01 +00:00
bzbarsky%mit.edu
5e12c05788 That last checkin was r=philipl@mail.utexas.edu,sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@126703 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 23:54:11 +00:00
bzbarsky%mit.edu
c7b7bc03b9 Re-fix bug 139294 by backing out the fix for 152429, since bug 159268
fixed the crash that 152429 was on.


git-svn-id: svn://10.0.0.236/trunk@126699 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 23:52:26 +00:00
mjudge%netscape.com
f0f35586c2 backing out checked into closed tree
git-svn-id: svn://10.0.0.236/trunk@126680 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 19:52:18 +00:00
mjudge%netscape.com
bac2fdb53d fix for 127321. r=brade sr=smfr. Fix for word jumping getting stuck on punctuation.
git-svn-id: svn://10.0.0.236/trunk@126678 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 19:48:42 +00:00
seawood%netscape.com
5cf2509541 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls


git-svn-id: svn://10.0.0.236/trunk@126619 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 06:08:00 +00:00
mkaply%us.ibm.com
7c3c72e2c2 Better fix for OS/2 bustage earlier
git-svn-id: svn://10.0.0.236/trunk@126601 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 04:06:57 +00:00
mjudge%netscape.com
7ce727c759 159207. HR is now selectable and navigatable. r=cmanske sr=kin
git-svn-id: svn://10.0.0.236/trunk@126554 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:56:50 +00:00
mkaply%us.ibm.com
60edb199c5 OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@126523 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 15:22:34 +00:00