kipp%netscape.com
2a2db87959
disabled another printf; use web-shell destroy to properly whack the sub-webshell
1998-11-26 18:13:13 +00:00
kipp%netscape.com
3d30d70cc7
Compute combined area properly
1998-11-26 18:11:23 +00:00
kipp%netscape.com
7d4c85eeae
Fixed verify reflow to avoid creating reflow commands during a verify reflow
1998-11-26 18:11:02 +00:00
kipp%netscape.com
2e79a53493
XPCOMized more of the API; added new operator to avoid future bugs; implement Stop method
1998-11-26 18:10:10 +00:00
kipp%netscape.com
e5a6c6af67
XPCOMize more of the API; added Stop method
1998-11-26 18:08:44 +00:00
kipp%netscape.com
75e88f1aa2
whitespace tweak
1998-11-26 18:08:27 +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
aec82420e7
new
1998-11-25 19:07:17 +00:00
buster%netscape.com
e2fcfeebdf
2 Nav4 compatibility additions:
...
1. width=0 is treated as width=auto, not width=min
2. empty cells <td></td> are assigned a width of (2*borderWidth + 2*cellspacing + 3) pixels
The "3" is a fudge factor added by Nav and IE.
1998-11-25 18:43:56 +00:00
kipp%netscape.com
5e32575be2
Brought verify-reflow back to life
1998-11-25 18:41:02 +00:00
karnaze%netscape.com
b3e999adf1
fixed the crash on bug 1588 (rsac.org). There is still a scrolling problem
1998-11-25 18:11:26 +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
ad34e1cfd1
added nsRange.cpp
1998-11-25 01:22:35 +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
buster%netscape.com
d6ac391424
removed debug output
1998-11-24 20:40:43 +00:00
joki%netscape.com
d354a17948
Add missing coordinate transform to getFrameForPoint
1998-11-24 20:31:21 +00:00
buster%netscape.com
c630ab9ae5
bug 1520 (www.mirabilis.com)
...
the problem was the way table layout apportioned height from a rowspanning cell.
Now, we do 2 things correctly:
1) we handle rows with rowspanning cells and no other cells.
2) we divide the height of a rowspanning cell proportionately to the rows spanned, where the proportion is defined by
the max height of a cell in that row that has no effective rowspan.
the partial fix for bug 1431 has to do with dividing width between percent-width and fixed-width columns in the same
table. You won't see any better layout for this page (ww.boston.com) as a result of the code I added. The rest of this
fix is a bit risky, so I'm waiting until after stability push.
1998-11-24 19:41:33 +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
rpotts%netscape.com
c8cb965a9b
Added a missing NS_RELEASE which was causing the URL and webshell to hang around...
1998-11-24 02:07:27 +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
52b3ec3a2f
made it easier to see if the parser is working
1998-11-24 01:48:04 +00:00
kipp%netscape.com
3a15067397
Made the test work again
1998-11-24 01:47:44 +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
fecfd41a16
new regression test
1998-11-24 01:43:46 +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
buster%netscape.com
d14379cfe9
changed the logic for reflowing cells whose height is changed due to a
...
height attribute.
1998-11-23 23:07:40 +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
5b7980caa6
Let style override the cursor choice when using an image map
1998-11-23 22:21:13 +00:00
kipp%netscape.com
398f20c00a
Walk up the content-parent so that style is applied appropriately for cursor selection
1998-11-23 22:20:50 +00:00
kipp%netscape.com
2786340e71
Factored IsReplaced into a throw-away method; fixed containing-block discovery to use IsPercentageBase method
1998-11-23 21:11:57 +00:00
kipp%netscape.com
b991a309a0
Use correct reflow-state to find the containing-block's width for text-indent (bug #1048 )
1998-11-23 21:11:19 +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
karnaze%netscape.com
aba6626dda
fixed bug 1479 (wsj.com crash)
1998-11-23 17:37:46 +00:00
kipp%netscape.com
daabeb02ab
Added some debug noise (disabled by default) for image loading
1998-11-23 17:18:34 +00:00
troy%netscape.com
0ec7a0d910
Added missing NS_RELEASE() to GetWidget() function
1998-11-23 04:41:51 +00:00
buster%netscape.com
84ae5db710
fixed the aweful nested table problems
1998-11-22 08:56:19 +00:00
troy%netscape.com
f4fa3f7761
Added missing NS_RELEASE of the content object in GetMarginHeight()
1998-11-21 17:30:41 +00:00
troy%netscape.com
8de6eceb4c
Added NS_RELEASE to fixed memory leak after calling ChildAt()
1998-11-21 17:22:31 +00:00
kipp%netscape.com
10ba8ddaf3
Fix up painting issue; if we end up with a negative damage area then convert to damaging everything
1998-11-21 17:21:18 +00:00
troy%netscape.com
c2ce5154a9
Improved efficiency by avoiding the dreadfully slow NS_MakeAbsoluteURL() and
...
only setting the image loader's URL and base URL for the initial reflow
1998-11-21 04:04:41 +00:00
kipp%netscape.com
ffad68e9fb
Fixed scroll-frame code to properly fill in the max-element-size
1998-11-21 03:52:01 +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
cyeh%netscape.com
e9d3c67427
Removing static makefiles as a part of the transition to Autoconf. I have taken great
...
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.
If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com .
1998-11-21 00:34:32 +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
6f7c3a6fe4
removed a spurious GetContent that was the cause of a memory leak
1998-11-20 23:10:47 +00:00
kipp%netscape.com
60c53ba992
Use revised GetContainingBlockContentWidth method
1998-11-20 22:28:00 +00:00
kipp%netscape.com
73da35cd18
Support margins on the child frame
1998-11-20 22:27:33 +00:00
kipp%netscape.com
1b29a31cc1
Work around more bugs in the style context code and use old margin calculations; factored get-containing-block-width better
1998-11-20 22:27:21 +00:00
kipp%netscape.com
a67079f75c
Disable fixed behavior when we are shrink wrapping so that floating tables (for example) can ignore their width if necessary
1998-11-20 22:24:20 +00:00
kipp%netscape.com
23b5a4de99
Made HTML a block (which it is going to be someday) so that percentage margins in the BODY will be computed correctly
1998-11-20 22:21:38 +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
9fe1e3b039
added :TABLE pseudo-style
1998-11-20 21:06:59 +00:00
buster%netscape.com
d27c0b5dd5
added tablePseudo
1998-11-20 21:05:31 +00:00
kipp%netscape.com
64d09e5c2b
Added support for StyleChanged reflow reason
1998-11-20 17:41:44 +00:00
kipp%netscape.com
b8165246b1
Temporary workaround for style issue
1998-11-20 17:39:11 +00:00
kipp%netscape.com
6cd4b39d8a
Use new classname for base class; port to updated nsLeafFrame methods
1998-11-20 17:22:08 +00:00
kipp%netscape.com
5e9c8f2b68
Port to updated nsLeafFrame methods
1998-11-20 17:21:49 +00:00
kipp%netscape.com
15dc65b188
Removed a compiler warning
1998-11-20 17:21:22 +00:00
kipp%netscape.com
182b39b75c
Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame
1998-11-20 17:21:02 +00:00
kipp%netscape.com
9bea95a9e5
Use revised API's for computing the border/padding
1998-11-20 17:20:29 +00:00
kipp%netscape.com
dd79ab7df4
Define new API's to compute margin/border/padding/border+padding and handle percentages correctly
1998-11-20 17:19:26 +00:00
kipp%netscape.com
1dcf401615
Use revised API's to get percentage padding/borders value right
1998-11-20 17:18:58 +00:00
kipp%netscape.com
11afdb9a02
Use revised margin calculation api's; center blocks that have auto margins
1998-11-20 17:18:12 +00:00
kipp%netscape.com
9b4b622e6b
Use Get methods from style context instead of deprecated methods
1998-11-20 17:13:28 +00:00
kipp%netscape.com
acaf1d1728
Updated leaf api's to better support caching of computed border/padding when percentages are used
1998-11-20 17:13:02 +00:00
kipp%netscape.com
8af5904e8b
Added mBorderPadding to cache computed value in case percentages are used
1998-11-20 17:12:39 +00:00
kipp%netscape.com
39d05f6503
Added mBorderPadding to cache computed value in case percentages are used; renamed class to nsImageFrame
1998-11-20 17:12:25 +00:00
alecf%netscape.com
f2f58f18c5
fix casting problems for gcc 2.7.2.3
1998-11-20 09:29:58 +00:00
troy%netscape.com
4c40e51b3b
Added temporary workaround to image frame code to compensate for the fact
...
that HandleEvent() and GetCursor() are being called with the point not being
translated to the frame's local coordinate space
1998-11-20 06:31:55 +00:00
troy%netscape.com
27d81bc8ce
Removed some #include lines that are no longer needed
1998-11-20 05:22:45 +00:00
morse%netscape.com
ec45040d4e
fix for single signon
1998-11-20 05:01:32 +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
buster%netscape.com
c85d0477a1
implemented table height algorithms. also made a slight modification to
...
the way a table finds its container's width.
1998-11-20 01:01:25 +00:00
kipp%netscape.com
9ba745a7a8
Improved the regression dump data somewhat
1998-11-19 18:51:53 +00:00
kipp%netscape.com
318a5e31e4
Override FrameForPoint so that floaters/bullets get events
1998-11-19 18:09:57 +00:00
kipp%netscape.com
7da5f1c798
Factored out FrameForPoint code into one that takes a particular list
1998-11-19 18:09:03 +00:00
kipp%netscape.com
a66a18832e
Added XMLQuote to quote special characters; changed MakeFrameName to avoid needing quoting
1998-11-19 17:55:22 +00:00
kipp%netscape.com
63107e9026
Added DumpRegressionData; revised ListTag; added GetFrameName
1998-11-19 17:22:29 +00:00
kipp%netscape.com
0702a9d059
Fix build bustage (hopefully)
1998-11-19 05:37:59 +00:00
troy%netscape.com
0572f002c4
Changed to make sure we mark the absolutely positioned element's view as
...
having transparent content if the visibility is hidden
1998-11-19 04:26:51 +00:00
troy%netscape.com
82e5ab4bdd
Fixed it so that we don't ignore painting child frames of a parent frame
...
thas has "visibility:hidden", because child elements can override their
parent's visibility
1998-11-19 03:52:29 +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
troy%netscape.com
f91a6a8b9f
Fix for bug #1265 . For incremental reflow now checks for the case where the new
...
height is smaller than the old height and makes sure we erase the entire area
1998-11-19 01:39:07 +00:00
joki%netscape.com
c3708b2ed8
Modify event flow to avoid walking into trashed frames.
1998-11-19 00:43:36 +00:00
joki%netscape.com
86806ec906
Prevent multiple firings of DOM click events on buttons.
1998-11-19 00:42:38 +00:00
kipp%netscape.com
b2d1e15cbc
Use new methods in nsHTMLReflowState to discover the proper width to base the text-indent percentage on (bug #1048 )
1998-11-19 00:00:18 +00:00
kipp%netscape.com
309f5bcc0c
Added two new utility methods on nsHTMLReflowState for finding a containing block's reflow state and for finding a containing blocks content width
1998-11-18 23:59:49 +00:00
troy%netscape.com
66dd04c602
Changed Reflow() to make sure that the child is sized at least as big as the max size
...
we gave it as part of the reflow command
1998-11-18 23:49:44 +00:00
troy%netscape.com
164de2fbfc
Fixed SetInitialChildList() so "frame" doesn't get reset after processing
...
the legend frame
1998-11-18 22:14:55 +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
jfrancis%netscape.com
bcc46f0f0f
shared lib conversion, phase 1
1998-11-18 06:36:44 +00:00
buster%netscape.com
95be4abe33
impl of DOM table.deleteRow
1998-11-18 06:30:13 +00:00
troy%netscape.com
63dc45e1f2
Added some constants to use when referring to child list name indices
1998-11-18 06:13:58 +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
janc%netscape.com
f85435bb25
New css parser test
1998-11-18 04:42:37 +00:00
janc%netscape.com
4c326ba5c7
update css parser test
1998-11-18 04:40:13 +00:00
janc%netscape.com
68248ac24b
update CSS Parser test
1998-11-18 04:39:13 +00:00
morse%netscape.com
18d1bc714d
update for single signon
1998-11-18 04:38:13 +00:00
troy%netscape.com
e579ba153c
Removed mFlags from nsBodyFrame and now we use the mFlags defined by
...
nsBlockFrame
1998-11-18 04:16:03 +00:00
troy%netscape.com
c73b30691c
Fixed a couple of cases where I missed calling the base class
1998-11-18 04:06:19 +00:00
troy%netscape.com
7fc5ecd18a
Removed mChildCount member data
1998-11-18 03:44:08 +00:00
troy%netscape.com
c3fc0b9164
Made sure the block's SetFlags() member function is called. This fixes shrink
...
wrapping so it works again
1998-11-18 03:27:04 +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
819ac307fd
cleaned up cursor handling
1998-11-18 02:10:45 +00:00
peterl%netscape.com
90e19c51d8
added text pseudo tag
1998-11-18 02:09:53 +00:00
peterl%netscape.com
487e5722bc
remove style_cursor_inherit
1998-11-18 02:08:45 +00:00
peterl%netscape.com
2be9de7378
fixed comment
1998-11-18 02:08:30 +00:00
janc%netscape.com
d81b65f197
New CSS Parser test.
1998-11-18 01:53:02 +00:00
janc%netscape.com
d29846e4a1
New CSS Parser Test
1998-11-18 01:24:30 +00:00
janc%netscape.com
54503090c9
New CSS Parser test.
1998-11-18 01:15:17 +00:00
janc%netscape.com
e744b7c7f1
New CSS Parser test
1998-11-18 00:58:49 +00:00
amusil%netscape.com
7056b1cf59
Bug fix for 1201. Now use the size parameters from the object tag as a determinant of size.
1998-11-17 23:29:20 +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
dcone%netscape.com
846022a83f
updated steve clarks changes, added genericElementCollection
1998-11-17 22:38:03 +00:00
kipp%netscape.com
02b071a3cc
Revised max-element-size computation somewhat so that floaters are accounted for better
1998-11-17 22:28:51 +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
troy%netscape.com
1626c62353
Changed the body to be a subclass of nsBlockFrame rather than contain a
...
block frame
1998-11-17 16:37:39 +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
troy%netscape.com
9724362dc1
Fixed CreateWrapperFrame() so it resets the geometric and content parent pointers
...
of the frame being wrapped
1998-11-17 05:47:06 +00:00
pierre%netscape.com
cdd56749b2
fix build: added nsGenericDOMHTMLCollection.cpp
1998-11-17 03:23:02 +00:00
troy%netscape.com
0e8c33d9f8
Fixed problem that caused Mac build to break
1998-11-17 02:37:47 +00:00