Граф коммитов

3812 Коммитов

Автор SHA1 Сообщение Дата
peterl%netscape.com 587f4aa26e made class selectors case sensitive
moved case-insensitive support for attribute values to style sheet
1999-02-11 06:41:21 +00:00
peterl%netscape.com b99cd2021d make viewport frame use a viewport pseudo tag
connected doc root frame's style context to parent frame's style context
1999-02-11 06:40:13 +00:00
peterl%netscape.com 6385de05c3 added viewport pseudo element tag 1999-02-11 06:39:07 +00:00
karnaze%netscape.com a43b2445da collapsing rows, row groups, cols, col groups 1999-02-11 06:22:33 +00:00
troy%netscape.com 46bf1f1ab5 Fix for bug #3089 1999-02-11 03:56:00 +00:00
buster%netscape.com 6d806d03c8 tell the build system that "public" dir needs building 1999-02-11 01:51:20 +00:00
buster%netscape.com 5fcfaafa90 changed table cell getters to be XP_COM-like, with out-params instead of return values.
this is so these getters can be bound to an XPCOM interface, nsITableCellLayout
1999-02-11 01:17:19 +00:00
buster%netscape.com 178ad83c45 changed getters to be XP_COM-like, with out-params instead of return values.
this is so these getters can be bound to an XPCOM interface, nsITableCellLayout
1999-02-11 01:16:28 +00:00
kmcclusk%netscape.com 3d131e6a4a Fixed border rendering during printing for Select and text, and text areas.
Implemented SetProperty/GetProperty methods for FileControlFrame
Added nsGenericHTMLElement::GetPrimaryFrame check for nsnull for doc return type.
nsHTMLInputElement.cpp replace NS_OK == with  NS_SUCCEEDED in GetValue and SetValue
Added GetName and GetValue utility methods to nsFormControlHelper
modified nsButtonControlFrame::PaintButton to take the label to paint as an extra parameter.
This allows it to be callable from the nsFileControlFrame code to render the button.
1999-02-11 01:13:28 +00:00
pierre%netscape.com 30df698861 Added checkbox and radiobox size to the LookAndFeel (bug#2923 "Checkboxes don't display ") 1999-02-11 00:51:36 +00:00
buster%netscape.com 83125f838e added GetLayoutObjectFor for getting a layout object as an nsISupports
while not exposing nsIFrame.
1999-02-10 23:21:22 +00:00
hyatt%netscape.com ab9af77492 Adding support for tree columns. 1999-02-10 19:51:29 +00:00
hyatt%netscape.com 7ac31f8c5f Changing the way table frames are created so that tree frames can be made
as well.
1999-02-10 19:50:50 +00:00
waterson%netscape.com 7d8e414463 Take _address_ of mTreeFrame. 1999-02-10 19:08:58 +00:00
mjudge%netscape.com d6da223dbd Keyboard navigation, removing nsICollection(not used) adding PeekOffset to have the nsIFrame tell us where to go when moving a character ect. adding nsFrameTraversal to traverse frames, based on nsIEnumerator. mjudge x4661 1999-02-10 18:55:25 +00:00
troy%netscape.com 37614be21a Re-ordered DeleteFrame() code to fix a FMR 1999-02-10 18:12:24 +00:00
peterl%netscape.com e3f642f33c Improved handling of bad properties 1999-02-10 08:37:52 +00:00
peterl%netscape.com 810f2f5c75 added append struct value 1999-02-10 08:37:28 +00:00
peterl%netscape.com de371f0fe6 added missing ToString case 1999-02-10 08:36:37 +00:00
troy%netscape.com 034aa56b83 Changed GetNextSibling() to use a pointer argument instead of a reference 1999-02-10 06:13:38 +00:00
troy%netscape.com 9d570499cf Changed a bunch more nsIFrame member functions to be pointer arguments
instead of references
1999-02-10 05:38:18 +00:00
troy%netscape.com e9bbeeaa9b Changed GetFrameState() and GetFrameType() to use pointer arguments instead of
references
1999-02-10 04:17:06 +00:00
troy%netscape.com 2ac7b86865 Changed GetAdditionalChildListName() and FirstChild() to use ** instead
of *&
1999-02-10 02:25:01 +00:00
dp%netscape.com 81c281f428 Adding libreg as xpcom depends on it 1999-02-10 02:01:50 +00:00
troy%netscape.com c85f9efd2a Changed GetParent() to use ** instead of *& 1999-02-10 01:36:30 +00:00
troy%netscape.com b974e26cea Changed some nsIFrame member functions to use ** instead of *& for OUT
paremeters
1999-02-10 00:42:56 +00:00
buster%netscape.com 3c4c3f919f initial checkin of public table layout interfaces 1999-02-10 00:38:01 +00:00
kmcclusk%netscape.com c40c068de7 Undef'ed NS_GFX_RENDER_FORM_ELEMENTS 1999-02-09 18:31:41 +00:00
kmcclusk%netscape.com b43bf8b75d Added rule for INPUT[type=radio] to set properties for gfx-rendered radio buttons. 1999-02-09 18:29:15 +00:00
kmcclusk%netscape.com 8e1aa657ab Added support to gfx-render radio buttons. Both checkboxes and radio buttons
now use CSS style to get colors for rendering. Checkboxes also use the CSS border rendering
code. Added New utility methods to nsFormControlFrame to PaintCircular backgrounds and
borders. Set compiler directive to gfx-render radiobuttons and checkboxes both for printing
and on-screen display.
1999-02-09 18:25:40 +00:00
kipp%netscape.com 6953c4a7c8 Whacked away nsBaseIBFrame and BLOCK_IS_INLINE cruft 1999-02-09 17:31:33 +00:00
kipp%netscape.com 982434a14f Handle breaking before an anonymous block when the line isn't empty; push/pop inline reflow state so that floaters work properly 1999-02-09 17:31:14 +00:00
troy%netscape.com 9c158de393 Added GetFrameType() member function 1999-02-09 05:44:13 +00:00
troy%netscape.com 49923b7f83 Fix for bug #2661. Now handles the case where the root-frame has a fixed
height
1999-02-09 05:09:39 +00:00
troy%netscape.com 9940ecee6e Fixed a silly error I introduced in the previous check-in 1999-02-09 05:01:11 +00:00
troy%netscape.com 1b384d0f08 Fixed a problem where absolutely positioned child frames with an 'auto'
offset weren't getting re-positioned during an incremental reflow of the
flowed items
1999-02-09 04:31:09 +00:00
troy%netscape.com aaff26f78e Turned off some code until the frame construction code handles the case
where the replaced element that can't be rendered is floated or absolutely
positioned
1999-02-09 04:05:21 +00:00
waterson%netscape.com 4d00f764eb Exposed NS_CreateHTMLContent() as a temporary hack to get HTML-in-RDF/XUL working. Will re-visit when Vidur comes back. 1999-02-09 00:26:50 +00:00
troy%netscape.com a9bb13d5cc Fix for bug #3027. Correctly computes 'auto' margin values and allows them
to be negative
1999-02-09 00:15:43 +00:00
pinkerton%netscape.com d17884edcd Rewrote reflow to handle collapsed/hidden toolbars correctly (but still not operational because of layout bugs). 1999-02-09 00:07:49 +00:00
kipp%netscape.com c4826d0a7e Tweak regression data output 1999-02-08 17:56:23 +00:00
kipp%netscape.com d83b6d14ee Revamp regression data dumping 1999-02-08 17:56:00 +00:00
kipp%netscape.com b776cddba1 Implement tree diffing and dumping of regression data 1999-02-08 17:55:29 +00:00
kipp%netscape.com bd04c98b49 Revised API 1999-02-08 17:55:08 +00:00
troy%netscape.com 12bfda4069 Fix for bug #2993. Made sure that 'offsets' are relative to containing block's
padding edge and not the containing block's border edge
1999-02-08 00:32:02 +00:00
peterl%netscape.com 8f99d6776f selector text notes 1999-02-07 21:48:45 +00:00
peterl%netscape.com 7d519ac6c1 added capturing selector source text (to preserve namespace prefixes) 1999-02-07 21:48:27 +00:00
peterl%netscape.com 02a4a1f333 Added token append to string
Improved handling of bad strings
Improved handling of escapes
1999-02-07 21:47:48 +00:00
mcafee%netscape.com 90068cdeb7 Solaris isn't building yet, backing this out 1999-02-07 03:45:42 +00:00
mcafee%netscape.com cff33db62e Adding tests to match Win32 1999-02-07 00:54:52 +00:00
troy%netscape.com c0d9d4be04 Fixed ContentRemoved() to also remove the shell's mapping from absolutely
positioned element to its placeholder
1999-02-06 17:10:42 +00:00
troy%netscape.com c30862656d Fixed a bad #ifdef 1999-02-06 04:26:30 +00:00
troy%netscape.com cf30aeefb3 Cleaned the code up a bit 1999-02-06 04:24:47 +00:00
warren%netscape.com af4892e337 Fixed unsigned problems. 1999-02-06 04:02:02 +00:00
troy%netscape.com 261c24cc5e Created ConstructAlternateImageFrame() function from some existing code,
and changed it to use the "src" attribute if there is no "alt" or "title"
values to use
1999-02-06 03:45:11 +00:00
troy%netscape.com b3b5969d0f #ifdef CantRenderReplacedElement() to be _WIN32 for the time being until
the Mac problems with the thread event queue are straightened out
1999-02-06 03:41:14 +00:00
joki%netscape.com 7a1bff7611 Checking in null check and assertion to handle the crashing on imagemap part of the Mac regression. 1999-02-06 02:07:49 +00:00
kmcclusk%netscape.com 220e43ce5a undefined NS_GFX_RENDER_FORM_ELEMENTS 1999-02-05 22:22:40 +00:00
kmcclusk%netscape.com c3434b6c31 Added INPUT[type=checkbox] rule + properties to ua.css to set style info
for gfx-rendered checkboxes.
1999-02-05 22:19:52 +00:00
kmcclusk%netscape.com 75802b29d1 Adjusted checkbox gfx-rendering code to make better looking checkboxes
Created nsFormControlHelper::GetBool and nsFormControlHelper::GetBoolString
utility methods for converting strings into booleans and vice versa.
Modified nsCheckboxControlFrame, nsRadioControlFrame, and nsSelectControlFrame
to use these helpers.
1999-02-05 22:15:35 +00:00
morse%netscape.com aabe3e8b27 removed single-signon dependency on lo_ele.h and MWContext 1999-02-05 22:05:59 +00:00
vidur%netscape.com c9d93eccf2 Hooked up style hint for id, class and dir 1999-02-05 19:55:56 +00:00
kmcclusk%netscape.com 2e06d9e70e Disabled gfx-rendering of form controls. 1999-02-05 19:51:27 +00:00
kmcclusk%netscape.com ed425fc6f1 Added code to gfx-render checkboxes using CSS style.
Removed commented out code in nsFormControlFrame and nsFormControlHelper
1999-02-05 19:48:18 +00:00
troy%netscape.com b8205354d1 Added CantRenderReplacedElement() to nsIPresShell and changed the image frame
code to use it
1999-02-05 18:25:29 +00:00
troy%netscape.com 7b1c2ddcae Changed CantRenderReplacedElement() to use the value of the TITLE attribute
if there's no "alt" text specified
1999-02-05 18:24:48 +00:00
troy%netscape.com 66fdbcd9b3 Made sure computedOffsets is initialized to all zeros for the root frame 1999-02-05 05:51:12 +00:00
peterl%netscape.com 28a6de7ff5 added assertion for switching style contexts during reflow 1999-02-05 03:58:27 +00:00
peterl%netscape.com a95a9904a5 moved frame construction code to its own class 1999-02-05 03:57:49 +00:00
peterl%netscape.com 98811e1bbc added files: mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp 1999-02-05 03:56:41 +00:00
peterl%netscape.com 09faabfab1 added include & class definitions to make include safe 1999-02-05 03:55:55 +00:00
peterl%netscape.com 157564981f moved frame construction code from HTML style sheet 1999-02-05 03:55:18 +00:00
troy%netscape.com 110c517be1 Removed #include of header files that weren't actually needed 1999-02-05 01:54:58 +00:00
vidur%netscape.com e0542e23e1 implemented nsHTMLDocument::GetElementsByName 1999-02-04 23:23:07 +00:00
harishd%netscape.com ddb2a5d1e3 Made HR tags more stylable 1999-02-04 23:10:21 +00:00
harishd%netscape.com 00901bda2a Added property "border: 1px -moz-bg-inset"
to HR
1999-02-04 23:08:39 +00:00
peterl%netscape.com 7ac7f91e7d added -moz-bg-inset & -moz-bg-outset keywords 1999-02-04 19:18:01 +00:00
pinkerton%netscape.com 4fc165016c using clause doesn't work on linux. commenting out 1999-02-04 19:15:57 +00:00
pollmann%netscape.com 0ca9911ef6 Bug 1190: Typo. 1999-02-04 18:37:03 +00:00
pinkerton%netscape.com c57cac8517 fix warning about hiding inherited virtual function MoveTo 1999-02-04 18:30:20 +00:00
troy%netscape.com bcc69e2898 Work-in-progress for replaced elements that can't be rendered 1999-02-04 17:03:46 +00:00
kipp%netscape.com 6a87389b62 nuked 1999-02-04 16:29:25 +00:00
kipp%netscape.com 752de3f766 tweak so font-lock in emacs works better 1999-02-04 16:28:36 +00:00
kipp%netscape.com dfca76d3e6 Use nsIHTMLContent attribute api's to avoid attribute changed notification during document loads 1999-02-04 16:28:16 +00:00
kipp%netscape.com 2e48b11493 Avoid crashing when no frame is found during attribute change notifications 1999-02-04 16:27:38 +00:00
kipp%netscape.com 2a44cdd816 Renamed RemoveFrame to RemoveAFrame to reduce compiler warnings 1999-02-04 16:27:18 +00:00
kipp%netscape.com a16334a322 Make dtor virtual to quite down compilers 1999-02-04 16:26:42 +00:00
kipp%netscape.com 059a3afafe Implement ReadFrameRegressionData 1999-02-04 16:26:19 +00:00
kipp%netscape.com 57a05a9fe7 Added temporary method until sync i/o works 1999-02-04 16:26:01 +00:00
waterson%netscape.com 8e485f26aa Add to Win32 build and include class decls for lame Win32 compiler. 1999-02-04 11:28:44 +00:00
waterson%netscape.com 42b973bfff Initial revision. 1999-02-04 11:14:19 +00:00
mcafee%netscape.com 57c11026ea removing unused parts of this makefile. 1999-02-04 10:41:48 +00:00
mcafee%netscape.com 3645c562bd Adding forward declaration for nsIStyleContext to try and fix windows bustage 1999-02-04 10:40:42 +00:00
saari%netscape.com bdeea7f930 Trying to fix windows. Removing nsProgressMeter.cpp (added earlier today) from the windows build. 1999-02-04 09:35:21 +00:00
mcafee%netscape.com 96017853f0 Adding nsProgressMeterFrame.cpp to the build 1999-02-04 09:22:46 +00:00
troy%netscape.com aa918b76c9 Added PARAM {display:none} 1999-02-04 03:47:01 +00:00
vidur%netscape.com 306612234f Implemented miscellaneous document properties 1999-02-04 02:58:02 +00:00
vidur%netscape.com e1a29fba6d Implemented nsHTMLDocument::SetBody 1999-02-04 02:16:11 +00:00
hyatt%netscape.com baef55e771 Started laying the foundation for keyboard navigation. 1999-02-04 02:10:25 +00:00
saari%netscape.com 959fbbabcd added nsProgressMeterFrame.cpp to layout.mcp for Eric 1999-02-04 01:56:44 +00:00
hyatt%netscape.com b3ae193767 Fix to CTRL-based multiple selection. 1999-02-04 01:39:38 +00:00
evaughan%netscape.com 403cc14a84 Added the XUL progress meter widget. 1999-02-04 01:34:15 +00:00
nisheeth%netscape.com 9fa2f8e3ab Added ReconstructFramesOnAttributeChange() to the HTML stylesheet
that gets called when a content object's attribute change requires
its frames to get recreated.
1999-02-04 00:53:08 +00:00
troy%netscape.com 1dcaa305b6 Fix for bug #2867. Removed the questionable logic I added previously. 1999-02-04 00:43:49 +00:00
hyatt%netscape.com aae093350d Altered the tree structure so that the treerow tag is now obsolete. 1999-02-04 00:28:25 +00:00
hyatt%netscape.com 472593b2db Changed the tree frame construction code. 1999-02-04 00:28:05 +00:00
amusil%netscape.com 0ff5cf464e Added oji, liveconnect and caps shared libs to the registry. 1999-02-04 00:18:22 +00:00
pinkerton%netscape.com 5df9b7f208 Check for a valid rendering context before we actually start drawing. Use a new stack-based class for saving rendering context state. Hopefully, it won't live here forever, but will be ok for everyone to use. 1999-02-04 00:10:28 +00:00
karnaze%netscape.com 81d2fdf2cb work in progress for table visibility=collapse 1999-02-03 23:54:32 +00:00
kmcclusk%netscape.com 10fcba177a Renamed GetSize(PRInt32* aSize) to GetSizeFromContent to remove conflict with
nsFrame GetSize(nsSize& aSize).
Added check for null mWidget in nsFormControlFrame::HandleEvent
1999-02-03 22:56:50 +00:00
hyatt%netscape.com 060de2b50e Implemented multiple selection (using SHIFT and CTRL) in the tree view. 1999-02-03 22:35:30 +00:00
hyatt%netscape.com 47907234fe Made the table member variables protected so that the tree widget can
access them.
1999-02-03 22:35:03 +00:00
vidur%netscape.com b91611a7b2 Added additional key argument to string parsing routine. Improved Reset handling for document to include style sets and frame construction. Modified root frame construction. Got out-of-line document.write to work 1999-02-03 19:38:16 +00:00
karnaze%netscape.com 18feca1219 bug 1827 1999-02-03 19:26:29 +00:00
kipp%netscape.com 8f64c7a3ef Use ReflowDirty reflow commands; fixed reflow status when dealing with breaking child frames 1999-02-03 19:12:02 +00:00
kipp%netscape.com a0b694c5b8 Added List method 1999-02-03 19:10:26 +00:00
kipp%netscape.com 67741b5e3c Removed a couple of warnings 1999-02-03 19:10:03 +00:00
kipp%netscape.com d77e41c463 Removed some unused variables 1999-02-03 19:09:37 +00:00
kipp%netscape.com 66115d3c10 Fixup absolute positioning by temporarily generating old style reflow commands when the list-name is not null; temporarily use FrameAppended instead of ReflowDirty for append operations 1999-02-03 19:09:24 +00:00
kipp%netscape.com 527870f36f Added ReflowDirty reflow command 1999-02-03 19:08:07 +00:00
kmcclusk%netscape.com b0fc5ee1c9 Moved ForceDrawFrame from nsComboboxControlFrame to nsFormControlHelper
Removed commented out code in nsFormControlHelper.h.
Modified nsCheckboxControlFrame and nsRadioControlFrame to use ForceDrawFrame
when gfx-rendered.
1999-02-03 18:55:37 +00:00
cata%netscape.com c277c4a8e9 Hacky Unicode converters implementation replaced with the real xpcom thing. 1999-02-03 18:55:10 +00:00
kmcclusk%netscape.com 4afa831c55 Added support to allow form elements to be either GFX-rendered or use widgets.
Work in progress for getting check boxes and radio buttons gfx-rendered.
1999-02-03 17:25:25 +00:00
troy%netscape.com 5238d0c73f Improvements to fixed positioning 1999-02-03 17:01:51 +00:00
pinkerton%netscape.com 1edf8614dc use nsCOMPtr 1999-02-03 16:19:09 +00:00
troy%netscape.com 15e7a9f342 Switched to using nsIScrollableView::GetScrollbarVisibility() to tell
whether the vertical scrollbar is currently showing
1999-02-03 04:30:57 +00:00
peterl%netscape.com e2bbc594b2 added missing semicolons 1999-02-03 03:10:29 +00:00
peterl%netscape.com 6e34e5ef7c improvements to parsing @import, HTML comments and identifiers 1999-02-03 02:59:51 +00:00
peterl%netscape.com 834402f8a9 Fixed windows build bustage 1999-02-03 02:53:25 +00:00
akkana%netscape.com e87cd2312c Bug fixes for Collapse() and Extend().
Now single-character deletion works much better.
1999-02-03 02:13:15 +00:00
troy%netscape.com c4b2263dbf Fixed it to so the root-frame isn't considered a containing block, and
changed SetRect() so it only resizes the child frame larger if its 'height'
is set to 'auto'
1999-02-03 01:31:09 +00:00
cltbld%netscape.com 71afce77d3 backing out changes made against a closed tree 1999-02-02 23:50:52 +00:00
karnaze%netscape.com f0bb1e91f9 fixed bug 1827 1999-02-02 22:53:42 +00:00
kipp%netscape.com 008d7e5acf nuked 1999-02-02 19:39:06 +00:00
kipp%netscape.com cd204c3f71 Build library more carefully 1999-02-02 17:40:37 +00:00
kipp%netscape.com 24f144460b Wrapped up debugging noise in a ifdef; implemented 4th remove-frame case; fixed a bug in the 5th remove-frame case 1999-02-02 17:32:09 +00:00
kipp%netscape.com 6e9110cb4c Changed value of mozAnonymousBlock atom to match ua.css until a css working group issue is resolved 1999-02-02 17:31:36 +00:00
kipp%netscape.com 361ca345fb Changed base-ib-frame to implement AppendFrames/InsertFrames/RemoveFrame directly; changed args to DoRemoveFrame; updated the anonymous block to have a slightly different method set to manipulate its children 1999-02-02 17:31:09 +00:00
kipp%netscape.com be8e33e32a noise 1999-02-02 17:30:10 +00:00
kipp%netscape.com 59a24e26ff Flushed out test set 1999-02-02 17:29:54 +00:00
mcafee%netscape.com 1162adbf62 Taking tests back out, heh, are we having fun yet? 1999-02-02 09:36:54 +00:00
mcafee%netscape.com eda2cf116c Fix linux bustage, thanks to waterson@netscape.com 1999-02-02 09:08:43 +00:00
mcafee%netscape.com af8c0a0846 Ok, trying to build tests again 1999-02-02 07:36:04 +00:00
mcafee%netscape.com f8b528879f Ignore generated binaries. 1999-02-02 07:31:58 +00:00
mcafee%netscape.com 5302f7a115 Ignore generated Makefiles 1999-02-02 07:31:27 +00:00
mcafee%netscape.com 7fe4f1d00c This is closer to building on Linux, still not there 1999-02-02 05:44:41 +00:00
waterson%netscape.com f360ad8792 Moved nsXULAtoms::AddrefAtoms() and ReleaseAtoms() to the style sheet's ctor and dtor, as per Peter Linss suggestion. 1999-02-02 05:39:57 +00:00
troy%netscape.com ad3a2965f8 Implemented fixed position tables 1999-02-02 04:28:55 +00:00
mcafee%netscape.com 57baa00054 Yanking tests until dependency problem is fixed. 1999-02-02 04:25:03 +00:00
mcafee%netscape.com ac31057546 TestCSSParser, TestCSSPropertyLookup, and TestCSSScanner now build on Linux 1999-02-02 03:40:30 +00:00
mcafee%netscape.com 94d5a492ea TestSpaceManager now builds on Linux 1999-02-02 03:31:44 +00:00
mcafee%netscape.com 14f3ed03d3 I can't find nscoord.h, yanking this for Linux 1999-02-02 03:30:38 +00:00
peterl%netscape.com 8459a64073 fixed bug handling multiple namespace declarations in one tag 1999-02-02 03:24:56 +00:00
peterl%netscape.com 763f6a8dde made visible an int instead of bool 1999-02-02 03:24:23 +00:00
peterl%netscape.com 47d7059b69 removed default html namespace prefix 1999-02-02 03:23:36 +00:00
sfraser%netscape.com dc69b753a1 Add method to nsIDOMSelection to get focus and anchor nodes and offsets, and implemenations for these in nsRangeList.cpp 1999-02-02 02:13:09 +00:00
mjudge%netscape.com ceb08a0190 scoping incorrect for for loops on vc5.0 didnt catch this. nasty habbit of mine. 1999-02-02 01:18:41 +00:00
mjudge%netscape.com d8dc98b1ba commas trailing on enum illegal even if vc50 says its ok 1999-02-02 01:16:57 +00:00
mjudge%netscape.com cd2d3d137c keyboard navigation of selection. adding API for nsIFrame. fixing nsFrame and nstextframe to reflect the implementations of the nsIFrame API. nsRangeList implements the handlekeyevent now. 1999-02-02 00:23:40 +00:00
kmcclusk%netscape.com d71b7f88d5 TextAreas now initialize their content area using default text specified in
the HTML File.
1999-02-01 23:49:21 +00:00
kmcclusk%netscape.com ab7e565d59 Modified nsTextControlFrame::Paint to correctly paint the contents of a
multi-line text area.
1999-02-01 23:09:06 +00:00
waterson%netscape.com 0b542b62ed Force an nsXULAtoms::AddrefAtoms to ensure that the XUL atoms and namespace are created in the layout DLL before trying to refer to them. (a=hyatt%netscape.com) 1999-02-01 23:06:49 +00:00
kipp%netscape.com c529fc11be Fixed invocation bug that mac compiler caught 1999-02-01 19:08:30 +00:00
kmcclusk%netscape.com 78015f31f6 Moved GetPrimaryFrame to nsGenericHTMLElement.
Modifed nsHTMLTextAreaElement to go through it's frame to set and get values
1999-02-01 18:44:59 +00:00
troy%netscape.com f1c963f7b5 Made sure that fixed positioned elements gets a widget 1999-02-01 18:36:23 +00:00
troy%netscape.com 0f2e27b0d9 Fixed it so scrollable BLOCK elements can be fixed positioned 1999-02-01 18:09:57 +00:00
kipp%netscape.com e88d265480 new 1999-02-01 17:37:11 +00:00
kipp%netscape.com 42312a552c Fixed pseudo style atom value 1999-02-01 17:34:31 +00:00
kipp%netscape.com 1f09f944d9 Added anonymous block style rule 1999-02-01 17:34:16 +00:00
kipp%netscape.com b23b120a19 Implement TreatFrameAsBlock 1999-02-01 17:32:49 +00:00
kipp%netscape.com 12322a8a10 Added another TreatFrameAsBlock method 1999-02-01 17:32:33 +00:00
kipp%netscape.com e6c0c373a9 Updated a comment 1999-02-01 17:32:19 +00:00
kipp%netscape.com a548c870f8 Minor bug fixing; reworked PullFrame; added VerifyParent 1999-02-01 17:32:05 +00:00
kipp%netscape.com ddc318eee2 Added some comments :-) 1999-02-01 17:31:37 +00:00
kipp%netscape.com c2a13558a4 Removed ReplaceFrame 1999-02-01 17:31:21 +00:00
kipp%netscape.com 0887e5eedf Removed ReplaceFrame; tweaked frame updates impls 1999-02-01 17:31:10 +00:00
kipp%netscape.com bcca9bcff4 Fixed up debug output 1999-02-01 17:29:58 +00:00
kipp%netscape.com 50b6da75a7 Implement anonymous block frame code; fixup base class InsertNewFrames to support multiple frame insertion 1999-02-01 17:29:37 +00:00
kipp%netscape.com 859dde6287 Renamed InsertNewFrame->s; defined nsAnonymousBlock class 1999-02-01 17:28:39 +00:00
kipp%netscape.com 7e4600613e Rewritten to use an anon. block frame to manage block children 1999-02-01 17:27:56 +00:00
kipp%netscape.com 64610329f0 Cleaned up comments; removed ReplaceFrame from the API 1999-02-01 17:25:30 +00:00
troy%netscape.com acbe598a4f Fixed logic that determines whether there's currently a visible vertical
scrollbar
1999-02-01 16:32:54 +00:00
rickg%netscape.com 06970832e3 mondo improvements to DTD 1999-02-01 04:24:37 +00:00
troy%netscape.com ffda88e293 Removed some merge conflicts that someone must have accidentally checked in 1999-01-31 19:50:52 +00:00
troy%netscape.com f987894585 Changed Reflow() to make sure the desired-size members of the reflow metrics
struct are set in the case where there is no child frame
1999-01-31 18:46:22 +00:00
mcafee%netscape.com 94fe9213e9 Removing unnecessary rules, cleaning this up a bit 1999-01-31 09:39:09 +00:00
troy%netscape.com 25be57b96c Fix for bug# 2780: changed root-frame and scroll-frame code to take into
account mCombinedArea
1999-01-31 05:12:02 +00:00
troy%netscape.com 7c0d5680c3 Changed ReflowFixedFrame() to take the computed left and top margin into
account when placing the child
1999-01-31 05:09:29 +00:00
troy%netscape.com 051df63e8f Added code to force an absolutely positioned child that ignored its
computed height to be the correct height
1999-01-30 18:12:38 +00:00
troy%netscape.com 5cd1cbadbf Added code to make sure that a fixed child frame ends up with the correct height
evebn if it disregards the computed height value
1999-01-30 17:39:29 +00:00
karnaze%netscape.com 6256ccca5b Made table frame construction flexible enough to allow arbitrary content to be mapped
to arbitrary table related display types.
1999-01-30 15:52:19 +00:00
peterl%netscape.com 87e2ee2cc6 fixed multi-link header delimiter (comma not semicolon)
fixed uninitialized blocking variable in header link code
fixed error return code for style sheet linking
1999-01-30 06:24:09 +00:00
peterl%netscape.com 7dac483dcd fixed namespace 1999-01-30 06:22:39 +00:00
peterl%netscape.com 0f67d466fc accept namespace none for attributes 1999-01-30 06:21:08 +00:00
peterl%netscape.com 77e6eb5115 made attribute accessors respect unknown namespace for getters (wildcard) 1999-01-30 06:20:39 +00:00
troy%netscape.com f2d3dd631e Fixed leak of nsIHTMLDocument interface in GetImageMap() 1999-01-30 01:04:35 +00:00
akkana%netscape.com 6db99a172d Add IsCollapsed; add collapsed case to DeleteFromDocument 1999-01-30 01:02:44 +00:00
pollmann%netscape.com 8baa289920 Bug 2716, 2792, 1190, 1750: Wired up selected, defaultSelected, and selectedIndex. 1999-01-30 01:02:28 +00:00
pollmann%netscape.com fa5187e571 Bug 2788: Crash on leaving page where js references named options. 1999-01-30 00:53:53 +00:00
pollmann%netscape.com 86db74417d Bug 2787: Crash on js accessing option index out of range. 1999-01-30 00:51:10 +00:00
pollmann%netscape.com d6d23fe90a Initializing res. 1999-01-30 00:41:41 +00:00
troy%netscape.com bb2686580f Changed TriggerLink() to release its reference to the nsILinkHandler interface,
and I changed HandleEvent() to make nsIURL interface returned by the call to
GetDocumentURL() is released
1999-01-30 00:34:06 +00:00
troy%netscape.com 3b19a38dd6 Removed an "extra" NS_RELEASE of "map" which was causing double-frees. Permission
from Sarah to check in while the tree's closed
1999-01-29 22:38:48 +00:00
akkana%netscape.com 1f23bcc408 Fixing my build horkage ... forgot this file. Very sorry! 1999-01-29 20:08:38 +00:00
akkana%netscape.com eb4fd64caa Implement a new interface, nsIDOMSelection, intended to become the
external interface for selection (to be IDL-ified later).

