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

1184 Коммитов

Автор SHA1 Сообщение Дата
troy%netscape.com bc2cdbd6d8 Fix for bug #2285. Just reseting the mFlags isn't enough, because the PaintBackground()
member function ignores the flags and checks for a non-empty URL. This way is safer and
should work in all cases
1999-01-11 19:44:22 +00:00
troy%netscape.com bf1b1b7508 Hooked up marginwidth and marginheight attributes to change the 'margin'
property instead of the 'padding' property
1999-01-09 04:31:51 +00:00
rickg%netscape.com 342564910d sync up with mods to the parser 1999-01-09 01:11:37 +00:00
kipp%netscape.com cbfc917947 Implement GetAreas; cleanup some whitespace; removed some out of date comments 1999-01-09 00:17:07 +00:00
kipp%netscape.com 9895d50201 Removed a spurious Addref of an atom 1999-01-09 00:16:42 +00:00
kipp%netscape.com 5256258727 Added some whitespace 1999-01-09 00:16:07 +00:00
kipp%netscape.com f45cd818cf Reformatted a comment 1999-01-09 00:15:54 +00:00
kipp%netscape.com 668422fbe7 Store maps as nsIDOMHTMLMapElement instead of the obsolete nsIImageMap 1999-01-09 00:15:19 +00:00
kipp%netscape.com 92ca700119 Use dom content objects for map/area tags; add map to the content model 1999-01-09 00:14:53 +00:00
kipp%netscape.com e63e57e27b Added new atom 1999-01-09 00:12:28 +00:00
kipp%netscape.com ffc1451884 Added missing forward decl of nsIAtom 1999-01-09 00:11:10 +00:00
joki%netscape.com f449cdd75c Move focus shifting code from nsScrollingView.cpp to nsEventStateManager.cpp 1999-01-08 21:13:59 +00:00
karnaze%netscape.com ec97d3900b dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState 1999-01-08 18:57:40 +00:00
troy%netscape.com 310d08ec36 Added support for 'right' and 'bottom' properties. Changed to using a
nsStyleSides struct to hold all the offsets
1999-01-08 04:47:46 +00:00
troy%netscape.com 1078080415 Fix for bug #2054. If the HTML element's background is 'transparent' then it
uses the BODY's background property
1999-01-08 01:14:59 +00:00
akkana%netscape.com 21dc9ae92a Remove erroneous NOT_IMPLEMENTED return 1999-01-07 21:06:43 +00:00
troy%netscape.com 4141e3d219 Changed ContentRemoved() to also generate a reflow command for the placeholder
for an absolutely positioned frame. Also made sure the child list name is
properly set for the reflow command for the absolutely positioned frame
1999-01-07 05:03:53 +00:00
karnaze%netscape.com e8b01f3e65 Preliminary changes to support align="char" 1999-01-07 01:00:07 +00:00
brade%netscape.com 67027efc9d reduce compiler warnings on Macintosh by adding comparisons in while loops (around assignments) 1999-01-06 20:00:56 +00:00
brade%netscape.com 2525574506 reduce Macintosh compiler warnings by making function static/private 1999-01-06 19:55:57 +00:00
harishd%netscape.com 4527f1559a Added code to take care of CSS properties
that wouldn't allow negative values.
1999-01-06 19:25:25 +00:00
brade%netscape.com 989f3f0e43 reduce Macintosh compiler warnings by making function static/private 1999-01-06 18:51:16 +00:00
brade%netscape.com 0acf537005 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:44:59 +00:00
brade%netscape.com f8115e6d64 reduce Macintosh compiler warnings by adding static to private function 1999-01-06 18:41:05 +00:00
peterl%netscape.com 7c8dc5d0fc added GetStyleImpact
cleaned up api
1999-01-06 01:25:39 +00:00
peterl%netscape.com 821f17e964 fixed namespace used for attributes via the DOM apis
capture style hint data when setting style attribute
1999-01-06 01:24:49 +00:00
peterl%netscape.com 2a81aed4d1 changed DOM attribute methods to return the return value from the underlying attribute mechanism 1999-01-06 01:20:54 +00:00
vidur%netscape.com 324cfd0b4f Work in progres to get out-of-line document.write working. Created Reset() method in nsDocument. Fix for bug 1668. 1999-01-06 00:32:41 +00:00
harishd%netscape.com ed49d6fd5c Added type ( test/css ) checking for STYLE tag 1999-01-06 00:19:46 +00:00
kmcclusk%netscape.com d844648421 Defaultchecked attribute is set to match the checked attribute just after
the radio button or checkbox element is created. Checkboxes and Radio buttons
maintain their current state using the checked attribute stored in the
content model. They no longer use the nsIWidget to maintain their current setting.
Checkboxes and Radio buttons now print correctly. (i.e checked/unchecked state matches the
screen.)
1999-01-06 00:02:27 +00:00
kipp%netscape.com 545a278435 Consolidated character set macros into this file 1999-01-05 23:01:32 +00:00
waterson%netscape.com 86345bc146 Added LXR comments. 1999-01-05 21:57:59 +00:00
troy%netscape.com fabb2fd184 Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
elements
1999-01-05 05:51:22 +00:00
waterson%netscape.com 314b664b4c Landed RDF_122898_BRANCH onto the trunk. 1999-01-05 03:53:15 +00:00
jfrancis%netscape.com 9d910a070e satisfying compiler oddities 1999-01-04 17:44:20 +00:00
jfrancis%netscape.com 489624a921 bug fixing range gravity code; general cleanup 1999-01-04 16:48:33 +00:00
buster%netscape.com 4e033de0be fixed bug 1999, frame="void" was removing cell borders as well as the table frame 1999-01-03 22:30:23 +00:00
jfrancis%netscape.com 0e16d2b97f adding range gravity for dom text nodes 1999-01-03 14:29:54 +00:00
jfrancis%netscape.com bad257e0cd more dom range gravity work 1998-12-30 08:28:16 +00:00
troy%netscape.com 2d45b350be Fixed it so XML documents display again 1998-12-29 05:51:11 +00:00
troy%netscape.com 4982bfd126 Fixed a problem with absolutely positioned tables not working properly 1998-12-29 05:35:42 +00:00
troy%netscape.com 7baf302727 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com e1f9e8b29f Moved logic that deals with moving absolutely positioned frames out of the
flow to the frame construction code
1998-12-29 03:38:16 +00:00
nisheeth%netscape.com d1465ef805 Definition and implementation of nsXSLContentSink. The XSL content sink
is instantiated for an XSL stylesheet and constructs
the XSL rule model as the stylesheet gets parsed by the parser.

