Граф коммитов

204 Коммитов

Автор SHA1 Сообщение Дата
peterv%netscape.com d96051a4a2 Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
dbaron%fas.harvard.edu dc83a84103 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 2002-11-12 15:17:07 +00:00
glazman%netscape.com dd816389e5 CSS properties set to system colors were returning inconsistent values; b=172199, r=caillon, sr=peterv 2002-11-06 08:31:19 +00:00
caillon%returnzero.com 5ba9439c07 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
2002-10-08 10:24:53 +00:00
caillon%returnzero.com 9061952afd Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
r=dbaron sr=jst
2002-09-26 03:46:50 +00:00
roc+%cs.cmu.edu cb32a0f906 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 2002-08-24 14:41:28 +00:00
bzbarsky%mit.edu f060ebb468 Fix bustage.... 2002-08-06 06:48:31 +00:00
bzbarsky%mit.edu 3d9601368a Fix serialization of clip in .cssText. Bug 104321, r=glazman, sr=dbaron 2002-08-06 05:42:44 +00:00
bzbarsky%mit.edu e74e38ec29 Make .style and computed style format rgb() values the same way. Bug
160247, r=peterv, sr=jst
2002-08-06 05:18:21 +00:00
alecf%netscape.com e9e1a39573 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
bryner%netscape.com 90a2f7dfb7 Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag. 2002-07-08 07:56:50 +00:00
glazman%netscape.com 7cd80968b9 Making nsCSSDeclaration::GetValue() call itself to respond !important values when needed was making the CSS Parser choke in nsCSSParserImpl::AppendValue()
b=148501, r=brade, r=bzbarsky, sr=jst
2002-06-14 12:36:43 +00:00
glazman%netscape.com 6f04b18617 fixing brad Tbox warning; b=142019, r=bzbarsky, sr=jst 2002-05-21 13:33:25 +00:00
glazman%netscape.com 8b99db659f output of CSS border and background shorthand properties was buggy ; the new code implements a proposal by Hixie that tries to output the minimal number of properties.
b=142019, r=bzbarsky, sr=jst
2002-05-21 08:16:42 +00:00
karnaze%netscape.com 9601567d46 bug 133997 - Bernd's patch to fix compiler warnings. a=asa, sr=attinasi, r=karnaze. 2002-03-31 23:17:38 +00:00
attinasi%netscape.com 23630d30e8 Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa 2002-03-26 20:14:05 +00:00
dbaron%fas.harvard.edu a68d8f9629 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:56:05 +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
bryner%netscape.com 614ace3983 fixing 152 compiler warnings (bug 126336). r=glazman, sr=ben. 2002-02-19 22:19:44 +00:00
dbaron%fas.harvard.edu de5aace409 Make debugging |List| functions |#ifdef DEBUG|. b=122817 r=glazman sr=attinasi 2002-02-16 16:50:45 +00:00
bzbarsky%mit.edu 97aad157b6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 7fbffdf125 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.
2002-02-09 16:10:51 +00:00
bzbarsky%mit.edu 40d60f39ec Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
blythe%netscape.com 65cd19adda Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
rjesup%wgate.com 2e680f1b17 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
hyatt%netscape.com 0ec3f045d8 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
jaggernaut%netscape.com 97b0530073 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
bbaetz%cs.mcgill.ca 5c8cc975a2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
hewitt%netscape.com 12a8133f1a 114535 - crash setting !important on a -moz-image-region property, 114132 - rounded multi-level borders use wrong radii, r=ben, sr=hyatt 2001-12-11 11:11:09 +00:00
shanjian%netscape.com fdf39e6da8 #105199 glyph search order is NOT lang dependent
lang is mapped to CSS Display structure and apply to document using
CSS rule tree.
r=dbaron sr=attinasi
2001-12-11 04:12:34 +00:00
seawood%netscape.com 59945f6ecb Move inlined function nsCSSMargin::EnsureBorderColors() before the functions that use it in order to appease Sun's Workshop/Forte 6 compiler.
Fixing tinderbox bustage.
2001-12-06 10:10:15 +00:00
hyatt%netscape.com 91bc6c4a6e Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988 2001-12-05 08:35:05 +00:00
alecf%netscape.com 8e1f300899 first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake 2001-11-27 21:13:53 +00:00
jaggernaut%netscape.com cad0dc7095 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 06:44:19 +00:00
alecf%netscape.com 743fc2884d other changes for bug 100214, r=jag, sr=scc
include nsUnicharUtils.h for useful stuf
2001-10-26 02:38:29 +00:00
dbaron%fas.harvard.edu 02f3a2d769 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
glazman%netscape.com 19436c0ab5 STYLE attribute should not expand CSS shorthand property assignment to equivalent longhand assignments; b=18894, r=peterv, sr=attinasi 2001-10-24 08:08:30 +00:00
dougt%netscape.com 942988df26 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527 2001-10-19 20:59:33 +00:00
dbaron%fas.harvard.edu 5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu ed869c764e Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
hewitt%netscape.com 433ff11b78 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt 2001-09-25 22:17:00 +00:00
gerv%gerv.net 1968b7dad2 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
rjesup%wgate.com 6f3e4115eb Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2001-08-27 06:15:54 +00:00
dbaron%fas.harvard.edu 113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
cls%seawood.org a3c1dd1b09 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
pierre%netscape.com b594646982 bug 94248: uninitialized variable in nsCSSUserInterface::mCursor. fix from rjesup@wgate.com, r=pierre 2001-08-08 04:21:53 +00:00
hyatt%netscape.com e1abe2c919 Fix for 71471. r=blake, sr=hewitt 2001-08-02 00:09:27 +00:00
hyatt%netscape.com b135c5b55a Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
hyatt%netscape.com 6946f71e1b Fix for 70809. r=attinasi, sr=brendan 2001-03-06 02:30:30 +00:00
rods%netscape.com edb0c6270c removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
jst%netscape.com 9abec73fbe DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
waterson%netscape.com 47909284f5 Bug 37853. Add MOZ_COUNT_[C|D]TOR calls to the objects allocated from nsCSSDeclaration. r=attinasi 2000-05-03 21:21:30 +00:00
pierre%netscape.com a8dbb57e7f 9876. Implemented CSSStyleDeclaration removeProperty. r=jst. 2000-04-28 08:35:40 +00:00
attinasi%netscape.com af2c4a7c11 Removed warnings: very basic changes 2000-04-23 19:06:37 +00:00
scc%netscape.com 52bdf65d60 making string conversions explicit 2000-04-15 21:18:29 +00:00
scc%netscape.com 0012d27605 making string conversions explicit 2000-04-15 20:15:37 +00:00
attinasi%netscape.com 1621b39d9e Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
jim_nance%yahoo.com dc0e139673 Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
hyatt%netscape.com d8922c0918 Fix for 25883. 2000-02-01 00:20:26 +00:00
pierre%netscape.com 421af19ae9 Bug 24676 ("Need -moz-outline-radius feature"). Fixed the parsing of -moz-outline-radius. 2000-01-28 10:03:10 +00:00
pierre%netscape.com 0ff017366d Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'. 2000-01-24 11:19:55 +00:00
hyatt%netscape.com 21a48fa26a adding behavior property to CSS. r=brendan 2000-01-11 03:40:41 +00:00
pierre%netscape.com bdf8bc768d 16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft): nsCSSDeclaration.cpp nsCSSParser.cpp nsCSSPropList.h nsCSSStyleRule.cpp nsICSSDeclaration.h nsIStyleContext.h nsStyleContext.cpp nsCSSRendering.cpp 1999-12-22 11:27:10 +00:00
dmose%mozilla.org 5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
kipp%netscape.com 3ced381a1a Zapped mCompatFloatMargin hack 1999-09-17 00:57:06 +00:00
kipp%netscape.com aed7845101 Added in mCompatFloaterMargin 1999-09-16 19:55:28 +00:00
peterl%netscape.com a8e65ff2a6 tracking UI & forms proposal changes 1999-09-03 23:40:35 +00:00
peterl%netscape.com 3bf8f6b907 added experimental CSS3 properties 1999-07-24 19:04:42 +00:00
mcafee%netscape.com 94450aece7 GNU-class compilers are complaining about unhandled cases in all these switch statements, adding some default cases. 1999-07-20 10:10:12 +00:00
peterl%netscape.com ec7b92b816 update to new property and keyword enums and apis 1999-07-18 00:25:28 +00:00
jdunn%netscape.com 2c11b7f1ed fixing macro syntax. HP flagged the construct as an error. 1999-06-14 21:16:05 +00:00
peterl%netscape.com 7b2e67d644 added cloning 1999-06-03 01:58:11 +00:00
peterl%netscape.com f0b7fcff54 added -moz-border-radius 1999-04-03 03:15:01 +00:00
kipp%netscape.com 960bc34221 fixed up operator new usage 1999-02-26 20:02:06 +00:00
kipp%netscape.com 760dc4af42 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com a757e2efbe Cleaned up operator new and delete 1999-02-26 17:13:10 +00:00
kipp%netscape.com 36c243cdc0 COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl%netscape.com 810f2f5c75 added append struct value 1999-02-10 08:37:28 +00:00
peterl%netscape.com 081bfbad68 better computation of style hint
Checkin during red tree approved by sar
1999-01-15 02:04:51 +00:00
peterl%netscape.com b3ae3a8483 added GetStyleImpact
cleaned up api
1999-01-06 01:25:39 +00:00
peterl%netscape.com b0d65f24f9 removed char* apis
fixed ! important property ordering
fixed CSSOM access to ! important properties
1998-11-06 00:56:28 +00:00
peterl%netscape.com 9e59e54ad2 added CSS2 property handling 1998-10-26 23:22:40 +00:00
peterl%netscape.com e9cf015856 added CSS2 properties 1998-10-08 01:31:58 +00:00
troy%netscape.com fa70c38667 Changed some code to use XPCOM ref counting related macros 1998-10-05 05:11:18 +00:00
peterl%netscape.com 20929d4c89 added get value as string 1998-09-30 01:08:59 +00:00
vidur%netscape.com b4fc446c94 Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration. 1998-09-25 00:51:45 +00:00
kipp%netscape.com 2687e9ae4c Improved list output for border/padding/margin 1998-09-23 02:34:21 +00:00
kipp%netscape.com 1408d551cd Fixed a bug with percent values being converted to strings 1998-09-10 23:42:18 +00:00
peterl%netscape.com ab0ec41618 added to string support 1998-09-10 01:19:26 +00:00
peterl%netscape.com 714146a525 rounding support 1998-07-31 23:34:45 +00:00
kostello%netscape.com e7dee8f2f4 1) Move the CSS dependent methods out of nsDocument and placed them
in a new class nsMarkupDocument. The point of nsMarkupDocument is
to hold methods which are common to HTML and XML but not relevant
to the base nsDocument class.

