3802 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
cc452efb5b Fix FindPrimaryFrameFor regression: when previous sibling is out-of-flow, start search from previous sibling's placeholder. b=145224 sr=waterson r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@122188 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-26 17:07:07 +00:00
dbaron%fas.harvard.edu
255ee4ff0c Clear the undisplayed content map before calling SetDocument(null), which can cause some XBL content to be destroyed without notifications, leaving dangling pointers in the undisplayed map. b=145737 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122187 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-26 17:03:42 +00:00
shanjian%netscape.com
a9c700ad59 #142562 problem with <td align=right or align=center
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@122131 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 20:11:14 +00:00
dbaron%fas.harvard.edu
36706675ec Ensure that the quirks stylesheet is enabled/disabled before we start creating frames so that we don't have to build the rule cascade twice. Remove old compatibility mode pref that only controlled a small part of what it should have. b=141261 sr=waterson r=jst
git-svn-id: svn://10.0.0.236/trunk@122112 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 23:09:31 +00:00
smontagu%netscape.com
8e6b566ead Fix for memory leak. Bug 145153, r=mkaply, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122097 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 22:03:19 +00:00
jst%netscape.com
0e34136ef1 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
dbaron%fas.harvard.edu
554bf97dfe Move implementation of HTML label element entirely into the content model so that it can have any display type: implement the event-munging and accesskey support in nsHTMLLabelElement. For the latter, share some code with nsHTMLAnchorElement and remove extra parameter from nsIEventStateManager access key methods. b=96813 r=jkeiser sr=jst
git-svn-id: svn://10.0.0.236/trunk@121986 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 00:14:51 +00:00
rods%netscape.com
c9a14d5e5f unregisters the focus listener after a new one is installed.
Bug 145388 r=dcone sr=jst


git-svn-id: svn://10.0.0.236/trunk@121939 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 19:37:28 +00:00
jst%netscape.com
7b7411c3ef Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
hewitt%netscape.com
0917e34b31 126480 - autocomplete popup doesn't appear the first time you type, r=ben, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@121779 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 21:24:48 +00:00
rods%netscape.com
8776ddd71b Adds a new arg to the PP call. The new arg is not being used, it is
for future and is needed for the API freeze.
Bug 144716 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121621 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:51:54 +00:00
dbaron%fas.harvard.edu
6ebd080e55 Clean up FindFrameWithContent. No need to search children of special frames too (hang bug 140275). Use special sibling when next-in-flow isn't available, and use the hint even when we have special frames. Convert gotos into additional while loop. Turn useless :after check into assertion. Don't modify aParentFrame and aParentContent for when the hint fails. b=140275 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121620 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:39:44 +00:00
dbaron%fas.harvard.edu
4f72a32cd9 Attempt to refix bug 118014 crash by removing SetUndisplayedPseudoIn and doing run-time checks that we're not inserting the same node into the undisplayed map twice. b=136704 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121617 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:30:57 +00:00
dbaron%fas.harvard.edu
4a66bff07d Give nsHTMLReflowState an explicit copy-constructor and assignment operator to fix up mCBReflowState and fix regressions from previous patch. b=143706 r=bzbarsky sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121541 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 19:58:20 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
rods%netscape.com
de84818d20 Changing CID to ContractID and const char* to const char xxx[]
As part of Bug 144128


git-svn-id: svn://10.0.0.236/trunk@121469 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 14:32:42 +00:00
rods%netscape.com
c9aff94488 Static build bustage fix
git-svn-id: svn://10.0.0.236/trunk@121468 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 14:15:19 +00:00
dbaron%fas.harvard.edu
5d19a6a9e8 Store containing block reflow state so we don't have to walk up the tree to find it every time. b=143706 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121465 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:59:55 +00:00
rods%netscape.com
29c0c5d959 This patch does the following:
1) Introduces a new public interface nsIPrintSettingService which emables consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121463 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:05:00 +00:00
waterson%netscape.com
5bae3657e6 Bug 129115. Change the reflow path from a list structure to a tree structure to amortize state recovery and damage propagation costs. Eliminate table timeout reflows. r=kin,karnaze,rods,rbs; sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121265 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 18:22:41 +00:00
rods%netscape.com
e97a493be3 making a few adjustments to the APIs before the freeze
Bug 143248 r=conrad sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121197 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:02:44 +00:00
bzbarsky%mit.edu
0985b9ce27 make clip:inherit work. Bug 141734, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@121183 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 20:05:25 +00:00
rods%netscape.com
a9806babab Need to call StartPrint to initialize the Seq Frame
Bug 143089 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@121086 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 20:11:14 +00:00
dbaron%fas.harvard.edu
fb8751252d Replace assertion with a comment explaining why we need to null-check the result of |nsIDOMHTMLDocument::GetBody|. b=119351 r=kin sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121082 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-08 19:27:40 +00:00
rods%netscape.com
659bd3bd17 OK, really fixing the HP bustage this time.
git-svn-id: svn://10.0.0.236/trunk@120950 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 15:33:06 +00:00
rods%netscape.com
f2b48d0e93 fixed build bustage on HP
git-svn-id: svn://10.0.0.236/trunk@120944 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:07:28 +00:00
rods%netscape.com
7ad503bef8 These files are no longer needed.
Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120943 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:03:30 +00:00
rods%netscape.com
fe2355ea4d Turn on pluggable dialogs (second part of checkin, first part Bug 135441)
Bug 115136 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120936 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 12:03:37 +00:00
hwaara%chello.se
f9abb6e3c9 #109291, "document.*Color is empty".
Fix our DOM color  properties to work like on other browsers. For example, when no body bgcolor is explicitely specified, we will return the default bgcolor instead of just returning null. Same thing with text color, visited link color etc.

