Commit Graph

13427 Commits

Author SHA1 Message Date
dbaron%fas.harvard.edu
76bec44a9f Fix HPUX bustage. (It's right, as always. I can't static_cast to an incomplete class.) 2002-03-19 03:09:02 +00:00
dbaron%fas.harvard.edu
822db5374e Don't make the optimization of not calling the parent context's GetStyleData when there are 'em' or similar units for the 'font-size' property, where those units imply inheritance. b=131454 r=bzbarsky sr=hyatt a=asa 2002-03-19 01:32:16 +00:00
dbaron%fas.harvard.edu
21232a3675 Fix performance problem on pages with large numbers of repeated style attributes or differing presentational HTML attributes by changing the way nsRuleNode decides whether to store children in a hashtable or linked list: decide based on the child count rather than whether the node is the root. Convert hashtable child storage from nsHashtable to PLDHashTable. b=129187 sr=brendan r=hyatt a=asa 2002-03-19 01:29:20 +00:00
smontagu%netscape.com
e481c0045e Fix for bug 81032, "nsOutlinerBodyFrame.cpp need to be bidi enable". r=mkaply, sr=hyatt, a=asa 2002-03-19 00:45:50 +00:00
attinasi%netscape.com
8d198eefbd Be sure to initialize out-param no matter what. b=127360 r=aaronl sr=brendan a=asa (drivers) 2002-03-19 00:32:41 +00:00
bzbarsky%mit.edu
e18519e298 Make RemoveProperty notify the doc. Bug 131397, r=dbaron, sr=jst, a=asa 2002-03-19 00:09:15 +00:00
rginda%netscape.com
f798d0c82d bug 130894, add null checks to avoid crashes found by js debugger users.
r=caillon@returnzero.com, sr=ben, a=asa
2002-03-18 23:39:48 +00:00
bryner%netscape.com
71870e3113 Disable -moz-appearance on the remaining widgets, since we're not going to do native OS form control theming for 1.0. Bug 130236, r=kerz, sr=ben, a=brendan. 2002-03-18 09:01:02 +00:00
bryner%netscape.com
24af4a0620 Use a scrollbar, not auto-scroll arrows, for <select size=1>. Bug 129805, r=blake, sr=ben, a=brendan. 2002-03-18 07:07:45 +00:00
bzbarsky%mit.edu
5965b731bf Speed up edge case in RemoveProperty. Bug 131614, r=caillon, sr=jst,
a=dbaron
2002-03-18 05:08:23 +00:00
peterlubczynski%netscape.com
ad422a7ccb Remove JAVA_CLASS_ID support from OBJECT tag bug 108557 patch by Denis Antrushin (adu@sparc.spb.su) r=peterl sr=beard a=asa 2002-03-18 00:01:00 +00:00
bryner%netscape.com
21df11ab85 Hardcode sizetopopup=always behavior for HTML select widgets, that way we don't pollute the HTML DOM with our attribute. Also, factoring out the sizetopopup check into a helper method. Bug 128947, r=jkeiser, sr=brendan, a=dbaron. 2002-03-17 23:41:22 +00:00
karnaze%netscape.com
773d422073 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov 2002-03-17 21:35:08 +00:00
karnaze%netscape.com
a7ee794631 bug 126118 - remove code which tries to honor height of cell after it splits, get correct height on 3rd pass reflow. a=asa, sr=attinasi, r=alexsavulov. 2002-03-16 21:46:29 +00:00
bzbarsky%mit.edu
fafd4a486b "More computed style property implementations". Bug 129843, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi, a=dbaron
2002-03-16 17:04:35 +00:00
dbaron%fas.harvard.edu
4a2e5d0bed Remove obsolete NEW_CONTEXT_PARENTAGE_INVARIANT ifdefs, and add a few bits of debugging code. b=120888 sr=attinasi r=bzbarsky a=asa 2002-03-16 15:26:56 +00:00
dbaron%fas.harvard.edu
4ffe012c9f Fix drawing of rounded borders and backgrounds on large elements by using PRInt32 instead of PRInt16. b=131233 r=dcone sr=attinasi a=asa 2002-03-16 15:25:16 +00:00
dbaron%fas.harvard.edu
775467a042 Improve performance of SelectorMatches using nsIContent::HasAttr, which was added a few months ago. r=bzbarsky sr=attinasi a=asa b=128739 2002-03-16 15:24:08 +00:00
rods%netscape.com
10caff52d1 Removing uwanted debug staments to fix bustage. 2002-03-16 14:08:39 +00:00
rods%netscape.com
c42fa2528c 1) Removes most all the unneeded data from nsPrintOptions service. All data should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings object. The items not saved are those used during the printing process and it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings. If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS. Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific set of prefs. Then if a printer name is available in the PS then it tries
to initialize itself from the printer specific prefs. This enables to define "back stop" prefs for picking up first. Then the printer specific prefs can override those settings. For example, we may define in prefs that the default paper size 8.5x11, then if if the "save PS prefs" is turned on, for a given printer it might save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read or written.
Bug 128142 r=dcone sr=attinasi a=shaver
2002-03-16 13:08:45 +00:00
pavlov%netscape.com
e001fb9eeb fixing bug 131231 r=valeski sr=attinasi a=asa 2002-03-16 05:46:26 +00:00
rods%netscape.com
9e6a587a72 Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway 2002-03-15 14:49:09 +00:00
rods%netscape.com
20d6c55150 1) Removes most all the unneeded data from nsPrintOptions service. All data
should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings
   object. The items not saved are those used during the printing process and
   it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings.
   If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS.
   Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific
   set of prefs. Then if a printer name is available in the PS then it tries
   to initialize itself from the printer specific prefs. This enables to define
   "back stop" prefs for picking up first. Then the printer specific prefs
   can override those settings.
   For example, we may define in prefs that the default paper size 8.5x11,
   then if if the "save PS prefs" is turned on, for a given printer it might
   save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read
   or written.
