Commit Graph

3671 Commits

Author SHA1 Message Date
rods%netscape.com
785ddfe1a6 Commented out the rollover code that sets the class to a pseudo-class 1999-02-11 18:36:40 +00:00
kmcclusk%netscape.com
c78c43bfcb Added additional style rules+properties for INPUT elements for printing and gfx-rendering. 1999-02-11 18:27:38 +00:00
troy%netscape.com
902190112d API changes for nsIPresContext ResolveStyleContextFor and ResolvePseudoStyleContextFor 1999-02-11 15:56:23 +00:00
troy%netscape.com
c553baf851 Changed to using nsCOMPtr 1999-02-11 15:54:13 +00:00
troy%netscape.com
3b9ef6ef19 Changed ResolveStyleContextFor and ResolvePseudoStyleContextFor to use pointer
arguments instead of references for OUT parameters
1999-02-11 15:53:26 +00:00
peterl%netscape.com
0436fce459 added :-moz-viewport 1999-02-11 06:48:51 +00:00
peterl%netscape.com
39d604d691 made class values case sensitive 1999-02-11 06:43:14 +00:00
peterl%netscape.com
7abf9dcf70 handle case sensitivity in attribute selector values here 1999-02-11 06:42:49 +00:00
peterl%netscape.com
e3cc02769e fixed bug while tokenizing ints at end of input stream 1999-02-11 06:42:02 +00:00
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