3702 Commits

Author SHA1 Message Date
cbiesinger%web.de
9c8877de47 bug 148787 patch by hixie r=dbaron sr=roc+moz
Clicked links don't go red (prefs style sheet is overriding UA style sheet)


git-svn-id: svn://10.0.0.236/trunk@122690 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 19:44:53 +00:00
kmcclusk%netscape.com
eb567220f1 Dispatch (WIN32 only) and handle a new cross platform message NS_SYSCOLORCHANGE. bug 143174. r=rods sr=roc
git-svn-id: svn://10.0.0.236/trunk@122677 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 17:47:54 +00:00
roc+%cs.cmu.edu
5ab88e7619 Bug 142461. Make sure clipped views are not marked transparent. r=kmcclusk,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@122643 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:44:03 +00:00
bernd.mielke%snafu.de
dafbd8aee3 no math with NS_UNCONSTRAINEDSIZE please, bug 14862 r=karnaze sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@122641 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 04:37:06 +00:00
jkeiser%netscape.com
54975d102e Rest of patch (partial commit before). Remove nsFormFrame forever. bug 125578, r=alexsavulov@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122621 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 02:00:34 +00:00
jkeiser%netscape.com
d85e8fc690 Mac bustage fix.
git-svn-id: svn://10.0.0.236/trunk@122620 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 01:52:10 +00:00
kin%netscape.com
79aa82cbf1 Fix for bug 138573 (hitting return in list item causes list problems; workaround is to refresh)
Modified SlideLine() to use the combined area instead of the linebox
  bounds when invalidating. This makes sure that we invalidate the
  area occupied by the list bullets/ordinals.

r=dbaron@fas.harvard.edu  sr=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@122594 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 21:35:54 +00:00
bernd.mielke%snafu.de
a42d51bdb9 bug 148240, percent text-indent should not be computed for NS_UNCONSTRAINEDSIZE
parent width. r=dbaron sr=waterson


git-svn-id: svn://10.0.0.236/trunk@122570 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-03 18:35:04 +00:00
bryner%netscape.com
7e8230a2e9 Removing obsolete files (old imagelib cruft). r=pavlov, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@122507 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-02 06:01:26 +00:00
karnaze%netscape.com
49e0a9f4cb bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +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
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
rods%netscape.com
7e8d6d3e59 patch to clamp to 1/10th of the largest dimension of a page - very low risk. I
think it is unrealistic that the smaller dim of the page would be less than 1/5
of the larger dimension. (and remove unneeded call to get the presshell)
Bug 145976 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@122020 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-22 11:32:00 +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
fa1b0e717d The problem here is the "edge" prefs are now preficed with the printer name,
and the nsPrintOptions know how to convert the printer name, so we need to add
a helper method to nsIPrintOptions.idl so the nsSimplePageSeq can get the properly named value.
Bug 140669 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121923 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-21 10:53:45 +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
peterlubczynski%netscape.com
004f3a6210 Removing extra line that sneaked in
git-svn-id: svn://10.0.0.236/trunk@121865 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 04:02:12 +00:00
peterlubczynski%netscape.com
9ebb36a3a8 Fixing last checkin for bug 120875, hiding plugin for tabs, r=bnesse sr=beard
git-svn-id: svn://10.0.0.236/trunk@121864 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 03:29:48 +00:00
rods%netscape.com
1801ad4a29 printing properties must be moved to global jar
Bug 138026 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121843 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-18 12:02:21 +00:00
bzbarsky%mit.edu
5a398331a8 Fix positioning of fixed and absolute positioned blocks with auto left
or top.  Bug 126213, r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121700 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-17 00:05:27 +00:00
dbaron%fas.harvard.edu
d7e353055e Fix to fix for bug 134580: quirks mode line height must ignore all whitespace at the beginning of the line, not just what happens to be in the first text node. b=134580 sr=waterson r=attinasi
git-svn-id: svn://10.0.0.236/trunk@121668 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 19:44:20 +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
waterson%netscape.com
d6944c48fa Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@121568 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 22:21:15 +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
rods%netscape.com
ce71a66973 Somehow this didn't get checked in with everything else for Bug 115136
git-svn-id: svn://10.0.0.236/trunk@121474 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 20:25:43 +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
dbaron%fas.harvard.edu
98637bcf6e Use text-indent in max-element-size calculation (130116, 91468, 140682). Don't apply text-indent after page break to the same block (45694). b=130116 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@121464 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:55: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
bzbarsky%mit.edu
707ff12de0 Make incremental reflow of fixed-position tables happier. Bug 94009,
r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121439 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 01:44:00 +00:00
waterson%netscape.com
5b30d03c75 Bug 143959. Undo previous temporary fix. Fix (and document) nsBoxReflowState::Unwind to propagate the _root_ box through the recursion. r=dbaron, sr=kin
git-svn-id: svn://10.0.0.236/trunk@121416 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 00:00:31 +00:00
waterson%netscape.com
40088e3131 Bug 143959. Temporarily disable block reflow coalescing.
git-svn-id: svn://10.0.0.236/trunk@121388 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-13 19:00:56 +00:00
jgaunt%netscape.com
775b50b9ce bug 124448 Accessibility Support for Object/Embed tags
r=aaronl
sr=jst


