joki%netscape.com
c22fd60f54
More support for onresize and onscroll, bug 960
2000-05-17 06:53:58 +00:00
joki%netscape.com
08d1d06617
fix for resize event support, bug 960, and additional support for DOM 2 events.
2000-05-17 05:27:22 +00:00
evaughan%netscape.com
d4513de096
Fixed bug that crashed when menus are used with native scrollbars.
2000-05-17 04:45:44 +00:00
jst%netscape.com
930a889eb7
Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value.
2000-05-17 00:21:53 +00:00
karnaze%netscape.com
854d511d3e
bug 28811, 29459, 32507 - added flag to reflow state to handle table cells.
...
changed table min and max width calculations to include percent and proportional cells.
Include border and padding in min table width calc.
2000-05-16 22:55:34 +00:00
akkana%netscape.com
d39b10a680
Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection.
2000-05-16 22:48:28 +00:00
cmanske%netscape.com
7bc7684765
Changed comments to accurately describe HandleTableSelection parameters
2000-05-16 03:31:28 +00:00
shaver%mozilla.org
2da0ab457d
Significantly reduce the amount of time we blow on style reresolution by
...
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those. In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away. Fixed 38378, r=brendan, booyah.
Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code. Fixed 21879, r=brendan, boo_yah_.
2000-05-16 02:43:33 +00:00
mjudge%netscape.com
91c9ce3a57
legal changes
2000-05-15 14:22:03 +00:00
evaughan%netscape.com
2316308130
1) Scrolling menus
...
2) many bug fixes
3) box debuging flags
2000-05-15 04:12:31 +00:00
buster%netscape.com
28ff35585a
adding constants for reflow notification, from Thomas Lendacky (toml@us.ibm.com)
...
r=buster
2000-05-15 03:36:34 +00:00
jst%netscape.com
cb9ed532cf
More utility frunctions in nsINodeInfoManager.
2000-05-14 23:45:32 +00:00
jst%netscape.com
4b767ec567
Adding more utility functions to nsINodeInfo.
2000-05-14 18:34:35 +00:00
mjudge%netscape.com
db0ca25636
adding method to remove scrollbars
2000-05-13 23:00:53 +00:00
mjudge%netscape.com
45dff76e4c
shoudl not have been in the tree
2000-05-13 08:34:58 +00:00
mjudge%netscape.com
8614218bbb
this should not have been in the tree
2000-05-13 08:34:33 +00:00
mjudge%netscape.com
658ec8a0c9
shoudl not have had the .h in the tree
2000-05-13 08:34:04 +00:00
mjudge%netscape.com
320b76a769
exporting new apis for nsIXIFConverter and forcing nsidocument and nsicontent to use them
2000-05-13 08:06:37 +00:00
mjudge%netscape.com
2ecda101f0
lets you set the view to be scrolled
2000-05-13 08:06:13 +00:00
mjudge%netscape.com
6efafbcd8b
marking owner
2000-05-13 08:05:42 +00:00
mjudge%netscape.com
7f8b273853
marking comment
2000-05-13 06:38:06 +00:00
mjudge%netscape.com
19ed723376
xif converter interface
2000-05-13 06:37:01 +00:00
mjudge%netscape.com
305f627ad1
used to set specific under the hood settings on nsIDOMSelection
2000-05-13 06:36:30 +00:00
sfraser%netscape.com
4919f300cb
WIP for bug 33810 -- add an image animation enum, and getters and setters in the pres context
2000-05-13 01:39:20 +00:00
jst%netscape.com
f9fe8d6f06
Add GetNodeInfo() to nsIContent.
2000-05-12 14:09:28 +00:00
jst%netscape.com
f0dce37b28
Add a SetAttribute method to nsIContent that takes a nsINodeInfo parameter.
2000-05-12 13:46:59 +00:00
mjudge%netscape.com
55912eddb8
changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret.
2000-05-11 04:25:43 +00:00
nisheeth%netscape.com
2277ba5c45
Add support for loading an XML document from script within a XUL document also.
2000-05-10 23:02:32 +00:00
jst%netscape.com
ee4b181034
Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com.
2000-05-10 13:13:39 +00:00
hyatt%netscape.com
334e31b473
XBL now works with HTML, XUL, SVG, MathML, and XML!
2000-05-09 21:42:40 +00:00
jst%netscape.com
02a6c2e0e3
Checking in new files for (the not yet checked in) shared node info code. Not part of the build yet. r=buster@netscape.com
2000-05-08 14:29:44 +00:00
mjudge%netscape.com
b0fb7f6753
tabbing
2000-05-08 04:00:26 +00:00
michael.lowe%bigfoot.com
468689c637
Implement CSS3 cursors on Windows
2000-05-07 05:14:43 +00:00
erik%netscape.com
0f1eec05eb
bug 26237; added support for HTML LANG attribute -- it now uses the fonts
...
specified by the user for elements with the LANG attribute when the font
is a CSS generic (e.g. serif); r=pierre
2000-05-05 21:04:36 +00:00
shaver%mozilla.org
54a1f23972
first part of ContentPolicy stuff ( #37983 , r=brendan)
2000-05-05 05:28:49 +00:00
karnaze%netscape.com
a02cdba83c
bug 37037, 37490, and a table paganation problem when captions are present.
2000-05-04 23:16:42 +00:00
mjudge%netscape.com
24e9fbcab6
stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out.
2000-05-04 08:35:42 +00:00
mjudge%netscape.com
dd57ceb32d
new api for limiter in selection
2000-05-02 03:44:17 +00:00
nisheeth%netscape.com
7e37fb4356
1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
...
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +00:00
rods%netscape.com
1a88c07953
added two additional methods for capturing and dumping of reflow stats
2000-04-28 23:31:13 +00:00
karnaze%netscape.com
65511dc8d6
new reflow/layout code for outer table to handle captions and margins. better % height handling.
...
row groups and rows don't include external cellspacing in there dimensions. r=troy.
2000-04-28 21:05:31 +00:00
mjudge%netscape.com
7e5a6b3cd7
change to move selection interfaces to nsISelectionController and away from nsIPresShell or nsIDocument
2000-04-28 06:21:31 +00:00
mjudge%netscape.com
2c0953e1be
ender lite checkin.
2000-04-27 07:37:12 +00:00
akkana%netscape.com
5709d8739f
Change Save File APIs in layout and editor to eliminate the specific
...
references to text and html and make them more general (take a mime type).
In the editor, prettyprint all output if editor.prettyprint_html is set.
2000-04-26 01:00:50 +00:00
troy%netscape.com
6b04c3b5fa
Reinstated clipping code which had been backed out because it caused
...
a problem for XUL layout. I added a workaround for the XUL problem
2000-04-25 04:43:11 +00:00
putterman%netscape.com
e25d9a73e7
Backing out troy's changes to fix various UI blocker bugs.
2000-04-24 22:21:56 +00:00
joki%netscape.com
bbb0086bfe
fixes for 5995, 7304, 10573, 22832, and 9668.
...
Changes to event handling to deal with reentrant events, cursor fixes, and return value fixes.
2000-04-24 04:41:27 +00:00
troy%netscape.com
9b393faa48
Changes to bring clipping inline with upcoming CSS2 errata
2000-04-23 00:56:16 +00:00
rods%netscape.com
21de9f3e8a
Add ifdef'ed Performance Reflow Counting code
2000-04-21 14:59:47 +00:00
pierre%netscape.com
0a1b7cc547
Implemented i18n list-style-types. Thanks to bakibon@yahoo.com.
2000-04-21 08:05:29 +00:00
anthonyd%netscape.com
815b66f915
drawing selection as tri-state. on-off-disabled. hardcoded disable color to grey right now. r=mjudge
2000-04-20 23:11:41 +00:00
troy%netscape.com
1dd648e53d
Added "canvasFrame" frame type atom
2000-04-18 23:05:15 +00:00
nisheeth%netscape.com
7b7f9d1021
Fix for bug 30958: Reflow commands are now processed asynchronously all the time. The semantics of the API for queuing and processing reflow commands has changed. Now, AppendReflowCommand() initiates an asynchronous reflow event and all reflow command processing happens when that event fires. It is no longer possible for consumers outside the presentation shell to call ProcessReflowCommands() synchronously. Because of this change, reflow locks are no longer needed and have been removed.
2000-04-17 07:13:57 +00:00
troy%netscape.com
79bc68e107
New rules for absolute positioning
2000-04-16 04:07:02 +00:00
troy%netscape.com
fa748dfc10
Added GetIntrinsicSize() function
2000-04-15 15:49:03 +00:00
pierre%netscape.com
614a9a491c
33710 "background-color: inherit doesn't work correctly". Split the NS_STYLE_BG_PROPOGATED flag into 2 flags: NS_STYLE_BG_PROPAGATED_TO_PARENT and NS_STYLE_BG_PROPAGATED_FROM_CHILD. MapDeclarationColorInto() fetches the color from the grand-parent if PROPAGATED_TO_PARENT is set.
2000-04-15 10:38:13 +00:00
mjudge%netscape.com
a6cd29e49c
new file changes to get working for autocopyt from selection
2000-04-14 11:15:58 +00:00
mjudge%netscape.com
9d2ab1e2fa
adding in export of nsIAutoCopy.h
2000-04-14 11:15:34 +00:00
mjudge%netscape.com
212f449ecf
not in build yet.
2000-04-14 06:18:36 +00:00
mjudge%netscape.com
5c4c46cd0d
table cell selection now shows up background. also small fix for nsBlockFrame to do the right thing for mouse capture.
2000-04-13 20:21:32 +00:00
hyatt%netscape.com
aa7305bcb3
Elimination of nsIFocusableContent and improvements to tabbing r=saari
2000-04-04 23:55:31 +00:00
erik%netscape.com
72dbd2f6e8
bug 30022; added Set/Get TextZoom for enlarging/reducing fonts only; also
...
factored some code to reduce duplication; r=pierre,troy
2000-04-02 21:52:17 +00:00
nisheeth%netscape.com
0111dba11b
Fix for bug 15086. These changes bring us up to date with the Feb 2000 XLink Working Draft. Thanks a lot to Heikki (heikki@citec.fi) for providing these patches.
2000-04-01 00:39:15 +00:00
mjudge%netscape.com
772d9f433a
changing bitflags for selection types. well they are bitflags now
2000-03-31 07:14:39 +00:00
mjudge%netscape.com
988739343b
adding in new init methods for the new nsGeneratedContentIterator!
2000-03-31 07:14:02 +00:00
attinasi%netscape.com
1621b39d9e
Implemented Style Size Dump. r=rickg b=26565
2000-03-31 07:08:36 +00:00
evaughan%netscape.com
53b00e50f0
box skinnablility changes.
...
-r Hyatt
2000-03-31 07:02:06 +00:00
akkana%netscape.com
7a61aa1ec0
Fix an entity bug for Naoki: Japanese entities weren't being correctly
...
pasted. This also fixes the symptoms, but not the underlying cause,
of the html mail nbsp bug. r=nhotta
2000-03-28 00:10:44 +00:00
pierre%netscape.com
924dd819c1
#3371 . Implemented css2/css3 system fonts. GFX on Windows and GTK needs to be completed.
2000-03-25 18:54:36 +00:00
morse%netscape.com
c15ec9e970
fix bug 32374, block foreign images
2000-03-25 07:09:25 +00:00
pollmann%netscape.com
0be5605d38
Bug 32702: Rename GetHistoryState to CaptureHistoryState (as it is), and add GetHistoryState method, r=nisheeth
2000-03-24 03:36:58 +00:00
mstoltz%netscape.com
319b923a3a
Changed UpdatePrincipal to AddPrincipal; it takes an input parameter now instead of an inout parameter; this is clearer. r=norris
2000-03-23 04:53:16 +00:00
troy%netscape.com
e2d0184d5a
Adding back changes that were backed out because they broke the Win32
...
clobber build. The problem building TestAttributes.exe is fixed
2000-03-23 00:34:54 +00:00
buster%netscape.com
1c6eca645a
bug 29595 (and others)
...
fixes layout of pages where a single line is impacted by 2 or more floaters
r=troy
2000-03-22 23:19:10 +00:00
granrose%netscape.com
05d856bd16
backing out troy.
2000-03-22 17:28:54 +00:00
troy%netscape.com
3c95a04c10
New code that isn't being used
2000-03-22 15:15:48 +00:00
dbaron%fas.harvard.edu
87e19c9cef
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.
2000-03-22 02:43:08 +00:00
akkana%netscape.com
46ace3d54b
23980: convert relative href= and src= to absolute. r=sfraser
2000-03-22 01:33:59 +00:00
mkaply%us.ibm.com
38d09a352a
# 24199
...
r= pierre@netscape.com
BiDi - ability to change the default direction of the browser
2000-03-21 15:51:59 +00:00
cmanske%netscape.com
01933d5726
Fixed bugs in table selection. Added improvements to facilitate row and column selection. r=mjudge
2000-03-21 06:04:02 +00:00
norris%netscape.com
0ac075877f
Added UpdatePrincipal function to support multiple signed scripts in a document. r=norris
2000-03-21 04:09:58 +00:00
nisheeth%netscape.com
77b74c100d
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.
2000-03-21 03:25:16 +00:00
jst%netscape.com
872a669579
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
2000-03-17 13:27:00 +00:00
pierre%netscape.com
4d43de09aa
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.
2000-03-17 10:15:13 +00:00
cmanske%netscape.com
2824049212
Added support for table selection and removed nsIDOMSelectionListener code no longer needed. r=mjudge
2000-03-16 23:45:39 +00:00
rhp%netscape.com
4e23d61267
Changes to fix many bugs including quoting style size - vcard I18N fixes - compose fixes - etc - Bug #: 12505 25610 29806 30048 30744 31207 31589
2000-03-15 01:47:36 +00:00
rhp%netscape.com
2a2aea124b
Just adding a new file to the tree. THIS IS NOT PART OF ANY BUILD!
2000-03-05 17:26:58 +00:00
buster%netscape.com
28ac469ac6
fixed bug 27161 by adding interfacs onto nsIPresShell to get/set the "subshell" for an nsIContent
...
r=travis
a=jar
2000-03-03 23:15:29 +00:00
tbogard%aol.net
4eec4fb506
nsIPref is no longer passed around through inits on webshell, content viewers and presContext. In places where it is needed, it can be retrieved from the service manager. I removed a number of the getters and setters for prefs as the prefs will be the same from the service manager so we don't need getters. r=waterson a=rickg
2000-03-02 07:13:02 +00:00
dbaron%fas.harvard.edu
e0c71d1e53
Fix bug 15428 as suggested by VYV03354@nifty.ne.jp . Stop using 0 as the initial values for min and max of inline box contents so that lines that do not (vertically) contain their own baseline are sized correctly. Also, correctly size BR frames using their line-height (for strict-mode only).
...
Fix bugs 24186, 26996, and 26998 by reworking the quirks-mode line-height handling so that inline elements that do not have text as children (or meet a few other conditions that show the author wants real CSS support) will not increase the size of the line, but will be as close to their correct size as possible without enlarging the line. This fix includes emulation of the strange Nav4/IE quirk that a block's line-height is enforced on the first line of LI elements and the last line of LI, DD, and DT elements. Many of the changes are removing an earlier fix for 24186.
r=buster
2000-02-15 04:26:44 +00:00
vidur%netscape.com
d4b67b3219
Fix for bug 9140. Area elements now have event fired for them. r=joki
2000-02-11 01:24:59 +00:00
mjudge%netscape.com
b32999a1de
big checkin. fixing problems blocking Cmanske (also a reviewer). Checking in preliminary for gen content.(nothing damaged yet) lots of bug numbers not going to look them up, the tree just opened.
2000-02-10 04:35:51 +00:00
evaughan%netscape.com
b361107ebe
1) implememted box reflow coelescing.
...
2) implemented gfx scrollbars for list boxes
3) fixed progess meter to be an animated gif
4) fixed bugs 23521, 24721, 19114, 20546, 24385, 24457, 23156, 20226, 22543
-r hyatt, troy, rod
2000-02-09 22:02:40 +00:00
kmcclusk%netscape.com
cd6f5d237b
Prevent synchronous paints during reflows bug 20150; r=rods@netscape.com
...
Call SetTextAlign within SetupDC instead of in each DrawString on WIN32. bug 26973; r=rods@netscape.com
2000-02-09 15:48:01 +00:00
dbaron%fas.harvard.edu
bf2b8a41ed
Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
...
r=joki
2000-02-03 02:49:58 +00:00
troy%netscape.com
792c9c1053
r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
...
so we can quickly tell whether the frame has an associated view
2000-02-03 00:51:37 +00:00
vidur%netscape.com
e8157b30cb
Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
2000-01-28 23:43:12 +00:00
karnaze%netscape.com
bce1929fcf
bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
...
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.
2000-01-28 02:19:45 +00:00
nisheeth%netscape.com
44c1cfd98b
Fix for bug 10818. r=troy. Add reflow batching APIs to the pres shell.
2000-01-28 00:48:02 +00:00
norris%netscape.com
7ec9655d07
Fix 23227 Document object vulnerability
...
r=mstoltz
2000-01-26 15:33:57 +00:00
nisheeth%netscape.com
9c6617b147
r=vidur. Add support for a new pref "layout.reflow.async.afterDocLoad" that enables async reflow in the pres shell only after the document is done loading. Cleaned up ExitReflowLock() so that it uses preferences to decide whether to do async reflow, not a parameter.
2000-01-25 16:00:44 +00:00
rods%netscape.com
d770d65d07
Added "const" infront of the arg for SetDefaultFont and SetDefaultFixedFont
...
r=pierre b=905
2000-01-25 14:33:03 +00:00
rods%netscape.com
f40d94ae94
Added new flag for scrolling a frame if it isn't visible
...
r=troy b=18649
2000-01-25 14:31:41 +00:00
pierre%netscape.com
0ff017366d
Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'.
2000-01-24 11:19:55 +00:00
nisheeth%netscape.com
22a5959edb
Work done by Vidur and me. Added a FlushPendingNotifications() method to the document. This method flushes the pending content notifications from the content sink and the pending reflow notifications from the pres shell. This code is turned off for now so that it can be tested more thoroughly by Vidur and me.
2000-01-24 06:43:15 +00:00
troy%netscape.com
8a78d916a5
b=21657 a=chofmann@netscape.com Made "overflow list" a full fledged
...
child list and changed ReparentFrameView() to check it.
2000-01-22 01:16:50 +00:00
hyatt%netscape.com
cd53596229
Adding an interface for the creation of elements. r=waterson
2000-01-19 03:09:12 +00:00
bryner%uiuc.edu
6012d905b7
Make trees capable of scrolling by full pages with the mouse wheel.
...
General cleanup and additions to mousewheel debugging code (which is
#ifdef DEBUG_scroll). r=hyatt.
2000-01-16 05:30:49 +00:00
hyatt%netscape.com
47efa41faf
Forgot to check in a file.
2000-01-14 11:20:15 +00:00
hyatt%netscape.com
e740cdb714
Fixes for bugs 17460 and 21656. r=travis
2000-01-14 09:28:54 +00:00
hyatt%netscape.com
f46bc1840c
Adding a new interface for retrieving/setting state information on form
...
controls.
2000-01-14 00:43:39 +00:00
nisheeth%netscape.com
56525e3574
r=troy. Reflow commands are now coalesced by block and inline frames. This fixes bug 985 in which we now generate 6 reflow commands instead of 257.
2000-01-12 08:28:24 +00:00
hyatt%netscape.com
21a48fa26a
adding behavior property to CSS. r=brendan
2000-01-11 03:40:41 +00:00
kin%netscape.com
c64a6e60c8
Fix for bug #21029 : Caret get's wrong offset when parent not a text node
...
mozilla/layout/base/public/nsIFrameSelection.h
- Added aReturnOffset arg to GetFrameForNodeOffset().
mozilla/layout/base/src/nsCaret.cpp
- mLastContentOffset now gets it's value from the offset
returned by GetFrameForNodeOffset().
mozilla/layout/base/src/nsRangeList.cpp
- GetFrameForNodeOffset() now returns an offset to be used
with the result frame.
r=mjudge@netscape.com ,jfrancis@netscape.com
2000-01-10 15:32:42 +00:00
pierre%netscape.com
4951a0cfe4
12825 "Need new 'overflow' values to control scrollbar visibility". Added -moz-scrollbars-none, -moz-scrollbars-horizontal and -moz-scrollbars-vertical.
2000-01-10 03:23:44 +00:00
mjudge%netscape.com
dcbf3266bd
r= kin. fix for another parameter. fixing m13 bug with multiple selection.
2000-01-08 00:31:32 +00:00
rbs%maths.uq.edu.au
f11d46f904
[#ifdef MOZ_MATHML] Added extension to the reflow metrics to support the bounding metrics needed for precise MathML placements. This is a WIP approved by Troy.
2000-01-07 14:36:43 +00:00
jst%citec.fi
25d2340ed0
Fixing bug 12181 (removing static IID's). r=troy@netscape.com
2000-01-04 20:24:09 +00:00
troy%netscape.com
8791b810ba
Added new #define NS_SHRINKWRAPWIDTH that specifies that a frame should
...
shrink wrap its width (paying attention to the maximum computed width). Mostly
complete implementation for block frames
2000-01-03 04:32:13 +00:00
troy%netscape.com
138fa22a88
Work-in-progress for having maximum width (needed by tables) be updated
...
incrementally
1999-12-30 04:15:45 +00:00
pierre%netscape.com
bdf8bc768d
16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft):
nsCSSDeclaration.cpp
nsCSSParser.cpp
nsCSSPropList.h
nsCSSStyleRule.cpp
nsICSSDeclaration.h
nsIStyleContext.h
nsStyleContext.cpp
nsCSSRendering.cpp
1999-12-22 11:27:10 +00:00
ftang%netscape.com
982fa55c82
partial fix for bug 15533 (size part). 1. change the return value from nsPiont to nsRect. Change widget code to reflect the change. In Gtk, change XIM FontSet based on the rect height. r=cata a=chofmann
1999-12-22 07:56:40 +00:00
pierre%netscape.com
855dc040ea
Added the CSS2 printing extensions to the style system (page breaks, page size...). They are not used by Layout yet.
1999-12-22 05:00:47 +00:00
vidur%netscape.com
272db862ac
Fix for bug 17726. Text.splitText now creates the correct type of node. Added nsITextContent::CloneContent to enable cloning without copying of the text. a=dagley r=nisheeth
1999-12-22 01:51:58 +00:00
jband%netscape.com
ef9c82db1e
Landing big set of DOM and XPConnect changes:
...
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.
XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.
Also, xpconnect tests are reorganized and improved.
fixes bugs: 13419, 17736, 17746, 17952, 22086
r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
alecf%netscape.com
251b1f466b
fix for #21417
...
r=troy, a=chofmann
the editor's internal mDisplayFrame was not being removed from the frame manager's map of content->frames, so after enough scrolling in the addressing pane, reflow would try to reference a deleted frame. Fix is to remove the frame from the frame manager every time it's destroyed.
1999-12-17 03:28:50 +00:00
mjudge%netscape.com
a2b920ea2f
new idl for line up/down scrolling
1999-12-15 03:56:32 +00:00
mjudge%netscape.com
b51f84b3de
massive changes a=jar.hoffman, r=akkana
1999-12-11 00:02:08 +00:00
evaughan%netscape.com
29c18fc081
1) created an nsIScrollableFrame interface make it possible for Chris K to fix PDP+ bug #12122
...
-r Troy
1999-12-07 03:36:05 +00:00
rods%netscape.com
771292a12d
Should have left off the ":"
...
r=self
1999-12-06 23:05:52 +00:00
rods%netscape.com
85da5d9cdf
adding :-moz-option-selected
...
r=kmcclusk
1999-12-06 22:57:24 +00:00
troy%netscape.com
85012ab550
Change to how overflow is handled for absolutely positioned elements.
...
We no longer use nsIAraeFrame and now it's folded into the overflow
area in the reflow metrics
1999-12-06 15:49:53 +00:00
nisheeth%netscape.com
24d990e18b
Fix for bugs 16709, 20771. Frame state is stored before frame hierarchies are deleted and restored when the frame hierarchies are reconstructed.
1999-12-06 07:44:18 +00:00
hyatt%netscape.com
de2eaede42
Implementing a generalized recycler and arena for all layout frames. Hoping to improve
...
bug #9489 . Should also definitely fix bug #15916 . r=troy
1999-12-04 23:49:50 +00:00
tbogard%aol.net
eb96099e6d
1.) WebShell no longer implements nsIScriptContextOwner.
...
2.) WebShell now implements the new nsIScriptGlobalObjectOwner.
3.) WebShell supports GetInterface to nsIScriptGlobalObject.
4.) Documents no longer carry around a reference to nsIScriptContextOwner. Instead they hold on to a nsIScriptGlobalObject. nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject(). Same change to the set methods.
1999-12-03 09:24:22 +00:00
akkana%netscape.com
eba687860e
Forgot to add the idl file to the makefile
1999-12-02 22:36:34 +00:00
sfraser%netscape.com
cd8ed2876b
Add nsISelectionController.idl for akkana.
1999-12-02 22:31:17 +00:00
akkana%netscape.com
fcd5b16fd6
18046: IDL implementation of nsISelectionController from sford4@netscape.net,
...
and the infrastructure to hook it up.
This also changes the spelling from nsISelectionControler. r=mjudge
1999-12-02 21:45:21 +00:00
danm%netscape.com
d25d8e587a
adding 'close' xul event handler. part of bug 13695. r:hyatt@netscape.com
1999-12-01 22:35:33 +00:00
hyatt%netscape.com
7ab98f7f26
Adding RemoveStyleSheet to nsIDocument (needed for skins). r=waterson
1999-11-29 22:15:07 +00:00
vidur%netscape.com
dd88339f19
Fixes for 19650 and 15133. Added nsHTMLDocument::Resolve(). Script event handler compilation is deferred till when the event handler is first invoked. Atoms used for event name comparisions instead of strings. R=joki
1999-11-25 00:05:21 +00:00
tbogard%aol.net
af1ce8d410
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
1999-11-24 06:03:41 +00:00
pierre%netscape.com
096c23050e
12520 "GFX select elements need to be able to turn off text". Changed nsFrame::DisplaySelection to use the parent's mUserSelect similarly to what we do with mCursor in nsFrame::GetCursor. r=mjudge.
1999-11-23 01:07:56 +00:00
pinkerton%netscape.com
264abc6f3b
First Checked In.
1999-11-22 22:23:08 +00:00
tbogard%aol.net
261d576815
Adding nsIChromeEventHandler.idl to the build. r=hyatt
1999-11-22 08:03:54 +00:00
tbogard%aol.net
a8a1643f27
First check-in.... Defining nsIChromeEventHandler interface for use to make the mChromeElement event firing generic. r=hyatt
1999-11-22 08:02:28 +00:00
bryner%uiuc.edu
506d296672
Oops, fixing a typo. Sorry about that.
1999-11-20 08:12:56 +00:00
bryner%uiuc.edu
c5d0fa6f07
Adding a new interface that will be used for scrolling tree frames with
...
the mouse wheel.
1999-11-20 07:16:52 +00:00
troy%netscape.com
597b5f236b
WillReflow/DidReflow changes and changes to the way view positioning
...
and sizing works
1999-11-19 15:33:29 +00:00
tbogard%aol.net
8c8bbce9a7
Changed places where containers were set to use nsISupports instead of nsIContentViewerContainer. r=dp
1999-11-15 22:17:54 +00:00
vidur%netscape.com
375a018914
Fix for bug 13948. We now correctly store and retrieve an OL element with type=1. R=pollmann.
1999-11-12 02:06:09 +00:00
nisheeth%netscape.com
ab25264f7b
r=vidur. a=chofmann. Post a reflow event instead of doing reflow command processing synchronously. Currently this only happens on content appended and content inserted notificaitions in the pres shell.
1999-11-09 03:23:26 +00:00
dmose%mozilla.org
5312eacf8c
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
brendan%mozilla.org
4d39e8a3f6
Remove nsIFrameReflow.h deadwood (r=waterson).
1999-11-05 05:00:39 +00:00
akkana%netscape.com
e3cc1232e1
Part of bratell@lysator.liu.se's fix to the nsHTMLToTXTSinkStream. r=akkana
1999-11-03 03:08:04 +00:00
kipp%netscape.com
8d5f3c2d2d
r=troy; Added a new frame property atom
1999-11-02 23:42:13 +00:00
cls%seawood.org
bee74e223b
Removed unused NECKO ifdefs.
...
a=leaf
1999-11-02 23:34:03 +00:00
troy%netscape.com
1585a751fb
Moved a bunch of stuff out to a nsIFrameDebug interface
1999-11-01 22:12:45 +00:00
kipp%netscape.com
be3c86d804
Added another frame property
1999-11-01 15:22:25 +00:00
troy%netscape.com
2b4f236320
Added nsHTMLReflowState.h
1999-10-30 16:16:45 +00:00
troy%netscape.com
4e9f42f007
Updated to not export nsIFrameReflow.h
1999-10-30 02:53:36 +00:00
troy%netscape.com
441b29f6de
Changed to not export nsIFrameReflow.h
1999-10-30 02:52:43 +00:00
troy%netscape.com
a12c3d6c5d
Folded reflow functions into nsIFrame and eliminated nsIFrameReflow and
...
nsIHTMLReflow. This saves 4 bytes per frame and cleans things up
1999-10-30 02:52:11 +00:00
troy%netscape.com
2ea886f3be
Changed view to be stored as a frame property instead of a member data
...
of nsFrame
1999-10-27 03:56:14 +00:00
troy%netscape.com
87afecabc0
Changed SetView/GetView to take an additional argument which is the
...
pres context
1999-10-26 04:44:41 +00:00
troy%netscape.com
f5ba346bdc
Removed 5 convenience functions from nsIFrame
1999-10-22 14:53:52 +00:00
braddr%puremagic.com
6740a78de2
Change NS_COMFALSE to NS_ERROR_ABORT throughout the space manager.
...
r=smfr for these two files, and r=scc for the previous file
1999-10-22 06:49:50 +00:00
troy%netscape.com
5d86678e7b
r=karnaze@netscape.com
...
Save 8 bytes per table cell frame by eliminating mCollapseOffset and
using a frame property instead.
1999-10-22 02:06:22 +00:00
mjudge%netscape.com
7d0e807931
massive checkin for underlying implementation of key handling from javascript and home/end breakage and.. selecting around NON-text frames. like arrowing around an image for example. 16636,16655 and another i cannot find. r=kin r=hyatt a=me
1999-10-22 00:19:18 +00:00
ftang%netscape.com
e1475842c4
change the input method highligh code from 2 style to 4 styles. r=mjudge
1999-10-21 22:01:18 +00:00
kipp%netscape.com
d6d696ef93
r=troy; Added a property for max-element-size storage for fixing bug 13196
1999-10-21 20:23:05 +00:00
kipp%netscape.com
b573d95fee
r=troy; Added nsITextContetChangeData to help optimize modifications of large text elements
1999-10-21 20:22:02 +00:00
troy%netscape.com
0959b411de
r=kipp@netscape.com
...
Added API to get/set properties on frames. Also changed nsContainerFrame
to use a property to implement the frame overflow list. This saves 4 bytes
per container frames
1999-10-21 05:11:43 +00:00
troy%netscape.com
abf8a1ff80
Changes to frame property API (code's not being used yet)
1999-10-19 14:41:55 +00:00
troy%netscape.com
75aaae40bb
Changed a comment
1999-10-19 05:00:30 +00:00
troy%netscape.com
c81762bdd1
Change to code that's not currently being used. Before it gets used it
...
will get code reviewed
1999-10-19 04:52:33 +00:00
troy%netscape.com
153e50eb7f
r=kipp@netscape.com Moved ownership of root frame (and frame hierarchy) over to
...
the frame manager
1999-10-18 22:20:37 +00:00
peterl%netscape.com
ed18a01643
Added new style data accessors.
...
Added nsIMutableStyleContext interface.
Made style rules work against nsIMutableStyleContext
r=troy
1999-10-16 04:05:59 +00:00
troy%netscape.com
bc981fba0d
Added some new code that's not in use yet
1999-10-16 00:55:48 +00:00
kipp%netscape.com
15a0ec26fa
r=troy; revised nsITextContent api to simplify it and the consumers; this is done as prep work for bug 9101
1999-10-15 23:36:07 +00:00
peterl%netscape.com
a6adfea707
Added namespace ID to the AttributeChanged notification
...
Part fo the fix for Bug 15153
r=troy
1999-10-15 23:16:45 +00:00
peterl%netscape.com
670703db1c
moved toggle and tri-state from user-modify to user-select to stay in sync with CSS3
...
no bug #
r=pierre
1999-10-15 02:11:09 +00:00
kipp%netscape.com
ff3faa1ce6
r=troy; Added some more atoms so that Dframe sizing data is more particular for line boxes
1999-10-14 23:08:31 +00:00
kipp%netscape.com
2fbd44ca90
r=troy; Added a #define to prevent future code crashes
1999-10-14 23:08:04 +00:00
mjudge%netscape.com
3a065e373b
bugs 15547,15645,13665,13277,5761, r=akkana,kin,hyatt. fixing selection bugs, keyboard navigation, triple clicking and drag scrolling. get position not a valid call anymore to nsIFrame.h
1999-10-13 01:16:09 +00:00
kipp%netscape.com
9059f09ba2
Added two new atoms to help meter large vs. small line boxes
1999-10-12 23:22:34 +00:00
peterl%netscape.com
8112eaf09e
add 'ignore' to user focus
...
r=hyatt
1999-10-12 00:21:06 +00:00
kipp%netscape.com
65f6ba5343
Cleanup moz-decl-counter usage and fix NS_LOG_ADDREF usage
1999-10-08 20:41:19 +00:00
troy%netscape.com
f8ffb47533
Change to SizeOf() code (diagnostic code only). Changed table frame
...
code to split the column cache size out into a separate listing
1999-10-08 05:12:55 +00:00
peterl%netscape.com
a3aede8c1c
First step at fixing 12106, factored out style rule processing from
...
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
kipp%netscape.com
790ccf8ff7
Added some atoms to support SizeOf metrics
1999-10-07 00:31:41 +00:00
kipp%netscape.com
3eaba4f422
Support SizeOf methods
1999-10-05 23:47:46 +00:00
norris%netscape.com
716e97dd9c
Fix 15458 "onLoadHandler does not work"
...
Reviewed by mstoltz.
1999-10-05 04:08:14 +00:00
troy%netscape.com
7fd0cda385
Made sure mOutsideEdge is initizlied
1999-10-04 23:44:44 +00:00
peterl%netscape.com
05e9be3b5f
Added ability to track changes to content without frame
...
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:26:53 +00:00
peterl%netscape.com
9dfc2c381c
added API to track content that didn't get a frame
...
Fix for bug 9013 (and any dynamic change from display:none) r=troy
1999-10-02 04:26:24 +00:00
troy%netscape.com
6b808204e8
Added SizeOf() handler for floater information maintained by the
...
line box
1999-10-02 02:51:03 +00:00
troy%netscape.com
5dfb641a58
Added SizeOf() handler for space manager
1999-10-02 00:52:01 +00:00
troy%netscape.com
1be0909b54
Hooked up SizeOf() for cell map and table layout strategies. Also added in
...
some table frame data that was missed
1999-10-02 00:02:54 +00:00
akkana%netscape.com
de16d09cda
Add OutputWrap flag, and add comments for the other flags
1999-09-29 20:17:51 +00:00