5785 Commits

Author SHA1 Message Date
hyatt%netscape.com
abbd31277b Fix for 25883.
git-svn-id: svn://10.0.0.236/trunk@59326 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:20:26 +00:00
rods%netscape.com
c8eb9abdc2 added the caching of the restore state until the list frame gets reset
removed the positioning of the dropdown at the bottom of reflow
r kmcclusk b=21945,25059


git-svn-id: svn://10.0.0.236/trunk@59317 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:59:55 +00:00
vidur%netscape.com
1fc69f769b Partial performance fix for bug 25509. Restrict the size of text nodes (the max is settable via a pref-content.maxtextrun). r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@59310 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:39:19 +00:00
rods%netscape.com
2190ae8e89 add extra debug; added some inremenal reflow code;
doing much better job check return vars;GetText now check for NS_OK;
r dcone, b 24292


git-svn-id: svn://10.0.0.236/trunk@59309 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:36:50 +00:00
karnaze%netscape.com
f838a7dc5b new regression tests
git-svn-id: svn://10.0.0.236/trunk@59295 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:03:08 +00:00
rods%netscape.com
e7a5a5632c removing the creation of native widget and replacing them with asserts (for now)
b 17027 r kmccluck


git-svn-id: svn://10.0.0.236/trunk@59290 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 22:46:55 +00:00
attinasi%netscape.com
ec346f0c5a Sorry - typo in change...
git-svn-id: svn://10.0.0.236/trunk@59249 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 14:26:25 +00:00
attinasi%netscape.com
7f83027391 Changed the setting of PrimaryFrame for elements wrapped in a GfxScrollFrame,
except for the DocElement which still has the primary frame set to the scrolledframe.
Fixed compiler warning around NS_NewFiedlSetFrame(...).
r=evaughan b=23803


