1550 Commits

Author SHA1 Message Date
caillon%returnzero.com
d55b44719f Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann


git-svn-id: svn://10.0.0.236/trunk@146256 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-22 03:06:53 +00:00
caillon%returnzero.com
c8612ff038 Bug 38370.
Allow color of an HR element to be changed.
Make HR be a block element in quirks mode instead of the hacky inline we were previously using (standards mode already had it as a block).
Patch by Ian Hickson <ian@hixie.ch> with minor modifications by me.
r+sr=bzbarsky@mit.edu


git-svn-id: svn://10.0.0.236/trunk@145375 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-30 08:13:07 +00:00
bzbarsky%mit.edu
82c14d79dd DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145289 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:25:13 +00:00
jaggernaut%netscape.com
df747d0621 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145205 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-25 19:06:59 +00:00
caillon%returnzero.com
cd46cbbaad Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)


git-svn-id: svn://10.0.0.236/trunk@145137 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 05:15:20 +00:00
dbaron%dbaron.org
593f58592d Remove hint parameter from AttributeChanged methods and simplify style hint mechanism. b=211308 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@144735 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-11 21:16:12 +00:00
bzbarsky%mit.edu
6e73f4e272 This line should not have snuck in.
git-svn-id: svn://10.0.0.236/trunk@144535 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 22:03:32 +00:00
bzbarsky%mit.edu
4f63a75a74 Move to the double-'::' notation for various pseudo-elements.
Bug 211657, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@144534 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-07 21:57:01 +00:00
roc+%cs.cmu.edu
5d6a476ee2 Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144477 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-05 15:30:50 +00:00
bzbarsky%mit.edu
071d3b4a75 Add support for '::' notation for CSS pseudo-elements (bug 62843). Drop
selectors containing unrecognized pseudo-classes and pseudo-elements (bug
145968).  Fix some CSS rules in quirk.css and xul.css that were bogus (no
bug).  Patch in bug 62843.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@144455 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-04 01:33:10 +00:00
dbaron%dbaron.org
519cf3b3d3 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
dbaron%dbaron.org
fdcaf9d022 Specify 'word-spacing: normal; letter-spacing: normal' for input and textarea so that 'word-spacing' and 'letter-spacing' on ancestors of text inputs don't mess up the spacing inside. b=209615 r=jkeiser sr=bz
git-svn-id: svn://10.0.0.236/trunk@143807 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-17 18:01:51 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
seawood%netscape.com
06e1507b0c Removing old cfm build files. Use the CFM_LAST_RITES tag to resurrect. r=macdev
git-svn-id: svn://10.0.0.236/trunk@143527 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-10 21:18:27 +00:00
bmlk%gmx.de
4ec8e5617c anonymous table cell frames should not have a default padding, td and th padding defaults are set in html.css, bug 72359, patch proposed by hixie some time ago (2001-06-21) r=bernd sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@143133 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-31 09:16:23 +00:00
bryner%netscape.com
0c30ac4a1e Bug 197136, <button> elements should be Aqua bevel buttons for Cocoa. Add a new -moz-appearance value, button-bevel. Also, fixed a problem that caused the button in a file input control to change size when it was focused. r=pinkerton, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@143061 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-29 22:39:05 +00:00
dwitte%stanford.edu
dc7e857400 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.


git-svn-id: svn://10.0.0.236/trunk@142828 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-23 21:34:47 +00:00
roc+%cs.cmu.edu
dad14022d0 Bug 202681. Do not recreate frames during reflow via -moz-binding change for lazy scrollbars. Instead of lazy scrollbars, completely remove the anonymous scrollbar element for scrollbars which are disabled by CSS. r+sr=dbaron,a=asa
git-svn-id: svn://10.0.0.236/trunk@142738 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 01:46:13 +00:00
dbaron%dbaron.org
69da9d4a19 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
neil%parkwaycc.co.uk
43ff870e5d Bug 190281 Focus doesn't skip disabled inputs properly r=aaronl sr=jst a=asa
git-svn-id: svn://10.0.0.236/trunk@142007 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-01 10:42:33 +00:00
colin%theblakes.com
cadbf3a7e7 Remove bad ANSI alias. b=190733. r=bbaetz. sr=dbaron. a=sspitzer
git-svn-id: svn://10.0.0.236/trunk@141975 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-30 20:39:27 +00:00
bzbarsky%mit.edu
8a2051dddd Fix sizing of disabled buttons to match enabled ones. Bug 147463,
r=jkeiser, sr=roc+moz, a=asa


git-svn-id: svn://10.0.0.236/trunk@141941 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-29 18:45:51 +00:00
peterlubczynski%netscape.com
fa1fbae9a6 Removing nsPluginViewer.cpp and friends, bug 195502, r=jkeiser, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@141776 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-25 00:21:12 +00:00
bzbarsky%mit.edu
9861b52663 Make sure that Init() failures for image frames don't mean no alt text. Also
fixes a crasher when reframing fixed-pos frames.

This change adds an assertion in ConstructHTMLFrame that InitAndRestoreFrame
should succeed (unless it returns NS_ERROR_FRAME_REPLACED).  This is an interim
change; eventually we want to bail out on errors, but there may be frame impls
that return errors in non-error conditions from Init() (eg nsFrameSetFrame did
that) and we're a little close to freeze.

