7273 Commits

Author SHA1 Message Date
rods%netscape.com
61a9addb52 adding rules for show text in a disabled state in the button element
b=41252 r=attinasi


git-svn-id: svn://10.0.0.236/trunk@78643 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:21:15 +00:00
rods%netscape.com
8a82d7b1a3 reverting back to using macro for impl of set/get of disabled attr
b=41252 r=attinasi


git-svn-id: svn://10.0.0.236/trunk@78642 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:18:53 +00:00
rods%netscape.com
5c976bd892 removing bloat - removed unneeded boolean and an nsIHTMLContent pointer
b=51886 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78641 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:15:57 +00:00
rods%netscape.com
e1b15f00aa wasn't setting status to NS_FRAME_COMPLETE
b=49010 r=buster


git-svn-id: svn://10.0.0.236/trunk@78640 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 22:13:12 +00:00
jst%netscape.com
f54ba5cc66 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
git-svn-id: svn://10.0.0.236/trunk@78591 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 05:46:14 +00:00
karnaze%netscape.com
3a14935f89 bug 14929 - Reallocate colspan adjusted col widths when there is a percent col being spanned.
git-svn-id: svn://10.0.0.236/trunk@78566 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:46:44 +00:00
pollmann%netscape.com
127fc5823f Bug 51856: Allow selection of just part of a text input or textarea to increase the karma around people who make typos. r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78562 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-09 01:22:01 +00:00
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
valeski%netscape.com
30ca1840b0 50188. ifdef debug'ing stderr output so we don't spew it in release builds.
git-svn-id: svn://10.0.0.236/trunk@78530 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 22:43:58 +00:00
kin%netscape.com
9b8fc58349 Added call temporary call to SetInitialValue() in CreateAnonymousContent() to fix
the problem where we can't retrieve the password value from the password
dialog. Breaks logging into IMAP.
r=blizzard@mozilla.org a=leaf@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@78516 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 14:55:49 +00:00
hyatt%netscape.com
fe277982e2 Tweak loadBindings call, provide hint to optimize possible style re-resolve in XBL, fix spot dbaron forgot. All 3 are r=ben
git-svn-id: svn://10.0.0.236/trunk@78512 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 10:01:18 +00:00
jst%netscape.com
d6162316cc 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
git-svn-id: svn://10.0.0.236/trunk@78500 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 06:56:15 +00:00
pollmann%netscape.com
f972f867ca Bug 51124: Tabbing into text control now again scrolls it into view if offscreen, also adding additional bulletproofing per code review; r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78494 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 05:53:28 +00:00
pollmann%netscape.com
b8d8068374 Bug 49921: Fix leak of a CNavDTD (leak and fix found thanks to beard@netscape.com) r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78488 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 04:52:57 +00:00
sfraser%netscape.com
4ed26ff1e6 Fix the tree bustage. r=jst
git-svn-id: svn://10.0.0.236/trunk@78477 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:06:56 +00:00
dbaron%fas.harvard.edu
3ccf2a2ea4 Clean up reporting of CSS parser errors: Use |nsAReadableString|s and an additional macro to allow all the error reporting to be done by macros. Also clean up a few comments. Not part of the default build (you must define CSS_REPORT_PARSE_ERRORS).
Make namespace prefixes case insensitive within CSS by normalizing to lower-case.  b=35813

r=attinasi


git-svn-id: svn://10.0.0.236/trunk@78476 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 02:05:09 +00:00
pollmann%netscape.com
f26bbc9e5e Bug 13652: select method should fire onselect handlers, blur should blur, r=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78469 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 01:46:00 +00:00
mscott%netscape.com
9b2caee4b9 Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@78452 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-08 00:24:13 +00:00
karnaze%netscape.com
d96ca778e1 new regression tests, not affecting the build.
git-svn-id: svn://10.0.0.236/trunk@78427 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 22:05:12 +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
karnaze%netscape.com
36ea06ba2f bug 33137 - don't use the min width of a cell which is larger than the fixed width of the cell as the basis of the fixed width contributor. r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@78419 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 20:55:03 +00:00
kin%netscape.com
a78dd6b7d3 Fix for bug #46396: select after input confuses session history
Moved code that set initial value of text control via the editor from
CreateAnonymousContent() to a new method called SetInitialValue().
SetInitialValue() is now called during the frame's first reflow.
Added mUseEditor to indicate when it is safe to use the editor
to get and set values.
r=mjudge@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78409 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 19:11:23 +00:00
akkana%netscape.com
383539d22b 50821: don't force a bogus 3.2 doctype, and eliminate OutputNoDoctype flag. r=cmanske
git-svn-id: svn://10.0.0.236/trunk@78401 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 18:40:14 +00:00
morse%netscape.com
feb9add6f2 bug 51338, cookie nag box not modal, r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@78354 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 07:00:36 +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
sfraser%netscape.com
fc51db9344 Fix bug 49620 -- make click-drag select work in comboboxes again. r=rods
git-svn-id: svn://10.0.0.236/trunk@78335 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 04:39:02 +00:00
hyatt%netscape.com
2e1635d8b1 Patch to enable event.originalTarget on input fields. r=joki
git-svn-id: svn://10.0.0.236/trunk@78325 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-07 02:47:52 +00:00
ftang%netscape.com
d19e2e0bfe fix bug 50654. r=nhotta take care " in the charset
git-svn-id: svn://10.0.0.236/trunk@78270 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 20:41:12 +00:00
rods%netscape.com
e2be4f7a56 changed fonts to use CSS3 fonts so they can be overridden
Bug 44656 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78263 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 14:18:02 +00:00
rods%netscape.com
33de22fd07 For NavQuirks we need to set the appropriate font for buttons/selects or for text and textarea
If these fonts are set in the html.css or quirk.css they cannot be overriden
We now use the CSS3 font names and for NavQuirks we adjust the fonts to match Nav 4.x
The change is to give field fonts monospace instead of sans-serif
Bug 44656 r=dcone


