2696 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
b7194a0ea8 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +00:00
peterv%netscape.com
2fa512bd41 XHTML is case-sensitive. Pass the right flag to NS_CreateHTMLElement r=sicking, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@111446 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 10:34:41 +00:00
jst%netscape.com
de8e5658f6 Fixing bug 118104. link.search and link.hash should be empty if there's no search/hash in the url, in stead of containing '?'/'#'. Patch by hidday@geocities.com, r=bzbarsky@mit.edu, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111436 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-06 02:04:33 +00:00
bryner%netscape.com
72bf32c474 Fixing windows bustage.
git-svn-id: svn://10.0.0.236/trunk@111408 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 07:51:43 +00:00
bryner%netscape.com
87d7aa496f Initial checkin of XBL select widget (listbox) code (bug 112713).
Summary of changes:
- Removed old XBL form control cruft.
- Made nsOutlinerContentView accessible from content scripts.
- Created a new interface, nsIDOMNSXBLFormControl which exists to allow a
select element to have an outliner box object.
- Factored out nsChildIterator into its own file.
- Added support to the outliner content view for having option elements
directly inserted in the outliner.
- Cleaned up pixel/twip conversions in outliner.
- Added support for intrinsic width for outliner.

r=jag, sr=hyatt.  Note that the new select widget is NOT turned on by
default.


git-svn-id: svn://10.0.0.236/trunk@111407 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 07:17:10 +00:00
hyatt%netscape.com
2e88971c9c Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@111336 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 00:28:01 +00:00
jst%netscape.com
0b13347cd9 Fixing bug 114590. Making table.insertRow() properly throw exceptions per the DOM spec. r=bernd.mielke@snafu.de, r=peterv@netscape.com, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111293 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 06:49:10 +00:00
jst%netscape.com
c03739bfda Fixing bug 116843. image.x and .y were mapped to image.offsetLeft and .offsetTop and due to changes to .offset* that mapping broke image.x and .y so this makes image.x and .y work as expected. Also do some random cleanup. r=jaggernaut@netscape.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111291 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 06:05:32 +00:00
jst%netscape.com
f8c3b8bc4f Fixing bug 116511. Make element.offset* always be relative to the body if the element is relatively positioned. r=hidday@geocities.com, sr=vidur@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111290 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-03 05:46:42 +00:00
hwaara%chello.se
1779335a43 #117050, fix bustage for embeddors who turn XUL off.
r=dbaron, sr=blake


git-svn-id: svn://10.0.0.236/trunk@111161 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-29 22:07:54 +00:00
jaggernaut%netscape.com
00b5c52e3c Attempt to fix Mac and HP-UX bustage
git-svn-id: svn://10.0.0.236/trunk@111063 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 05:07:53 +00:00
shanjian%netscape.com
3356940ad2 #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson


git-svn-id: svn://10.0.0.236/trunk@111062 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 03:17:59 +00:00
hwaara%chello.se
46c1c88486 #116829, "Attaching a file to form submission w/o read permission hangs file upload"
#116210, "File upload stalls when file name is invalid"

r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@111061 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-25 17:16:43 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
bernd.mielke%snafu.de
55c2f72487 bug 114593, enable exceptions for table.insertCell r=me sr=jst patch by bz
git-svn-id: svn://10.0.0.236/trunk@111046 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 16:21:10 +00:00
sicking%bigfoot.com
de73bb35c1 Bug 17003. Give textareas a childnode and connect that childnode to .defaultValue. Also make textareas work properly for display: none;
r=jkeiser sr=jst


git-svn-id: svn://10.0.0.236/trunk@111045 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 16:06:13 +00:00
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
glazman%netscape.com
d430c2f52d oops, forgot to remove variable in previous check-in; b=95062, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110888 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 11:21:01 +00:00
glazman%netscape.com
76e810cc78 computed style for text-decoration was always answering ""; b=95062, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110887 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 11:15:32 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
mjudge%netscape.com
bc78c917f2 wrong name for module name. needed webbrwsr not webBrowser_core
git-svn-id: svn://10.0.0.236/trunk@110681 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 02:06:04 +00:00
mjudge%netscape.com
20a1185b2b bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not
git-svn-id: svn://10.0.0.236/trunk@110680 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 01:29:49 +00:00
hyatt%netscape.com
f9a19ba7cd Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
hwaara%chello.se
cd72250b81 #112973, we leak the whole file on upload (of, for example a patch in bugzilla).
r=bzbarsky, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110641 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:21:38 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
d1529aed21 Remove timer from REQUIRES, the makefile.win edition
git-svn-id: svn://10.0.0.236/trunk@110586 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com
1140db62f4 Remove timer from REQUIRES. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@110585 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 17:02:31 +00:00
jaggernaut%netscape.com
8f3f7baf78 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110582 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 13:18:45 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
jst%netscape.com
da1d2917dd Removing dead code, r=sicking@bigfoot.com, sr=me, no bug #.
git-svn-id: svn://10.0.0.236/trunk@110569 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 08:16:29 +00:00
bzbarsky%mit.edu
ea7174b216 Implement (turn on, really) SetCssText for style declarations. Bug
91370, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@110526 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 04:33:11 +00:00
sfraser%netscape.com
ff5c1dcc81 Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110494 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:10:42 +00:00
bbaetz%cs.mcgill.ca
478af40f6f Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT


git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00
jst%netscape.com
9254918735 Fixing bug 112120. Cleaning up the GetPrimaryFrameFor() code in nsGenericHTMLElement and making it obvious from the method name that this method is form control specific. r=axel@pike.org, sicking@bigfoot.com, sr=jband@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@110381 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:31:15 +00:00
hewitt%netscape.com
0b50d686f1 114184 - DrawCompositeSide can't deal with sides of differing widths, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110252 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 11:13:53 +00:00
hewitt%netscape.com
5078bd3bd8 114535 - crash setting !important on a -moz-image-region property, 114132 - rounded multi-level borders use wrong radii, r=ben, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@110250 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 11:11:09 +00:00
jst%netscape.com
9409557baa Fixing bug 114581. Making table.deleteRow() throw a INDEX_SIZE_ERR exception if the index is out of range, as per the DOM HTML spec. r=glazman@netscape.com, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@110249 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 10:20:57 +00:00
jst%netscape.com
c5768c0dba We don't pass references to 'interfaces' in general, so let's not do it here either. r=bryner@netscape.com. sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@110248 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 09:03:38 +00:00
dbaron%fas.harvard.edu
cf515cc659 Prevent input elements from adding frames back into the primary frame map during their destruction (and leaving the map with dangling pointers) by passing the frame to functions that will be called during frame destruction to avoid calls to GetPrimaryFrameFor that will repopulate the primary frame map. b=114220 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@110230 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 05:39:36 +00:00
shanjian%netscape.com
db6a4146a5 #105199 glyph search order is NOT lang dependent
lang is mapped to CSS Display structure and apply to document using
CSS rule tree.
r=dbaron sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110219 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 04:12:34 +00:00
hewitt%netscape.com
c5ba8bd720 113562 - nsIContent needs HasAttr method, r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110204 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 02:57:52 +00:00
bzbarsky%mit.edu
d8dc8592bc Add an assertion to the CSS loader for cases when sheet decoding fails.
stopgap measure for bug 106843, r=pierre, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110201 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 02:48:49 +00:00
dp%netscape.com
e1a23ad8a5 bug 110555 Ignoring error when user css files not found. r=dveditz,
sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@110132 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-09 16:14:02 +00:00
jaggernaut%netscape.com
357c78f88e BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110075 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 07:08:38 +00:00
pete%alphanumerica.com
d5c04f174e b=77933, r=ccarlen, sr=jst
nsIFile::CreateUnique() has unused parameter

removed unused parameter
/**
    WARNING commercial tree has one hit for this API change
 */
--pete


git-svn-id: svn://10.0.0.236/trunk@110040 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 23:06:51 +00:00
harishd%netscape.com
920d9110b8 98218 - set layout mode whether a DOCTYPE exists or not
r=heikki, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@110035 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 21:53:39 +00:00
hwaara%chello.se
4c08064fc5 #113663, clean up and improve support for frameborder and scrolling attributes on frame elements.
r=bz, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@110016 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 19:40:07 +00:00
darin%netscape.com
a1e097d98f fixes bug 15320 "Forms/Necko: Temp file (formpost) left after file upload"
r=dougt, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@109918 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:40:55 +00:00
attinasi%netscape.com
ba496b391d Prevent crash when IFRAME is reframed during layout. bug=108105 r=dbaron sr=jst
git-svn-id: svn://10.0.0.236/trunk@109903 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 00:02:03 +00:00
bzbarsky%mit.edu
49ffcb2809 Re-enable inspector showing positioning values. Bug 113863, r=timeless,
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@109878 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 22:29:53 +00:00