Bug 202506, r=rbs, sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@141552 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-21 23:57:47 +00:00
bzbarsky%mit.edu
eefaa620cb Make iframes and objects obey CSS max-width/height and min-width/height if
their sizes are unconstrained.  Bug 181875, r+sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@141192 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 19:28:06 +00:00
mkaply%us.ibm.com
ec948a34ff No bug
r/sr=dbaron
use -moz-fixed instead of Courier for XML error messages so they are always fixed regardless of prefs


git-svn-id: svn://10.0.0.236/trunk@140990 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-10 19:01:47 +00:00
bryner%netscape.com
11c14d03d4 fix textarea borders for cocoa (bug 200841). r=pinkerton, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@140918 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 21:04:16 +00:00
roc+%cs.cmu.edu
d4ac9a5795 Bug 126263. Whack comboboxes/listboxes to use Gfx scrollbars. Also, make scrollbars attach their XBL content only when they become visible, to avoid pageload hit. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140858 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-08 20:50:57 +00:00
roc+%cs.cmu.edu
9fdb0cfc22 Bug 198479. nsFrameOuterFrame doesn't actually handle CSS 'visibility', just hide its view. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140768 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-06 20:14:54 +00:00
roc+%cs.cmu.edu
4dfef42d7f Bug 197065. Do more complete invalidation on block size changes. r=jkeiser,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140754 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-05 21:27:45 +00:00
bryner%netscape.com
5a0715030c Fix several problems with aqua form controls:
- don't disable -moz-appearance because the textfield has a transparent background
- don't draw a focus border for buttons, because of an OS bug that causes ugly lines through them
- make sure button text doesn't move when the button is pressed
- make sure buttons don't get a dotted internal focus border
- don't allow colors to be overridden on buttons for now

Also fixes dependencies in gfx/src/mac/Makefile.in. Bug 197094, r=pinkerton, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@140729 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-04 23:37:35 +00:00
aaronl%netscape.com
affc2f4d4e Bug 199060. Move most accessibility code out of widget. Merge MSAA-specific and XP accessibility object hierarchies into one tree of objects. Paves way for XP accessibility caching, more stability, and it's just better. r=kyle, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@140501 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-01 20:02:51 +00:00
bzbarsky%mit.edu
05bc13b022 Make scrollDelay settable; make height/width attrs work on standards-mode
pages. Bug 197461, r=doron, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@139598 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-17 06:58:17 +00:00
mkaply%us.ibm.com
72af02be10 OS/2 only - oops - don't modify XUL buttons in here
git-svn-id: svn://10.0.0.236/trunk@139414 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-14 01:50:41 +00:00
bryner%netscape.com
a40b1536d0 Implement Aqua form controls when building with the Cocoa toolkit (bug 188254). r=pinkerton, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@139317 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 04:57:33 +00:00
mkaply%us.ibm.com
79e305eac8 Better fix for 168391 from dbaron
git-svn-id: svn://10.0.0.236/trunk@139113 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 21:32:39 +00:00
aaronl%netscape.com
60b1c05bf1 Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:07:00 +00:00
mkaply%us.ibm.com
b42d65abce #168391
r=pedemont, sr=blizzard (platform specific)
OS/2 only - only inherit font famly, not other stuff


git-svn-id: svn://10.0.0.236/trunk@138919 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 03:56:35 +00:00
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu
8b9d8cd100 Make %-height kids of fieldsets do the right thing. Bug 191135, r=jkeiser,
sr=roc+moz, a=asa


git-svn-id: svn://10.0.0.236/trunk@137777 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 19:09:04 +00:00
bzbarsky%mit.edu
967f0132fe Don't use quirky box-sizing for image inputs. Bug 191967, r+sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@137775 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 19:02:28 +00:00
timeless%mozdev.org
f104e2ff56 Bug 156405 Tabbed browsing frequently crashes Mozilla - Trunk M130A [@ nsXULWindow::ContentShellAdded]
patch by bsmedberg@covad.net r=roc+moz, sr=roc+moz, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@137216 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 21:31:48 +00:00
bzbarsky%mit.edu
d017e2b06c Make sure we drop native theming of form controls in various situations when we
need to.  Bug 184359 and its dependencies (171598, 181490, 184218, 185708,
188785, 189907, 190610).  Patch by tim@prismelite.com (Tim Hill), r=bryner,
sr=bzbarsky, a=asa


git-svn-id: svn://10.0.0.236/trunk@137191 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-31 10:21:52 +00:00
bernd.mielke%snafu.de
b28c0284b2 enable color for <hr> borders bug 38370 r=hixie sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136231 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 12:10:11 +00:00
dbaron%dbaron.org
a569c670f5 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
bryner%netscape.com
6278746fdf Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@136056 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 06:49:07 +00:00
dbaron%dbaron.org
c278517282 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:19:10 +00:00
bzbarsky%mit.edu
223f64687a bug 187428 -- cursor should just inherit down to images within links instead of
being set explicitly.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@135862 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 19:05:14 +00:00
bzbarsky%mit.edu
1852e5070f Make more inputs use border-box sizing in standards mode, since that's what IE6
does in standards mode.  Keep quirks sizing as it was. Bug 184478, r=jkeiser,
sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@135853 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 05:18:50 +00:00
dbaron%fas.harvard.edu
ffb8d9cca7 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only.
git-svn-id: svn://10.0.0.236/trunk@135757 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-01 23:53:20 +00:00