705 Commits

Author SHA1 Message Date
dbaron%dbaron.org
20478cc051 Split nsCSSDeclaration.h and .cpp into separate files for the structs (nsCSSStruct.h and .cpp) and nsCSSDeclaration. b=201681
git-svn-id: svn://10.0.0.236/trunk@141155 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-15 03:07:34 +00:00
bryner%netscape.com
0c66a2052e Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.


git-svn-id: svn://10.0.0.236/trunk@141016 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-11 00:56:27 +00:00
roc+%cs.cmu.edu
6f4d9821e6 Bug 201299. Make lazy scrollbars more selective to avoid XUL tree and listbox problems. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@140907 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-09 11:17:42 +00:00
heikki%netscape.com
40aa3e1b20 Bug 200382, reduce content's dependencies on webshell, r=adamlock, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@140645 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-03 18:57:33 +00:00
alecf%netscape.com
bc74aa5083 fix for bug 199170, convert layout to use nsStaticAtom. sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@140556 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 04:51:07 +00:00
jkeiser%netscape.com
d352b5f09b Allow raw ParseIntValue to work with negative values (bug 198677), r=smontagu@netscape.com, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@140387 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-27 15:38:12 +00:00
varga%netscape.com
96c3422078 Landing bookmarks branch. Everything except mozilla/xpfe
Bug 196756 - Meta bug for major architectural changes in bookmarks code
r=jag, sr=bryner


git-svn-id: svn://10.0.0.236/trunk@140214 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-25 04:44:31 +00:00
roc+%cs.cmu.edu
a70c7ce7b7 Bug 174049. Smooth scrolling. Original patch by Neil cronin. r+sr=kin
git-svn-id: svn://10.0.0.236/trunk@140133 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-24 05:29:45 +00:00
dbaron%dbaron.org
2d30530b49 Oops! nsStyleSVG never had a GetStyleStructID method. b=196603
git-svn-id: svn://10.0.0.236/trunk@139534 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-15 21:54:49 +00:00
bzbarsky%mit.edu
3bd333c19e Remove some style-data-clearing functions that no one uses and that don't do
the right thing anyway.  Bug 169989, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@139391 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 18:58:54 +00:00
dbaron%dbaron.org
efc8215ab8 Ensure that GetStyleData never returns null, even in out-of-memory, by storing a backup set of style structs to return in case of failure. b=154751 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@139384 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-13 15:29:36 +00:00
bryner%netscape.com
650a08b24e Don't need to stabilize mRefCnt to 1 in nsStyleContext dtor (bug 196956). r/sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@139319 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-12 05:19:43 +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
roc+%cs.cmu.edu
220a586522 Bug 195883. %-values are not valid for '-moz-opacity'.
git-svn-id: svn://10.0.0.236/trunk@139134 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-08 03:08:25 +00:00
dbaron%dbaron.org
089db98924 Implement garbage collection of the rule tree to fix some cases of memory growth and to allow us to move towards style rule immutability. b=117316 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@139035 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:14:17 +00:00
dbaron%dbaron.org
3b86a016bb Handle inline style changes by creating new style rules to wrap the modified nsCSSDeclarations, thus moving towards style rule immutability and away from property-based change hints. Patch from Boris Zbarsky <bzbarsky@mit.edu>. r=dbaron sr=roc b=171830
git-svn-id: svn://10.0.0.236/trunk@139034 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 19:07:22 +00:00
sfraser%netscape.com
681cb0b389 Declare kCSSRawProperties and kCSSRawKeywords as 'extern' so that tests code can link with the .a, and get them.
git-svn-id: svn://10.0.0.236/trunk@138511 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 03:34:15 +00:00
sfraser%netscape.com
43ee0b7326 Make static data const in nsBidiUtils.cpp. Bug 74803. r=dbaron, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@138489 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 00:54:14 +00:00
sfraser%netscape.com
94edbe3959 Bug 74803: fix the data in various static name tables to be const, and fix nsStaticNameTable to accept const data. r=dbaron, sr=alecf.
git-svn-id: svn://10.0.0.236/trunk@138488 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 00:52:07 +00:00
timeless%mozdev.org
5ad8e7ac41 Bug 126484 Occurences of uninitialized variables being used before being set (in Bidi files)
patch by mozilla-bugs@nogin.org r=smontagu sr=bz