Fix some editor bugs:
- Advance the cursor on text insert (so text is inserted in the right order)
- Make DeleteSelection in the editor call the actual selection
- Make DeleteSelection update the frames' notion of the selection
1999-01-29 18:57:56 +00:00
buster%netscape.com 3f9d48c279 fixed a nasty bug where some incremental reflow cases of a table with collapsing borders would crash.
One example of the crash is changing the style of a cell via DOM.
Also fixed an error in the API of nsTableColFrame
1999-01-29 18:49:32 +00:00
troy%netscape.com 01313168f3 Fixed memory leak of MAP content object in OpenMap() 1999-01-29 06:13:55 +00:00
troy%netscape.com acc552124f Fixed memory leak of a nsRadioControlGroup object 1999-01-29 06:01:15 +00:00
troy%netscape.com 94cf1a6dcd Fixed memory leak of AREA content object in ProcessAREATag() 1999-01-29 05:37:45 +00:00
troy%netscape.com cd804349fe Fixed a couple of memory leaks 1999-01-29 05:05:02 +00:00
troy%netscape.com 01b9469528 Fix for bug #2743. Improved the logic which predicts whether a vertical scrollbar
is needed
1999-01-29 04:29:10 +00:00
pinkerton%netscape.com aeca994050 Don't hardcode twip size. 1999-01-29 02:01:16 +00:00
hyatt%netscape.com 447fcbbc12 Using the attribute selector instead. 1999-01-29 00:58:01 +00:00
pinkerton%netscape.com e4838d11c4 Grippies now handle rollover and respect css styles. 1999-01-28 23:58:18 +00:00
jfrancis%netscape.com 32034efe71 fixed implementation of IsDone() 1999-01-28 23:55:53 +00:00
joki%netscape.com c14cc1cb25 Removing nsILinkHandler enum types from dependencies, fixing event handler bugs 1999-01-28 23:14:36 +00:00
kmcclusk%netscape.com affac5fac7 Modified GetText to take extra paramater to indicate whether it should return
the current text value or the initial text value
1999-01-28 21:58:01 +00:00
kmcclusk%netscape.com a71561f847 Added return type to fix build bustage 1999-01-28 19:29:15 +00:00
kmcclusk%netscape.com aaa2d0a40d Modified nsHTMLInputElement text fields to go through nsTextControlFrame
for SetValue and GetValue
1999-01-28 18:58:11 +00:00
troy%netscape.com 78d4cd7331 More work-in-progress for fixed positioning 1999-01-28 17:14:13 +00:00
michaelp%netscape.com 0084e8879d modified for new DrawString()/GetWidth() APIs. 1999-01-28 05:03:58 +00:00
kmcclusk%netscape.com 5a79b5eb07 Call GetDefaultValue instead of GetCurrentValue in GetChecked when the aGetInitialValue
flag is set to TRUE.
1999-01-28 00:43:49 +00:00
kmcclusk%netscape.com 07d49a6960 Added check for null nsFormControlFrame in GetChecked. This should fix the Mac
when viewing www.netscape.com
1999-01-28 00:36:43 +00:00
harishd%netscape.com 82420c7328 Changing the variable aElementColor to aBorderColor in Painborder(),
PaintBorderEdge(), DrawSide(), and MakeBevelColor().
The computed colors for all the  border style should be based on
the actual 'border-side-color' not the element's color after all.
1999-01-28 00:31:47 +00:00
buster%netscape.com e7df15b90b primarily comments and documentation
also removed nsTableFrame::QueryInterface() because it was just extraneous, and it made
an assumption about what class nsTableFrame derives from.  Let the vtable do its work...
1999-01-27 19:29:24 +00:00
kmcclusk%netscape.com 87b47319d8 Replaced defaultchecked with checked 1999-01-27 19:19:07 +00:00
pinkerton%netscape.com 5e4fa9e2d6 make toolbars a little wider in their parent frame. 1999-01-27 19:15:01 +00:00
kostello%netscape.com f4cb89a986 Fixed bug: dereferencing a null in nsMarkupDocument
Suppressed creation of STYLE leaf tag in the XIF encoding
until style sheet output is fixed.
1999-01-27 16:35:32 +00:00
hyatt%netscape.com 0aecfc3e54 Making events still possible within tree cells. 1999-01-27 12:42:37 +00:00
hyatt%netscape.com 902e7c0207 Making events for arbitrary HTML still work in tree cells. 1999-01-27 12:42:21 +00:00
hyatt%netscape.com 9eef28cab4 Improvements to the tree widget to implement expanding and collapsing
nodes.
1999-01-27 12:17:35 +00:00
hyatt%netscape.com 104e6beaba Implemented selection in the tree view. 1999-01-27 10:10:37 +00:00
hyatt%netscape.com 829b7f8804 Fixed a bug wherein tree frames weren't being added to the flow. 1999-01-27 10:10:02 +00:00
hyatt%netscape.com 74497032ef Adding nsTreeCellFrame.cpp to project. 1999-01-27 07:46:10 +00:00
hyatt%netscape.com 2608a14608 Adding tree cell frame. 1999-01-27 07:31:14 +00:00
hyatt%netscape.com b7887fe8d6 @%!%@! 1999-01-27 07:30:24 +00:00
hyatt%netscape.com 91364acc34 Getting rid of a conflict that I had. 1999-01-27 07:23:58 +00:00
hyatt%netscape.com b0f9e290a5 Tweaking XUL frame construction. Also adding in a temporary tweak to
keep a NOTYETIMPLEMENTED from firing when an attribute in XML is
changed.  (Making it do a reflow rather than a reframe.)
1999-01-27 07:22:05 +00:00
troy%netscape.com 1741d8cae3 Changed Reflow() to take into account absolutely positioned child
frames when computing the desired size
1999-01-27 05:58:43 +00:00
troy%netscape.com ff371f2925 Added work-in-progress for 'fixed' positioning 1999-01-27 05:37:55 +00:00
troy%netscape.com fd60d0f87e Added helper function IsAbsolutelyPositioned() to nsStylePosition 1999-01-27 05:35:54 +00:00
rods%netscape.com 45ef69a207 Added BUTTON.ROLLOVER and BUTTON.DIABLED pseudo-classes 1999-01-27 04:22:35 +00:00
rods%netscape.com afa1a733ff Commented out the MACRO for for settting and getting the disabled attribute
I implemented them fully so I code set the "disabled" pseudo-class properly
1999-01-27 04:13:44 +00:00
rods%netscape.com f065094abf Added rollover pseudo-class processing for mouse enter and exit 1999-01-27 04:09:12 +00:00
troy%netscape.com b8a53effbd Changed nsAbsoluteItems to be a derived class of nsFrameItems 1999-01-27 03:53:54 +00:00
troy%netscape.com 303956b39c Added nsLayoutAtoms::fixedList for specifying the name of the additional
child list for 'fixed' elements
1999-01-27 03:48:39 +00:00
troy%netscape.com b63b2eb881 Hooked printing back up. It was a casuality of the viewport changes 1999-01-27 03:24:12 +00:00
pollmann%netscape.com d088640ae9 Bug 1958: Submit value for checkboxes or "on" for checkboxes with no value. 1999-01-27 02:33:16 +00:00
mjudge%netscape.com db58635679 Must allow for the fact that content may be nsnull in ALL cases. 1999-01-27 02:15:38 +00:00
pinkerton%netscape.com 2549f2d4dd Got reflow working so that it lays out its children one right after the other, leaving room for a grippy to be drawn. 1999-01-27 02:11:07 +00:00
kmcclusk%netscape.com a92dfe581a Modified GetDefaultChecked and SetDefaultChecked to get and set the checked
attribute.
1999-01-27 01:35:30 +00:00
waterson%netscape.com 98efa72355 Exposed EventListenerManager. 1999-01-27 00:58:49 +00:00
kmcclusk%netscape.com 88326ce269 Implemented GetChecked and SetChecked for nsHTMLInputElement by going through
the nsCheckboxControlFrame and nsRadioControlFrame.cpp
1999-01-27 00:51:46 +00:00
pollmann%netscape.com 2e602c76d7 Bug 1958: Submit x, y coords for unnamed image elements. Submit coords only once. 1999-01-27 00:25:40 +00:00
vidur%netscape.com 995b47b08a First pass implementation of document.implementation 1999-01-27 00:12:33 +00:00
mjudge%netscape.com 82a538fe8c Fixing rangelist to look at frame content not the frame hierarchy do decide if you clicked on the background frame. 1999-01-26 23:49:17 +00:00
kmcclusk%netscape.com e342fc0ca1 Added GetPrimaryFrame utility method. 1999-01-26 23:43:52 +00:00
pollmann%netscape.com 34845beb96 Bug 2279: Don't create widgets for hidden form elements. 1999-01-26 22:11:59 +00:00
troy%netscape.com 2fb9c64835 Fixed a problem in CalculateLeftRightMargin() 1999-01-26 16:34:08 +00:00
rpotts%netscape.com f1724f97b9 The AttributeChanged(...) method of all form controls now call their base class AttributeChanged() method. Also implemented the disabled attribute in the base class... 1999-01-26 07:57:54 +00:00
troy%netscape.com fa93923bcf Fixed a problem in ConstructFrameByTag() where absolutely positioned elements
weren't handled properly
1999-01-26 06:00:30 +00:00
troy%netscape.com 9ae6259485 Fixed some problem in ConstructFrameByDisplayType() where in now cases
(e.g. floaters and relatively positioned blocks) the newly constructed
frame wasn't getting added to aFrameItems
1999-01-26 05:46:04 +00:00
troy%netscape.com 85b271d4dd Fixed a problem with placeholder frame's clearing the child list and
causing the previous frames to disappear
1999-01-26 05:05:19 +00:00
troy%netscape.com 2fa2920b29 Removed "tab" chars 1999-01-26 01:47:01 +00:00
rickg%netscape.com e53c0df266 missed this API change 1999-01-26 01:45:40 +00:00
troy%netscape.com 5198f513b4 Hooked up print-preview to work again 1999-01-26 01:39:08 +00:00
rickg%netscape.com aed1baa2e5 made javascript happier 1999-01-26 01:25:37 +00:00
hyatt%netscape.com 0259257541 Adding support for tree indentation. nsTreeIndentation.cpp 1999-01-26 01:20:28 +00:00
hyatt%netscape.com 2ce7b53770 Added support for tree indentation. 1999-01-26 01:12:51 +00:00
mjudge%netscape.com 91be934323 oops ifdef 0 is bad should be if 0 1999-01-26 01:01:56 +00:00
mjudge%netscape.com bec224216c turning off printf debug statements in debug to speed up resizing 1999-01-26 00:40:39 +00:00
troy%netscape.com ff3d3b60b5 Changed scrolling so it happens on the viewport instead of the HTML
element
1999-01-26 00:05:21 +00:00
mjudge%netscape.com 1462f685fc fixing build bustage for someone 1999-01-25 23:55:59 +00:00
mjudge%netscape.com 9bb5d8a906 changing paintunicodestring and paintasciistring to map from content coordinates to painttext coordinatres. in get position, i am now mapping from paint coordinates to content coordinates. also, the frames themselves now set the focus and anchor for a nsIFocusTracker passed in object. 1999-01-25 23:29:53 +00:00
mjudge%netscape.com 16720c497b keeping the selection code pure by not knowing anything about the graphic representation of the selection. just offset to offset. adding code to reselect the anchor and focus frame in the nsIFocusTracker by passing it to the nsIFrame setselectedcontent method. 1999-01-25 23:28:59 +00:00
mjudge%netscape.com 5ac012630e adding parameters to setselectedcontent. This will keep down overhead of the nsIFrame implementation and still not allow outsiders to talk to their presshell. so please forgive this grown method. this extra parameter will maintain the anchor and focus point after reflow 1999-01-25 23:28:23 +00:00
hyatt%netscape.com abd68f001f Tweaks to enable XUL frame construction to prevent the construction based on
display type.
1999-01-25 23:07:17 +00:00
vidur%netscape.com 8bab99aac5 Implemented nsIDOMElement::Normalize 1999-01-25 22:17:15 +00:00
kmcclusk%netscape.com 4f72556760 Added SetProperty/GetProperty methods to nsIFormControlFrame. Added stub
implementations for all classes that derive from nsIFormControlFrame
1999-01-25 22:16:27 +00:00
hyatt%netscape.com 6d67538c8d Altered the way frame construction works. ConstructFrame can now potentially
build up a list of sibling frame subtrees.  This allows for the creation of
multiple frames from a single content node, and for easy merging of two different
lists of subtrees during frame construction.
1999-01-25 22:13:03 +00:00
ftang%netscape.com 3759b987f5 change nsCharSetID into nsString type 1999-01-25 16:05:04 +00:00
amusil%netscape.com 43c91b3dff *** empty log message *** 1999-01-25 10:10:29 +00:00
sudu%netscape.com c94385ee94 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
mjudge%netscape.com 110a084f10 adding same code to paintAscii as i did to paintUnicode 1999-01-25 01:53:40 +00:00
mjudge%netscape.com 55f9005e7a ok I am changing nsPresShell to "do the right thing". The virtual methods to support nsIFocusTracker needed to use the MACROS the same as the rest of the methods. I also moved the growing inline methods to their own method declarations. pres shell also needs to send itself as a focus tracker to "reset selection" to allow a callback to reset the frames that will be the focus and anchor frames for the future. getting frames from content is easy, getting the exact frame with an offset as well is difficult. nsTextFrame does some funny things with whitespaces that was throwing off the selection code. one minute the beginning of a word is offset 1 then it grows to 2 if the whitespace on the previous line wraps. I also put limits on the selection drawing. the drawing was happening after reflow, but before reset selection. this made the selection drawing extend beyond the legal limits of the "textlength". P.S. since the paint unicode and paint ascii are so similar, is it better to make a helper func to do the common things? or maybe make another method just to save namespace? 1999-01-25 01:48:01 +00:00
mjudge%netscape.com 58db313754 Focus tracker needs to send the tracker to the implementation of selection so that it can update the tracker as to which frame(s) should be considered the focus frames ect. This is not yet working fully. Everything I am checking in will stay, I simply have a decision to make as to exactly what to do next. RangeList also had some modifications to better selection 1999-01-25 01:42:34 +00:00
pierre%netscape.com 0c1e5ae10f added nsViewportFrame.cpp for Troy 1999-01-24 22:01:58 +00:00
troy%netscape.com b3714ebc19 Initial check-in 1999-01-24 20:36:46 +00:00
mjudge%netscape.com cb811b7c69 This checkin will stop the double addref to the incomming ranges. The problem was that the changing of the old array of voids and the nsVoidPtr array do NOT addref whereas the nsISupportsArray DOES! I suspected as much. I have removed the offending code and I believe this should make selection much cleaner. 1999-01-23 20:43:13 +00:00
peterl%netscape.com 37624b3834 fixed a leak of an input stream 1999-01-23 19:28:09 +00:00
peterl%netscape.com 9937b38698 cleaned up style sheet ordering 1999-01-23 07:09:06 +00:00
peterl%netscape.com 3e1e2ce68d allow reconstruct frames to work on all documents 1999-01-23 07:08:38 +00:00
peterl%netscape.com 870cd4ed7f made media case insensitive (for now) 1999-01-23 07:08:11 +00:00
peterl%netscape.com c23d28c907 added insert style sheet 1999-01-23 07:07:32 +00:00
peterl%netscape.com bbbe75c6c2 cleaned up style sheet ordering
support for selecting alternate style sheets
1999-01-23 07:07:09 +00:00
peterl%netscape.com ec711cef0c added meta tag http-equiv support
fixed selection of default style sheets
made style sheet loading not block parser
added support for several http headers
1999-01-23 07:05:49 +00:00
peterl%netscape.com c5492c1e93 only parse style attributes if doc style language is text/css 1999-01-23 07:04:28 +00:00
peterl%netscape.com 62bc285367 added helper methods for selecting & querying alternate style sheets 1999-01-23 07:03:46 +00:00
peterl%netscape.com 1d4db24d11 added HTTP header atoms 1999-01-23 07:02:56 +00:00
peterl%netscape.com 7597321ac7 fixed case of media atoms 1999-01-23 07:02:10 +00:00