398 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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%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
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
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
dbaron%fas.harvard.edu
307f43b5a1 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
dbaron%fas.harvard.edu
e8f31961d7 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin
git-svn-id: svn://10.0.0.236/trunk@133655 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-12 15:17:07 +00:00
timeless%mozdev.org
d9140404fc Bug 133708 Simplify nsStyleList::CalcDifference
r=dbaron sr=brendan


git-svn-id: svn://10.0.0.236/trunk@133134 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 07:31:27 +00:00
seawood%netscape.com
f9eb727003 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa


git-svn-id: svn://10.0.0.236/trunk@132136 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-17 06:47:01 +00:00
bzbarsky%mit.edu
505d37753e Fix crash in nsStyleQuotes copy constructor. Bug 174178, r=caillon,
sr=dbaron, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@131920 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-13 18:55:12 +00:00
caillon%returnzero.com
0f7366d6d0 Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@131419 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-08 10:24:53 +00:00
dbaron%fas.harvard.edu
6bf02d19fa Properly ignore the 'float' property for generated content. Rename NS_STYLE_POSITION_NORMAL to NS_STYLE_POSITION_STATIC. Patch from Mats Palmgren <mats.palmgren@bredband.net>. r=dbaron sr=bzbarsky b=93227
git-svn-id: svn://10.0.0.236/trunk@130798 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 14:46:56 +00:00
roc+%cs.cmu.edu
e25496d35f Bug 113083. Concentrate view setup code into a few shared functions in nsContainerFrame. Only change style-dependent view properties after style change, not during reflow, in response to nsChangeHint_SyncFrameView. Change 'clip' to only do SyncFrameView, not reflow. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@130792 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-30 11:56:37 +00:00
jkeiser%netscape.com
c5b034aaae Make nsHTMLValue store embedded nulls (r=sicking@netscape.com, sr=bzbarsky@mit.edu, sr=jaggernaut@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130511 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 07:41:53 +00:00
caillon%returnzero.com
36e93f89dd Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
r=dbaron sr=jst


git-svn-id: svn://10.0.0.236/trunk@130500 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-26 03:46:50 +00:00
jkeiser%netscape.com
5128c55e14 Backing out fix to bug 162572 to see if it fixes btek pageload numbers
git-svn-id: svn://10.0.0.236/trunk@129738 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 19:45:59 +00:00
jkeiser%netscape.com
758bd51d55 Allow nsHTMLValue to store embedded nulls (bug 162572), r=sicking@bigfoot.com, sr=bzbarsky@mit.edu
git-svn-id: svn://10.0.0.236/trunk@129681 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 06:19:27 +00:00
caillon%returnzero.com
656972473a 167964 - nsCSSProps::LookupPropertyValue() doesn't handle -moz-appearance
r=dbaron sr=jst


git-svn-id: svn://10.0.0.236/trunk@129297 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-12 03:57:02 +00:00
roc+%cs.cmu.edu
c6bb83f66a Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +00:00
dbaron%fas.harvard.edu
885376c9da Move nsStyleUtil from content/shared/ to content/html/style/ to reduce the size the shared library that is part of both content and layout. b=71257 sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127514 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 23:57:09 +00:00
dbaron%fas.harvard.edu
43734511f2 Move nsStyleUtil from content/shared/ to content/html/style/ to reduce the size the shared library that is part of both content and layout. b=71257 sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127502 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 23:00:25 +00:00
bzbarsky%mit.edu
8df67b73a5 Fix placement of positioned elements with auto "top". Bug 44508, patch
by Mats Palmgren (mats.palmgren@bredband.net), r=dbaron, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@127417 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 23:00:23 +00:00
seawood%netscape.com
829192b1b5 Removing unused _NS_IMPL_LAYOUT define.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #162308 r=cls


git-svn-id: svn://10.0.0.236/trunk@127350 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 05:39:40 +00:00
dbaron%fas.harvard.edu
e58a8cf95b Implement CSS2 :lang() selector. Fix problems with dynamic changes of 'quotes' property. Patch mostly by Ulrich Drepper (drepper@redhat.com), with some changes by Pierre Saslawsky and dbaron. r=rbs, dbaron sr=bzbarsky b=35768
git-svn-id: svn://10.0.0.236/trunk@127250 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 12:34:39 +00:00
seawood%netscape.com
823af36499 Removing unused defines:
_IMPL_NS_BASE (bug #162142)
_IMPL_NS_GFXONXP (bug #162145)
_IMPL_NS_UI (bug #162183)
B_ONE_M (bug #162196)
XP_NEW_SELECTION (bug #162230)
r=cls
Thanks to Stephen Walker <walk84@yahoo.com> for the patches.


git-svn-id: svn://10.0.0.236/trunk@127074 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-12 13:35:18 +00:00
dbaron%fas.harvard.edu
1be537f3c0 Move FindNonTransparentBackground from nsStyleUtil to nsCSSRendering so that nsStyleUtil doesn't need to be in content/shared. b=71257 r=heikki sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@127035 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-11 17:56:15 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +00:00