2) Added Selection support methods for Rod.

3) Added LookupProperty to nsCSSProperty:
Given a property ID and Property Index returns back the string representation
of the property. This was need to convert CSSValues back to strings for saving.
TODO: Make sure that our URL Information stored in a CSSDeclaration contains
enough information to return it to it's original form on output.
1998-07-17 23:00:54 +00:00
peterl%netscape.com ed2c6d38a8 added comment support 1998-07-17 05:50:35 +00:00
kostello 33fd5ef97a Added XIF (XML Interchange Format) Support. XIF is designed
as an Netscape internal XML application. It is designed to
allow conversion from our content model to any output format --
most importantly to HTML 3.2 and HTML4.0 format.
1998-07-14 22:34:27 +00:00
peterl 5e48108666 added ! important support 1998-06-26 05:51:55 +00:00
kipp 07e45af91f Print out percentage values properly 1998-06-03 16:00:15 +00:00
kipp 72d77edcbb Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
peterl 3fd983bcd3 moved attributes around 1998-05-26 23:16:55 +00:00
peterl 1379c574d2 added new unit types, cleaned up api 1998-04-30 19:56:39 +00:00
kipp 380556b3c7 Normalize structure member names 1998-04-27 21:24:06 +00:00
kipp a9a585a83b Added support for more properties 1998-04-25 18:43:42 +00:00
peterl 41fcec6088 added ref counting debug code 1998-04-22 06:38:31 +00:00
kipp 098bef52b4 moved to pub 1998-04-13 20:24:54 +00:00