Commit Graph

2215 Commits

Author SHA1 Message Date
waterson%netscape.com
20edcce927 Bug 56115. Be sure to determine if CanContinueTextRun() while walking *down* as well as across. r=buster, a=sfraser 2000-10-13 00:44:53 +00:00
buster%netscape.com
cd5b97553d backed out my/waterson's potential fix for bug 43914
this fixes bug 56102
a=waterson
2000-10-12 20:30:43 +00:00
rickg%netscape.com
2d7911145f WIP for bug 55095; sr=buster, r=attinasi, sfraser 2000-10-11 23:40:42 +00:00
waterson%netscape.com
072a02200b Bug 54005. Test if frame CanContinueTextRun() before advancing to its sibling. r=karnaze, a=buster 2000-10-09 22:03:03 +00:00
buster%netscape.com
13899dbffa bug 29276 (text inside <label> tags within a table cell breaks out of table cell)
bug 1164 (ALIGN=MIDDLE and ALIGN=ABSMIDDLE values are not being supported)
bug 54119 (percentage (%) image (img) heights do nothing)
r=karnaze, rods, attinasi
a=waterson
2000-10-09 21:19:36 +00:00
waterson%netscape.com
c080ea9b7e Bug 55100. Re-order vtable so that nsFrame::Destroy will find the size in the right spot. This is a band-aid fix. r=buster, sr=hyatt 2000-10-09 21:10:05 +00:00
pierre%netscape.com
195136278b bug 1046: letter-spacing should apply on space characters too. r=erik+buster, a=michaell. 2000-10-09 08:39:29 +00:00
rpotts%netscape.com
5b6a19400c bug #55703 (sr=buster). Stop leaking images in nsBulletFrame... 2000-10-09 06:23:37 +00:00
waterson%netscape.com
883ea58a61 Bug 53969. Move anonymous content storage to pres shell; remove obsolete methods from nsIAnonymousContentCreator. r=dbaron, a=hyatt 2000-10-09 03:08:41 +00:00
jst%netscape.com
6ea631e28c Checking in for bug 50742, this change removes the use of XIF in mozilla and replaces the XIF converter with a HTML (and XML) serializer.
Contextual information added to HTML copy and intelligence added to HTML paste in the editor (fixes bugs 47014, 50568 and 46554, and partly (at least) fixes bug 53188).