2002-03-15 13:55:54 +00:00
rbs%maths.uq.edu.au
8f6916c2d9 perf bug 124570 - configure mathml.css as a catalog stylesheet that is loaded on demand rather than at startup, r=harishd, sr=jst, a=asa 2002-03-15 09:45:31 +00:00
badami%netscape.com
4c25fb1738 Animated image prefs don't apply to background images
bug 94938 r=pavlov sr=tor a=asa patch=nivedita@netscape.com
2002-03-15 08:29:08 +00:00
rbs%maths.uq.edu.au
2da1544c38 Fix bug 101180 - the minimum line-height wasn't applied at the first reflow, causing the line to flicker at the next reflow, r=dbaron, sr=attinasi, a=asa 2002-03-15 08:03:18 +00:00
jgaunt%netscape.com
70461c33ae bug 72054 -- make f10 work on UNIX and others
This is a checkin for Jay Yan from the Sun China team
r=jgaunt
sr=sfraser
a=asa
2002-03-15 01:35:06 +00:00
attinasi%netscape.com
edae7e78f2 Catch the case where the content node for the Input has not been created yet, prevent crash. b=123914 r=jkeiser, sr=roc+moz, a=asa (OBO drivers) 2002-03-15 00:40:07 +00:00
andreww%netscape.com
d2bc38bc28 bugzilla 129140 r=hwaara, sr=hewitt, a=asa - updating skinversion to 1.0 2002-03-14 21:20:51 +00:00
akkana%netscape.com
7502eecebb 109380: Add an editor accessor to the editor box object. r=brade sr=sfraser a=asa 2002-03-14 20:48:45 +00:00
seawood%netscape.com
9bdb6711d0 Remove now redudant REGCHROME calls.
Bug#129456 r=bryner a=asa
2002-03-14 07:11:30 +00:00
seawood%netscape.com
abb8a23948 Remove REGCHROME calls since we now auto-register chrome when jars are processed.
Bug #129456 r=bryner a=asa
2002-03-14 06:17:54 +00:00
jkeiser%netscape.com
b912cb1c68 Fix select focus crasher (bug 125906), r=rods@netscape.com, sr=attinasi@netscape.com, a=asa 2002-03-14 00:56:56 +00:00
dbaron%fas.harvard.edu
4e14f27e66 Attempt to fix topcrash bug 118014 by calling DeletingFrameSubtree in a bunch of places where it should be called to ensure that we don't leave dangling pointers in the undisplayed content map. sr=attinasi r=kin a=brendan 2002-03-13 13:51:20 +00:00
bryner%netscape.com
db8461403c Hook up the :checked CSS pseudoclass for input elements and use that instead of the _moz-input-checked attribute. Bug 128947, r=jkeiser, sr=ben, a=brendan. 2002-03-13 10:12:33 +00:00
mkaply%us.ibm.com
24a43d1548 OS/2 bustage - need cast here 2002-03-13 04:01:56 +00:00
bzbarsky%mit.edu
28e6030278 XBL expects computed -moz-binding to not have "url()" and to be empty
string for no binding.  Bug 128428 redux, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=shaver,
a=brendan
2002-03-13 02:33:09 +00:00
ftang%netscape.com
5f1cf54742 fix bug 130071. r=nhotta sr=hyatt, a=roc+moz
make the Asian localization display access key correctly if the last char is a ":"
2002-03-12 22:39:52 +00:00
nhotta%netscape.com
5d9debacdd For IMAGE SRC/FRAME SRC, set a charset from the document and pass it to NS_NewURI,
bug 127282, r=attinasi, sr=darin, a=asa.
2002-03-12 22:26:11 +00:00
heikki%netscape.com
bf57164cba Bug 129608, moving XML parsererror into its own namespace along with the CSS rules so it won't mess up with web pages using parsererror and sourcetext tags. Clean up the content tree before parser error. Also removing dead files. r=harishd, sr=jst, a=roc+moz@cs.cmu.edu. 2002-03-12 22:17:18 +00:00
bryner%netscape.com
a34c68fa0b Changing XUL menus to use a :-moz-menuactive pseudoclass rather than a menuactive attribute for styling the active item. This will allow XBL select widgets to not modify the HTML DOM. Bug 128947, r=dbaron, sr=hyatt, a=asa. 2002-03-12 21:49:23 +00:00
bzbarsky%mit.edu
e5ff4dcaa4 Implement directional, list, cursor properties. Bug 128428, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=jst, a=asa
2002-03-12 21:16:22 +00:00
karnaze%netscape.com
2b094e1eca bug 128804 - moved optimization of text controls to nsBlockReflowState and initialized it earlier. a=dbaron, sr=attinasi, r=alexsavulov. 2002-03-12 15:48:52 +00:00
karnaze%netscape.com
16016ee0cf bug 105742 - paint the outline of an image after the image content. a=roc, sr=attinasi, r=alexsavulov. 2002-03-12 15:35:52 +00:00
bzbarsky%mit.edu
9ffb53af67 Account for scrollbar in incremental reflow of fixed-pos elements. Bug
130002, r=dbaron, sr=attinasi, a=roc+moz
2002-03-12 15:29:33 +00:00
bzbarsky%mit.edu
5353b81526 Fix hang when style.cssText is set to an unrecognized value. Bug
129927, r=dbaron, sr=jst, a=roc+moz
2002-03-12 15:28:27 +00:00
karnaze%netscape.com
303ce25eb2 bug 92868 - Simplified the style context provider mechanism, changed frame manager to re-resolve the provider first and to use correct style context in a few other places. a=roc, sr=attinasi, r=dbaron. 2002-03-12 15:21:35 +00:00
mkaply%us.ibm.com
9353dc61cc #125432
r=pedemont, sr=blizzard, a=roc+moz
OS/2 only - use the web page font for entryfields, buttons, and lists since our chrome font is a bitmap font that can't be scaled.
2002-03-12 15:07:47 +00:00
rods%netscape.com
bd9bc62f8e Change getters of widgets to nsCOMPtrs to get rid of leaks.
Bug 129933 r=dcone sr=attinasi a=roc
2002-03-12 14:16:57 +00:00
hyatt%netscape.com
750520a853 Fix for 122369, XBL form selects show scrollbars when their size=the number of options. This fixes that problem. r=bryner, sr=ben, a=brendan 2002-03-12 10:13:05 +00:00