sfraser%netscape.com
ca316ac9e0
Final part of fix for 13718 -- implement call through nsHTMLImageLoader to get natural dimensions. r=pnunn.
...
git-svn-id: svn://10.0.0.236/trunk@78547 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 23:36:29 +00:00
pnunn%netscape.com
fcd6e7c635
bug:13718: natural img dimens. pnunn, r:sfraser
...
git-svn-id: svn://10.0.0.236/trunk@78533 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:52:05 +00:00
heikki%netscape.com
6f651fdbf2
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.
...
git-svn-id: svn://10.0.0.236/trunk@78420 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 21:03:26 +00:00
sfraser%netscape.com
fb865adb8e
Fix bugs 45881 and 46850 -- general caret cruft. Ensure that caret is clipped to the scrolling view, and fix things so that the caret is properly hidden on scrolling. r=beard
...
git-svn-id: svn://10.0.0.236/trunk@78343 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 05:26:25 +00:00
sean%beatnik.com
f17a1ac850
fix for bug 47840. When resolving the absolute url for plugin content, use the document's url as the base. r=av a=brendan
...
git-svn-id: svn://10.0.0.236/trunk@78192 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:40:07 +00:00
ftang%netscape.com
f4932134bc
fix bug 50849. thanks kin@netscape.com for the patch. r=ftang
...
git-svn-id: svn://10.0.0.236/trunk@78167 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:19:23 +00:00
edburns%acm.org
f4ed6ebe07
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.
git-svn-id: svn://10.0.0.236/trunk@78153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 19:03:56 +00:00
dbaron%fas.harvard.edu
71c441c81a
Paint backgrounds and borders for inline elements in the foreground layer. b=36710, 27757 r=buster@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@78110 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:45:47 +00:00
dbaron%fas.harvard.edu
c7f877db2d
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
git-svn-id: svn://10.0.0.236/trunk@78109 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:44:48 +00:00
av%netscape.com
b20d79675e
Fixing #44993 , added style visibility check to the object frame, r=buster
...
git-svn-id: svn://10.0.0.236/trunk@78078 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 20:54:26 +00:00
jst%netscape.com
071de302f4
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
...
git-svn-id: svn://10.0.0.236/trunk@77858 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 07:05:08 +00:00
vidur%netscape.com
b10d4adc57
Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77828 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 01:54:35 +00:00
nisheeth%netscape.com
77a2d6896f
- Fix for nsbeta3+ bug 10292: ID attribute information is passed up from the parser to the content sink and into the node info objects associated with content objects. nsIXMLContent now inherits from nsIStyledContent which allows
...
authors to use ID selectors to target elements in an XML document.
- Checking in a P3P related patch to the pres shell, html document, and xml document from Tom Lendacky (toml@us.ibm.com )
git-svn-id: svn://10.0.0.236/trunk@77529 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 00:35:43 +00:00
heikki%netscape.com
65e15b0ce6
Backed out a change that was not supposed to go in. This was a work-in-process for bug 8927.
...
git-svn-id: svn://10.0.0.236/trunk@77438 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:56:46 +00:00
heikki%netscape.com
19052f5fb1
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.
...
git-svn-id: svn://10.0.0.236/trunk@77435 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:47:05 +00:00
akkana%netscape.com
bc616db59e
47870: Don't copy if selection is collapsed. r=law
...
git-svn-id: svn://10.0.0.236/trunk@77379 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 22:28:56 +00:00
jst%netscape.com
b05c03746d
Removing unused code from the build. r=pollmann@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@77284 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:00:17 +00:00
waterson%netscape.com
1d2e80513d
Bug 39944. Round auto height/width images to nearest pixel to avoid divergence. r=buster,scc
...
git-svn-id: svn://10.0.0.236/trunk@77282 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 06:36:42 +00:00
locka%iol.ie
09805179ae
API changes for embedding. b=46847, r=dougt, a=valeski
...
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +00:00
waterson%netscape.com
5cffcba70e
Fix build bustage.
...
git-svn-id: svn://10.0.0.236/trunk@77187 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 06:22:13 +00:00
waterson%netscape.com
9df49dc106
Bug 47191. Trim whitespace from relative spec before constructing absolute URLs. r=jst
...
git-svn-id: svn://10.0.0.236/trunk@77186 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 06:03:49 +00:00
edburns%acm.org
e4cefe435f
bug=36212, bustage
...
r,a=HurricaneSherrif
This checkin fixes a problem using the ?: operator and nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@77117 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 21:48:01 +00:00
shanjian%netscape.com
c14deeb485
#14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
...
ra=ftang
new fix which only apply to word jump.
git-svn-id: svn://10.0.0.236/trunk@77115 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 21:15:19 +00:00
shanjian%netscape.com
fe5d7f0d42
#14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
...
ra=ftang
a new fix which changes only apply to word jump.
git-svn-id: svn://10.0.0.236/trunk@77114 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 21:13:18 +00:00
edburns%acm.org
a0a5a4c191
bug=36212, bustage
...
r,a=waterson
This checkin fixes a problem using the ?: operator and nsCOMPtr.
git-svn-id: svn://10.0.0.236/trunk@77113 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 20:56:40 +00:00
akkana%netscape.com
f21e5a830e
Fix build bustage
...
git-svn-id: svn://10.0.0.236/trunk@77112 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 20:52:44 +00:00
waterson%netscape.com
579ee87174
Bug 46043. Be sure to clear m[Left|Right]Floaters when 0 == mCount. r=buster
...
git-svn-id: svn://10.0.0.236/trunk@77103 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:55:11 +00:00
edburns%acm.org
55b6e21cf5
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.
git-svn-id: svn://10.0.0.236/trunk@77101 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:49:08 +00:00
buster%netscape.com
71d538ea91
bug 49239
...
r=hyatt
bug 42372
r=waterson
git-svn-id: svn://10.0.0.236/trunk@77054 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:38:08 +00:00
buster%netscape.com
342b94a380
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
git-svn-id: svn://10.0.0.236/trunk@77051 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:26:43 +00:00
anthonyd%netscape.com
f4c17f81ff
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
git-svn-id: svn://10.0.0.236/trunk@77040 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:54:30 +00:00
jst%netscape.com
7e0575bfee
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
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
waterson%netscape.com
1cda08719e
Bug 47843. Be sure to set nsPresShell's mIsReflowing during initial reflow to avoid re-entrancy. r=nisheeth
...
git-svn-id: svn://10.0.0.236/trunk@76790 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 20:10:07 +00:00
saari%netscape.com
5f1a4898c0
Fix for 45006, key events going to select boxes when they're at 0,0. Stop dispatching key events to frame 0,0 when we don't have focused content.
...
git-svn-id: svn://10.0.0.236/trunk@76740 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-20 01:14:34 +00:00
scc%mozilla.org
a0a2b1b7fe
fixing code that relied on implicit string construction
...
git-svn-id: svn://10.0.0.236/trunk@76727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:23:46 +00:00
waterson%netscape.com
1d744f391f
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
...
git-svn-id: svn://10.0.0.236/trunk@76624 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:27:42 +00:00
rcassin%supernova.org
437af36574
Checkin kin's fix for bug 48879, r=sfraser
...
git-svn-id: svn://10.0.0.236/trunk@76593 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 23:55:32 +00:00
jst%netscape.com
f3eeaaab8a
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
...
git-svn-id: svn://10.0.0.236/trunk@76542 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 06:28:47 +00:00
kin%netscape.com
1e4907fd53
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
git-svn-id: svn://10.0.0.236/trunk@76486 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:12:19 +00:00
pinkerton%netscape.com
ecbc628010
making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250.
...
git-svn-id: svn://10.0.0.236/trunk@76305 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:28:41 +00:00
waterson%netscape.com
b270876b7f
Back out shanjian's last change as it was causing several whitespace-related regressions. r=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@76301 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:11:41 +00:00
rods%netscape.com
4177506b45
it was incorrctly painting both images
...
b=48156 r=kmcclusk
git-svn-id: svn://10.0.0.236/trunk@76296 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:01:05 +00:00
roc+%cs.cmu.edu
91d3cb9ba7
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
...
git-svn-id: svn://10.0.0.236/trunk@76224 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 19:44:11 +00:00
pierre%netscape.com
83df3e3c44
48096: Need a -moz-all value for user-select. r=sfraser.
...
git-svn-id: svn://10.0.0.236/trunk@76187 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:00:14 +00:00
saari%netscape.com
3b61368cb8
Fix more leaks bug 48126 again. r=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@76180 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 00:38:22 +00:00
roc+%cs.cmu.edu
4c56115614
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
...
git-svn-id: svn://10.0.0.236/trunk@76121 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:08:15 +00:00
saari%netscape.com
d94289754b
Fix for leaks. Bug 48126 r=dbaron, hyatt
...
git-svn-id: svn://10.0.0.236/trunk@76074 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 02:11:53 +00:00
attinasi%netscape.com
e7b5464ded
Text with 'whitespace:nowrap' no longer uses special Win32-only text measurement code becasue it didn't work. b=42832 r=waterson
...
git-svn-id: svn://10.0.0.236/trunk@76036 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 23:03:11 +00:00
heikki%netscape.com
dd53ea068d
Trivial, bug 41772, we were not setting the return value in all cases for HandleEventInternal. r=jst.
...
git-svn-id: svn://10.0.0.236/trunk@76025 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-10 22:07:33 +00:00
mjudge%netscape.com
e5571b2bdf
29570 37393 42794 mac os fix for selecting out of frame bounds.
...
git-svn-id: svn://10.0.0.236/trunk@75915 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-09 22:33:03 +00:00