git-svn-id: svn://10.0.0.236/trunk@138289 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 11:10:28 +00:00
dbaron%dbaron.org
2efab52bdc Fix Windows bustage. (Why doesn't gcc enforce correct const-ness?)
git-svn-id: svn://10.0.0.236/trunk@138207 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 17:51:47 +00:00
dbaron%dbaron.org
18e9b2801c Reduce code size of atom lists by storing a table of strings and pointers to fill in. b=181383 r=alecf sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@138195 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:58:07 +00:00
dbaron%dbaron.org
e6a2b29ebf Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +00:00
bryner%netscape.com
8d708cf819 Attempting to fix os/2 and worms bustage. Add a protected default ctor to nsStyleContext. This should never be called since we never instantiate an nsDerivedSafe. r=bbaetz.
git-svn-id: svn://10.0.0.236/trunk@138171 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 10:13:34 +00:00
bryner%netscape.com
e0162e28f3 mac cfm bustage
git-svn-id: svn://10.0.0.236/trunk@138149 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 04:17:16 +00:00
bryner%netscape.com
dfb57e3d01 Make nsStyleContext also return nsrefcnt from AddRef and Release, fixing gcc 2.95 bustage.
git-svn-id: svn://10.0.0.236/trunk@138148 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 04:05:05 +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
b4a6f72636 Dynamic changes to border-collapse should produce the right hint. Bug 191794,
r=bernd, sr=dbaron, a=asa


git-svn-id: svn://10.0.0.236/trunk@137776 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-13 19:06:18 +00:00
blizzard%redhat.com
115d52a509 Bug #190079. Crasher. Check length of string before calling |Last| on it. r=jkeiser,sr=scc,a=roc
git-svn-id: svn://10.0.0.236/trunk@136868 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-23 04:12:58 +00:00
paper%animecity.nu
dcf379d4f8 Fix for blocker Bug 190124 & Bug 190121. r=jkeiser, sr=blizzard, a=roc+moz. Send Pixel Units to GetPixelValue, not GetIntValue
git-svn-id: svn://10.0.0.236/trunk@136856 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 22:33:27 +00:00
rbs%maths.uq.edu.au
1a7b3b4f82 Add a comment following b=123049, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136832 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-22 07:56:13 +00:00
jkeiser%netscape.com
9ab164b399 Move HTMLValue parsing methods to HTMLValue (bug 159757), r=bugmail@sicking.cc, sr=jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@136751 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-21 21:24:16 +00:00
seawood%netscape.com
f6388a263a Fixing Forte static build bustage.
Thanks to Roland Mainz <Roland.Mainz@informatik.med.uni-giessen.de> for the patch.
r=cls sr=dmose


git-svn-id: svn://10.0.0.236/trunk@136659 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 11:57:47 +00:00
rbs%maths.uq.edu.au
534041f379 In certain dynamic updates, frames scheduled to be reprocessed could be destroyed in a ripple effect. Since this was a root problem, the patch fixes the crasher bugs 123049, 133219 154797 187671 187890, r=bzbarsky, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@136649 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 01:07:03 +00:00
caillon%returnzero.com
b9398c95d8 189533, background-position has low accuracy. Specifically, it was not allowing fractional percentages.
r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@136615 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 02:36:04 +00:00
heikki%netscape.com
fa3e3d8df9 Bug 1882, get ref from usemap even when it contains full URL. r+sr=roc+moz.
git-svn-id: svn://10.0.0.236/trunk@136614 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-19 01:08:05 +00:00
dbaron%dbaron.org
0d15904b17 Reduce duplication of code between handling of top/right/bottom/left margin, border, and padding. b=189537 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136598 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 15:58:49 +00:00
cbiesinger%web.de
8b51a21663 remove ifdef IBMBIDI in content/, r+sr=roc+moz, bug 89203
git-svn-id: svn://10.0.0.236/trunk@136507 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 12:09:23 +00:00
caillon%returnzero.com
4e9b13ef00 Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@136499 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 09:33:52 +00:00
bzbarsky%mit.edu
46afe71aab Make the string fu in nsStaticCaseInsensitiveNameTable a little smarter; use
that for nsCSSProps.  Bug 162243, r=dbaron, sr=dveditz.


git-svn-id: svn://10.0.0.236/trunk@136488 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-17 04:55:10 +00:00
dbaron%dbaron.org
19a9279a84 Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136266 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-13 23:10:53 +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
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
bratell%lysator.liu.se
dedbd18ff1 Bug 185007 - reduce padding in style structs. r=roc+moz, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@135542 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-21 07:27:44 +00:00
peterv%netscape.com
3a3c75b9f7 Fix for bug 183999 (Modernize content). r=caillon, sr=bz.
git-svn-id: svn://10.0.0.236/trunk@135128 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:24:49 +00:00
karnaze%netscape.com
0535fa6175 bug 127286 (part I due to cvs problems) - Handle splitting of floaters when lines impacting them are outside the block containing the floaters. sr=kin, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@134736 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-04 00:25:43 +00:00
karnaze%netscape.com
ca5804764b bug 180805 - Added GetAdjustedParentFrame to handle fieldsets. Moved inner/outer table logic there. Added fieldset logic to IsValidSibling. sr=bzbarsky, r=jkeiser.
git-svn-id: svn://10.0.0.236/trunk@134696 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 16:02:42 +00:00
peterv%netscape.com
d103a96ada Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
shanjian%netscape.com
7beea85904 #181117 Non-ASCII(plane 1 surrogate) link not correctly parsed in UTF-16
if the doc charset is utf-16 or utf-32,use utf8 for url encoding.
r=nhotta, sr=darin


git-svn-id: svn://10.0.0.236/trunk@134442 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-26 04:42:30 +00:00
timeless%mozdev.org
97bc540937 Bug 96229 keyboard (and right mouse in context menu) doesn't autocheck menuitem type="checkbox" and type="radio"
patch by neil@parkwaycc.co.uk r=aaronl sr=bz


git-svn-id: svn://10.0.0.236/trunk@134040 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-18 14:01:20 +00:00