git-svn-id: svn://10.0.0.236/trunk@78262 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 14:02:44 +00:00
pollmann%netscape.com
c265ced149 Bug 3326: IsIndex implementation (not part of build)
git-svn-id: svn://10.0.0.236/trunk@78254 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 07:37:49 +00:00
jst%netscape.com
1154cd5b3b Fixing a cloneNode() regression in the HTML code, doing a deep clone on a element that didn't have a style attribute was failing to clone it's chil nodes. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78247 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 05:03:34 +00:00
dbaron%fas.harvard.edu
58582b97ac Add code to allow the CSS parser to report errors. This code is not enabled by default in any builds, but it could be useful for chrome authors to catch CSS errors. We may want to turn it on in debug builds at some point, but it needs some work first. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78236 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:27:46 +00:00
dbaron%fas.harvard.edu
e52da02292 Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
Fix some CSS errors found with CSS parser error reporting, with Ben's approval.


git-svn-id: svn://10.0.0.236/trunk@78230 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:17:26 +00:00
dbaron%fas.harvard.edu
dd86f988cd Change the names of CSS properties that are not part of the CSS2 specification by adding a -moz- prefix. Change the names of those that are used internally to use -x-, just for documentation. b=3935 r=attinasi
git-svn-id: svn://10.0.0.236/trunk@78227 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:15:18 +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
buster%netscape.com
be5d5e02df bug 40596 (input type=text form controls with width:auto are not rendering correctly in table cells)
r=rods


git-svn-id: svn://10.0.0.236/trunk@78169 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:22:55 +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
karnaze%netscape.com
d017b9758e fix regression tests to work around latest bugs. Does not affect the build.
git-svn-id: svn://10.0.0.236/trunk@78140 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 14:58:59 +00:00
karnaze%netscape.com
da24e59c65 bug 45350 - correctly consider rowspan height in table row incremental reflow
git-svn-id: svn://10.0.0.236/trunk@78139 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 14:57:34 +00:00
rods%netscape.com
72efd65ccb Changed resizing code to use ave char width for calculating the width of a text field in strict/standard mode
I had to put in an ifdef _WIN32 because no other platform implements the call in nsIFontMetrics
I will have to address this ifdef in the next release (Bug 50998), which means I will probably implement
GetAveCharWidth for all platforms that don't have a native call
Bug 44656  r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78138 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 13:43:13 +00:00
rods%netscape.com
64c96b1f0f fixed so script can find out if an option is selected when no frame exists
no all DOM calls can be made on a select or an option with or without a frame
and the results will be correct
All the PresState info (for now) is kept in the select content, a couple of new
methods were added to nsISelectElement to make it easier for the option to
Get/Set its index
Bug 45760 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@78137 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 13:37:16 +00:00
dbaron%fas.harvard.edu
ea1cb20f01 Fix build warning by renaming variable. r=disttsc@bart.nl
git-svn-id: svn://10.0.0.236/trunk@78120 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 02:08:41 +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
beard%netscape.com
cc501e8819 fixing code that relied on implicit string construction (less than optimal temporary fix). r=scc
git-svn-id: svn://10.0.0.236/trunk@78012 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 07:21:57 +00:00
saari%netscape.com
676b71298c fix for 46505, text inputs and text areas need to change their event targets when crossing the anonymous content boundry. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@77999 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-02 04:59:44 +00:00