r=fabian, sr=jst


git-svn-id: svn://10.0.0.236/trunk@120883 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 21:58:10 +00:00
karnaze%netscape.com
3c41b1b999 bug 138725 - Reflow placeholder's out of flow frame in DoCleanupFrameReferences. Avoid reframing when an inline is appended to an inline containing a block. sr=waterson, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@120807 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 02:02:35 +00:00
rods%netscape.com
047a00dc17 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120544 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 14:10:12 +00:00
rods%netscape.com
2eb86ae788 backing out unwanted changes
git-svn-id: svn://10.0.0.236/trunk@120541 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 13:24:08 +00:00
rods%netscape.com
86b99f77e1 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120540 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 12:38:43 +00:00
dbaron%fas.harvard.edu
c57d40b6dc Don't double-create :before and :after content by checking |processChildren| in ConstructHTMLFrame and only doing the hacky (and probably incorrect) sibling-:before/:after construction for leaf frames. b=141289 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@120376 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:51:36 +00:00
dbaron%fas.harvard.edu
a681655481 Remove ClearUndisplayedContentMap hack from ReconstructStyleData (expanded for bug 118014; see bug 136728). Fix multiple content inserted notifications from XBL (the real cause of bug 118014) by checking the undisplayed content map in addition to the primary frame map. Fix FrameManager::GetUndisplayedContent to work correctly, and remove code in nsCSSFrameConstructor::AttributeChanged that was working around its brokenness. b=136704 sr=waterson r=attinasi
git-svn-id: svn://10.0.0.236/trunk@120372 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:36:50 +00:00
dbaron%fas.harvard.edu
1ec44c55ea Rename Mozilla-extension values for real CSS properties to begin with -moz-. Remove some unused code. b=3935 r=hixie sr=waterson
git-svn-id: svn://10.0.0.236/trunk@120368 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:17:04 +00:00
karnaze%netscape.com
bd65918973 bug 138292 - add a non table related frame to its parent frame's child list when the parent frame is an anonymous table cell frame. sr=waterson, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@120334 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:45:58 +00:00
karnaze%netscape.com
cc7a86e2f4 bug 113235 - avoid reframing when content is inserted inside an inline frame which contains a block. sr=waterson, r=attinasi.
git-svn-id: svn://10.0.0.236/trunk@120331 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 21:34:15 +00:00
bzbarsky%mit.edu
f67369b089 Text zoom should reflow the viewport, otherwise fixed-pos elements don't
get reflown correctly.  Bug 51578, r=dbaron, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@120194 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 13:46:29 +00:00
racham%netscape.com
923a0afa2f Fixing bug 140183. Checking ShowProgress dialog attribute and pref as printing is done. Patch by Rod Spears. r=danm,bhuvan sr=sspitzer
git-svn-id: svn://10.0.0.236/trunk@120129 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 01:43:23 +00:00
kmcclusk%netscape.com
7e5ea4f126 Abort paint if destroying the PresShell and check for null PresShell in nsImageLoader. bug 102585. r=waterson sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119998 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 20:44:38 +00:00
kin%netscape.com
b2952b65a9 Fix for bug 135154 (Cursor not appearing in textarea after tabbing into it)
Don't call StopBlinking() if the selection changed notification is
for a selection that is different from the one in mDomSelectionWeak.

r=akkana@netscape.com  sr=attinasi@netscape.com


git-svn-id: svn://10.0.0.236/trunk@119960 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 13:11:47 +00:00
jst%netscape.com
a9a7bb82fa Fixing Txul regression bug 138012. Make docshells always accessible through box objects and load about:blank when no src is specified on a frame. Eliminate creation of synthetic documents when they're not needed. r=peterv@netscape.com, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119902 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 23:04:52 +00:00
peterv%netscape.com
f55dfe4eb5 Fix for bug 129006 (Invalid xml crashes mozilla after reload [@nsXMLContentSink::Observe]). r=Pike, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@119822 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 11:58:08 +00:00
rods%netscape.com
02eac7b853 printing properties must be moved to global jar
Bug 138026 r=dcone sr=attinasi a=judson adt=putterman


git-svn-id: svn://10.0.0.236/trunk@119709 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 13:15:13 +00:00
jst%netscape.com
aea34406c2 Fixing regression bug 138663. Cached mail compose windows open up blank. r=harishd@netscape.com, sr=jband@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119660 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:33:56 +00:00
rods%netscape.com
cf98beaa54 mOrigDCScale needs to come from the previous PrintData object or it will continue to get smaller
Bug 139459  r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@119654 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:26:54 +00:00
smontagu%netscape.com
1842f89e61 ArabicShaping() shouldn't assume that the input and output is in visual order. Bug 137871. r=ftang, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119653 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-24 00:26:49 +00:00
smontagu%netscape.com
7376d9fd95 Correct handling of zero-width joiners and non-joiners. Bug 110497. r=ftang, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119648 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:50:17 +00:00
smontagu%netscape.com
c0b0bc0ee7 Move HandleNumbers() from nsBidiPresUtils to nsBidiUtils. Bug 137857. r=ftang, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119644 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:29:18 +00:00