Commit Graph

9064 Commits

Author SHA1 Message Date
jst%netscape.com
58c288a59c Fixing Win build bustage.
git-svn-id: svn://10.0.0.236/trunk@64943 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 18:36:26 +00:00
jst%netscape.com
c76b431214 Updating the interfaces Document and HTMLDocument to comply with DOM Level 2, only stubs for new methods for now.
git-svn-id: svn://10.0.0.236/trunk@64942 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 17:46:30 +00:00
jst%netscape.com
3efeaf17d3 Updating HTMLFrameElement and HTMLIFrameElement to comply with the Level 2 DOM, this adds a 'contentDocument' attribute to those two interfaces that can be used to access the document contained in the frame.
git-svn-id: svn://10.0.0.236/trunk@64937 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 14:04:19 +00:00
mjudge%netscape.com
2fd774249a selecting generated content works now. subtree iterator and all. incredible... added new private method to nsTextFrame to factor out some things on getting correct offsets from generated frames. its a no-op almost for non generated frames
git-svn-id: svn://10.0.0.236/trunk@64921 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-02 05:05:31 +00:00
bryner%uiuc.edu
a2f83e6dd1 Turning my changes back on, since they didn't cause the tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@64913 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 23:39:53 +00:00
rods%netscape.com
593123a4e8 Initial checkin of SVG prototype code for Dean Jackson (ifdef'ed)
git-svn-id: svn://10.0.0.236/trunk@64907 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:31:45 +00:00
rods%netscape.com
196674549e Initial checkin of SVG prototype code for Dean Jackson (if def'ed)
git-svn-id: svn://10.0.0.236/trunk@64904 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 22:26:38 +00:00
bryner%uiuc.edu
a610c0fc3a #if 0 this section of code to see if it's causing the tinderbox orange.
git-svn-id: svn://10.0.0.236/trunk@64893 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:58:39 +00:00
bryner%uiuc.edu
45556e0036 This fixes bug 31204 (mousewheel scrolling with pointer over a textfield),
by hooking up the parent document for the editor.  r=jst@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@64891 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 20:09:54 +00:00
troy%netscape.com
eda0fd14bb b=25290 Changed ConstructFrameByTag() to treat FORM frames as floater
containing blocks


git-svn-id: svn://10.0.0.236/trunk@64889 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 18:47:09 +00:00
jst%netscape.com
2b2767bff4 Updating the DOM Node interface to match the DOM Level 2 interface, only stub implemetations so far.
git-svn-id: svn://10.0.0.236/trunk@64881 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 13:31:23 +00:00
jst%netscape.com
3fb4d7189f Removing some code redundancy in the DOM Core implementations, fixing bugs #16585 and #16606.
git-svn-id: svn://10.0.0.236/trunk@64879 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 12:36:16 +00:00
cls%seawood.org
0220b2d70f HP-UX's compiler doesn't like calling delete on a void*. Use PR_Malloc & PR_Free instead. Bug #34040 r=jdunn,evaughan a=leaf
git-svn-id: svn://10.0.0.236/trunk@64858 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 08:35:40 +00:00
tbogard%aol.net
6eda3aac98 Use the docShell APIs to do the Load rather than nsIWebShell methods.
git-svn-id: svn://10.0.0.236/trunk@64816 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:26:21 +00:00
nisheeth%netscape.com
e49cdf0a25 r=troy. Fix for bug 33422. The display style is set to block level for document element frames. The style was defaulting to inline for cases where an XML document did not set a block level display style on the root element.
git-svn-id: svn://10.0.0.236/trunk@64811 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:18:21 +00:00
nisheeth%netscape.com
1de20470ea r=troy. Fix for bugs 8131, 13325.
- We no longer display alternate content for broken images inside image
- We only display the image loading icon during the initial load of an image not if its src attribute is changed via the DOM.
- In AttributeChanged(), se don't call ContentChanged() on the document to reflow the image frame but call the parent frame's ReflowDirtyChild() method instead.


git-svn-id: svn://10.0.0.236/trunk@64808 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:13:51 +00:00
akkana%netscape.com
a66b5d430f 28598: Do dom linebreak conversion on the string before inserting it in the editor.
git-svn-id: svn://10.0.0.236/trunk@64805 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 00:04:46 +00:00
evaughan%netscape.com
c3b9bc7f83 Uninitialized memory fix.
-r scc


git-svn-id: svn://10.0.0.236/trunk@64801 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 22:41:18 +00:00
rods%netscape.com
6a7dbb2964 backing out my changes because of XUL
git-svn-id: svn://10.0.0.236/trunk@64777 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 15:50:56 +00:00
rods%netscape.com
a4235fc535 checkbox and radio now use content-box instead of border-box this makes it
more intuitive to add and resize the borders.
b=32102


git-svn-id: svn://10.0.0.236/trunk@64776 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 15:43:06 +00:00
cls%seawood.org
47bd6dc3cc Please use PR_TRUE & PR_FALSE. Not all C++ compilers support the keywords true & false.
git-svn-id: svn://10.0.0.236/trunk@64763 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 11:09:28 +00:00
rickg%netscape.com
2e3ff29319 fixed silly string usage error
git-svn-id: svn://10.0.0.236/trunk@64760 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:45:55 +00:00
pierre%netscape.com
57f52259cf 17309: set the default timeout in the previous checkin to 2 minutes
git-svn-id: svn://10.0.0.236/trunk@64746 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:04:48 +00:00
mjudge%netscape.com
d50c11711c changed alot here having to do with get position. made it much faster for non-slow frames. (slow=char spacing ect) also removed some code to make the ::GetWidth call factored out so I can reuse it. selection now has a DrawSelectionIterator that spits out the next series of chars and their color ect when drawing selection. this allows us to combine many different types of selection. This also means that XOR is not used here any more. we will hook up selection colors to style shortly in the next week.
git-svn-id: svn://10.0.0.236/trunk@64723 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:26:07 +00:00
mjudge%netscape.com
30a7d8a091 changing troys generated content SUB iterator with changes that he sent me personally. these will allow us to have iterators over generated tables or just plain before or after nodes.
git-svn-id: svn://10.0.0.236/trunk@64721 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:22:38 +00:00
attinasi%netscape.com
9657bf7bed Implemented Style Size Dump. r=rickg b=26565
git-svn-id: svn://10.0.0.236/trunk@64709 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:08:36 +00:00
evaughan%netscape.com
82b44e2844 box skinnablility changes.
-r Hyatt


git-svn-id: svn://10.0.0.236/trunk@64707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 07:02:06 +00:00
troy%netscape.com
b3c08e51a2 Fix for divide by zero I accidently introduced
git-svn-id: svn://10.0.0.236/trunk@64700 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 05:40:35 +00:00
troy%netscape.com
f8ad64e11a Fix non Win32 compiler bustage
git-svn-id: svn://10.0.0.236/trunk@64699 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 05:10:36 +00:00
troy%netscape.com
531ec45b9f Changed text measurement code to use the new rendering context function
that measures chunks or words. Because that function is only implemented
on Win32 the code is #ifdef _WIN32


git-svn-id: svn://10.0.0.236/trunk@64698 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:27:43 +00:00
troy%netscape.com
46036dc8cc Increase the size of the underlying arenas from 2K to 4K. After looking
at a veriety of pages that seems to be a better choice


git-svn-id: svn://10.0.0.236/trunk@64691 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 04:11:28 +00:00
attinasi%netscape.com
f4da5629ff Implemented a timer for loading CSS style sheets to allow content to be displayed if the sheet is taking too long to load. b=17309 r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@64665 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 01:57:54 +00:00
mstoltz%netscape.com
e23c3f29bf Fixed bug 30915 using nsAggregatePrincipal. r=norris
git-svn-id: svn://10.0.0.236/trunk@64652 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 00:31:18 +00:00
akkana%netscape.com
2bffc574a8 28598: map \r and \r\n to \n in form textarea submissions
git-svn-id: svn://10.0.0.236/trunk@64633 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:49:59 +00:00
jst%netscape.com
0bc922f9e2 Fixing bug #32839, HTMLButtonElement.type now returns the correct value.
git-svn-id: svn://10.0.0.236/trunk@64623 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 22:37:12 +00:00
attinasi%netscape.com
094bb4201d Fixed warning from Mac compiler: no prototype for local static function.
git-svn-id: svn://10.0.0.236/trunk@64582 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 07:20:16 +00:00
attinasi%netscape.com
fcb3f69499 Background color for border style -moz-bg-inset and -moz-bg-outset is now obtained from the HTML element instead of nearest ancestor with non-transparent bgcolor (only in Quirks Mode). r=rods b=8524
git-svn-id: svn://10.0.0.236/trunk@64577 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 06:27:32 +00:00
jim_nance%yahoo.com
b1ccfbf2cb Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com


git-svn-id: svn://10.0.0.236/trunk@64566 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 03:21:26 +00:00
pollmann%netscape.com
9ffde740e5 Adding regression tests for recent bug fixes. Not part of the build.
git-svn-id: svn://10.0.0.236/trunk@64542 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:12:00 +00:00
harishd%netscape.com
86c2cbdff0 Fix for 22786 - sink side fix for HTML attributes
git-svn-id: svn://10.0.0.236/trunk@64541 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:07:02 +00:00
pollmann%netscape.com
541d556187 Bug 33699: Allow whitespace in frameset rows and cols spec '*' r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@64538 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 01:03:02 +00:00
pollmann%netscape.com
5cbdfaa09f Bug 33699: Allow whitespace in frameset rows and cols spec '*' r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@64531 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 00:19:13 +00:00
pierre%netscape.com
2d05e32546 #33557 (background-color: inherit on html:input type="text" only appears to check for background color on parent node). MapDeclarationColorInto() should inherit the parent's color on "background: transparent".
git-svn-id: svn://10.0.0.236/trunk@64465 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 06:55:15 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
sfraser%netscape.com
e8c541445e Fix for 26924 -- don't needlessly load the editor dll on shutdown. r=buster.
git-svn-id: svn://10.0.0.236/trunk@64416 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 01:02:34 +00:00
jst%netscape.com
66be28aee8 Fix for bug #32853, we now support setting the 'for' attribute with the name 'htmlFor'.
git-svn-id: svn://10.0.0.236/trunk@64407 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 00:19:00 +00:00
jst%netscape.com
ccdce1534d Replace internal HTML Doctype API with the DOM DocumentType API, HTML documents now get a DOM DocumentType if the file contains one and the DOM DocumentType is ouput if/when the document is saved. This fixes bug #25020.
git-svn-id: svn://10.0.0.236/trunk@64402 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 23:25:26 +00:00
rods%netscape.com
9a12fbc335 Few warning cleanups
Return NS_OK when MouswDown on Combobox (not dropdown), this enables
it to get focus.
b=32144


git-svn-id: svn://10.0.0.236/trunk@64375 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 15:11:16 +00:00
rods%netscape.com
597564d30d When focus doesn't work correctly, and the Combobox gets deleted while the
dropdown is down it can crash. This makes sure the dropdown is rolled up and
unregistered with the rollup listener
b=33149


git-svn-id: svn://10.0.0.236/trunk@64372 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 14:29:15 +00:00
rbs%maths.uq.edu.au
2a99fa3eec [#ifdef MOZ_MATHML: NOT PART OF THE DEFAULT BUILD]. Update a MathML hook for <mtable>
git-svn-id: svn://10.0.0.236/trunk@64350 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:32:54 +00:00