3948 Commits

Author SHA1 Message Date
sicking%bigfoot.com
db4678c2f2 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz


git-svn-id: svn://10.0.0.236/trunk@134395 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 08:33:30 +00:00
katakai%japan.sun.com
93fd9af3b9 bug 167866
code clean up
clean up comment line codes for nsPresShell.cpp
r=akkana,sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@134389 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 04:58:40 +00:00
jfrancis%netscape.com
0d9a9af955 fix for 142855: cf_html paste functioanlity. r=brade, cmanske; sr=kin
git-svn-id: svn://10.0.0.236/trunk@134301 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-22 03:24:29 +00:00
dbaron%fas.harvard.edu
10dd68c42b Correct my incorrect comments relating to combined area, and explain what combined area is for. Comment changes only. b=172896
git-svn-id: svn://10.0.0.236/trunk@134264 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-21 15:20:20 +00:00
bzbarsky%mit.edu
f6b3b3afb9 Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 00:44:26 +00:00
dbaron%fas.harvard.edu
a0f469c2b2 Remove nsLineBox::RemoveFloatersFromSpaceManager, and use nsSpaceManager::PushState and nsSpaceManager::PopState instead. b=177342 r=roc sr=kin
git-svn-id: svn://10.0.0.236/trunk@134007 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:51:25 +00:00
dbaron%fas.harvard.edu
307f43b5a1 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
timeless%mozdev.org
99731b5e88 Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz


git-svn-id: svn://10.0.0.236/trunk@133999 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 05:16:49 +00:00
bernd.mielke%snafu.de
0a20459e7c Adding debug code to absolute containing blocks, the debug code will be invoked from the command line by
set GECKO_BLOCK_DEBUG_FLAGS=reflow bug 145592, r=bz, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@133967 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 10:41:10 +00:00
bryner%netscape.com
e42bf44e7d Fixing topcrash bug 179548 (crash when closing tab via mouse gesture) by null checking the event target frame before dispatching the event the second time, since the first dispatch can nuke the frame. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@133871 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-15 00:59:28 +00:00
bzbarsky%mit.edu
b2477e984f Fire onScroll after the scrolling has happened. Bug 179857, r=jkeiser, sr=jst
git-svn-id: svn://10.0.0.236/trunk@133842 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-14 20:00:13 +00:00
bzbarsky%mit.edu
87e0051c3e Align text inputs, buttons, comboboxes to baseline with respect to the
text around them (bug 167236).  Fix width sizing issues for <input
type="button/reset/submit"> (bugs 79927, 36364).  Fix nonuniform heights
of form controls (bug 70251).  Patch is on bug 167236, r=jkeiser,
sr=roc+moz, moa=rods


git-svn-id: svn://10.0.0.236/trunk@133674 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 19:17:51 +00:00
bzbarsky%mit.edu
e98396416a Fix ScrollFrameIntoView if we have nested views with the child bigger
than the parent.  Bug 143815, r=roc+moz, sr=jst


git-svn-id: svn://10.0.0.236/trunk@133622 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 04:38:28 +00:00
bzbarsky%mit.edu
2e99df36cd Fix ReplaceChild() on positioned inlines to delegate to
nsAbsoluteContainingBlock.h.  Bug 176915, r=dbaron, sr=rbs


git-svn-id: svn://10.0.0.236/trunk@133620 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 03:30:13 +00:00
bzbarsky%mit.edu
54f34022d8 Allow list labels to be negative. Bug 56088, r=caillon, smontagu, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@133497 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 18:33:37 +00:00
bryner%netscape.com
b345c67a0c Add a second pass of event processing for system events, using DOM3 event group functionality. Bug 124990. Patch by joki, r=saari and bryner, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@133439 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-09 00:25:25 +00:00
jerry.tan%sun.com
0acc19c43b bug 156731, force image with unlimited css width to reflow,
patch by jerry.tan@sun.com r=karnaze, sr=bz