git-svn-id: svn://10.0.0.236/trunk@59248 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 14:04:41 +00:00
attinasi%netscape.com
010367b83d Removed unused argument statements for elimination of warnings. No functional changes.
git-svn-id: svn://10.0.0.236/trunk@59247 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 13:54:39 +00:00
rbs%maths.uq.edu.au
add951b804 [#ifdef MATHML]. Hook for the ms tag
git-svn-id: svn://10.0.0.236/trunk@59240 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 23:33:38 +00:00
troy%netscape.com
1fe10fe3f2 b=25245. Fixed some problems in ReflowLine() when reflowing to incrementally
update the maximum width


git-svn-id: svn://10.0.0.236/trunk@59233 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:42:23 +00:00
troy%netscape.com
573b3e8c49 b=25245 Changed ComputeContainingBlockRectangle() to set the containing
block width to NS_UNCONSTRAINEDSIZE if it is an unconstrained reflow.
This way percentage based widths are treated properly


git-svn-id: svn://10.0.0.236/trunk@59232 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:40:48 +00:00
troy%netscape.com
1c1bc9d99d b=25245 Fixed ApplyLeftMargin() to not subtract for margins if it is an
unconstrained reflow


git-svn-id: svn://10.0.0.236/trunk@59231 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:29:52 +00:00
troy%netscape.com
0d18407104 b=25245 Changed Reflow() to return 0 for a max-element-width if the
image has a percentage based width


git-svn-id: svn://10.0.0.236/trunk@59230 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:28:38 +00:00
mscott%netscape.com
ef72a6f5f0 Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
tweaks to make doc loader observer scriptable
tweaks to make doc loader observer scriptable
r=travis


git-svn-id: svn://10.0.0.236/trunk@59167 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:08:05 +00:00
saari%netscape.com
8b71d64469 Fix for bug 22264. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59150 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 04:05:03 +00:00
troy%netscape.com
9866fd9793 b=25223. Block code now does a better job of determing where the floater
should go before reflowing it


git-svn-id: svn://10.0.0.236/trunk@59137 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:47:33 +00:00
troy%netscape.com
f06fedd7c3 b=22692 Changed RemoveFloater() to return PR_FALSE if the floater is
associated with that line


git-svn-id: svn://10.0.0.236/trunk@59134 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:17:04 +00:00
vidur%netscape.com
825e97e024 Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +00:00
pollmann%netscape.com
9ba6b9f387 Bug 6747: HTML labels now pass events to their assigned element in XUL documents too. r=rods
git-svn-id: svn://10.0.0.236/trunk@59108 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:29:36 +00:00
sfraser%netscape.com
e3af49b9d0 Fix for crash loading bugzilla pages (infinite reflow recursion). by vidur, r=smfr, a=leaf
git-svn-id: svn://10.0.0.236/trunk@59094 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 22:58:17 +00:00
leaf%mozilla.org
35f118f861 backing out rods to fix options lists
git-svn-id: svn://10.0.0.236/trunk@59088 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 19:03:34 +00:00
karnaze%netscape.com
d7b3bc8f7b bug 1809, 0 width tables (not trees) become auto, r=dcone, (hyatt)
git-svn-id: svn://10.0.0.236/trunk@59078 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:43:25 +00:00
rods%netscape.com
f8ad740dac using correct usesage pattern for getting and seeting the FrameState
Added in my new reflow code with an ifdef so I can work on it and fix other bugs
fixed the checking of return codes for getHTMLAttr
removed ShouldScrollFrameIntoView, the presshell can now do this.
also commented out the call to Position the Dropdown
r=dcone b=24292


git-svn-id: svn://10.0.0.236/trunk@59073 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:24:49 +00:00
rods%netscape.com
668b8285ec added check so it doesn't do a reset on the incremental reflow
r=dcone bug=none


git-svn-id: svn://10.0.0.236/trunk@59071 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:04:19 +00:00
rods%netscape.com
4161da0c7d when an option contained a comment node and and an attr was unset case a
WipeContainingBlock to be called. This was because the undisplayed node had a psuedo
style that wasn't being properly reolved to this code thought the comment was now visible
instead of being hidden.
b=none r=pierre,attinasi


git-svn-id: svn://10.0.0.236/trunk@59070 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:03:00 +00:00
pierre%netscape.com
9c05019ba2 Bug 24676 ("Need -moz-outline-radius feature"). Fixed the parsing of -moz-outline-radius.
git-svn-id: svn://10.0.0.236/trunk@59055 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 10:03:10 +00:00
warren%netscape.com
94953b11eb Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki
git-svn-id: svn://10.0.0.236/trunk@59032 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 06:55:27 +00:00
jim_nance%yahoo.com
370762744f Implemented idea from shaver for speeding up SelectorMatches().
We wait until we know we are going to need the contentTag before
we create it.
r=shaver


git-svn-id: svn://10.0.0.236/trunk@59021 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 04:37:13 +00:00
troy%netscape.com
345ea758ec b=25049. Fixed a problem with max-element-size not being calculated
correctly for a floated table


git-svn-id: svn://10.0.0.236/trunk@59008 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 03:12:30 +00:00
karnaze%netscape.com
e8ff8bb21f bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.


git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:19:45 +00:00
nisheeth%netscape.com
56e559d918 Fix for bug 10818. r=troy. Add reflow batching APIs to the pres shell.
git-svn-id: svn://10.0.0.236/trunk@58975 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:48:02 +00:00
kin%netscape.com
8a522282c9 Fix for bug #25259: [Regression]Cannot enter text in Composer
Backed out attinasi@netscape.com's changes from revision 1.337.
a=leaf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58954 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 20:21:28 +00:00
rods%netscape.com
a8f719513a reworked reflow to better support incremental reflow
bugs 6747,18602 r=dcone


git-svn-id: svn://10.0.0.236/trunk@58940 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 15:57:30 +00:00
rbs%maths.uq.edu.au
0f390929ca [#ifdef MATHML]. Hook for the mspace tag
git-svn-id: svn://10.0.0.236/trunk@58933 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 12:28:41 +00:00
hyatt%netscape.com
63e01360a2 Adding behavioral rules for inputs and textareas.
git-svn-id: svn://10.0.0.236/trunk@58916 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:44:35 +00:00
hyatt%netscape.com
6ab345a11d Making input and text area elements bindable using XBL.
git-svn-id: svn://10.0.0.236/trunk@58911 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:01:49 +00:00
vidur%netscape.com
db8c33a342 Fix for bug 12565. form.encoding returns the value of the ENCTYPE attribute, not ENCODING. r=joki
git-svn-id: svn://10.0.0.236/trunk@58908 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 08:51:54 +00:00
troy%netscape.com
95e05d4062 r=karnaze@netscape.com Removed some code that was removed but then added
again by mistake


git-svn-id: svn://10.0.0.236/trunk@58891 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 05:54:17 +00:00
jim_nance%yahoo.com
723d9997d5 Make SelectorMatches() faster by eleminating a few function calls
r=Shaver
Tree is green enough = waterson


git-svn-id: svn://10.0.0.236/trunk@58871 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:28:52 +00:00
attinasi%netscape.com
7a42258bf9 Setting GfxScrollFrame as the PrimaryFrame for scrolled content instead of the ScrollPortFrame. Also fixed some spots that were not correctly getting at the scrolled frame from the PrimaryFrame. b=23803 r=evaughan
git-svn-id: svn://10.0.0.236/trunk@58865 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:19:12 +00:00
attinasi%netscape.com
aeffd0ea97 Minor reformatting and some comments added. b=none r=none
git-svn-id: svn://10.0.0.236/trunk@58864 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:17:04 +00:00
attinasi%netscape.com
a4a9391a2f Title is now set in the Title Bar. b=24478 r=rickg
git-svn-id: svn://10.0.0.236/trunk@58863 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 02:15:19 +00:00
kmcclusk%netscape.com
5f7ac3effb Added support for widgetless viewmanager. Changed code pattern that assumed the root view
always has a nsIWidget instance to call viewmanager to get widget instance. b=22069; r=rods@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58838 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 23:04:40 +00:00
troy%netscape.com
206226ce30 b=24936, r=nisheeth@netscape.com Changed block code to set mNextRCFrame to
NULL after reflowing the frame, so if we reflow it again we don't think it's
an incremental reflow


git-svn-id: svn://10.0.0.236/trunk@58819 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:18:33 +00:00
troy%netscape.com
9adaaaf84a r=nisheeth@netscape.com Added asserts to help catch the case of poorly
targeted reflow commands


git-svn-id: svn://10.0.0.236/trunk@58817 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 22:11:47 +00:00
kin%netscape.com
88159ea0e4 Fix for bug #12825: {css-moz} overflow: -moz-scrollbars-* not implemented
Added code to implement the new overflow -moz-scrollbars values.
r=evaughan@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58812 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 21:56:03 +00:00
pinkerton%netscape.com
969eb7ec38 fix for bug 25092 (UMR's in drag/drop part of ESM). Again, we weren't copying the full event before redispatching. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@58808 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 21:52:47 +00:00
vidur%netscape.com
d762cfe609 Fix for bug 19212. HTMLTableElement::InsertRow was creating a TR instead of a TBODY if one was necessary. r=joki
git-svn-id: svn://10.0.0.236/trunk@58790 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:52:41 +00:00
norris%netscape.com
0dd1063455 Fix 23227 Document object vulnerability
r=mstoltz


git-svn-id: svn://10.0.0.236/trunk@58789 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-26 15:33:57 +00:00