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
jkeiser%netscape.com
cdf91f6f16
Make iframe border repaint when style changes (bug 124507), r=waterson@netscape.com, sr=attinasi@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@120131 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-28 07:53:41 +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
waterson%netscape.com
fc93436b44
Bug 138057. Eliminate nsBlockFrame::RememberFloaterDamage, instead recording the damage when we reflow the floater. This allows us to catch several cases that we weren't catching before, so we no longer need to dirty all the line boxes when an incremental reflow targeted at a float arrives. r=dbaron, sr=attinasi.
...
git-svn-id: svn://10.0.0.236/trunk@119984 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 19:19:39 +00:00
rods%netscape.com
32963ff2a4
Use binary search from nsTextFrame to find the length of the header/footer strings
...
Bug 139384 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119955 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-26 11:30:33 +00:00
attinasi%netscape.com
d71e5f8c22
Check for null FontMetrics to prevent crash. r=shanjian sr=kin
...
git-svn-id: svn://10.0.0.236/trunk@119883 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 22:00:22 +00:00
karnaze%netscape.com
479f972b95
bug 136746 - check for null pointer if a line is empty. sr=waterson, r=alexsavulov
...
git-svn-id: svn://10.0.0.236/trunk@119857 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 20:53:32 +00:00
seawood%netscape.com
7e4c3987ab
Add 'make install' target to build. It's "MRE-friendly". (See http://www.mozilla.org/projects/embedding/MRE.html for details.)
...
Changes:
* Added EXTRA_COMPONENTS variable to build. Use it to automagically install files into the components dir.
* Added SYSINSTALL variable. Use it install files onto the system.
* Move mozilla-config generation from configure to makefiles
* mozilla-config will now generate paths based upon the MRE-based directory layout.
* Generate mozilla script from template
The installation heirarchy currently looks like:
$prefix -> /bin/mozilla
/bin/mozilla-config
/include/mozilla-ver/*
/lib/mozilla-ver (mozappdir)
/components
/res
/defaults
/chrome
There is preliminary build support for MRE dirs as well though the component manager hasn't had MRE support added yet.
$prefix -> /lib/mre/mre-ver (mredir)
/components
git-svn-id: svn://10.0.0.236/trunk@119809 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-25 02:52:44 +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
rods%netscape.com
f5d5b87dc0
Make the UI scrollbars now scale in PrintPreview. We are having to do all this rather bizarre
...
stuff because the scrollbars in the document share all the same code and style contexts of the UI scrollbars
Bug 120616 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@119606 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 12:05:43 +00:00
jaggernaut%netscape.com
fe68e4711d
Backing out joki's checkin for bug 124990 (at his request) since this breaks some stuff on linux.
...
git-svn-id: svn://10.0.0.236/trunk@119450 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-20 01:48:32 +00:00