Граф коммитов

3275 Коммитов

Автор SHA1 Сообщение Дата
dbaron%fas.harvard.edu ed2d0c823d Clean up twisty maze of IBMBIDI ifdefs related to HorizontalAlignFrames and fix an RTL alignment bug. b=131023 r=smontagu sr=roc 2002-12-11 02:38:33 +00:00
dbaron%fas.harvard.edu 47a8d26973 Fix incorrect check of position property in IsPercentageBase. b=180845 r=roc sr=bzbarsky 2002-12-11 02:29:35 +00:00
bzbarsky%mit.edu a2bf27cfb4 Remove some nsISupportsArray usage in nsSelection in favor of nsCOMArray. Bug
184022, r=timeless, sr=peterv
2002-12-11 00:02:49 +00:00
caillon%returnzero.com 58177694ed 182954 - Convert content to use nsIPrefService, nsIPrefBranch, and friends.
r=sicking sr=peterv
2002-12-10 23:44:03 +00:00
caillon%returnzero.com 28a20c3eb6 Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz
2002-12-10 23:41:12 +00:00
roc+%cs.cmu.edu 93e5b50e9f Backing out fix for bug 170330 due to Tp regression 2002-12-06 04:32:07 +00:00
roc+%cs.cmu.edu f5a2455464 Bug 170330. Factor out overflow area calculations and make them take account of overflow:hidden and outline properties. r=dbaron,sr=kin 2002-12-05 22:29:08 +00:00
yokoyama%netscape.com 7932d03a3d 179822: Flash4 / Flash5 / Shockwave and other plugins crash.
Give an unicode option when SubClassing the widget window.
/r=peterl, /sr=kin
2002-12-04 01:17:01 +00:00
karnaze%netscape.com d6801ac37b bug 127286 (part II due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov 2002-12-04 00:58:52 +00:00
bzbarsky%mit.edu c815579255 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
peterv%netscape.com 23b10864c8 Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst. 2002-11-29 23:44:07 +00:00
dbaron%fas.harvard.edu 00a1205bd2 Remove unneeded stubs for code to support Navigator 4.x-only suppress attribute. b=182554 r=biesi (who noticed the problem) sr=peterv 2002-11-28 23:02:31 +00:00
cbiesinger%web.de 1433aa3313 removing unused function Area::ToHTML. r=peterv sr=dbaron. no bug. 2002-11-28 22:18:01 +00:00
dbaron%fas.harvard.edu e319c955e3 Fix margin collapsing of margins other than the first child's top margin out of the top of a block. b=44242, 18206 r=roc (mostly) 2002-11-28 19:29:28 +00:00
dbaron%fas.harvard.edu c0bdfeb484 Back out previous checkin. b=180711 2002-11-28 19:15:27 +00:00
dbaron%fas.harvard.edu e97397b172 Don't use default parameters for NS_NewAreaFrame. Make relatively positioned frames not use NS_BLOCK_WRAP_SIZE and NS_BLOCK_SPACE_MGR. b=180711 r=bzbarsky 2002-11-28 19:12:16 +00:00
bzbarsky%mit.edu 523e34a0b0 Fix crash if a site overrides one of our "magic" rules. Make some of the rules
!important, make nsViewportFrame a containing block no matter what the CSS
says. Bug 181692, r=karnaze, sr=dbaron
2002-11-25 23:40:58 +00:00
sicking%bigfoot.com 8fa4129fc1 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
sicking%bigfoot.com f04a4ebeb7 Bug 181808: Use macros to declare and implement nsIDocumentObserver
r=caillon sr=bz
2002-11-25 08:33:30 +00:00
jfrancis%netscape.com 1596f3d24d fix for 142855: cf_html paste functioanlity. r=brade, cmanske; sr=kin 2002-11-22 03:24:29 +00:00
dbaron%fas.harvard.edu 298772a977 Correct my incorrect comments relating to combined area, and explain what combined area is for. Comment changes only. b=172896 2002-11-21 15:20:20 +00:00
bzbarsky%mit.edu 4d094c04fc Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +00:00
peterlubczynski%netscape.com 7f43c8c427 Fixing bug 173938 with a hack for full-page plugins to be destroyed before the frame. r=av sr=jst 2002-11-18 07:48:10 +00:00
dbaron%fas.harvard.edu eb64406d8d Remove nsLineBox::RemoveFloatersFromSpaceManager, and use nsSpaceManager::PushState and nsSpaceManager::PopState instead. b=177342 r=roc sr=kin 2002-11-17 15:51:25 +00:00
dbaron%fas.harvard.edu b2f992acb9 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 2002-11-17 15:37:56 +00:00
timeless%mozdev.org 7875f468ed Bug 58221 don't use strlen to check if a string is of length 0
patch by aaronl@vitelus.com r=timeless sr=bz
2002-11-17 05:16:49 +00:00
bernd.mielke%snafu.de ef23e14bbf 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
2002-11-16 10:41:10 +00:00
bzbarsky%mit.edu b2ce42e0d7 Fire onScroll after the scrolling has happened. Bug 179857, r=jkeiser, sr=jst 2002-11-14 20:00:13 +00:00
bzbarsky%mit.edu 5f0c6d63b3 Fix ReplaceChild() on positioned inlines to delegate to
nsAbsoluteContainingBlock.h.  Bug 176915, r=dbaron, sr=rbs
2002-11-12 03:30:13 +00:00
bzbarsky%mit.edu 2c43d2a805 Allow list labels to be negative. Bug 56088, r=caillon, smontagu, sr=roc+moz 2002-11-09 18:33:37 +00:00
jerry.tan%sun.com 9422fcd717 bug 156731, force image with unlimited css width to reflow,
patch by jerry.tan@sun.com r=karnaze, sr=bz
2002-11-07 02:50:39 +00:00
seawood%netscape.com 293ba398e1 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
2002-11-06 21:14:59 +00:00
tor%cs.brown.edu 015ac48d65 Bug 155939 - frames not replaced correctly on bordered animated gif.
Patch by paper@animecity.nu, r=bzbarsky, sr=tor
2002-11-06 20:44:51 +00:00
dbaron%fas.harvard.edu 958f91e6b7 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 2002-11-06 12:58:05 +00:00
bzbarsky%mit.edu d8ce0e6d1d Reorder some members in nsLineLayout to make them pack better. Bug
176749, patch by dann@godzilla.ics.uci.edu (Dan), r=bzbarsky, sr=dbaron
2002-11-06 02:03:43 +00:00
bzbarsky%mit.edu 12a2a84abc Use the list-style-type if our list-style-image does not load. Bug
178371, r=caillon, sr=dbaron
2002-11-06 01:58:22 +00:00
kyle.yuan%sun.com 23c30adeaa 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
2002-11-06 01:29:58 +00:00
seawood%netscape.com aeda22058a 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
2002-11-06 01:24:57 +00:00
karnaze%netscape.com eb6da2987d bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd. 2002-10-30 15:33:36 +00:00
smontagu%netscape.com 22b38889d7 Bug 176595: crash caused by wrong parent deleting the next in flow child. r=alexsavulov, sr=dbaron, a=dbaron. 2002-10-25 21:40:32 +00:00
jaggernaut%netscape.com a596e22ded Bug 171274: check parent shell type for primary content frames. r=dbaron, sr=jst, a=drivers 2002-10-25 00:00:54 +00:00
akkana%netscape.com 9b191a6780 176505: Fix composer/mail compose regression, back out jag. a=blizzard & #mozilla 2002-10-24 19:58:36 +00:00
jaggernaut%netscape.com 788957ef92 Bug 171274: check shell type for primary content frames. r=/sr=jst,hyatt, a=drivers 2002-10-24 04:32:20 +00:00
timeless%mac.com 9c555262ba Bug 77716 Scrollbar is loading asynchronously! - Trunk [@ nsCSSFrameConstructor::ConstructDocElementFrame] [@ .__ptr_glue - nsCSSFrameConstructor::ContentInserted]
patch by hyatt r=jag,dbaron sr=bz, a=dbaron
2002-10-24 03:11:53 +00:00
roc+%cs.cmu.edu 9890152557 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 2002-10-24 02:39:31 +00:00
karnaze%netscape.com 562de73277 bug 127145 - split blocks with computed heights. a=asa, sr=kin, r=alexsavulov. 2002-10-21 14:54:00 +00:00
seawood%netscape.com aeb5bc6a40 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
2002-10-11 22:31:43 +00:00
bzbarsky%mit.edu a272a96238 Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:46:15 +00:00
karnaze%netscape.com 1a4ed35fd9 bug 163614 - Changed DeleteChildsNextInFlow to DeleteNextInFlowChild, params, and callers. sr=kin, r=alexsavulov,dcone 2002-10-08 20:35:26 +00:00
caillon%returnzero.com 7871a3af0d 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
2002-10-08 10:24:53 +00:00
roc+%cs.cmu.edu c3c09442af 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 2002-10-08 04:09:38 +00:00
dbaron%fas.harvard.edu a75050b11a 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 2002-10-08 01:52:34 +00:00
shanjian%netscape.com b35cccf897 #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
2002-10-07 22:16:57 +00:00
dcone%netscape.com e14b41451d b=143046 r=rods sr=boris API change so we can create different depth nsImages 2002-10-04 03:32:26 +00:00
blakeross%telocity.com 7539a559b6 171994 - crash resizing using splitter btwn download panels. patch by roc, r=me sr=hyatt. 2002-10-01 22:53:43 +00:00
roc+%cs.cmu.edu dc28b61609 Bug 171802. Make sure views are initialized with the right properties! r=dbaron,sr=kin 2002-10-01 21:45:33 +00:00
timeless%mac.com 53f44d794f 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
2002-10-01 03:42:07 +00:00
roc+%cs.cmu.edu d85d495d06 Bug 145212. Fix overflow:auto on auto-height elements. r=hyatt,sr=kin 2002-10-01 01:23:47 +00:00
dbaron%fas.harvard.edu 5f26f8baf7 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 2002-09-30 14:46:56 +00:00
roc+%cs.cmu.edu 3681ee88af 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 2002-09-30 11:56:37 +00:00
jkeiser%netscape.com c4bbe8374d 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 2002-09-27 07:50:39 +00:00
rods%netscape.com d5b52a8c82 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
2002-09-26 11:25:04 +00:00
av%netscape.com 853796579e Fixing 132759 -- 100% CPU with Flash, r=peterl, sr=jst 2002-09-26 02:53:27 +00:00
radha%netscape.com ead33f6c88 Fix for bug 156312. onScroll events fire when scroll doesn't happen. r=saari sr=jst. 2002-09-25 21:29:33 +00:00
karnaze%netscape.com 09a75283de bug 157915 - Use the parent of the continued frame when calling DeleteChildsNextInFlow. sr=kin, r=alexsavulov 2002-09-24 22:13:20 +00:00
karnaze%netscape.com f7277122ea bug 169620 - don't pass in negative avail widths, don't add/subtract from NS_UNCONSTRAINEDSIZE, make HR's desired width at least as big as its me width. sr=kin, r=dbaron 2002-09-24 21:02:20 +00:00
pete.zha%sun.com 4bef358c0d Browser crash when close print preview in a page has fixed DIV
bug=163800, this patch is to backout previou checkin for this bug to reslove layout regression
r=rods@netscape.com sr=roc+moz@cs.cmu.edu
2002-09-24 11:53:20 +00:00
roc+%cs.cmu.edu 84894eb476 Bug 75121. Incrementally reflow absolute frames without doing a resize-reflow of the container. Patch by dbaron and roc. r=dbaron,r=roc,sr=kin 2002-09-24 11:43:48 +00:00
glazman%netscape.com c714394d5d Add support for :-moz-selection CSS3 pseudo-element. See test case in bug. Should become ::selection once support for '::' parsing is implemented; b=167068, r=mjudge, sr=kin 2002-09-24 08:13:05 +00:00
pinkerton%netscape.com b6c55f357e make sure |increment| attribute change notification is sent for horiz scrollbars too. oops ;) (bug 161365, r=bryner/sr=sfraser). 2002-09-20 14:50:43 +00:00
kin%netscape.com 896f57be9f Fix for bug 159363: Text overlaps image (ESPN.com)
- Place right floaters at the unconstrained right edge during an unconstrained reflow. This ensures that the floater will be repositioned when the constrained reflow comes around.

