2321 Commits

Author SHA1 Message Date
nisheeth%netscape.com
df55a6d2bc r=buster. bug 31644. FindPrimaryFrameFor() now accounts for "special" frames created when blocks are encountered within inlines.
git-svn-id: svn://10.0.0.236/trunk@63910 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 23:18:56 +00:00
troy%netscape.com
8ab2d40e28 Added generated content iterator
git-svn-id: svn://10.0.0.236/trunk@63871 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 21:05:23 +00:00
mstoltz%netscape.com
6bc9c31751 Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris
git-svn-id: svn://10.0.0.236/trunk@63828 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:53:16 +00:00
cmanske%netscape.com
e15bf8d5b3 Added support for Ctrl+Shift+mouseclick to select block of cells. Rewrote nsITableLayout::nsGetCellData() to be much more efficient, eliminating a method in the process. Implemented nsTableCellFrame::Get[Previous|Next]CellInColumn for cursor key navigation in tables. r=mjudge,karnaze.
git-svn-id: svn://10.0.0.236/trunk@63825 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 04:24:58 +00:00
troy%netscape.com
75d3e8bd33 Adding back changes that were backed out because they broke the Win32
clobber build. The problem building TestAttributes.exe is fixed


git-svn-id: svn://10.0.0.236/trunk@63795 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:34:54 +00:00
buster%netscape.com
f57e02d7a3 fixed optimized vs. debug build problem.
git-svn-id: svn://10.0.0.236/trunk@63791 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-23 00:10:26 +00:00
buster%netscape.com
bf63049426 bug 29595 (and others)
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy


git-svn-id: svn://10.0.0.236/trunk@63783 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 23:19:10 +00:00
jst%netscape.com
0436606d70 Update DOMImplementation, DocumentType and DOM Error codes to match the current DOM Level 2 recommendation, also make HTML documents have a DocumentType if one is given in the file. r=joki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63772 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 22:16:14 +00:00
granrose%netscape.com
8c63097a16 backing out troy.
git-svn-id: svn://10.0.0.236/trunk@63748 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 17:28:54 +00:00
troy%netscape.com
ef085d6975 New code that isn't being used
git-svn-id: svn://10.0.0.236/trunk@63744 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 15:15:48 +00:00
jst%netscape.com
3021373294 Implmentation of the DOM Level 2 DocumentType interface. Not part of the build yet. r=joki
git-svn-id: svn://10.0.0.236/trunk@63742 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 14:38:50 +00:00
troy%netscape.com
d15b0ee243 Work-in-progress that isn't being used. Added stub for returning a content
iterator for generated content


git-svn-id: svn://10.0.0.236/trunk@63713 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 05:53:32 +00:00
dbaron%fas.harvard.edu
8102c58fcf Fix leak of style contexts. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63694 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:54:26 +00:00
dbaron%fas.harvard.edu
0936aaafab Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 02:43:08 +00:00
cmanske%netscape.com
183fd36b13 Removing nsRangeList.cpp -- it is replaced by nsSelection.cpp. this and previous checkin today were reviewed by mjudgensRangeList.cpp
git-svn-id: svn://10.0.0.236/trunk@63682 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:43:40 +00:00
akkana%netscape.com
f74b43d420 23980: convert relative href= and src= to absolute. r=sfraser
git-svn-id: svn://10.0.0.236/trunk@63677 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:33:59 +00:00
jst%netscape.com
90ebc6a542 Reducing the size of text nodes by 4 bytes per node. r=troy
git-svn-id: svn://10.0.0.236/trunk@63671 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-22 01:23:42 +00:00
cmanske%netscape.com
4c4c8e8cf0 Cleaning up selection: changed 'RangeList' to 'Selection', thus changing implementation class of nsIDOMSelection and nsIFrameSelection to nsSelection. File nsRangeList.cpp replaced with new nsSelection.cpp
git-svn-id: svn://10.0.0.236/trunk@63660 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 23:58:02 +00:00
rods%netscape.com
0dc31886a5 the previous var wasn't being set so it went down the wrong code path when adjusting
the child list for creating the fieldset.
b=27151 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63616 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 21:40:23 +00:00
mkaply%us.ibm.com
0c7a6dba2f # 24199
r= pierre@netscape.com
BiDi - ability to change the default direction of the browser