Code written by vidur, jfrancis, jst, akkana. Tested by jfrancis, akkana, vidur, jst, kin. Reviwed (and super reviewed) by waterson, vidur, kin, jfrancis, jst
2000-10-07 10:57:30 +00:00
pollmann%netscape.com
4808c70577 Bug 16346: Implement overflow:hidden support from frames and iframes. Fix by peterlubczynski, r=pollmann, sr=buster 2000-10-07 05:37:27 +00:00
vishy%netscape.com
53d03b49e8 sr=mscott, bugscape=2429, Shrimp crashes when closing some windows.
Solution is to release mPluginHost only if non-null.
2000-10-06 02:45:53 +00:00
karnaze%netscape.com
c8ba15ed54 bug 49490 - turn off collapsing borders, rules. Fix reflow state to not account for vertical borders or padding on rows. a=buster, r=dcone. 2000-10-05 23:49:25 +00:00
danm%netscape.com
a37c0efa92 fix horrible url loading regression introduced by previous revision. r=hyatt. bugs 44437,55275 2000-10-05 23:30:56 +00:00
kin%netscape.com
2127db55fe Fix for bug #53326 (can't select paragraph headers)
Modified HandlePress() to check for presence of
href value for anchors before bailing early.
This fix is already checked into the Netscape_20000922_BRANCH.
r=pinkerton@netscape.com sr,a=buster@netscape.com
2000-10-04 13:38:17 +00:00
buster%netscape.com
2c272b9573 bug 54980
bug 50480 (list-item marker of link list overlaps)
r=karnaze
a=waterson
2000-10-04 04:17:36 +00:00
hyatt%netscape.com
009a955c80 Fix for 44437. r,a=waterson 2000-10-02 23:23:55 +00:00
peterlubczynski%netscape.com
3c353a9435 Deactivate double buffering for plugins plus fix up position and clip. bug 32327, bug 51787, bug 19931 bug 37126 r=sfraser,pchen a=buster 2000-09-28 23:29:26 +00:00
peterlubczynski%netscape.com
641809a1df Fix to ensure we don't go past array bounds in ScanNormalUnicodeText() b=52722 r=buster a=karnaze 2000-09-22 22:45:31 +00:00
buster%netscape.com
8b236e6e67 bug 50758 (text-align:right for text control doesn't render as you type)
r=sfraser
a=waterson
We now invalidate the line explicitly if text-align:right is set, because
our incremental painting is biased towards frames that grow to L2R.  This
is a heavy-handed workaround, but it ends up doing very little extra invalidation,
and uses an already existing mechanism by just setting an existing flag.
2000-09-21 06:03:39 +00:00
pollmann%netscape.com
54719150b3 Bug 51576: Fix a crash when resizing browser to zero height or width for frameset pages; Fix thanks to tobias.weibel@gmx.net; r=self, jst, vidur 2000-09-21 05:07:06 +00:00
mcafee%netscape.com
7fd3e47dd6 Reverting v1.47 back to 1.46 to fix bustage. r=peterlubczynski 2000-09-21 00:21:24 +00:00
peterlubczynski%netscape.com
c52dd84ce8 Fix to ensure we don't go past array bounds in ScanNormalUnicodeText() b=52722 a=buster 2000-09-20 23:16:50 +00:00
erik%netscape.com
033206ebf0 bug 4238; r/a=ftang,buster,waterson; added language specific transforms so
that we can do things like U+005C -> U+00A5 (backslash -> yen sign for ja)
2000-09-20 23:00:32 +00:00
locka%iol.ie
b78abdf560 Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
heikki%netscape.com
c3c301798c Fixed bug 52526, the cause was that image load event was bubbling even though the specs say it should not. Previously we were not even sending the load event on image load. I also fixed bug 50478 by fixing the logic in GetBubbles and GetCancelable of the DOMEvent. This helps in testing the first bug. I also fixed several cases where we had wrong combination of event class and event struct type. a=waterson, r=joki,rods. 2000-09-19 21:47:04 +00:00
mjudge%netscape.com
56c4834a21 fixing 34356. hack to get clickng before table working beta3+ 2000-09-15 07:02:05 +00:00
buster%netscape.com
bb994f0ca7 bug 18445
r=karnaze
This bug fixes the way we treat placement of replaced inline elements when
they have display:block.
2000-09-15 06:20:07 +00:00
mjudge%netscape.com
1ea0763f86 fixing sun/sparc i guess it didnt like the inline if/else statement. separating out. 2000-09-14 13:23:31 +00:00
mjudge%netscape.com
e2be918716 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
mjudge%netscape.com
77fce2df49 hoarkage fix. need a.get on pointer compare on unix for comptrs 2000-09-14 09:42:18 +00:00
pinkerton%netscape.com
3a03377767 before starting a selection, make sure we aren't in a link because we don't want to usurp the DnD code. r=mjudge, bug# 52541. 2000-09-14 08:47:46 +00:00
edburns%acm.org
eee39a1304 a=brendan, ekrock
r=av, sean@beatnik.com
bug=50547

This change allows the plugin to have a greater degree of control over
the plugin lifecycle.  This change makes it possible for the plugin to
tell mozilla:

1. Whether or not they want to allow the browser to cache their
instance.  Default is yes, do allow the browser to cache their instance.

2. If they answer no to 1, that is, no the plugin does not want the
browser to cache their instance, do you want the shutdown calls to be:

a.

          inst->SetWindow(nsnull);
          inst->Stop();
          inst->Destroy();


b.

          inst->Stop();
          inst->Destroy();
          inst->SetWindow(nsnull);

a. is the default.

Please visit the bug to see the patches:

http://bugzilla.mozilla.org/show_bug.cgi?id=50547

Detail:

This fix was requested by Stanley Ho of the Sun Java Plugin Team.  A
conference call between Eric Krock, Andrei Volkov, Sun, Adobe and other
plugin vendors was used to agree on the above solution.

M modules/plugin/public/nsplugindefs.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M layout/html/base/src/nsObjectFrame.cpp
2000-09-14 08:22:31 +00:00
buster%netscape.com
829ab5c58e just cleaning up a warning, found during fix for bug 52307 2000-09-14 05:50:56 +00:00
pollmann%netscape.com
929928c472 Bug 3326: Implement IsIndex frame; r=kmcclusk 2000-09-14 04:43:31 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
jdunn%netscape.com
e6f144c78e Fix warning: return value is required from functions
r= brendan@mozilla.org scc@mozilla.org
#= 52254
2000-09-13 14:11:51 +00:00
anthonyd%netscape.com
408d1057ca bug fix for mjudges bug #45387
r=anthonyd
2000-09-13 00:05:29 +00:00
attinasi%netscape.com
1fd5ba1fd2 Added default implementation for frames to allow a frame to specify which frame provides its parent style context. Also reworked ReResolveStyleContext and VerifyStyleTree to allow the style context tree to diverge from the frame tree. b=45210 r=karnaze 2000-09-12 22:47:09 +00:00
attinasi%netscape.com
33c7174943 Added a new method to allow a frame to specify the frame that provides its parent style context. b=45210 r=karnaze 2000-09-12 22:45:33 +00:00
heikki%netscape.com
5a54ae35f1 Forgot to check that we fire the select event with Select All. Also fix event.target. Part of bug 46085. r=mjudge. 2000-09-12 20:54:41 +00:00
evaughan%netscape.com
c2a4af64f0 Fix for bug #51780
-r pinkerton
2000-09-12 20:19:11 +00:00
nisheeth%netscape.com
1a24a39b49 r=rpotts. Fix for nsbeta3+ bug 39368. 2000-09-12 00:35:11 +00:00
peterlubczynski%netscape.com
68cb6aabee fix for bug 50432. PRPackedBools compressed to one flag. mAutoBuffer size reduced to 128. r=buster 2000-09-12 00:00:58 +00:00
dougt%netscape.com
09a4bb02bb Fixing error codes. r=waterson. 2000-09-11 22:56:15 +00:00
buster%netscape.com
05f2509eec checking in fix for unix compiler, stupid nsCOMPtr x-platform incompatibility. 2000-09-11 21:43:46 +00:00
buster%netscape.com
11241fb485 bug 14280
nsTextTransformer.cpp.
  I moved where we translate the nbsp to a (ascii 32 space character) until after the i18n routines are called, so they can properly account
  for the space as non-breaking and therefore part of the first word in the block.

bug  39901 and 38396
  nsHTMLImageLoader.*, nsImageFrame.cpp
  I backed out the bad fix for 38396, and put in a new fix where I store a little state in the image loader flags for cases where the image
  gets an unconstrained reflow and has %-based width.  This does not handle %-based min-width or max-width, that would be a separate
  bug that I'll file shortly.  But this fixes the vast majority of real cases out there.

bug  18754
  nsHRFrame.cpp, quirks.css, nsCSSFrameConstructor.cpp, last part of nsLineLayout.cpp
  in quirks mode, I changed HR from a block element to a replaced inline element that acts like a block, using generated content to get
  newlines before and after the HR.  This isn't ideal, but it gets us backwards compatibility, and ian and dbaron have blessed the approach.

bug  50257
  nsLineLayout.cpp
  Did a couple of things in here:
       * The actual fix is controlled by FIX_BUG_50257 #define symbol.  This basically says that an break (BR) will always fit on a line.
         A more general solution would probably be to round up to the nearest pixel, and if the thing is less than a pixel make it fit on a
         line.  This is a wimpier, safer solution.
       * I noticed that the way we got the compatibility mode was way out of date, very wasteful.  So I fixed that.
       * I noticed that there were a bunch of redundant SetFlag calls.  Since the flag variable is initialized to 0, setting a flag to 0 on a newly
         created object is a waste.

  nsBlockFrame.cpp  --  just added a comment to some odd looking code, to make sure no one comes along later and breaks it
2000-09-11 21:15:02 +00:00
buster%netscape.com
37e900a62c bug 28811
r=karnaze
The problem was we were over-eager in optimizing away a resize reflow for lines
that contain %-aware children.  We were only looking at the first-level children
of a line, not all the children.  Now, we compute a bit for each inline container
based on it's children, true if any of them are %-aware wrt any width measurement.
We propogate this bit upwards to a bit on the line itself, and check this bit during reflow.
2000-09-11 20:46:44 +00:00
dougt%netscape.com
a7d77f33f2 Fixes 51759. If we ship without a plugin manager as we can do for embedding, we crash loading most pages with plugins. This change basically returns an error from Reflow if we cant get the plugin manager component. r=valeski 2000-09-11 20:27:25 +00:00
jst%netscape.com
a29c8269e1 Removing static IID's (NS_DEFINE_IID()) and replace the static IID's with NS_GET_IID(), this cleans things up and simplifies my fix for nsbeta3+ bug 7515. r=pollmann@netscape.com 2000-09-09 05:46:14 +00:00
pnunn%netscape.com
7a62c0d377 bug:13718: natural img dimens. pnunn, r:sfraser 2000-09-08 22:52:05 +00:00
jst%netscape.com
72b52d0663 Fixing nsbeta3+ bug 48763. <frame src=' '> caused an infinite loop if the base URL for the frame happens to be the URL for the containing frameset. r=pollmann@netscape.com&nisheeth@netscape.com 2000-09-08 06:56:15 +00:00
heikki%netscape.com
50ed716f64 Got delayed with changed files, here is the second patch... Fixed bug 22710, load and error events were not firing for images. I also changed the select event firing to use nsEvent instead of nsGUIEvent. r=joki. 2000-09-07 21:03:26 +00:00
sean%beatnik.com
43d1da3111 fix for bug 47840. When resolving the absolute url for plugin content, use the document's url as the base. r=av a=brendan 2000-09-05 23:40:07 +00:00
ftang%netscape.com
fcedb74d37 fix bug 50849. thanks kin@netscape.com for the patch. r=ftang 2000-09-05 21:19:23 +00:00
edburns%acm.org
8ee33dddde This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.
2000-09-05 19:03:56 +00:00
dbaron%fas.harvard.edu
63c72036b9 Paint backgrounds and borders for inline elements in the foreground layer. b=36710, 27757 r=buster@netscape.com 2000-09-04 21:45:47 +00:00
dbaron%fas.harvard.edu
acaf9688ee Don't apply top margin to a block containing only floaters. Let it collapse through instead. b=44419
Only do the quirky fix for bug 37657 for tables, not all blocks.  b=43086
r=buster@netscape.com
2000-09-04 21:44:48 +00:00
av%netscape.com
41dcfdd44a Fixing #44993, added style visibility check to the object frame, r=buster 2000-09-03 20:54:26 +00:00
jst%netscape.com
7aa7ed7f6d Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com 2000-09-01 07:05:08 +00:00
mstoltz%netscape.com
ecbc31c3d3 Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur 2000-08-31 05:53:32 +00:00
kin%netscape.com
9cf7b833fb Fix for bug #35899 (Page scrolls on selecting text in position:relative div)
- Rewrote the auto-scrolling code to handle the fact that events are now passed
    directly to frames, even though the mouse is outside the window, and the frame
    is not in the clip view. The old code assumed that the viewport frame always
    caught and handled the event, which was the way it used to be.
  - AutoScroll methods now give the option of scrolling parent scrollable views.

r=jfrancis@netscape.com

Fix for bug #49467 (Spell checking not working in composer or NS 6 IM )

  - We no longer throw an error if we are trying to scroll the selection
    into view, when the selection is in a view that has no parent scrollable
    view ... we just return NS_OK and do nothing.

r=syd@netscape.com
2000-08-30 19:42:47 +00:00
jfrancis%netscape.com
299877ed6d disabling fix for 46554 again, in order to fix smoketest blocker 50653 et al 2000-08-29 19:55:16 +00:00
jfrancis%netscape.com
995b111b30 restoring my original fix for 46554, with some additional tweaks to deal gracefully with generated content. To forgive, divine. 2000-08-29 06:37:12 +00:00
jfrancis%netscape.com
9726e994c4 i'm an idiot 2000-08-29 05:43:03 +00:00
jfrancis%netscape.com
7d5e6f0454 turns out that selection code is used even when outputing an entire document (beats me why); disabling my changes so that text field output will work again. 2000-08-29 03:09:54 +00:00
heikki%netscape.com
8e2f31db68 Fixed bug 46085. We were not firing the select event. This is the second half of the checkin... had some problems with CVS. jst is watching this checkin. r=mjudge. 2000-08-29 01:47:05 +00:00
jfrancis%netscape.com
0481832a07 fixing a warning 2000-08-29 00:31:53 +00:00
jfrancis%netscape.com
5c35225245 third time is the charm... 2000-08-29 00:07:32 +00:00
jfrancis%netscape.com
2d261bbe7d the end of ubercopy 2000-08-28 23:54:45 +00:00
jfrancis%netscape.com
767a12d10c fix for 46554: copy should grab parent nodes if all children selected; r=sfraser 2000-08-28 23:35:57 +00:00
anthonyd%netscape.com
e522671bc1 fix for bug# 43364
selection methods not returning meaningfull information
ie. getAnchorNode
r=mjudge
2000-08-26 21:23:25 +00:00
jst%netscape.com
df6f2a53e2 Removing unused code from the build. r=pollmann@netscape.com 2000-08-26 07:00:17 +00:00
locka%iol.ie
ecebe2ac21 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
waterson%netscape.com
4c25116d9f Fix build bustage. 2000-08-25 06:22:13 +00:00
waterson%netscape.com
9c85e83202 Bug 47191. Trim whitespace from relative spec before constructing absolute URLs. r=jst 2000-08-25 06:03:49 +00:00
edburns%acm.org
4857682d61 bug=36212, bustage
r,a=HurricaneSherrif
This checkin fixes a problem using the ?: operator and nsCOMPtr.
2000-08-24 21:48:01 +00:00
shanjian%netscape.com
419f6c2466 #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
ra=ftang
new fix which only apply to word jump.
2000-08-24 21:15:19 +00:00
shanjian%netscape.com
4f6526735f #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
ra=ftang
a new fix which changes only apply to word jump.
2000-08-24 21:13:18 +00:00
edburns%acm.org
679c3b9ae4 bug=36212, bustage
r,a=waterson
This checkin fixes a problem using the ?: operator and nsCOMPtr.
2000-08-24 20:56:40 +00:00
akkana%netscape.com
072251197b Fix build bustage 2000-08-24 20:52:44 +00:00
waterson%netscape.com
69afdebc22 Bug 46043. Be sure to clear m[Left|Right]Floaters when 0 == mCount. r=buster 2000-08-24 19:55:11 +00:00
edburns%acm.org
6929c922f5 bug=36212
a=waterson,av
r=av,waterson

Here is what I believe to be the correct fix.
This post correspondes to the fix,
second iteration attachments.
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M layout/html/base/src/nsObjectFrame.cpp

This checkin modifies nsIPluginInstanceOwner::GetURL
to have a length parameter for the post data.
2000-08-24 19:49:08 +00:00
buster%netscape.com
9b0a64d2c7 bug 49239
r=hyatt

bug 42372
r=waterson
2000-08-24 04:38:08 +00:00
buster%netscape.com
a017796f68 bug 45152 (Typed text does not render in TextAreas with a horizontal scrollbar)
fixed by adding a flag in nsLineBox for the content of a line to mark it "forceInvalidate",
logic in nsLineLayout to set the line dirty for initial reflow of text frames,
and logic in block to check the new flag.
r=kin
2000-08-24 04:26:43 +00:00
anthonyd%netscape.com
112b262913 fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe
2000-08-24 03:54:30 +00:00
jst%netscape.com
9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
attinasi%netscape.com
c4cbd8b7eb Fix for leak: have to release the style context after initializing the frame... 2000-08-23 01:22:26 +00:00
attinasi%netscape.com
b0349a7041 Resolving style context for the htmlInnerFrame instead of using the parent frame's context. Also added some basic error checking... b=49739 r=buster@netscape.com 2000-08-23 00:12:30 +00:00
scc%mozilla.org
eb0aaea827 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
waterson%netscape.com
baab3d1f7f Bug 49122. Make the image map manage addition and removal of the <area>'s to the primary-frame-for map in the frame manager. r=saari 2000-08-18 06:27:42 +00:00
jst%netscape.com
05f37e21da Fixing nsbeta3+ bug 44002. Don't use non boolean values (the value 2 in this case) as a boolean true since 2 != true in JS. This caused scripts that rely on img.complete == true when an image has loaded to break. r=nisheeth@netscape.com 2000-08-17 06:28:47 +00:00
kin%netscape.com
1f2d45de6f Partial fix for bug #45152: Typed text does not render in TextAreas with a horizontal scrollbar
Made Reflow() invalidate the correct region during an incremental or dirty reflow.
r=waterson@netscape.com
2000-08-16 23:12:19 +00:00
pinkerton%netscape.com
fc367b8a1a making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250. 2000-08-14 22:28:41 +00:00
waterson%netscape.com
775c5e9f89 Back out shanjian's last change as it was causing several whitespace-related regressions. r=attinasi 2000-08-14 22:11:41 +00:00
rods%netscape.com
071c524342 it was incorrctly painting both images
b=48156 r=kmcclusk
2000-08-14 22:01:05 +00:00
roc+%cs.cmu.edu
e48b1ae6a0 Adding call to new view API so that the view of a fixed-position frame has a Z-order/clipping parent which is not its geometric parent. Bug 39621. r,a=waterson 2000-08-12 19:44:11 +00:00
pierre%netscape.com
5b88097f54 48096: Need a -moz-all value for user-select. r=sfraser. 2000-08-12 01:00:14 +00:00
saari%netscape.com
3b8fdea366 Fix more leaks bug 48126 again. r=hyatt 2000-08-12 00:38:22 +00:00
roc+%cs.cmu.edu
ec64a3669f When computing the max-element-size, base percentage margins on the size of the contained max-element-size, not on the container's desired size. Bug 25707. r,a=waterson 2000-08-11 20:08:15 +00:00
anthonyd%netscape.com
9d506576cb fix for bug#48472
apparently nsIContent::ChildAt can be successful
and not return a child. now checking fo that.
r: smfr
a: beppe
2000-08-11 19:55:39 +00:00
saari%netscape.com
952a4be057 Fix for leaks. Bug 48126 r=dbaron, hyatt 2000-08-11 02:11:53 +00:00
anthonyd%netscape.com
13c10a6478 fix for bug# 48472 (dogfood bug)
r: mjudge
a: beppe
2000-08-11 01:36:28 +00:00
attinasi%netscape.com
c2db7a5f52 Text with 'whitespace:nowrap' no longer uses special Win32-only text measurement code becasue it didn't work. b=42832 r=waterson 2000-08-10 23:03:11 +00:00
mjudge%netscape.com
7e782cc7f4 use "=" not "==" my bad 2000-08-09 22:43:39 +00:00
mjudge%netscape.com
184bb65ca4 43533 table cell selection color fix. check for table cells/table being added to range and toggle flag to allow cells to draw correctly 2000-08-09 22:34:17 +00:00
mjudge%netscape.com
65269995e3 29570 37393 42794 mac os fix for selecting out of frame bounds. 2000-08-09 22:33:03 +00:00
dbaron%fas.harvard.edu
edbb56773e Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+) 2000-08-09 12:51:05 +00:00
sfraser%netscape.com
72205420ff Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:48:42 +00:00
sfraser%netscape.com
9aa82a567b Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:38:00 +00:00
saari%netscape.com
4c09a29ac5 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
heikki%netscape.com
300a4cad60 Bug 38647 Link clicks on nsImageFrame do not check if legal to load URI. Happened with server side image map. r=mstolz 2000-08-08 20:35:12 +00:00
dcone%netscape.com
0ca85e6a01 Check to see if the view had been reparented.. b=44718 a=mcclusk 2000-08-08 14:11:09 +00:00
av%netscape.com
52d1151fbc Fixing #8740, r=serge 2000-08-08 04:45:03 +00:00
hyatt%netscape.com
9dd48b2cff Put scrollbars back in tex tareas. 2000-08-05 20:48:22 +00:00
pierre%netscape.com
5e553bbece 42864 ('user-select:none' should make children non-selectable) 2000-08-05 04:41:33 +00:00
shanjian%netscape.com
d2b093a3d7 #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
r = ftang a=ftang
changes made in word break and word jump.
2000-08-03 23:03:08 +00:00
hyatt%netscape.com
d28a9c1352 Fix for 42451. 2000-08-03 22:42:36 +00:00
anthonyd%netscape.com
fed5192eba nsPresContext.cpp : added to comment to presContext::GetLookAndFeel to inform others that
that method has been depricated.
nsTextFrame.cpp : changed an assert to a warning, didnt need to be an assert.
r: mjudge@netscape.com
2000-08-03 22:30:47 +00:00
pollmann%netscape.com
9cb5e4ebe2 Bug 40383: Treat frameset rows spec 0* as 1* in quirks mode; r=harishd 2000-08-03 22:26:56 +00:00
pollmann%netscape.com
f3da1463b0 Bug 35986: document==NULL for FRAMEs created without SRC; r=kmcclusk 2000-08-03 22:23:48 +00:00
mjudge%netscape.com
b9689a5d76 *** empty log message *** 2000-08-02 02:39:10 +00:00
cmanske%netscape.com
ca24e6aca4 Fixed crashing bug 42195: Added method to nsIFrameSelection so frame can get limiting content node for parent node searches in text edit fields. r=mjudge 2000-08-02 01:47:55 +00:00
waterson%netscape.com
4896ee6d33 Bug 46693. Check to see if we CanContinueTextRun() while walking over the frames to FindNextText(). This revives the logic that I nuked when fixing 19051, and keeps you from trying to walk over <br> or other frames to erroneously continue a text run. r=akkana. 2000-07-28 22:29:28 +00:00
rbs%maths.uq.edu.au
af8754b765 Enable the code to export the baseline out of the block frame code to support 'vertical-article: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:buster@netscape.com. 2000-07-28 09:18:15 +00:00
waterson%netscape.com
1a2ffa3da2 Bug 44709. Maintain renumbering depth on stack, instead of in a global. r=roc+moz@cs.cmu.edu 2000-07-28 09:02:34 +00:00
danm%netscape.com
92d0a3a892 shut down a selection's autoscroll timer in the selection's destructor. bug 43470. r=saari@netscape.com 2000-07-28 03:48:26 +00:00
dbaron%fas.harvard.edu
0d22e864e2 Fix the way HTML's align attribute works for horizontal alignment of blocks. Use the -moz-center and -moz-right even in strict mode, and apply them to blocks in addition to tables. r=attinasi b=37083, 40038 2000-07-27 23:37:44 +00:00
hyatt%netscape.com
0f1477e37e Missed files. Fixs bustage. 2000-07-27 06:57:32 +00:00
hyatt%netscape.com
5a97cb79c0 Fix to enable trees to blit. Performance work approved by waterson. r=waterson. 2000-07-27 06:17:58 +00:00
waterson%netscape.com
349ccf4344 Bug 19051. Checked in wrong patch for nsLineLayout.cpp; we want to check the display type, not the frame type, to determine if it's a block frame. 2000-07-27 05:20:09 +00:00
waterson%netscape.com
9bd4266798 Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu 2000-07-27 05:16:08 +00:00
waterson%netscape.com
45a991a10b Bug 37622, redux. Case insensitive compare that I meant to check in way back when, but didn't. This was really part of the first patch, but didn't make it in because I checked in from the wrong machine. 2000-07-27 05:09:40 +00:00
mjudge%netscape.com
7317580268 46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call. 2000-07-26 11:31:12 +00:00
nisheeth%netscape.com
9b09a0b6c1 Fix for nsbeta2+ bug 43472. r=rpotts. We no longer crash on exit on Full Circle enabled builds. 2000-07-23 06:51:39 +00:00
rods%netscape.com
f7fbff18c7 check in for andreas, it now checks to make sure that the image or lowimage is not
null before getting the width and height
b=36902, a=waterson
2000-07-20 14:50:17 +00:00
waterson%netscape.com
eb10ce3a1a Bug 37622. Hackery to get <embed hidden='true'> to work. Check hidden attribute; if set, size to (0, 0) and don't create a widget. r=pavlov,blizzard. 2000-07-19 23:46:43 +00:00
valeski%netscape.com
175fa58cd9 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:13:07 +00:00
hyatt%netscape.com
5c42c520a8 Fix for 43467. r=bryner 2000-07-13 23:00:59 +00:00
av%netscape.com
1c72f33a9a #44422, r=buster 2000-07-11 23:10:29 +00:00
bnesse%netscape.com
23b031d8d8 Removed code which was painting rectangles over the plugin objects on the Mac. Bug #41016. r=av 2000-07-11 20:06:05 +00:00
shanjian%netscape.com
8e013f01a6 #42422
Fix the crash, contentLen should not be extended futher than the
text fragment's length.
2000-07-10 22:32:54 +00:00
akkana%netscape.com
481b7a5c02 38232 (nsbeta2+): Make line break character configurable in the
output system, and use \n (the DOM linebreak character) when getting
output from text controls.  Also fix some warnings.  r=kin.
2000-07-10 19:46:59 +00:00
cls%seawood.org
e87a1b7b11 Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061 2000-07-10 07:13:31 +00:00
evaughan%netscape.com
a17ec2746d Fixed body resizing bug #35681
-r pinkerton
2000-07-07 22:24:06 +00:00
nisheeth%netscape.com
d70a4ed2b5 Fix for nsbeta2+ bug 12152. r=vidur, pollmann. Setting the src property during document load works on <IMG> and <INPUT type="image"> elements. 2000-07-01 02:26:30 +00:00
dbaron%fas.harvard.edu
d05d4bef76 Fix bug 43882 (dogfood+) by removing special handling of empty P elements. (Most of the diffs are whitespace changes.) This also fixes bugs 43369, 43991, and 18050. However, it exposes a few other issues as well (the most important of which, nuking top margins on first *normal flow* children of BODY and TD, was previously fixed only in some cases, but shouldn't be hard to fix in general). r=waterson 2000-06-29 22:03:42 +00:00
mjudge%netscape.com
0d4292f24e r=hyatt bug36617, sfrasier bug. simple change for select all to work. 2000-06-29 05:25:01 +00:00
mjudge%netscape.com
b871d9eda7 r=jfrancis,r=hyatt 42045 beta2+ 42675 beta2+ hitting return on text area not putting new line. onchange,oninput. 2000-06-28 04:00:12 +00:00
dougt%netscape.com
5cf34c2722 Adding assert on invalid init of textTransformer. see bug 43094
Basic check for null.

Without this assert, you will crash if there is no nsILineBreakerFactory
found.
2000-06-27 20:54:01 +00:00