Commit Graph

2411 Commits

Author SHA1 Message Date
kipp%netscape.com
3c5005ec2d Clean up block frame flags 1999-01-12 16:41:30 +00:00
vidur%netscape.com
274a4add3e Second pass of attributes as nodes. Improved namespace management - XML elements now hold on to their containing namespace. Fixed Get/SetDOMAttriute naming issue. Added new namespace parsing methods to nsIContent 1999-01-12 16:37:24 +00:00
troy%netscape.com
0ec574a5c1 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
82966e298c Hooked up marginwidth and marginheight attributes to change the 'margin'
property instead of the 'padding' property
1999-01-09 04:31:51 +00:00
troy%netscape.com
4f14253e33 Turned off assert 1999-01-09 01:43:02 +00:00
rickg%netscape.com
8f11084fc8 sync up with mods to the parser 1999-01-09 01:11:37 +00:00
kipp%netscape.com
10a89709d7 new 1999-01-09 00:18:08 +00:00
kipp%netscape.com
ef74e3273a Implement GetAreas; cleanup some whitespace; removed some out of date comments 1999-01-09 00:17:07 +00:00
kipp%netscape.com
00cbea9c70 Removed a spurious Addref of an atom 1999-01-09 00:16:42 +00:00
kipp%netscape.com
063d9973c9 Added some whitespace 1999-01-09 00:16:07 +00:00
kipp%netscape.com
30202d5e7c Reformatted a comment 1999-01-09 00:15:54 +00:00
kipp%netscape.com
4d283102bd Store maps as nsIDOMHTMLMapElement instead of the obsolete nsIImageMap 1999-01-09 00:15:19 +00:00
kipp%netscape.com
0448f13e03 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
75891f558f nuked 1999-01-09 00:14:17 +00:00
kipp%netscape.com
4fb3f00732 Removed a turd 1999-01-09 00:14:09 +00:00
kipp%netscape.com
d1dd0f55bd Reworked to use dom content objects for holding the raw map data and observering content changes and updating the 'compiled' map 1999-01-09 00:13:53 +00:00
kipp%netscape.com
19e73d1f62 Use nsImageMap 1999-01-09 00:13:19 +00:00
kipp%netscape.com
b8a8b7e309 Changed over to using nsImageMap instead of nsIImageMap 1999-01-09 00:12:49 +00:00
kipp%netscape.com
4cbb066ec7 Added new atom 1999-01-09 00:12:28 +00:00
karnaze%netscape.com
c2cfb8b82f dom table methods, moved align="char" data members from nsReflowState to nsHTMLReflowState 1999-01-08 18:57:40 +00:00
troy%netscape.com
20fbd1e186 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
c502a142cc Fix for bug #2040. Changed BODY to use margin and not padding now that #2054 is fixed 1999-01-08 02:51:07 +00:00
troy%netscape.com
b0aeb44419 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
rpotts%netscape.com
7b357b07fc Changes for the new EventQueueService... 1999-01-07 07:47:25 +00:00
troy%netscape.com
6d753e4c78 Changed to handle FrameRemoved reflow command for an absolutely positioned
child frame
1999-01-07 05:46:26 +00:00
troy%netscape.com
c876ae8a25 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
troy%netscape.com
b9a4ba7918 Fixed FindFrameWithContent() to do a better job of recognizing placeholder
frames and skipping them
1999-01-07 04:47:43 +00:00
buster%netscape.com
ef57c474ae just documentation 1999-01-07 02:16:10 +00:00
karnaze%netscape.com
c111662c1f Preliminary changes to support align="char" 1999-01-07 01:00:07 +00:00
brade%netscape.com
84072d957e reduce Macintosh compiler warnings by making function static/private 1999-01-06 19:55:57 +00:00
harishd%netscape.com
55c83966cf 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
7bc19df3f9 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:53:59 +00:00
brade%netscape.com
2ad8ae0483 reduce Macintosh compiler warnings byadding prototype 1999-01-06 18:52:58 +00:00
brade%netscape.com
3e75d671d1 reduce Macintosh compiler warnings by making function static/private 1999-01-06 18:51:16 +00:00
brade%netscape.com
e061c6cf15 reduce Macintosh compiler warnings by making functions static/private 1999-01-06 18:45:28 +00:00
brade%netscape.com
8727d91f50 reduce Macintosh compiler warnings by adding prototype 1999-01-06 18:44:59 +00:00
brade%netscape.com
c79a8d793c reduce Macintosh compiler warnings by making function private 1999-01-06 18:43:39 +00:00
brade%netscape.com
960bcd5cfd reduce Macintosh compiler warnings by making functions private 1999-01-06 18:43:18 +00:00
brade%netscape.com
5f008f5785 reduce Macintosh compiler warnings by adding static to private function 1999-01-06 18:41:05 +00:00
brade%netscape.com
2c9cd20a7c reduce Macintosh compiler warnings by adding prototypes 1999-01-06 18:39:52 +00:00
troy%netscape.com
9ceceead01 This time I think I got 'em in alphabetical order... 1999-01-06 04:41:47 +00:00
troy%netscape.com
67c86e0b0b Did a better job of alphabetizing the source files 1999-01-06 04:39:33 +00:00
troy%netscape.com
dbc6ce7c5c Renamed nsFRameReflowState.cpp to nsHTMLReflowState.cpp 1999-01-06 03:46:55 +00:00
peterl%netscape.com
b3ae3a8483 added GetStyleImpact
cleaned up api
1999-01-06 01:25:39 +00:00
peterl%netscape.com
b1a4f51802 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
vidur%netscape.com
458c7b51da Fix for bug 1954. Cloned text nodes (and comments) carry along the original data 1999-01-06 00:57:17 +00:00
vidur%netscape.com
2934b39e2c 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
6d3a1438bd Added type ( test/css ) checking for STYLE tag 1999-01-06 00:19:46 +00:00
kmcclusk%netscape.com
6cc574b43f 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
troy%netscape.com
4b3e1eebad Replaced "maxSize" member if nsReflowState with "availableWidth" and
"availableHeight"
1999-01-05 23:31:18 +00:00
kipp%netscape.com
844a41c615 Use macros from nsTextFragment 1999-01-05 23:02:27 +00:00
kipp%netscape.com
50b331f35c Reinstated the last set of checkins that were backed out 1999-01-05 23:01:54 +00:00
troy%netscape.com
a423353676 Initial check-in 1999-01-05 19:44:41 +00:00
donm%netscape.com
9b2666a111 backing out changes against a long red tree. would like to clear
the hook.  -donm
1999-01-05 18:16:05 +00:00
kipp%netscape.com
e29f665a91 Fix handling of removed-child incremental reflow to no longer crash (bug #1941); also disabled incremental behavior for remove and inserted for now so that layout looks correct 1999-01-05 17:50:41 +00:00
kipp%netscape.com
3a981f0215 Removed aPrevSibling from DoRemoveFrame's arg list 1999-01-05 17:49:44 +00:00
troy%netscape.com
3d957f5d86 Improved GetAbsoluteContainingBlock() a bit. It still needs to handle scrolled
elements
1999-01-05 05:51:22 +00:00
troy%netscape.com
850f9b5598 Cleaned up some old references to margins which aren't applicable to row group
frames and row frames (because internal table elements don't have margins)
1999-01-05 00:41:40 +00:00
amusil%netscape.com
0adb3694fe Temporary workaround so that plugins display correctly. This will change after support for
CSS borders and padding are added.
1999-01-04 23:45:38 +00:00
jfrancis%netscape.com
58623fe2e1 bug fixing range gravity code; general cleanup 1999-01-04 16:48:33 +00:00
jfrancis%netscape.com
e5cc7df1b0 fixing build bustage 1999-01-04 15:24:31 +00:00
jfrancis%netscape.com
da48ead009 disabling some range stuff while I fix it 1999-01-04 13:06:43 +00:00
troy%netscape.com
c5ec74eb54 Changed nsISpaceManager interface to conform to XP-COM conventions on
return values
1999-01-04 04:54:33 +00:00
buster%netscape.com
353da933fb fixed bug 1999, frame="void" was removing cell borders as well as the table frame 1999-01-03 22:30:23 +00:00
buster%netscape.com
4ee5cb0ef1 comments, so many comments! 1999-01-03 19:23:21 +00:00
buster%netscape.com
1b814a3efe preliminary work for cell inheritence of valign and halign attributes from col(group) and row(group)
according to css 2 spec
1999-01-03 19:22:40 +00:00
buster%netscape.com
5c8da0287c fixed a bug in fixed layout initial reflow with spanning cells 1999-01-03 19:20:13 +00:00
jfrancis%netscape.com
ff9cf6ef75 adding range gravity for dom text nodes 1999-01-03 14:29:54 +00:00
troy%netscape.com
99455f5082 Moved enum and replaced it with #defines 1999-01-03 00:31:46 +00:00
troy%netscape.com
16ca348baa Fixe for test8 hitting an assert 1999-01-03 00:15:56 +00:00
troy%netscape.com
eb188f8529 Changed comment to reflect the current state of the tree 1999-01-02 23:05:08 +00:00
troy%netscape.com
a8d603caa3 Changed computed width calculation for internal table elements to take
border/padding into account
1999-01-02 22:54:12 +00:00
troy%netscape.com
1d0d15f303 Added logic to make sure that internal table elements have reasonable
values for the computed width/height
1999-01-02 21:03:51 +00:00
troy%netscape.com
5f3db9d048 Added :CELL-CONTENT rule for the area-frame that's inside the table cell.
Sets the 'display' property to 'block' to override the default value of
'inline'
1999-01-02 21:01:37 +00:00
troy%netscape.com
097f73ee6c Changed CreatePlaceholderFrame() to use a pseudo element style context
(:PLACEHOLDER-FRAME) for the placeholder frame. This way it looks like an
inline static frame with a specified size of (0, 0)
1999-01-02 20:51:43 +00:00
troy%netscape.com
b8f80c0efa Fix for bug 2109. If the child's maxSize.width is smaller than the containing
block's computed width then use it instead
1999-01-02 19:21:32 +00:00
troy%netscape.com
c30da1d1ee Changed InitConstraints() to handle inline, block-level, and floated elements
(replaced and non-replaced)
1998-12-31 23:07:00 +00:00
troy%netscape.com
8e168ef086 Better computation of computed width and height and margins for block-level
elements
1998-12-31 05:35:38 +00:00
buster%netscape.com
0664302426 collapsing border bug fixes 1998-12-30 23:23:45 +00:00
buster%netscape.com
46621cf846 empty cells now are sized correctly. 1998-12-30 22:41:08 +00:00
buster%netscape.com
0609bf2754 collapsing borders with odd width have correct width now 1998-12-30 22:40:36 +00:00
buster%netscape.com
ae7cb6e3da right dashed borders now work
dashed borders along a span now mostly work
1998-12-30 22:39:49 +00:00
troy%netscape.com
4591f9d2ad Changed width/height constraints in nsHTMLReflowState struct 1998-12-30 17:50:00 +00:00
jfrancis%netscape.com
bb23b3dbd6 more dom range gravity work 1998-12-30 08:28:16 +00:00
buster%netscape.com
714c427896 collapsing border computation and conflict resolution 1998-12-30 06:48:15 +00:00
buster%netscape.com
c34896d000 CSS2 table collapsing border rendering 1998-12-30 06:47:26 +00:00
troy%netscape.com
ee997bddd1 Fixed it up to compile, because the Mac is still building it... 1998-12-29 05:54:59 +00:00
troy%netscape.com
14ae1a9919 Fixed it up to compile again, because the Mac is still building it... 1998-12-29 05:53:54 +00:00
troy%netscape.com
d56587e4cb Fixed it so XML documents display again 1998-12-29 05:51:11 +00:00
troy%netscape.com
eb99e22e68 Removed debug output that was probably checked in by mistake 1998-12-29 05:37:11 +00:00
troy%netscape.com
d9b4fa08c0 Fixed a problem with absolutely positioned tables not working properly 1998-12-29 05:35:42 +00:00
troy%netscape.com
487a0952b3 Changed some of the member functions to conform to XP-COM conventions for
returning a nsresult
1998-12-29 04:56:31 +00:00
troy%netscape.com
583682a5c1 Renamed FindFrameWithContent() to GetPrimaryFrameFor() 1998-12-29 04:45:18 +00:00
troy%netscape.com
7b5cc03059 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
rpotts%netscape.com
0786f8d0d7 Fire the OnSubmit event on the form not the input field... 1998-12-28 21:28:53 +00:00
buster%netscape.com
c79c7550fb DrawBorderEdge fixes 1998-12-23 15:48:50 +00:00
buster%netscape.com
d87ab21022 WIP for collapsing borders 1998-12-23 15:47:43 +00:00
pollmann%netscape.com
43512d12df Implemented onChange and selectedIndex for the HTMLSelectElement 1998-12-23 03:02:57 +00:00
troy%netscape.com
5cebecb150 Fix for bug #1924 1998-12-22 05:02:46 +00:00
troy%netscape.com
98e47c310d Fix for bug #1942. Also made it so we respect 'width' and 'height' properties
specified on the HTML element
1998-12-22 03:49:04 +00:00