git-svn-id: svn://10.0.0.236/trunk@63595 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:51:59 +00:00
cmanske%netscape.com
c17820c113 Turned off debug output for table selection. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63592 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 15:40:34 +00:00
cmanske%netscape.com
9c9491d705 Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63550 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 06:04:02 +00:00
norris%netscape.com
304b246cd7 Added UpdatePrincipal function to support multiple signed scripts in a document. r=norris
git-svn-id: svn://10.0.0.236/trunk@63538 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:09:58 +00:00
nisheeth%netscape.com
9317eafd78 r=pollmann. Bug 30916. Content IDs are created for HTML elements created in the HTML content sink, XML content sink and dynamically via JS. The content ID counter is maintained by the document.
git-svn-id: svn://10.0.0.236/trunk@63529 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 03:25:16 +00:00
jst%netscape.com
d639a6b9e5 Remove the last virtual fuctions from nsGenericElement, this reduces the size of most element nodes in mozilla by 4 bytes. r=troy@netscape.com,bruce@cybersight.com
git-svn-id: svn://10.0.0.236/trunk@63511 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 01:29:01 +00:00
rods%netscape.com
e9d2e2d814 Added aIsOutline to arg to RenderSize so it can do the right thing when
drawing outlines. Also got rounded outlines to work (not dashed)
Added #if for PaintOuline to control whether it paints on the inside or outside
of the frame.
b=18579 r=dcone