git-svn-id: svn://10.0.0.236/trunk@121300 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-10 22:34:53 +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
tingley%sundell.net
2b6c6bc17b Fix regression of bug 89065 to make text-decoration: blink work again.
r=dbaron, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121015 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 23:26:02 +00:00
waterson%netscape.com
a6d480fbb6 Add some NOISY_SPACEMANAGER debugging code.
git-svn-id: svn://10.0.0.236/trunk@120946 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:08:54 +00:00
waterson%netscape.com
ec9aa1aeb8 Fix debug-only printf.
git-svn-id: svn://10.0.0.236/trunk@120945 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 14:07:53 +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
waterson%netscape.com
dbe6737108 Fix build bustage when NOISY_SPACE_MANAGER is set.
git-svn-id: svn://10.0.0.236/trunk@120908 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-07 01:32:55 +00:00
waterson%netscape.com
46262a3fef Bug 137094. Prevent flow-of-control leak of space manager. r=attinasi, sr=kin.
git-svn-id: svn://10.0.0.236/trunk@120693 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 13:49:44 +00:00
peterlubczynski%netscape.com
42927222a7 Fixing problems with showing/hiding Mac plugins. Specifically, these problems:
* Mouse events "bleeding through" tabs so that a plugin in one tab responds to mouse movements in another (bug 120875)
* dynamic control of CSS visiblity property with plugins on mac (can hide/show plugins) (bug 137230)
* Plugins incorrectly show up on top of documents and in the wrong place in print preview. This fix will also them to be hidden like they are on other platforms. (bug 133992)
r=av sr=beard


git-svn-id: svn://10.0.0.236/trunk@120593 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:47:49 +00:00
rbs%maths.uq.edu.au
d21c5c6672 Added yet another defense to make Mozilla really robust when font resources run out, the patch makes font metrics to be fail safe or at least very hard to break -- to the point that failure means that the system is barely working (testing showed that Mozilla stayed alive while other applications were dying). Per request of super-reviewer & driver, also removed wallpaper null-checks sprinkled in the past for the problem. b=136248, r=shanjian, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120592 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 22:24:59 +00:00
peterlubczynski%netscape.com
db0df3ee8d Adding extra event call (WM_WINDOWPOSCHANGED) for windowless plugins on Windows so that they are updated with their position and bounds. Bug 135737, r=av, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120569 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:46:22 +00:00
smontagu%netscape.com
a2b76cba1b Fix hang when pressing ENTER in Hebrew text fields. Bug 95228, r=jkeiser, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120562 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 20:25:32 +00:00
dbaron%fas.harvard.edu
8bc0a6579f Consider whitespace in quirks-mode line-height algorithm when it's in the middle of the line. b=134580 r=attinasi sr=waterson
git-svn-id: svn://10.0.0.236/trunk@120375 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-01 00:42:49 +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
smontagu%netscape.com
2cbd720b1d Perform Bidi reordering on page headers when printing. Bug 139297, r=Roland.Mainz@informatik.med.uni-giessen.de, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@120263 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-30 00:37:12 +00:00
bzbarsky%mit.edu
1e4a6df19b Make selecting parts of a line in align:justify work right on
Mac/Linux.  Bug 58704, r=akkana, sr=kin


git-svn-id: svn://10.0.0.236/trunk@120236 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-29 22:03:41 +00:00