git-svn-id: svn://10.0.0.236/trunk@133248 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-07 02:50:39 +00:00
seawood%netscape.com
a12196ab17 Fix image dragging corruption on BeOS and remove redundant code.
Thanks to Stuart Parmenter <pavlov@netscape.com> for the patch.
Bug #178614 r=cls sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@133193 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 21:14:59 +00:00
tor%cs.brown.edu
ffb291f8fb Bug 155939 - frames not replaced correctly on bordered animated gif.
Patch by paper@animecity.nu, r=bzbarsky, sr=tor


git-svn-id: svn://10.0.0.236/trunk@133184 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 20:44:51 +00:00
dbaron%fas.harvard.edu
7c66f307dd Miscellaneous performance improvements, mostly related to image loads. Cache a copy of the IO service on the Pres Context for use in starting image loads. b=170116 r=darin sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@133149 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 12:58:05 +00:00
bzbarsky%mit.edu
23118ef7a0 Reorder some members in nsLineLayout to make them pack better. Bug
176749, patch by dann@godzilla.ics.uci.edu (Dan), r=bzbarsky, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@133071 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 02:03:43 +00:00
bzbarsky%mit.edu
ed88abf015 Use the list-style-type if our list-style-image does not load. Bug
178371, r=caillon, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@133067 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 01:58:22 +00:00
kyle.yuan%sun.com
42a06500ad Bug 177451 [Active Accessibility] implement support for <toolbar>
r=aaronl, sr=jst
Bug 177453 [Active Accessibility] implement support for <hr>
r=aaronl, sr=jst
Bug 177646 [Active Accessibility] implement support for <tooltip>
r=aaronl, sr=jst


git-svn-id: svn://10.0.0.236/trunk@133056 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 01:29:58 +00:00
seawood%netscape.com
8ae058aa20 Add support for loading cfm plugins in OSX mach-o builds.
Changes backported from the CHIMERA_M1_0_1_BRANCH branch.
Bug #155256 r=peterl sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@133054 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 01:24:57 +00:00
karnaze%netscape.com
3d58e9c1e1 bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@132710 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 15:33:36 +00:00
smontagu%netscape.com
501a23fc5a Bug 176595: crash caused by wrong parent deleting the next in flow child. r=alexsavulov, sr=dbaron, a=dbaron.
git-svn-id: svn://10.0.0.236/trunk@132540 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-25 21:40:32 +00:00
timeless%mac.com
2a8d75a3c0 Bug 77716 Scrollbar is loading asynchronously! - Trunk [@ nsCSSFrameConstructor::ConstructDocElementFrame] [@ .__ptr_glue - nsCSSFrameConstructor::ContentInserted]
patch by hyatt r=jag,dbaron sr=bz, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@132435 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 03:11:53 +00:00
roc+%cs.cmu.edu
d037648b47 Bug 170688. Make nsAbsoluteContainingBlock::IncrementalReflow really incrementally reflow every absolute child that needs it, even if we find that a full block reflow will be necessary. r=dbaron,sr=kin,a=asa
git-svn-id: svn://10.0.0.236/trunk@132432 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-24 02:39:31 +00:00
sicking%bigfoot.com
92a857088d Bug 64945: XML prettyprinting final stage. Implements document.removeBinding and drops the prettyprint binding when the document is modified. Also turn on prettyprinting by default.
r=jkeiser,hyatt,bz sr=rpotts a=asa


git-svn-id: svn://10.0.0.236/trunk@132360 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-22 06:07:52 +00:00
karnaze%netscape.com
31d587fa18 bug 127145 - split blocks with computed heights. a=asa, sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@132320 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-21 14:54:00 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
seawood%netscape.com
bb81de2d15 mach-o builds define both XP_UNIX *and* XP_MACOSX so we need to add a !XP_MACOSX to the XP_UNIX ifdef to avoid repeating a chunk of code twice and crashing.
Bug #173695 r=pavlov sr=alecf a=tor