- Fixed |if| expression that was used to detect whether or not we were trying to do an unconstrained reflow.

r=karnaze@netscape.com  sr=dbaron@fas.harvard.edu
2002-09-20 13:19:54 +00:00
rods%netscape.com 84a1fbb462 Change STF to use an unconstrainad reflow instead of searching for the widest frame
Bug 168961 r=dcone sr=kin
2002-09-19 21:45:07 +00:00
jkeiser%netscape.com 9246ecc230 Make nsIFontMetrics::GetAveCharWidth() on all platforms (Rick.Ju@sun.com's patch, bug 50998), r=cbiesinger@web.de, sr=rbs@maths.uq.edu.au 2002-09-19 01:47:14 +00:00
pinkerton%netscape.com 08bcd30221 make sure |increment| attribute change notification is sent. fixes bug where native scrollbars wouldn't know the increment so up/down arrows didn't work (bug 161365, r=bryner/sr=sfraser). 2002-09-18 22:38:23 +00:00
shanjian%netscape.com ddbc15fc76 #130091 should we get rid of "NEW_FONT_HEIGHT_APIS"
r=Roland.Mainz@informatik.med.uni-giessen.de, sr=rbs
2002-09-18 19:37:31 +00:00
roc+%cs.cmu.edu cebfb275e2 Bug 153907. Give IFRAMEs their correct content-parent even though they construct their views in the wrong order. r=jkeiser,sr=kin 2002-09-18 01:17:02 +00:00
rpotts%netscape.com 6777c1f117 bug #145579 (r=darin, sr=jst) send the correct referrer for images... 2002-09-17 18:59:41 +00:00
pete.zha%sun.com f7df98b9b6 Sun Forte 7FCS builds crash in layout/ when compiled with -xO3 or higher
bug=164368 r=roc+moz@cs.cmu.edu sr=sfraser@netscape.com
patch by Roland.Mainz@informatik.med.uni-giessen.de
2002-09-17 02:49:30 +00:00
peterlubczynski%netscape.com e25743581c Fixing Use of uninitialized variable in nsPluginInstanceOwner::GetPluginPort(), bug 162350 r=bnesse, sr=beard 2002-09-13 03:24:27 +00:00
peterlubczynski%netscape.com 3d2457096e Fix for can't show plugins if they start out hidden, bug 137231 r=serge, sr=kin 2002-09-13 03:11:02 +00:00
bzbarsky%mit.edu f228a4da79 Fix some inline-block style-resolution issues. Bug 146409, r=kin, r=dbaron 2002-09-12 20:33:11 +00:00
mjudge%netscape.com f6f32ac3c0 small fix 14835 sr=jag r=pav very small chance of a memory leak in nsFrame 2002-09-12 10:35:46 +00:00
mjudge%netscape.com 0bd5425f1d 14835 r=pavlov saari, fixing bustage of image selection on mac/unix regression 2002-09-12 06:16:51 +00:00
bzbarsky%mit.edu cde8d05426 Fix debug-only build bustage on GCC 3.2. Don't pass objects through "...". 2002-09-12 03:44:37 +00:00
mjudge%netscape.com 735c6c2559 missed a ';' on a ifdef mac section. fixing build bustage 2002-09-11 03:41:46 +00:00
mjudge%netscape.com 9b2ec88fda 14835 r=pavlov sr=sfraser alpha blending on images to denote selection. 2002-09-11 03:03:49 +00:00
bzbarsky%mit.edu 6ec7dec1d6 Include url in error message. Bug 167662, r=jkeiser, sr=jst 2002-09-11 02:55:14 +00:00
katakai%japan.sun.com ec9c8d4ff9 bug 167040
CTL: caret does not move to next/prev line on text area
r=Roland.Mainz@informatik.med.uni-giessen.de,sr=scc
(CTL is not part of default build)
2002-09-11 01:52:34 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
dougt%netscape.com d94b37c68a Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 05:38:16 +00:00
rbs%maths.uq.edu.au 5fe9f9019a Overshooting when measuring the text caused things to go out-of-sync and to hang, b=142206, r=shanjian, sr=dbaron, a=asa 2002-09-05 01:58:55 +00:00
smontagu%netscape.com 969d4a367f Back out bidi visual selection. Bug 76190, r=mjudge, sr=kin, a=asa. 2002-09-05 00:56:25 +00:00
karnaze%netscape.com b418a7c2ff 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. 2002-09-04 06:55:40 +00:00
karnaze%netscape.com ff327eddd0 bug 137388 - Jery Tan's patch to restrict applying CalcQuirkContainingBlockHeight to a frame inside a table cell. sr=bzbarsky, r=karnaze. 2002-09-04 04:00:41 +00:00
karnaze%netscape.com 0e30f39198 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. 2002-09-04 00:10:43 +00:00
karnaze%netscape.com 5a10df5023 bug 131065 - revised Jerry Tan's patch to handle top/bottom margins and absolutely positioned cases. sr=kin, r=peterl. 2002-09-03 23:42:52 +00:00
cbiesinger%web.de 816cc51247 bug 151983 patch by bernd.mielke@snafu.de r=paper sr=tor
ASSERTION: imgLoader::LoadImage -- NULL URI pointer: 'aURI'
2002-09-03 22:49:51 +00:00
roc+%cs.cmu.edu c4de5e81fb 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 2002-09-03 21:53:22 +00:00
timeless%mac.com 9a8680079f Bug 161945 clean up simple mac build warnings
r=dbradley sr=bz
2002-09-02 21:26:11 +00:00
roc+%cs.cmu.edu beff719ea7 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 2002-08-30 03:32:05 +00:00
mjudge%netscape.com 2e3c886ca3 23784 r=akk sr=dbaron fix for stopping immediate drag after double clicking of the mouse 2002-08-30 01:32:11 +00:00
pete.zha%sun.com ccf995ebf0 Reproducible crash when printing page [@nsFloaterCacheList::~nsFloaterCacheList()] (bug=149074)
r=karnaze@netscape.com sr=bzbarsky@mit.edu
2002-08-29 01:44:15 +00:00
smontagu%netscape.com 8a97484aed Bug 82352: Can't select multiline right-to-left text. r=mjudge, sr=bz. 2002-08-28 00:05:54 +00:00
alexsavulov%netscape.com fc7d527ed1 Fix for bug 78820 - right aligned floater in nowrap blocks are not
positioned correctly. r= alexsavulov sr= kin
2002-08-27 22:31:24 +00:00
bzbarsky%mit.edu d345ac3eda Bug 162546 and bug 141883. Better handling of unknown area shapes and
more graceful handling of bogus rect coords.  r=jkeiser, sr=roc.
2002-08-27 20:49:54 +00:00
seawood%netscape.com f3ad6b3a0c Rename conflicting global symbols to fix debug static build runtime bustage.
Bug #162918 r=serge sr=alecf
2002-08-26 21:20:31 +00:00
mjudge%netscape.com 50c6f53d6c 4302 r=jfrancis sr=kin. pageup/down bug with navigation. 2002-08-26 20:55:30 +00:00
roc+%cs.cmu.edu c0c4d81870 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 2002-08-24 14:41:28 +00:00
shanjian%netscape.com bd580ed14c #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
2002-08-23 21:43:42 +00:00
jkeiser%netscape.com 86be0fdf32 Make frameborder=0 work again (bug 147883), patch by mats.palmgren@bredband.net, r=jkeiser@netscape.com, sr=dbaron@fas.harvard.edu 2002-08-22 02:11:05 +00:00
pete.zha%sun.com dbd022434c Browser crash when close print preview in a page has fixed DIV
bug=163800 r=rods sr=jst
2002-08-21 08:56:58 +00:00
mjudge%netscape.com ed0e7ebde2 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. 2002-08-20 22:42:26 +00:00
mjudge%netscape.com 93ea3f2d0f 163483 backing out poor change that didnt take into account the translation of coordinates by the container frame. this is just a backout. 2002-08-20 22:08:44 +00:00
kin%netscape.com 0692fa584f 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
2002-08-19 04:41:57 +00:00
henry.jia%sun.com a65ab30704 Fix bug 159889: replace the hardcode of "@mozilla.org/preferences;1" with NS_PREF_CONTRACTID
Patch by leon.zhang@sun.com
r=Henry, sr=alecf
2002-08-19 04:29:58 +00:00
bryner%netscape.com d96798d50e Get rid of gcc3's numerous warnings about using <new.h> instead of <new> by creating a new #define, NEW_H, which should be used instead of <new.h> or <new>. This is so we can continue to support a couple of braindead compilers that don't accept <new>. Bug 155852, r=cls. 2002-08-19 03:50:27 +00:00
aaronl%netscape.com 96b6202731 Bug 132158. Active Accessibility: expose correct bounds information and accessible value for HTML areas. r=saari, sr=alecf. 2002-08-17 01:46:58 +00:00
bzbarsky%mit.edu 02a790ca16 Fix placement of positioned elements with auto "top". Bug 44508, patch
by Mats Palmgren (mats.palmgren@bredband.net), r=dbaron, sr=bzbarsky.
2002-08-15 23:00:23 +00:00
shanjian%netscape.com 68dc9e772f Back out my previous change because it cause regression 162670. 2002-08-14 19:18:27 +00:00
dbaron%fas.harvard.edu 620626542b 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 2002-08-14 13:00:16 +00:00
dbaron%fas.harvard.edu a48a2a2e82 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 2002-08-14 12:44:40 +00:00
shanjian%netscape.com 0d45680c1d #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
2002-08-13 23:50:42 +00:00
dbaron%fas.harvard.edu 28525cda97 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 2002-08-11 18:00:07 +00:00
aaronl%netscape.com 7dfa44e2a3 Bug 158754 - rest of checkin (correct code formatting this time) 2002-08-10 08:22:52 +00:00
aaronl%netscape.com 44112f97df Bug 158754. Allow type ahead find to change selection color, and show caret with selection. r=akkana, sr=jst 2002-08-10 08:15:30 +00:00
aaronl%netscape.com 9d629216bd Bug 160793. Active Accessibility: support broken images. r=kyle, sr=hewitt 2002-08-10 07:59:44 +00:00
smontagu%netscape.com a36822981f GetWidth optimizations for Unix. Bug 36146. Authors Tomi.Leppikangas@oulu.fi, Roland.Mainz@informatik.med.uni-giessen.de; r=shanjian,smontagu; sr=rbs, darin 2002-08-09 00:13:11 +00:00
mjudge%netscape.com 5b661f9a3c 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. 2002-08-08 06:37:01 +00:00
bzbarsky%mit.edu 5aa26e6042 That last checkin was r=philipl@mail.utexas.edu,sr=blizzard 2002-08-07 23:54:11 +00:00
bzbarsky%mit.edu 6e84a81bf6 Re-fix bug 139294 by backing out the fix for 152429, since bug 159268
fixed the crash that 152429 was on.
2002-08-07 23:52:26 +00:00
mjudge%netscape.com 2919131260 backing out checked into closed tree 2002-08-07 19:52:18 +00:00
mjudge%netscape.com afcb77f113 fix for 127321. r=brade sr=smfr. Fix for word jumping getting stuck on punctuation. 2002-08-07 19:48:42 +00:00
mjudge%netscape.com 3da2a4ef9f crasher fix: forgot {} around an indented block of code. this will fix 161444 and 161512. r=brade sr= smfr 2002-08-07 17:47:28 +00:00
mjudge%netscape.com 7c5e5e3550 159207. HR is now selectable and navigatable. r=cmanske sr=kin 2002-08-06 23:56:50 +00:00
dbaron%fas.harvard.edu 90f9888c0d Allocate PerFrameData and PerSpanData in pres shell's stack arena. b=154910 r=bzbarsky sr=waterson 2002-08-06 13:51:07 +00:00
dbaron%fas.harvard.edu 259a56c337 Hacky fix to make HR's ALIGN attribute work again. b=158197 r=mjudge sr=bzbarsky 2002-08-06 12:59:48 +00:00
dbaron%fas.harvard.edu 5d3b42f19d 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 2002-08-06 12:54:52 +00:00
bzbarsky%mit.edu 9160c400e9 Remove mis-implementation of the "ua-dependent" min-width stuff from
CSS1/2.  Bug 159059, sr=dbaron, r=hyatt
2002-08-06 04:50:40 +00:00
bzbarsky%mit.edu 34603a8cb0 Setting rows/cols on a frameset should try to reflow, not reframe. Bug
48422, r=jkeiser, sr=jst
2002-08-06 01:06:50 +00:00
hwaara%chello.se 91aa90c2d6 #159065, comment-only change
r=jkeiser/sicking, sr=bz/jst, a=asa
2002-07-29 23:44:18 +00:00
kin%netscape.com 263921bc26 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
2002-07-29 04:19:15 +00:00
serge%netscape.com 9dc0906657 fix 152429, flash in an iframe crashes with Gdk-ERROR **: BadDrawable; r=bzbarsky, sr=jst, a=asa 2002-07-26 23:30:27 +00:00
bzbarsky%mit.edu 3c94e3f618 Fix bug 159268 (hiding and reshowing an iframe regression). r=sicking,
sr=jst, a=asa
2002-07-26 23:11:19 +00:00
jkeiser%netscape.com 252470c837 Change ns(I)GfxTextControlFrame(2) -> ns(I)TextControlFrame (bug 129909), r=rods
@netscape.com, sr=bzbarsky@mit.edu, a=asa
2002-07-26 20:57:24 +00:00
peterlubczynski%netscape.com 67c83f1ac3 Fixing bug 152927: can't script any plugin in nested EMBED tag inside an OBJECT tag from onLoad handler -- CNET radio does not play with Real because SetSource is called from onLoad r=kmcclusk sr=dveditz a=asa 2002-07-26 03:48:24 +00:00
bzbarsky%mit.edu 4c3d43501a Fix tab switching in embedding apps. Bug 139294,
r=philipl@mail.utexas.edu, sr=jst, a=asa
2002-07-23 03:45:06 +00:00
karnaze%netscape.com 0141b87654 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 2002-07-17 01:48:56 +00:00
karnaze%netscape.com 8b2d677778 bug 154741 - use macros instead of NS_FRAME_COMPLETE, a=asa, sr=kin, r=alexsavulov. 2002-07-15 14:46:01 +00:00
bzbarsky%mit.edu 74275783a4 Add some more Ethiopic list styles. Bug 154503, patch by yacob@geez.org
(Daniel Yacob), r=dbaron, rs=brendan, a=asa
2002-07-12 20:46:19 +00:00
serge%netscape.com e20929f95c fix #156936, regression: crash using OBJECT tag with any plugin, r=peterl, sr=jag 2002-07-11 19:32:44 +00:00
smontagu%netscape.com 0eb1bec904 Fix regression with form controls on visual bidi pages. Bug 142233, r=jkeiser, sr=kin 2002-07-10 00:52:17 +00:00
dbaron%fas.harvard.edu 7eb3c4a2d6 Ensure that scroll position listeners are properly unregistered. b=114221 sr=waterson r=attinasi 2002-07-09 04:30:28 +00:00
peterlubczynski%netscape.com 6cc63f48ef Fixing regression: Default plugin shows for ActiveX controls and hides Netscape plugin (users sent to PFS to fetch plugin for application/x-oleobject), bug 151074 r=bryner sr=jst 2002-07-08 06:26:44 +00:00
seawood%netscape.com a384861cd4 The c++ standard requires that the throw list be used when declaring functions as well as defining them.
commercial compiler fixes for bug #149032
2002-07-03 17:14:41 +00:00
shanjian%netscape.com 071ab082b4 #152056 Uninitialized memory read in nsTextFrame::GetPosition
relocate a line to prevent i from reaching contentLength.
r=mjudge, sr=dveditz
2002-07-03 03:47:53 +00:00
karnaze%netscape.com 9716061c9b bug 154924 - use NS_FRAME_COMPLETE rather than macro as it was before bug 145305 was checked in. sr=kin 2002-07-03 01:44:51 +00:00
smontagu%netscape.com 2c43d94415 Fix crash on adding images to right-to-left mail messages. Bug 155096, r=mjudge, sr=kin 2002-07-02 21:53:18 +00:00
seawood%netscape.com 8f6f1756ce Add CPP_THROW_NEW macro to the build system. This macro should be used when defining a local |operator new| function. It will be set to an empty throw function by default on all platforms except mac CW builds. This will allow us to not crash on systems that expect |operator new| to throw an exception by default and will suppress compiler warnings about how |operator new| should throw an exception instead of returning NULL.
Bug 149032 r=timeless sr=scc
2002-07-02 20:25:30 +00:00
karnaze%netscape.com 86bca72d14 bug 150652 - find correct containing block in nsBlockFrame::DoRemoveOutOfFlowFrame. sr=kin, r=alexsavulov. 2002-07-02 14:56:18 +00:00
peterlubczynski%netscape.com 52f2e9e90e Fixing bug 152978, problem on Mac platforms where Flash "drags" like an image would, r=bnesse, sr=sfraser 2002-07-02 13:52:05 +00:00
kmcclusk%netscape.com 353410cea2 Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin 2002-07-02 12:50:14 +00:00
kmcclusk%netscape.com e89c78b98a backing out change to see if pageload times go back to normal (Don't place position:absolute, fixed, relative elements above non positioned elements) b=137853 2002-07-02 04:38:35 +00:00
kmcclusk%netscape.com a84a43a1c8 Place position:absolute, fixed, relative elements above non positioned elements. b=137853 r=roc+moz sr=kin 2002-07-02 02:53:35 +00:00
taka%netscape.com 6e215cd94b Remove unexpected space inserted between Chinese and Japanese characters as a result of unfolding lines. These scripts don't use space as a word boundary. b=135323 r=shanjian sr=waterson 2002-07-01 20:43:16 +00:00
cbiesinger%web.de e17057d531 bug 147938 patch by paper r=dbaron sr=waterson
Don't Invalidate nsImageFrame area if it's hidden
2002-07-01 18:17:35 +00:00
bernd.mielke%snafu.de 2c4d975863 bug 154979 - use gNoisyMaxElementSize instead of NOISY_MAX_ELEMENTSIZE r=karnaze sr=waterson 2002-07-01 17:43:02 +00:00
peterlubczynski%netscape.com a9158b022a Fixing some plugins don't understand the DATA attribute on the OBJECT tag so in those cases copy that value to an appened "SRC" entry to the array of attributes/parameters plugins are passed. Bug 152334 r=av sr=waterson 2002-06-27 01:51:34 +00:00
dbaron%fas.harvard.edu 2bf216c9e2 Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner 2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu d558717301 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 2002-06-25 21:16:17 +00:00
heikki%netscape.com 8ec305c417 Bug 133654, param attribute not recognized in XHTML. Patch from jst, r=peterv, sr=heikki. 2002-06-21 18:28:46 +00:00
cmanske%netscape.com 0062b0174e Fixed retaining text attributes when using 'end' key. b=113613, fix=mjudge, r=blythe, sr=kin 2002-06-21 14:22:30 +00:00
radha%netscape.com c36dfe12c6 Fix for bug # 35011. r=jst sr=kin. window.onscroll and element.onscroll don't fire. 2002-06-20 21:47:59 +00:00
bzbarsky%mit.edu 0f31b68fe2 Bug 152979, r=dbaron,chak, sr=waterson 2002-06-20 20:34:37 +00:00
karnaze%netscape.com b738a7c013 bug 151620 - always use quirk line-height inside a td. sr=waterson, r=dbaron. 2002-06-19 22:28:47 +00:00
rods%netscape.com 0b0b2a8cbb Add PR_LOGGING for printing
Bug 121622 r=dcone sr=kin
2002-06-19 21:51:13 +00:00
jaggernaut%netscape.com 563b8bcf4e Back out changes for bug 35011 (context menu, ctrl+key, page-up/down all stopped working in browser). 2002-06-19 12:37:57 +00:00
radha%netscape.com a92780468c Fix for bug # 35011. window.onscroll and element.onscroll don't fire. r=joki sr=jst 2002-06-18 23:01:48 +00:00
alexsavulov%netscape.com 2b78156b17 patch for bug 148199 - Images that are "broken" during document editing
don't redisplay using broken image icon.
added a request proxy removal from the mLoads to get the broken icon
when paint.
r=glazman, sr=waterson
2002-06-18 21:28:53 +00:00
kmcclusk%netscape.com 648b22a534 Save and restore transformation matrix translation components instead of setting a negative translation while painting to eliminate off by one pixel rendering errors in 120DPI display mode. bug=80530 r=dbaron sr=waterson 2002-06-17 23:35:15 +00:00
peterlubczynski%netscape.com 87bc6614cc Fixing IPIX for Mac Classic: SetWindow needed to be called and nsObjectFrame::DidReflow() needed to complete on Mac as well, bug 144896 r=av sr=beard 2002-06-15 16:05:09 +00:00
karnaze%netscape.com 63a9a421f6 bug 148399 - fix places where patch in bug 145305 incorrectly changed checks for NS_FRAME_COMPLETE to use NS_FRAME_IS_NOT_COMPLETE macro. sr=kin, r=alexsavulov 2002-06-14 14:40:02 +00:00
karnaze%netscape.com 912de824e6 bug 148245 - only split floaters when printing if the height is constrained, never split floating first letters. sr=waterson 2002-06-14 14:30:33 +00:00
kin%netscape.com bd3ae1eb74 Partial fix for bug 141900 (Text entry fields in forms excruciatingly slow.)
mozilla/content/base/public/nsISelectionController.idl
  mozilla/content/base/src/nsSelection.cpp
  mozilla/editor/composer/src/nsEditorShell.cpp
  mozilla/editor/idl/nsIPlaintextEditor.idl
  mozilla/editor/libeditor/base/nsEditor.cpp
  mozilla/editor/libeditor/base/nsEditor.h
  mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp
  mozilla/editor/libeditor/html/nsHTMLEditor.cpp
  mozilla/editor/libeditor/text/nsEditorEventListeners.cpp
  mozilla/editor/libeditor/text/nsPlaintextDataTransfer.cpp
  mozilla/editor/libeditor/text/nsPlaintextEditor.cpp
  mozilla/editor/txtsvc/src/nsTextServicesDocument.cpp
  mozilla/editor/ui/dialogs/content/EdTableProps.js
  mozilla/embedding/components/find/src/nsWebBrowserFind.cpp
  mozilla/extensions/xmlterm/base/mozXMLTermSession.cpp
  mozilla/layout/base/public/nsIFrameSelection.h
  mozilla/layout/html/base/src/nsPresShell.cpp
  mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp
  mozilla/mailnews/compose/src/nsMsgCompose.cpp
  mozilla/xpfe/browser/resources/content/viewPartialSource.js

    - Added aIsSynchronous arg to the ScrollSelectionIntoView()
      method of nsISelectionController and nsIFrameSelection.
      Updated all callers to pass new arg.

    - Modified selection to post a plevent to call which does the
      call to ScrollIntoView() in the async ScrollIntoView() case.

    - Edits in text widgets now use asynchronous reflow, paint,
      and scroll processing full time.

    - Removed redundant ScrollSelectionIntoView() calls in the
      editor event listeners.

    - Editor IME code now forced to flush reflows and paints before
      getting caret coordinates.

r=jfrancis@netscape.com  sr=waterson@netscape.com
2002-06-13 20:43:32 +00:00
kin%netscape.com 0a82c7556a 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
2002-06-13 20:30:14 +00:00
mjudge%netscape.com bdeb108982 113613 r=blythe sr=kin patch to fix end of line key moving caret outside of the style block. if we see a BR tag when searching for valid selection point keep backing up if possible. 2002-06-13 00:06:49 +00:00
peterlubczynski%netscape.com e07d40ea6c Fixing bug 122119, cannot use consecutive white space characters in PARAM tags, r=harishd, sr=jst 2002-06-12 16:41:25 +00:00
dbaron%fas.harvard.edu 21d614574e Fix crashes related to editing of HR elements by wrapping generated content for leaf frames in an extra frame so :before and :after are always the first/last children of the primary frame. Disable generated content for floating and absolutely positioned leaf frames. b=141054 sr=waterson r=kin 2002-06-12 03:27:48 +00:00
dbaron%fas.harvard.edu 03697f6e80 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 2002-06-12 03:21:00 +00:00
smontagu%netscape.com ee66c996a1 Do Arabic shaping earlier before measuring the text so that it gets laid out correctly. Bugs 117041, 138097. r=ftang, sr=waterson 2002-06-11 21:00:20 +00:00
cbiesinger%web.de 6197948cc3 bug 115473 r=pavlov sr=brendan
Remove timer priorities
2002-06-11 20:47:04 +00:00
roc+%cs.cmu.edu 5d55ce22f9 Bug 142461. Make sure clipped views are not marked transparent. r=kmcclusk,sr=waterson 2002-06-04 04:44:03 +00:00
bernd.mielke%snafu.de 93aab3e317 no math with NS_UNCONSTRAINEDSIZE please, bug 14862 r=karnaze sr=roc+moz 2002-06-04 04:37:06 +00:00
jkeiser%netscape.com 413d936208 Rest of patch (partial commit before). Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com 2002-06-04 02:00:34 +00:00
jkeiser%netscape.com 02c23998fa Mac bustage fix. 2002-06-04 01:52:10 +00:00
kin%netscape.com 5a180776de 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
2002-06-03 21:35:54 +00:00
bernd.mielke%snafu.de a99ed25b7b bug 148240, percent text-indent should not be computed for NS_UNCONSTRAINEDSIZE
parent width. r=dbaron sr=waterson
2002-06-03 18:35:04 +00:00
roc+%cs.cmu.edu fab624f450 Bug 50623. Don't forget background styles inherited from the initial context. This has the effect of making FRAME/IFRAME documents transparent by default. Also, make FRAME/IFRAME elements paint any background styles set on them. r=dbaron,sr=waterson 2002-05-31 03:20:23 +00:00
karnaze%netscape.com dc7e454eb3 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
shanjian%netscape.com 7f123711f0 #142562 problem with <td align=right or align=center
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
jst%netscape.com c510ff0346 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com 2002-05-23 00:00:34 +00:00
rods%netscape.com 48ee917c55 patch to clamp to 1/10th of the largest dimension of a page - very low risk. I
think it is unrealistic that the smaller dim of the page would be less than 1/5
of the larger dimension. (and remove unneeded call to get the presshell)
Bug 145976 r=dcone sr=attinasi
2002-05-22 11:32:00 +00:00
dbaron%fas.harvard.edu 4ae6c30b20 Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst 2002-05-22 00:14:51 +00:00
rods%netscape.com f1c79d4678 The problem here is the "edge" prefs are now preficed with the printer name,
and the nsPrintOptions know how to convert the printer name, so we need to add
a helper method to nsIPrintOptions.idl so the nsSimplePageSeq can get the properly named value.
Bug 140669 r=dcone sr=attinasi
2002-05-21 10:53:45 +00:00
jst%netscape.com 5ef2ac2f34 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
peterlubczynski%netscape.com c9b1285841 Removing extra line that sneaked in 2002-05-20 04:02:12 +00:00
peterlubczynski%netscape.com 6f5b1bccf3 Fixing last checkin for bug 120875, hiding plugin for tabs, r=bnesse sr=beard 2002-05-20 03:29:48 +00:00
bzbarsky%mit.edu 49d64d1d61 Fix positioning of fixed and absolute positioned blocks with auto left
or top.  Bug 126213, r=dbaron, sr=attinasi
2002-05-17 00:05:27 +00:00
dbaron%fas.harvard.edu 1dc5cd043f Fix to fix for bug 134580: quirks mode line height must ignore all whitespace at the beginning of the line, not just what happens to be in the first text node. b=134580 sr=waterson r=attinasi 2002-05-16 19:44:20 +00:00
waterson%netscape.com 89a9d8c4cb Fix build bustage. 2002-05-15 22:21:15 +00:00
dbaron%fas.harvard.edu 960c5fb6d2 Give nsHTMLReflowState an explicit copy-constructor and assignment operator to fix up mCBReflowState and fix regressions from previous patch. b=143706 r=bzbarsky sr=waterson 2002-05-15 19:58:20 +00:00
rods%netscape.com 7a8a5b9cfb Changing CID to ContractID and const char* to const char xxx[]
As part of Bug 144128
2002-05-14 14:32:42 +00:00
rods%netscape.com a1081c5006 Static build bustage fix 2002-05-14 14:15:19 +00:00
dbaron%fas.harvard.edu c6ec56730f Store containing block reflow state so we don't have to walk up the tree to find it every time. b=143706 r=attinasi sr=waterson 2002-05-14 12:59:55 +00:00
dbaron%fas.harvard.edu b84b9f3c96 Use text-indent in max-element-size calculation (130116, 91468, 140682). Don't apply text-indent after page break to the same block (45694). b=130116 r=attinasi sr=waterson 2002-05-14 12:55:55 +00:00
rods%netscape.com b45d33216e This patch does the following:
1) Introduces a new public interface nsIPrintSettingService which emables consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=attinasi
2002-05-14 12:05:00 +00:00
bzbarsky%mit.edu 207e2df2e0 Make incremental reflow of fixed-position tables happier. Bug 94009,
r=dbaron, sr=attinasi
2002-05-14 01:44:00 +00:00
waterson%netscape.com 9e51629175 Bug 143959. Undo previous temporary fix. Fix (and document) nsBoxReflowState::Unwind to propagate the _root_ box through the recursion. r=dbaron, sr=kin 2002-05-14 00:00:31 +00:00
waterson%netscape.com fcf814f45f Bug 143959. Temporarily disable block reflow coalescing. 2002-05-13 19:00:56 +00:00
jgaunt%netscape.com 6666e38848 bug 124448 Accessibility Support for Object/Embed tags
r=aaronl
sr=jst
2002-05-10 22:34:53 +00:00
waterson%netscape.com 926ecba1d9 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 2002-05-10 18:22:41 +00:00
kmcclusk%netscape.com ef6b392b3c Move logic in nsHTMLFrameInnerFrame's destroy to nsHTMLFrameInnerFrame:Destroy so its contents are destroyed *before* nsHTMLFrameInnerFrame is destroyed. bug=66748 r=jkeiser@netscape.com sr=attinasi@netscape.com 2002-05-10 01:25:41 +00:00
tingley%sundell.net 27846967ad Fix regression of bug 89065 to make text-decoration: blink work again.
r=dbaron, sr=attinasi
2002-05-07 23:26:02 +00:00
waterson%netscape.com 232cde4040 Add some NOISY_SPACEMANAGER debugging code. 2002-05-07 14:08:54 +00:00
waterson%netscape.com 9d8100f0b7 Fix debug-only printf. 2002-05-07 14:07:53 +00:00
rods%netscape.com b850da33e8 Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi
2002-05-07 12:03:37 +00:00
waterson%netscape.com 63911ea701 Fix build bustage when NOISY_SPACE_MANAGER is set. 2002-05-07 01:32:55 +00:00
waterson%netscape.com 33e40e28f3 Bug 137094. Prevent flow-of-control leak of space manager. r=attinasi, sr=kin. 2002-05-03 13:49:44 +00:00
peterlubczynski%netscape.com 9404e003ab Fixing problems with showing/hiding Mac plugins. Specifically, these problems:
* Mouse events "bleeding through" tabs so that a plugin in one tab responds to mouse movements in another (bug 120875)
* dynamic control of CSS visiblity property with plugins on mac (can hide/show plugins) (bug 137230)
* Plugins incorrectly show up on top of documents and in the wrong place in print preview. This fix will also them to be hidden like they are on other platforms. (bug 133992)
r=av sr=beard
2002-05-02 22:47:49 +00:00
rbs%maths.uq.edu.au 1452527607 Added yet another defense to make Mozilla really robust when font resources run out, the patch makes font metrics to be fail safe or at least very hard to break -- to the point that failure means that the system is barely working (testing showed that Mozilla stayed alive while other applications were dying). Per request of super-reviewer & driver, also removed wallpaper null-checks sprinkled in the past for the problem. b=136248, r=shanjian, sr=attinasi 2002-05-02 22:24:59 +00:00
peterlubczynski%netscape.com 1de043751f Adding extra event call (WM_WINDOWPOSCHANGED) for windowless plugins on Windows so that they are updated with their position and bounds. Bug 135737, r=av, sr=attinasi 2002-05-02 20:46:22 +00:00
smontagu%netscape.com ef4c9f9e99 Fix hang when pressing ENTER in Hebrew text fields. Bug 95228, r=jkeiser, sr=attinasi 2002-05-02 20:25:32 +00:00
dbaron%fas.harvard.edu e12bf65440 Consider whitespace in quirks-mode line-height algorithm when it's in the middle of the line. b=134580 r=attinasi sr=waterson 2002-05-01 00:42:49 +00:00
smontagu%netscape.com 164991f40b Perform Bidi reordering on page headers when printing. Bug 139297, r=Roland.Mainz@informatik.med.uni-giessen.de, sr=attinasi 2002-04-30 00:37:12 +00:00
bzbarsky%mit.edu 309f4ea84b Make selecting parts of a line in align:justify work right on
Mac/Linux.  Bug 58704, r=akkana, sr=kin
2002-04-29 22:03:41 +00:00
jkeiser%netscape.com 8f265ba15e Make iframe border repaint when style changes (bug 124507), r=waterson@netscape.com, sr=attinasi@netscape.com 2002-04-28 07:53:41 +00:00
waterson%netscape.com bd3e97e714 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. 2002-04-26 19:19:39 +00:00
rods%netscape.com 28ec52ed67 Use binary search from nsTextFrame to find the length of the header/footer strings
Bug 139384  r=dcone sr=attinasi
2002-04-26 11:30:33 +00:00
jst%netscape.com 79607afb88 Fixing Txul regression bug 138012. Make docshells always accessible through box objects and load about:blank when no src is specified on a frame. Eliminate creation of synthetic documents when they're not needed. r=peterv@netscape.com, sr=jaggernaut@netscape.com 2002-04-25 23:04:52 +00:00
attinasi%netscape.com b5834292c2 Check for null FontMetrics to prevent crash. r=shanjian sr=kin 2002-04-25 22:00:22 +00:00
karnaze%netscape.com 890e7c9345 bug 136746 - check for null pointer if a line is empty. sr=waterson, r=alexsavulov 2002-04-25 20:53:32 +00:00
smontagu%netscape.com e35ea80166 Correct handling of zero-width joiners and non-joiners. Bug 110497. r=ftang, sr=attinasi 2002-04-23 23:50:17 +00:00
rods%netscape.com 01ca5e68e4 Make the UI scrollbars now scale in PrintPreview. We are having to do all this rather bizarre
stuff because the scrollbars in the document share all the same code and style contexts of the UI scrollbars
Bug 120616 r=dcone sr=attinasi
2002-04-23 12:05:43 +00:00
jst%netscape.com ed0376e885 Fixing printing crash bug 127891. Make the destruction of printing related frames not hide iframe's document viewers. r=rods@netscape.com, sr=rpotts@netscape.com 2002-04-22 23:12:18 +00:00
jst%netscape.com 0d418fca3c Fixing regression bug 138540. Make iframe's with scrollbars='no' not have scrollbars. r=bzbarsky@mit.edu, sr=rpotts@netscape.com 2002-04-19 23:55:45 +00:00
attinasi%netscape.com 6f56cb346d Make sure SpaceManager is in the reflowState before absolute items are reflowed to prevent crash. b=130251 r=alexsavulov sr=waterson 2002-04-18 23:37:51 +00:00
rods%netscape.com 4447d6a531 printing properties must be moved to global jar
Bug 138026 r=dcone sr=attinasi a=judson adt=putterman
2002-04-18 22:43:02 +00:00
jst%netscape.com f0f5f78f66 One more minor tweak for blocker bug 138007 (checked in the wrong diff last time). Making iframe.src=... not load the src twice when the iframe is visible. r=jkeiser@netscape.com, sr=heikki@netscape.com 2002-04-18 22:06:37 +00:00
jst%netscape.com 646b76b0ff One more minor tweak for blocker bug 138007. Making iframe.src=... not load the src twice when the iframe is visible. r=jkeiser@netscape.com, sr=heikki@netscape.com 2002-04-18 21:54:48 +00:00
jst%netscape.com 21ff37f2ef Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
mjudge%netscape.com 2b48176646 fix for up down behavior after typing or selecting sr=kin a=scc r=jfrancis 2002-04-16 23:26:22 +00:00