git-svn-id: svn://10.0.0.236/trunk@63397 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:41:00 +00:00
rods%netscape.com
82ece3a6a1 Removed a lot of unneeded for for creating viewes for GfxList (experiment and ifdef'ed out)
Now uses GetOptionsContainer to get the frame container for adding options
needed for differences in List and GfxList
b=18895 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@63396 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 14:25:02 +00:00
bryner%uiuc.edu
857da77e99 Fix a leak of the device context. r=bruce.
git-svn-id: svn://10.0.0.236/trunk@63366 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 04:10:13 +00:00
jst%netscape.com
8a0ea8c8e5 Backing out my last change since it broke the tree, sorry.
git-svn-id: svn://10.0.0.236/trunk@63363 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 03:11:52 +00:00
jst%netscape.com
f68730e139 Removing the last virtual functions from nsGenericElement, this reduces the size of every element object by 4 bytes. r=troy@netscapce.com
git-svn-id: svn://10.0.0.236/trunk@63356 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-18 01:55:47 +00:00
jst%netscape.com
96aefc9b5d Landing changes Vidur made while the tree was closed for beta1 work, here's a list of the changes. r=me
[1] Cutting down the size of content. Made nsIJSScriptObject inherit from nsIScriptObjectOwner
[2] Cutting down the size of content. Made nsITextContent inherit from nsIContent.
[3] Cutting down the size of content. Moved implementation of nsIDOMReceiver to nsListenerManager. This is not true aggregation since it isn't transitive, but it's OK for now. It will be necessary for nsListenerManager to have a reference to its content in the future anyway, so the transitivity could be done.

dom/public/nsDOMPropEnums.h,v  - bug 12559
dom/public/nsIJSScriptObject.h,v - [1]
dom/public/html/MANIFEST,v - bug 12559
dom/public/html/Makefile.in,v - bug 12559
dom/public/html/makefile.win,v -  bug 12559
dom/public/html/nsIDOMHTMLInputElement.h,v - bug 17544
dom/public/idl/html/HTMLAnchorElement.idl,v - bug 12559
dom/public/idl/html/HTMLAreaElement.idl,v - bug 12559
dom/public/idl/html/HTMLInputElement.idl,v - bug 17544
dom/src/base/nsGlobalWindow.cpp,v - bug 30700
dom/src/base/nsGlobalWindow.h,v - [1]
dom/src/base/nsLocation.cpp,v - [1]
dom/src/html/nsJSHTMLAnchorElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLAreaElement.cpp,v - bug 12559
dom/src/html/nsJSHTMLInputElement.cpp,v - bug 17544
layout/base/public/nsIDocument.h,v - bug 27953
layout/base/public/nsITextContent.h,v - [2]
layout/base/src/nsCommentNode.cpp,v - [2]
layout/base/src/nsDocument.cpp,v - bug 27953
layout/base/src/nsDocument.h,v - bug 27953
layout/base/src/nsDocumentViewer.cpp,v - bug 27953
layout/base/src/nsGenericDOMDataNode.cpp,v - [3]
layout/base/src/nsGenericDOMDataNode.h,v - [3]
layout/base/src/nsGenericElement.cpp,v - [3]
layout/base/src/nsGenericElement.h,v - [3]
layout/base/src/nsNameSpaceManager.cpp,v - bug 7834
layout/base/src/nsStyleContext.cpp,v - outline property shouldn't reflow
layout/base/src/nsTextNode.cpp,v - [2]
layout/events/src/nsEventListenerManager.cpp,v - [3]
layout/events/src/nsEventListenerManager.h,v - [3]
layout/html/base/src/nsGfxScrollFrame.cpp,v - nsString->nsAutoString
layout/html/content/src/nsAttributeContent.cpp,v - [2]
layout/html/content/src/nsHTMLAnchorElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAppletElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBaseFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLBodyElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLButtonElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDirectoryElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLDivElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLEmbedElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFieldSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFontElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFormElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLFrameSetElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHRElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHeadingElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLHtmlElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIFrameElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLImageElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInputElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLInsElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLIsIndexElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLIElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLabelElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLayerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLegendElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLLinkElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMapElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMenuElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLMetaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLModElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLObjectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLOptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParagraphElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLParamElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLPreElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLQuoteElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLScriptElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSelectElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpacerElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLSpanElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLStyleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCaptionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableCellElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableColGroupElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableRowElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTableSectionElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTextAreaElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLTitleElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLUListElement.cpp,v - [1][3]
layout/html/content/src/nsHTMLWBRElement.cpp,v - [1][3]
layout/html/document/src/nsHTMLDocument.cpp,v - bug 27953
layout/html/document/src/nsHTMLDocument.h,v - bug 27953
layout/xml/content/src/nsXMLCDATASection.cpp,v - [1][2]
layout/xml/content/src/nsXMLDocumentType.cpp,v - [1][2]
layout/xml/content/src/nsXMLElement.h,v - [1][2]
layout/xml/content/src/nsXMLEntity.cpp,v - [1][2]
layout/xml/content/src/nsXMLNotation.cpp,v - [1][2]
layout/xml/content/src/nsXMLProcessingInstruction.cpp,v - [1][2]
layout/xul/base/src/nsBoxFrame.cpp,v - nsString->nsAutoString
layout/xul/base/src/nsSliderFrame.cpp,v - nsString->nsAutoString
netwerk/protocol/http/src/nsHTTPRequest.cpp,v - nsString->nsAutoString
rdf/content/src/nsXULDocument.cpp,v - bug 27953
rdf/content/src/nsXULDocument.h,v - bug 27953
rdf/content/src/nsXULElement.h,v - [1]
xpcom/base/IIDS.h,v  - bug 12559


git-svn-id: svn://10.0.0.236/trunk@63290 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 13:27:00 +00:00
pierre%netscape.com
c84deb6d8c Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.

In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.


git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
troy%netscape.com
c35e4c1e39 b=31451 Made sure we only set the NS_FRAME_OUT_OF_FLOW frame state bit
if the frame is actually out of the flow


git-svn-id: svn://10.0.0.236/trunk@63253 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 05:10:37 +00:00
cmanske%netscape.com
0182e7fbc7 Fixed problems when dragging off a table during table selection. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63249 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 04:24:04 +00:00
buster%netscape.com
bd79e065d4 fixed VerifyReflow, an important debugging tool for the layout team
no bug number
r=troy


git-svn-id: svn://10.0.0.236/trunk@63232 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 01:50:54 +00:00
cmanske%netscape.com
5552ecf613 Fixed linux build bustage. Used '.get()' when I shouldn't have! r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63214 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 00:27:43 +00:00
cmanske%netscape.com
5ab9b7f9df Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
git-svn-id: svn://10.0.0.236/trunk@63201 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 23:45:39 +00:00
dbaron%fas.harvard.edu
a915f864a2 Fix a leak of a device context. r=dcone@netscape.com
git-svn-id: svn://10.0.0.236/trunk@63114 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-16 01:21:58 +00:00
rods%netscape.com
30ed3f06f4 removed ifdef's and replaceed them with if/then/else for GFX Lists and Dropdowns,
now they can be turned on with a boolean instead. This will help with debugging later
r=dcone, b=18895


git-svn-id: svn://10.0.0.236/trunk@63052 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:45:29 +00:00
troy%netscape.com
00091b65e3 b=24343 r=karnaze@netscape.com Changes so we properly lay out after changing
the font using the pref UI. Block and table code changed to handle
eReflowReason_StyleChange


git-svn-id: svn://10.0.0.236/trunk@63049 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 15:16:03 +00:00
troy%netscape.com
a0f2ac4e06 b=21903. Fixes a crash when absolutely positioning a form element. The
problem was no space manager was getting created for the form's frame


git-svn-id: svn://10.0.0.236/trunk@63004 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:38:08 +00:00
dcone%netscape.com
bc91a76ba9 Put in a canonical pixel scale when images are being read in for the size. This reduces
the printer images sizes considerably.  r=kmclusk.


git-svn-id: svn://10.0.0.236/trunk@62999 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 04:24:21 +00:00
hyatt%netscape.com
a19b6cd72b Landing new progressmeter.
git-svn-id: svn://10.0.0.236/trunk@62993 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 03:16:43 +00:00
rhp%netscape.com
bb8cdfecb1 Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589
git-svn-id: svn://10.0.0.236/trunk@62973 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 01:47:36 +00:00
rods%netscape.com
dcaa76aa21 preparing for GFX listboxes and dropdowns. This ifdefs the creation code so I
can turn them on and off.
b=18895


git-svn-id: svn://10.0.0.236/trunk@62928 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 12:03:21 +00:00
hyatt%netscape.com
b5f669c6b3 Enhancing XBL. Making tabs boxes. Moving code from titledbutton to button.
git-svn-id: svn://10.0.0.236/trunk@62912 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 11:09:46 +00:00
troy%netscape.com
d7b97b6876 b=24125. For INPUT elements we use value of NAME attribute as fallback
for alternate text


git-svn-id: svn://10.0.0.236/trunk@62874 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 05:30:00 +00:00
troy%netscape.com
c6677cbff9 b=29893. Pollmann had added code to keep us from crashing. I made sure
that the correct tiling behavior happened in the case where the viewport
isn't scrollable


git-svn-id: svn://10.0.0.236/trunk@62861 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-14 04:55:42 +00:00
buster%netscape.com
881ea59787 bug 28553. removed pref that controlled previous fix, since that fix is good to go.
r=troy
a=rickg


git-svn-id: svn://10.0.0.236/trunk@62752 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-13 02:40:18 +00:00
rickg%netscape.com
1bd57cb94b removed calls to deprecated string methods
git-svn-id: svn://10.0.0.236/trunk@62707 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-12 09:14:14 +00:00