Checking in the first cut.  These files are not part of the build yet.  Just
checking in so that they get backed up while I am away on my 3 week vacation.
1998-12-27 08:48:00 +00:00
nisheeth%netscape.com 062892c6c6 Checking in initial tests for the first XSL prototype. 1998-12-27 08:25:54 +00:00
nisheeth%netscape.com 8f2f0826c1 Adding code protected by an ifdef for making the XML content sink initiate
the load of an XSL stylesheet when it sees a stylesheet PI with an XSL
content type.
1998-12-27 08:24:04 +00:00
waterson%netscape.com 1b10eadf5d Fixed CID header file. 1998-12-24 06:33:16 +00:00
waterson%netscape.com 6814c4901c Initial revision. Separated from mozilla/rdf/include. Not yet in the build. 1998-12-24 05:07:14 +00:00
peterl%netscape.com 93b7a60a7b fix a ref counting bug with class atoms 1998-12-21 18:38:44 +00:00
troy%netscape.com 900f469395 Renamed NS_NewHTMLFrame() to NS_NewRootFrame() 1998-12-21 18:22:44 +00:00
brade%netscape.com 5dfe5e9429 remove extra comma to reduce warnings on Mac 1998-12-21 16:39:17 +00:00
rods%netscape.com 3f26c0ab97 Added better default processing of hint 1998-12-21 13:29:32 +00:00
peterl%netscape.com 28380a8dea fixed a crasher when mapping list or table style with a null parent context 1998-12-21 07:48:12 +00:00
peterl%netscape.com 6a65735fa1 fix spelling
fix namespace of HTML element's attributes
1998-12-21 05:59:40 +00:00
peterl%netscape.com 916e05c252 fix spelling 1998-12-21 05:58:58 +00:00
peterl%netscape.com 4db65df9b0 fix spelling
moved inline automatic key object out of line for buggy unix compilers
1998-12-21 05:58:31 +00:00
peterl%netscape.com 22e1f5d16e added support for the 'xmlns' pseudo namespace 1998-12-21 05:56:51 +00:00
troy%netscape.com c9dedf070c Changed the frame hierarchy, and changed how scrolling works. Also added
nsAreaFrame which replaces nsBodyFrame which is no longer used
1998-12-20 23:29:47 +00:00
peterl%netscape.com e75a76898d sync to new attribute api 1998-12-20 01:21:23 +00:00
peterl%netscape.com aef6ec508e attribute selector work 1998-12-20 01:19:22 +00:00
peterl%netscape.com cf007064b5 fix equals to not be case sensative 1998-12-20 01:18:47 +00:00
peterl%netscape.com cdd9d2802c sync to new attribute api
added multiple class support
1998-12-20 01:17:50 +00:00
peterl%netscape.com 67228dac8d implement multiple class support
implement attribute selector support
1998-12-20 01:17:05 +00:00
peterl%netscape.com b915e52038 added case sensativity flag to attribute selectors 1998-12-20 01:16:20 +00:00
peterl%netscape.com 3a2e8fa776 fixes to attribute selector parsing 1998-12-20 01:15:18 +00:00
peterl%netscape.com 3e5db19bb3 fix background flags initial value
tweak table inheritance quirk
1998-12-20 01:11:36 +00:00
peterl%netscape.com 40a4d86e38 made get strength const 1998-12-20 01:08:31 +00:00
peterl%netscape.com 439d2af3fd changed attribute api to take atoms & namespace 1998-12-20 01:08:13 +00:00
akkana%netscape.com fb1c00e52c Add a comment explaining ComparePoints 1998-12-18 23:13:25 +00:00
akkana%netscape.com aa734ee3dc Fix startup crash -- when setting one endpoint with the other one null, collapse the range 1998-12-18 23:12:29 +00:00
michaelp%netscape.com 81f23c5dc8 Fixed default hint for attribute changed - it wasn't being set.
Special-cased SRC attribute for nsHTMLImageElement.
1998-12-18 19:02:36 +00:00
kipp%netscape.com 12fb04dd78 Fixed numerous compiler warnings (hopefully) from the mac build 1998-12-18 17:34:34 +00:00
karnaze%netscape.com fc2ee43b44 added remaining dom methods 1998-12-18 17:05:17 +00:00
jfrancis%netscape.com 085c89871c More range gravity work 1998-12-18 09:32:40 +00:00
jfrancis%netscape.com aa679385e5 More range gravity work 1998-12-18 09:28:55 +00:00
troy%netscape.com 441ef12d7d Reverted back to previous revision, because I came up with a cleaner
solution
1998-12-18 05:23:40 +00:00
troy%netscape.com 60363a423b Re-ordered the call to set the scroll frame's initial child list so that
the XML demos work again. This is really a temporary change until things
get fixed right...
1998-12-18 04:59:14 +00:00
scc%netscape.com 2513a5445e Added static IID() method. This member function will be generated automatically in the future. 1998-12-18 03:43:29 +00:00
troy%netscape.com d18aa1ed6e Changed static casts so they compiled under VC 6.0 1998-12-18 03:29:51 +00:00
jfrancis%netscape.com 642ddb05ae More range gravity work 1998-12-18 02:51:34 +00:00
vidur%netscape.com a1f3e96bff Added asynchronous script and style loading to XML. Moved out stream loader to netlib. 1998-12-18 01:36:41 +00:00
rods%netscape.com 7dcd4a72b8 Fixed a bug I created in GetStyleHintForAttributeChange 1998-12-17 16:38:43 +00:00
rods%netscape.com a81adc519f Added processing hint for the "value" attribute 1998-12-17 15:27:01 +00:00
jfrancis%netscape.com 3e69dc07c3 Adding support for notifying content that it harbors a DOMRange. 1998-12-17 07:22:28 +00:00
sfraser%netscape.com 73c06bfa93 Add ; after class definition 1998-12-17 01:42:02 +00:00
rods%netscape.com 8da46109f1 Changed GetStyleHintForAttributeChange to return NS_STYLE_HINT_CONTENT
when there is a widget and return NS_STYLE_HINT_REFLOW when there isn't
1998-12-17 00:24:58 +00:00
buster%netscape.com 309914d87f oops, there were duplicate entries for border collapse values. Now there's not. 1998-12-16 22:20:44 +00:00
akkana%netscape.com afa58600ae Adding public routine ComparePoints for mjudge 1998-12-16 18:36:48 +00:00
beard%netscape.com b5990ab9aa Fixed case of nsIHttpURL.h 1998-12-16 08:56:10 +00:00
warren%netscape.com b22a4e72fd Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
jfrancis%netscape.com 7b8d9cd7bd ComparePointToRange() now reuses IsIncreasing functionality; also fixed a for loop in DeleteContents() 1998-12-15 23:58:09 +00:00
akkana%netscape.com 000f201d6a Initial stab at CloneContents implementation 1998-12-15 18:47:44 +00:00
kipp%netscape.com 83d1eab541 Added absmiddle to table halign values 1998-12-15 17:58:59 +00:00
kipp%netscape.com ea895658bd Map align=center to auto side margins 1998-12-15 17:58:45 +00:00
shaver%netscape.com 2e1488cb9a Add --enable-debug=module1,module2 to selective turn on debugging.
Remove --enable-dom, because Mariner is dead (sob).
Rename some MODULE= lines to make the afore-mentioned --enable-debug
technique actually useful.  Feel free to recategorize.
Fix libraptorhtml.so link bogosity by disabling shared lib generation for the
sub-archives (libraptor*_s.a), so that we can put bin before lib in the
library path and still get the right effect.  We could disable static-lib
generation in most other places and cut the build time down a fair bit, too.
[NOTE: I'm getting on a train...msw@gimp.org has agreed to be my tinderbox
buddy.  Thanks, Matt!]
1998-12-15 16:32:37 +00:00
vidur%netscape.com ef3b4047d5 Enabled asynchronous loading of SCRIPT SRC=, STYLE SRC= and LINK elements for style sheets. Changed nsIScriptContext to not be dependent on JavaScript. 1998-12-15 06:10:59 +00:00
jfrancis%netscape.com d8f66d8af1 implemented toString() + minor fixmeups 1998-12-15 04:42:29 +00:00
jfrancis%netscape.com d3fea66855 adding nsContentIterator 1998-12-14 23:17:52 +00:00
jfrancis%netscape.com 59913286aa First Checked In. 1998-12-14 23:16:31 +00:00
mjudge%netscape.com 209f6c6d41 adding in selection 1998-12-14 18:34:14 +00:00
av%netscape.com 0fa0a7f9d5 Making object tag to display alternative context 1998-12-13 21:44:55 +00:00
vidur%netscape.com c02f5ba512 Work in progress of async loading of SCRIPT and STYLE with SRC attributes. Content sinks can now return a BLOCK_PARSER return code, forcing the parser to block. nsIParser::EnableParser can be used to unblock. Also introduced nsIContentSink::SetParser. 1998-12-11 17:02:37 +00:00
peterl%netscape.com ce2c4770f0 moved name space management to name space manager, tweaked apis 1998-12-11 02:53:49 +00:00
peterl%netscape.com d007ca3c8a added css atoms 1998-12-11 02:51:05 +00:00
peterl%netscape.com e0ce171455 added support for CSS2 selector syntax 1998-12-11 02:50:43 +00:00
peterl%netscape.com 846697e4a9 support for CSS2 selector systax 1998-12-11 02:50:01 +00:00
peterl%netscape.com fc358231ab added case sensativity switch 1998-12-11 02:48:40 +00:00
peterl%netscape.com 7eddaaaa3b sync css selector output to new selector syntax 1998-12-11 02:48:00 +00:00
peterl%netscape.com 392c47c8dc handle inline style sheet better 1998-12-11 02:47:25 +00:00
peterl%netscape.com fa782354cd fixed base href for inline style sheets
set case sensativity in CSS parser
1998-12-11 02:46:25 +00:00
peterl%netscape.com 0132c761a8 backed out prevoius change (not ready for it) 1998-12-11 02:45:25 +00:00
peterl%netscape.com 72d324bf2f added namespace support 1998-12-11 02:42:38 +00:00
peterl%netscape.com 2d4b5c2c1f removed pseudo class atoms (moved to css atoms) 1998-12-11 02:36:36 +00:00
peterl%netscape.com 543ca3a45c added name space manager 1998-12-11 02:35:06 +00:00
peterl%netscape.com 7c66e30085 fixed default value of vertical align 1998-12-11 02:33:03 +00:00
peterl%netscape.com bb699e8951 added name space atoms 1998-12-11 02:31:51 +00:00
peterl%netscape.com 634d4fd857 added namespace interfaces 1998-12-11 02:30:59 +00:00
peterl%netscape.com 0076d4da58 added namespace manager accessor 1998-12-11 02:30:23 +00:00
peterl%netscape.com 939c33821d added namespace accessor 1998-12-11 02:30:08 +00:00
nisheeth%netscape.com 62ae4239f2 Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent. 1998-12-11 00:52:55 +00:00
nisheeth%netscape.com a86a22d959 Added a new method, GetStyleHintForAttributeChange() to nsIHTMLContent and implemented it in all the HTML content classes. The method is used by the HTML style sheet to get a style change hint from the content object when an attribute of the content object changes. 1998-12-10 23:52:46 +00:00
nisheeth%netscape.com 3985eb30bb Changed nsHTMLStyleSheetImpl::AttributeChanged() so that it asks the
content objects for style change hint.  Removed tag specific code in this function.
1998-12-10 23:49:13 +00:00
akkana%netscape.com 427f2d3ec5 Fix win32 build 1998-12-10 20:15:25 +00:00
akkana%netscape.com 24dbcd2565 Clone and CloneContents 1998-12-10 18:58:49 +00:00
kipp%netscape.com 21967fb93c Added some code to handle illegal color values more compatabibly 1998-12-10 17:50:43 +00:00
buster%netscape.com da215d84c1 an even cleaner implementation of InsertRow 1998-12-09 23:30:06 +00:00
buster%netscape.com 919aaf7123 fixed nsHTMLTableElement::InsertRow() 1998-12-09 23:19:12 +00:00
jfrancis%netscape.com 18e895c2ac checking in a bit more of deleteContents; hard part still not done. 1998-12-09 22:07:00 +00:00
akkana%netscape.com 6759f530b0 implementation for CompareEndPoints 1998-12-09 19:21:49 +00:00
akkana%netscape.com cbf9d5a5e9 Update Range spec 1998-12-09 18:44:26 +00:00
buster%netscape.com b1b5bade52 cellspacing split out into x and y, HTML attribute sets both to same value 1998-12-09 06:36:32 +00:00
buster%netscape.com 9873d0f394 added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side 1998-12-09 06:24:50 +00:00
buster%netscape.com a8d87b8305 added implementation for CSS-2 style attributes border-collapse, border-spacing, empty-cells, caption-side
this is sufficient for now, but incomplete.  It doesn't handle inherit properly.
1998-12-09 06:24:27 +00:00
troy%netscape.com 2a501cc669 Added new atoms to nsLayoutAtoms for additional named frame child lists 1998-12-09 05:30:17 +00:00
akkana%netscape.com 662cbc664e GetOwnerDocument should return NS_ERROR_NOT_IMPLEMENTED if it's not going to modify its input 1998-12-08 19:53:25 +00:00
mjudge%netscape.com c549a78e51 chagnes to selection 1998-12-08 18:26:06 +00:00
mjudge%netscape.com f4b7dee737 changes to selection 1998-12-08 18:25:47 +00:00
mjudge%netscape.com 8242e39f7f changes to remove selection 1998-12-08 18:25:27 +00:00
kipp%netscape.com c8aad55ba1 Fixed an improper use of NS_RELEASE 1998-12-08 16:08:44 +00:00
jfrancis%netscape.com 9b3d64567a removing tabs; started deleteContents() imp 1998-12-08 02:26:15 +00:00
buster%netscape.com ab6e5d8e3e fixed default cellspacing and cellpadding 1998-12-08 00:59:15 +00:00
kipp%netscape.com 78b7ec988a Made image documents layout again 1998-12-07 22:29:13 +00:00
harishd%netscape.com 545162f28e Changed code that previously accessed mBorderStyle and mBorderColor
with new mehtods added in nsStyleSpacing
1998-12-07 19:05:40 +00:00
harishd%netscape.com 058bfc3274 Changed code that previously accessed mBorderStyle and mBorderColor
with new methods added in nsStyleSpacing
1998-12-07 18:56:29 +00:00
harishd%netscape.com fa72f8598e Changed code that previously accessed mBorderStyle and mBorderColor
with the new methods added in nsStyleSpacing
1998-12-07 18:55:19 +00:00
harishd%netscape.com 39820e34d1 changed all the places that previously accessed mBorderStyle and mBorderColor
with the new methods defined in nsStyleSpacing
1998-12-07 18:51:26 +00:00
troy%netscape.com e7be4256f2 Changed wrapping of floated elements so the wrapping happens inside of
ConstructFrameByDisplayType(), and now we only wrap frames of display
type 'block' and 'inline'
1998-12-07 18:44:40 +00:00
jfrancis%netscape.com 31d3e3fbdf fixing IsSameDocument by including nsIDOMDocument.h 1998-12-07 17:53:59 +00:00
jfrancis%netscape.com 7dafcd86ec implemetned ComparePointToRange() and IsPointInRange(). Stopped caching ancestor lists. Added standard copy constructor/assignment operator prohibition. 1998-12-07 16:11:52 +00:00
beard%netscape.com 839248e19f Initial cut at GetReferrer, GetDomain methods. Some enhancements to nsIURL may be needed to do this right. 1998-12-07 06:10:12 +00:00
ramiro%netscape.com 2009b728de Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
akkana%netscape.com dcb1c463b0 Implement InSameDoc 1998-12-05 02:19:01 +00:00
troy%netscape.com 1fcf20d0f3 Temporary change to make sure we don't wrap floated tables in a BODY frame 1998-12-04 23:51:16 +00:00
troy%netscape.com 55f632387d Moved creation of first page frame to frame construction code, and changed
it so the page frame has a view. This makes printing faster and easier
1998-12-04 21:04:56 +00:00
troy%netscape.com bd58bde76d Moved view creation to frame construction code. Also moved wrapping of
floated and absolutely positioned elements to frame construction code
1998-12-04 19:03:44 +00:00
jfrancis%netscape.com f3a0df7ba8 fixing up start/end setters, other details 1998-12-04 18:21:52 +00:00
troy%netscape.com 80545a3bd4 Changed view creation to occur when frame initialization occurs 1998-12-04 05:56:06 +00:00
troy%netscape.com 36f4bf7247 Moved logic that created a BODY frame that forms the cell's content from the
table frame code to the frame construction code
1998-12-04 02:08:51 +00:00
jfrancis%netscape.com 79d201db7f more work on grungy range details 1998-12-03 22:59:07 +00:00
mjudge%netscape.com a3396fc203 new selection change to come ifdefs going in 1998-12-03 21:48:32 +00:00
mjudge%netscape.com d2dfadf225 changing use of selection 1998-12-03 21:45:26 +00:00
mjudge%netscape.com 4ac456fec2 changing selection code 1998-12-03 21:43:32 +00:00
mjudge%netscape.com 26d932ee59 new collection export instead of nsISelection 1998-12-03 21:42:58 +00:00
waterson%netscape.com 989c4fbe60 A better fix. 1998-12-03 20:50:21 +00:00
waterson%netscape.com 8ca32ffd70 Fix build bustage. 1998-12-03 20:47:01 +00:00
waterson%netscape.com 3cbd2aa561 Added initializers that can be used from the repository. Export nsIHTMLStyleSheet.h. 1998-12-03 20:20:35 +00:00
waterson%netscape.com 07920c6756 Added initializer that can be used from the repository. 1998-12-03 20:19:46 +00:00
buster%netscape.com ab4dfe23b9 added atoms for table pseudo style contexts 1998-12-03 18:00:42 +00:00
jfrancis%netscape.com 7e28938017 fixing bad goto (as if there were good ones?) 1998-12-03 17:25:00 +00:00
troy%netscape.com 6be0f1bb4f Added NS_RELEASE to fix leak of a HTML style element 1998-12-03 16:46:56 +00:00
jfrancis%netscape.com 31f969fa8a adding some private helper functionality that is going to change soon... 1998-12-03 15:02:37 +00:00
jfrancis%netscape.com 4ae12673b3 putting Akkana's implementation back in; fixed compile-time errors 1998-12-03 09:51:05 +00:00
troy%netscape.com d97a31f115 Added Init() member function to nsIFrame 1998-12-03 06:31:43 +00:00
joki%netscape.com 4e997acada Fix cursor bug which caused cursor to be set once per child view on each mousemove 1998-12-03 03:07:16 +00:00
vidur%netscape.com 869e02c373 Fixed unitialized value problem. 1998-12-03 00:34:44 +00:00
joki%netscape.com 1a47e52cb5 Fix mouseover/mouseout firing crash when hitting bad frame. 1998-12-02 02:14:58 +00:00
peterl%netscape.com 6a548ee74f added inline style sheet support for contained HTML 1998-12-02 00:39:10 +00:00
peterl%netscape.com 6491194ab0 changed media type to atom
moved body fixup rule to body element
1998-12-02 00:38:33 +00:00
peterl%netscape.com b724dddfbc changed media type to atom 1998-12-02 00:38:14 +00:00
peterl%netscape.com 36202d8d46 added media support to child sheet iteration
changed medium type to atoms
1998-12-02 00:37:32 +00:00
peterl%netscape.com 62f19b11dc added media support to import 1998-12-02 00:36:37 +00:00
peterl%netscape.com 4f5e330093 changed medium type to atom 1998-12-02 00:36:00 +00:00
peterl%netscape.com 34b6f5761e added inline style sheet accessor 1998-12-02 00:35:41 +00:00
peterl%netscape.com c5ad15c3ea changed media to uppercase atoms 1998-12-02 00:35:03 +00:00
peterl%netscape.com 3cf6cb3b98 added inline style rule accessor 1998-12-02 00:34:31 +00:00
peterl%netscape.com 6fbec6d63b moved body fixup rule into content 1998-12-02 00:34:06 +00:00
peterl%netscape.com 728c669e6a added inline style accessor 1998-12-02 00:33:12 +00:00
peterl%netscape.com ad4d5a8d0d added nsLayoutAtoms 1998-12-02 00:32:20 +00:00
peterl%netscape.com 6d6e66b873 added media support 1998-12-02 00:30:42 +00:00
peterl%netscape.com 0d3bc3ce7e new file 1998-12-02 00:29:29 +00:00
peterl%netscape.com 009f5dbd89 changed medium type to atom 1998-12-02 00:29:16 +00:00
waterson%netscape.com fdf819f5ae First Checked In. 1998-12-02 00:20:07 +00:00
mjudge%netscape.com 808c742916 including proper thing 1998-12-01 19:18:52 +00:00
akkana%netscape.com 76ccd60aed Change Element to Node 1998-12-01 19:15:00 +00:00
mjudge%netscape.com 52a9ea22fc need to include the nsIDOMElement.h dont know why this worked on windows 1998-12-01 19:14:18 +00:00
vidur%netscape.com e191547768 Fixing build bustage 1998-11-30 08:47:27 +00:00
vidur%netscape.com e2547a120e Moved nsGenericElement to base directory. Added basic support for document fragments. 1998-11-30 07:59:11 +00:00
vidur%netscape.com 42f841cc88 Added nsDocumentFragment to build. Fixed bug 1256 - the content sink is flushed as soon as it encounters a script tag. 1998-11-28 23:51:06 +00:00
kipp%netscape.com d04dbf19bd Port to revised pres-context API 1998-11-26 18:14:41 +00:00
peterl%netscape.com 19549c35a8 made css style sheet public (for mac) 1998-11-26 05:17:03 +00:00
peterl%netscape.com 96c289a47a removed processimport 1998-11-26 05:16:43 +00:00
peterl%netscape.com 33c08ec108 added media support to @import 1998-11-26 05:16:22 +00:00
peterl%netscape.com 7edd98cfcb deal with const issues on unix compilers 1998-11-26 04:53:49 +00:00
peterl%netscape.com f5776c509e fix unix build 1998-11-26 03:45:50 +00:00
rickg%netscape.com f9d20c19aa improvements to recursive parser calls 1998-11-26 02:56:40 +00:00
sar%netscape.com a22a417b66 backing out akkana's changes. this will fix build bustage on the mac 1998-11-26 02:30:44 +00:00
peterl%netscape.com 4222f0257e style change notification support 1998-11-26 01:34:53 +00:00
peterl%netscape.com 1ec6fad39c handle whitespace in url() better 1998-11-26 01:30:51 +00:00
peterl%netscape.com e2e555563d connected style sheet better (added content node & properties) 1998-11-26 01:29:10 +00:00
peterl%netscape.com 1bfec862ce added change notification support 1998-11-26 01:24:52 +00:00
peterl%netscape.com daab147c00 added style sheet properties 1998-11-26 01:24:32 +00:00
akkana%netscape.com 436f0d2ec6 Implementation of the easy parts 1998-11-25 23:20:29 +00:00
kipp%netscape.com ed15bc1725 Fixed IsScrollable to take an extra argument so that we would only create scroll-frames around blocks using the webshells criteria if it's the body frame (bug #1608) 1998-11-25 16:41:06 +00:00
vidur%netscape.com 783e391275 New class nsDocumentFragment 1998-11-25 08:14:47 +00:00
jfrancis%netscape.com 8229e7eb76 removing the accidentally copied "AUTOGENERATED - Do Not Edit" warning 1998-11-25 01:34:59 +00:00
jfrancis%netscape.com c31035761d cleanup 1998-11-25 01:21:42 +00:00
akkana%netscape.com add678af20 Add include line 1998-11-24 21:24:40 +00:00
akkana%netscape.com c3872e98ab Implementation file for nsIDOMRange 1998-11-24 21:20:11 +00:00
joki%netscape.com 847937ccae Implement document.URL access 1998-11-24 21:07:43 +00:00
karnaze%netscape.com 73c8a02a2b fixed bug 1504 (memory leak of select elements) 1998-11-24 18:54:26 +00:00
joki%netscape.com f3b09e1684 ifdef out some broken code in SetActiveLink until I have time to fix it. 1998-11-24 08:13:55 +00:00
joki%netscape.com 09cd62b18e Add click event support for every element and initial keypress event support 1998-11-24 07:46:58 +00:00
rickg%netscape.com d3f830f49e fixed call to ToInteger() to respect the error code 1998-11-24 02:39:36 +00:00
karnaze%netscape.com 0885ea6134 <frame> now uses <base> for its src attribute 1998-11-24 02:01:45 +00:00
kipp%netscape.com 5e7b2ca7ab Use Pushback to put back the right character 1998-11-24 01:47:19 +00:00
kipp%netscape.com e1436aeb16 Made IFRAME a container (like it should have been) so that it can contain the content that isn't being rendered (because we support iframe's) 1998-11-24 00:11:54 +00:00
vidur%netscape.com 5430dc16b2 Allow application/x-javascript for type in SCRIPT tags 1998-11-23 23:06:57 +00:00
kipp%netscape.com b7f723b107 Fixed up handling of form element attributes slightly to match navigators handling of ALIGN; this is compatible with nav/IE and with the HTML4 DTD (because ALIGN is deprecated) 1998-11-23 19:33:22 +00:00
kipp%netscape.com 6d33e1bcde Added code in to not consume events if the anchor has no HREF attribute. This prevents <A NAME=...> containers from eating events 1998-11-23 17:45:00 +00:00
buster%netscape.com 199d61519b removed the resolution of table pseudo-style until we can test it and
actually use it.  this was just a memory leak.
1998-11-21 00:53:03 +00:00
joki%netscape.com ecbb1182ec Fixing a submit/reset event bug, frame destruction reentrancy bug, and an imagemap bug. 1998-11-21 00:19:36 +00:00
troy%netscape.com 21e1f648b1 Added nsHTMLAtoms::wrappedFramePseudo and changed ConstructFrame() to use
it instead of nsHTMLAtoms::columnPseudo
1998-11-20 23:27:59 +00:00
buster%netscape.com 074583f502 took out a dumb debug printf 1998-11-20 21:09:54 +00:00
buster%netscape.com aa0ff99ae0 put in a VERY temporary work-around for some crashes we're seeing as a
result of table style context's display type != TABLE
1998-11-20 21:08:06 +00:00
buster%netscape.com d27c0b5dd5 added tablePseudo 1998-11-20 21:05:31 +00:00
kipp%netscape.com 15dc65b188 Removed a compiler warning 1998-11-20 17:21:22 +00:00
buster%netscape.com cae6af5e35 removed obsolete include of nsTableFrame 1998-11-20 01:04:43 +00:00
buster%netscape.com a03be26dfc handles "height" attribute 1998-11-20 01:03:45 +00:00
kipp%netscape.com 0702a9d059 Fix build bustage (hopefully) 1998-11-19 05:37:59 +00:00
joki%netscape.com 76afffebc9 Adding more backwards compat DOM support (event.which, pageX, and pageY) 1998-11-19 03:20:21 +00:00
joki%netscape.com c3708b2ed8 Modify event flow to avoid walking into trashed frames. 1998-11-19 00:43:36 +00:00
buster%netscape.com d84790df55 Proportional column width based on HTML attributes is now implemented. proportional "multilength" syntax ("1*")
now works on COL and COLGROUP.  Bug 1128.
1998-11-18 22:10:02 +00:00
buster%netscape.com 95be4abe33 impl of DOM table.deleteRow 1998-11-18 06:30:13 +00:00
buster%netscape.com a6bce85696 impl for DOM table.InsertRow 1998-11-18 06:06:37 +00:00
joki%netscape.com 7716dc91e8 Reworking internal event code to use nsIFrame::GetFrameForPoint
Adding new functionality through nsEventStateManager (cursor change, enter/exit events, tab navig)
1998-11-18 05:25:26 +00:00
peterl%netscape.com 239ca35fcd cursor style cleanup 1998-11-18 02:23:39 +00:00
peterl%netscape.com c053568936 cleaned up cursor style handling 1998-11-18 02:11:54 +00:00
peterl%netscape.com 00ae8e9cc9 use proper pseudo tag for text style contexts 1998-11-18 02:11:27 +00:00
peterl%netscape.com 90e19c51d8 added text pseudo tag 1998-11-18 02:09:53 +00:00
buster%netscape.com fb18ad6ce1 impl for DOM methods table.create(THead|TFoot|Caption) and deleteCaption 1998-11-17 23:09:59 +00:00
buster%netscape.com 885cad24a8 new module 1998-11-17 22:20:59 +00:00
buster%netscape.com 1238f3f20c renamed TableElementCollection to GenericElementCollection, and factored it into
it's own module for reuse.
1998-11-17 21:40:38 +00:00
buster%netscape.com 07ba2a028f implementation of rows() and tBodies() 1998-11-17 16:32:29 +00:00
kipp%netscape.com cc720770f8 Made SetTitle call ReduceEntities for bug #1398 1998-11-17 16:29:25 +00:00
vidur%netscape.com 4ca363e17b Changes to allow disabling and enabling of style sheets. Introduced ReconstructFrames to nsIFrameConstructor. CSSStyleSheets now remember their document. Temporary fix to allow text content inside CSS tables. 1998-11-17 02:14:38 +00:00
buster%netscape.com 8b61eb7b90 work in progress for full DOM support for tables 1998-11-16 23:31:24 +00:00
troy%netscape.com 8550f707c1 Made sure NS_BODY_THE_BODY flag is set for the body wrapper frame we
create for XML documents
1998-11-16 21:48:13 +00:00
buster%netscape.com 655121b757 added storage in styleTable for a column's width contribution from cells that
have colspan>1.
1998-11-16 06:47:24 +00:00
vidur%netscape.com 4f929ce5e4 First pass to allow HTML forms to be embedded inside XML documents. 1998-11-16 06:16:17 +00:00
kipp%netscape.com c4ba29cb0e Added some more null-pointer checking to DOM methods 1998-11-14 22:51:43 +00:00
michaelp%netscape.com f186598ef5 changes for pixel scaling/printing. 1998-11-14 01:52:27 +00:00
vidur%netscape.com 733321ca8f Added Xlink support 1998-11-14 00:22:10 +00:00
vidur%netscape.com a349a1e4a6 Added support for XLink - simple links and show=replace or new. Modified nsILinkHandler interface. 1998-11-14 00:21:19 +00:00
karnaze%netscape.com 3f513d4bc8 bug 1374 (hometown.aol.com crash on resize) 1998-11-13 23:44:50 +00:00
vidur%netscape.com c1951f680d Generic HTML collection base class 1998-11-13 22:30:23 +00:00
rickg%netscape.com 1a47a78ee2 allow view-source on XML 1998-11-13 04:36:46 +00:00
troy%netscape.com 9b21f39f54 Added a scroll frame for print preview 1998-11-13 04:22:23 +00:00
troy%netscape.com e21c76703a Cleaned up ConstructXMLRootFrame() and added some XXX comments 1998-11-13 03:43:15 +00:00
vidur%netscape.com 30cdfe13ca XML example with scripting 1998-11-12 23:57:54 +00:00
vidur%netscape.com 632a979901 Added script handling to XML content sink. Made sure frame construction by tag wasn't done for XML. 1998-11-12 23:55:47 +00:00
kipp%netscape.com e105be2a27 Actually advance the dest pointer so a copy occurs (doh!) 1998-11-12 23:33:12 +00:00
troy%netscape.com 2b86b49c95 Cleaned up the way construction of the root frame happens for XML documents.
We no longer create a pseudo root element
1998-11-12 23:03:35 +00:00
joki%netscape.com ab25720208 DOM Support: nsHTMLDocument body property 1998-11-12 22:25:51 +00:00
buster%netscape.com 45f8b315a9 rowgroup pseudo-frames for rows inserted directly into a table 1998-11-12 20:45:28 +00:00
buster%netscape.com 9b8264930f col and colgroup attribute handling
colgroup pseudo frame for cols inserted directly into a table.  More like this to come...
1998-11-12 18:37:28 +00:00
kipp%netscape.com fc16d5fc42 init the html atoms too...(temporary) 1998-11-12 18:16:25 +00:00
vidur%netscape.com b947ced837 Modified stylesheet 1998-11-12 17:17:48 +00:00
vidur%netscape.com d73eed6d2e new 1998-11-12 16:36:02 +00:00
vidur%netscape.com 9a325834e4 Factored GetAttributStyleSheet method into separate nsHTMLContentContainer interface that can be implemented by both HTML and XML document classes. 1998-11-12 07:54:12 +00:00
vidur%netscape.com 29d606fae2 Got rid of bogus dependency on XMLContent 1998-11-12 07:06:47 +00:00
vidur%netscape.com c068c96a00 Added XML display support. Split nsGenericHTMLElement into generic and HTML-specific components. Minor style modification. New XML classes and interfaces. 1998-11-11 22:06:16 +00:00
rickg%netscape.com c16dd335a5 enabled view-source 1998-11-11 20:31:45 +00:00
buster%netscape.com daf8cc32db support for frame and rules attribute 1998-11-11 19:56:02 +00:00
buster%netscape.com baaa18677b fix for default cell padding and cell spacing 1998-11-11 19:54:23 +00:00
troy%netscape.com bdd1ad3abf Fixed memory leak 1998-11-11 16:50:51 +00:00
rickg%netscape.com bac5cf794d first pass support for view-source 1998-11-11 11:55:32 +00:00
troy%netscape.com e248cb0b50 Fixed a memory leak of a content object 1998-11-11 06:37:30 +00:00
troy%netscape.com b208618ab6 Eliminated the hack where the scroll frame was creating a BODY wrapper for
the scrolled frame. Now the frame construction code creates the wrapper
frame
1998-11-11 04:43:13 +00:00
troy%netscape.com fd34820203 Renamed Init() to SetInitialChildList() and added an additional parameter
for the name of the child list
1998-11-10 06:05:32 +00:00
rickg%netscape.com f0462a14da changed contentsink API to support XML 1998-11-10 04:13:59 +00:00
kipp%netscape.com 4f710d172f Create a block frame for run-in and compact frames 1998-11-09 23:35:44 +00:00
karnaze%netscape.com 44b5b9e670 form control content attribute changes (not all) reflected in layout; fixed scrolling on <iframe>, <frame>;
added nsImageControlFrame to handle <input type=image>.
1998-11-09 23:30:16 +00:00
troy%netscape.com 02915d3677 First of a few changes to allow frames to have multiple child lists.
FirstChild() now takes an additional argument which is the name of the
child list.
1998-11-09 19:40:27 +00:00
vidur%netscape.com 96f4bbec57 Fix to GetFirstChild/GetLastChild from Michael Leventhal (mle@citec.fi) 1998-11-09 17:51:18 +00:00
kipp%netscape.com 7f7afdabd3 Repaired marginwidth/marginheight handling code 1998-11-09 17:51:05 +00:00
kipp%netscape.com 58eb43e339 Some spot error handling improvements to fix a crash in http://checkmate/raptor/js98/test3.html 1998-11-09 16:21:18 +00:00
troy%netscape.com d41a655b4a Changed implementation of DefaultValue to use the value of the "value"
attribute
1998-11-07 17:46:12 +00:00
troy%netscape.com 6bedb3e504 Added code to StringToAttribute() to handle "border" attribute 1998-11-07 05:27:39 +00:00
troy%netscape.com 1ef01c4b61 Fixed ConstructFrame() so it creates the scroll frame first. This ensures
the style context hierarchy is correct
1998-11-06 17:57:24 +00:00
peterl%netscape.com fa0074c6e2 fixed text-decorations some more 1998-11-06 01:06:26 +00:00