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

3079 Коммитов

Автор SHA1 Сообщение Дата
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