git-svn-id: svn://10.0.0.236/trunk@131833 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-11 22:31:43 +00:00
bzbarsky%mit.edu
a70a392a2c Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@131531 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:46:15 +00:00
karnaze%netscape.com
7e2beae782 bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone
git-svn-id: svn://10.0.0.236/trunk@131456 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 20:35:26 +00:00
caillon%returnzero.com
0f7366d6d0 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
roc+%cs.cmu.edu
e0d103b8be Bug 172227. Fix rendering garbage by removing a bogus optimization in nsContainerFrame::SyncFrameViewAfterReflow --- we *always* need to update the view transparency in case FRAME_OUTSIDE_CHILDREN changed. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@131386 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 04:09:38 +00:00
dbaron%fas.harvard.edu
cd7f730327 Don't resolve the positive and negative parts of collapsing margins too early when collapsing through empty blocks. A few bits of other cleanup. b=172892 sr=bzbarsky r=kin
git-svn-id: svn://10.0.0.236/trunk@131355 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 01:52:34 +00:00
shanjian%netscape.com
e96dcbdf3f #54467 punctuation mark in the :first-letter pseudo-element does not cover all the Unicode punctuation marks
check more punctual mark for first-letter pseudo-element.
r=pierre, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@131336 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 22:16:57 +00:00
bryner%netscape.com
6e21d6290d Remove gfx2 from REQUIRES globally, since we no longer export headers to a separate gfx2 module. r=cls.
git-svn-id: svn://10.0.0.236/trunk@131219 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-05 02:49:02 +00:00
dcone%netscape.com
1b3e519f6c b=143046 r=rods sr=boris API change so we can create different depth nsImages
git-svn-id: svn://10.0.0.236/trunk@131135 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-04 03:32:26 +00:00
blakeross%telocity.com
d0aadb952f 171994 - crash resizing using splitter btwn download panels. patch by roc, r=me sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@130935 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 22:53:43 +00:00
roc+%cs.cmu.edu
91eaac234c Bug 171802. Make sure views are initialized with the right properties! r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@130921 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 21:45:33 +00:00
timeless%mac.com
7e323a21bd Bug 171328 Build warning caused by checkin for bug 168961
patch by walk84@yahoo.com r=Roland.Mainz@informatik.med.uni-giessen.de sr=jag


git-svn-id: svn://10.0.0.236/trunk@130872 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 03:42:07 +00:00
roc+%cs.cmu.edu
ace40a9fff Bug 145212. Fix overflow:auto on auto-height elements. r=hyatt,sr=kin
git-svn-id: svn://10.0.0.236/trunk@130864 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-01 01:23:47 +00:00
dbaron%fas.harvard.edu
6bf02d19fa Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227
git-svn-id: svn://10.0.0.236/trunk@130798 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 14:46:56 +00:00
roc+%cs.cmu.edu
e25496d35f Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@130792 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 11:56:37 +00:00
jkeiser%netscape.com
4b3dc6b474 Don't crash on pages with font-size: 1px (Rick.Ju@sun.com's patch, bug 170225), r=jkeiser@netscape.com, sr=bryner@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130575 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 07:50:39 +00:00
rods%netscape.com
f7e07db9b7 This partially backs out the previous patch. We no longer need to set/get anything in the nsIPrintOptions.
What this does is:
1) Reflows the first time constrained and remembers mOverflowArea.XMost() of
the HTML frame and then later uses that for the calculation of the ratio.
2) Renames some variables
3) This also changes the the maximum STF ratio from 0.5 to 0.3 to match the
dropdown in PP
Bug 168961 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@130520 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 11:25:04 +00:00
av%netscape.com
945a20c30b Fixing 132759 -- 100% CPU with Flash, r=peterl, sr=jst
git-svn-id: svn://10.0.0.236/trunk@130492 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 02:53:27 +00:00
radha%netscape.com
d98fdec7b0 Fix for bug 156312. onScroll events fire when scroll doesn't happen. r=saari sr=jst.
git-svn-id: svn://10.0.0.236/trunk@130443 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-25 21:29:33 +00:00