Commit Graph

1270 Commits

Author SHA1 Message Date
alecf@netscape.com
1f1c5bf595 backout my static atom patch for now until I figure out the performance loss! :(
bug 195262
2003-03-21 20:13:08 +00:00
alecf@netscape.com
9dc9223a52 argh fix darwin bustage.. :( 2003-03-21 16:06:20 +00:00
alecf@netscape.com
8133f44681 just one theory on the Ts slowdown, before I back myself out completely 2003-03-21 13:31:34 +00:00
bzbarsky@mit.edu
853a27b0cc s/floorf/floor/. Fixes solaris/AIX/whatever bustage 2003-03-18 08:29:00 +00:00
bzbarsky@mit.edu
bdeeaec47e Add math.h too 2003-03-18 06:48:04 +00:00
bzbarsky@mit.edu
c79666d4ee Fix build bustage -- looks like not all platforms have round(). r=timeless 2003-03-18 06:45:57 +00:00
bzbarsky@mit.edu
cdaa015256 Bug 160550 -- implement -moz-hsl() (CSS3 hsl() colors). Implement the parsing end of
-moz-rgba() and -moz-hsla(); the GFX end is bug 147017.  r+sr=dbaron
2003-03-18 05:43:12 +00:00
bzbarsky@mit.edu
489d25e676 Don't parse "string" values for text-align till we actually support them in
layout... Bug 197771, r+sr=dbaron
2003-03-18 05:25:37 +00:00
bzbarsky@mit.edu
59aa8f5a1c Random CSS parser cleanup -- nsCOMPtr, nsCOMArray, remove unused methods, etc.
Bug 197512, r+sr=dbaron
2003-03-18 05:21:30 +00:00
bzbarsky@mit.edu
2347c66c1b Make the CSS parser not throw on attempts to parse lengths with unknown units
(bug 197212).  Also fixes a few build warnings and finally removes
NS_CSS_PARSER_DROP_DECLARATION (bug 88423).  r+sr=dbaron
2003-03-17 03:58:06 +00:00
roc+@cs.cmu.edu
2269ac49f5 Bug 195883. %-values are not valid for '-moz-opacity'. 2003-03-08 03:08:25 +00:00
peterv@netscape.com
627a38d0b9 Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
caillon@returnzero.com
1169b8baa0 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
2003-01-17 09:33:52 +00:00
dbaron@dbaron.org
47922f2a26 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag 2003-01-08 19:24:38 +00:00
dbaron@fas.harvard.edu
8a88f30fc6 Change my email address from dbaron@fas.harvard.edu to dbaron@dbaron.org. Comment changes only. 2003-01-01 23:53:20 +00:00
peterv@netscape.com
a286b2a9ae Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
bzbarsky@mit.edu
de205739a0 Make the CSSLoader correctly order stylesheets as they are dynamically added
and removed via the DOM.  Clean up the nsIDocument stylesheet accessors.  Clean
up nsIDocumentObserver stylesheet stuff a bit.  Make style sheets visible in
the CSSOM (though not completely accessible) from the moment the load is kicked
off.  Make us have sheet objects that can be manipulated via CSSOM even for
failed loads. Bug 107567, bug 47734, bug 57225, bug 178407.
r=sicking,  sr=peterv.
2002-12-03 05:48:14 +00:00
sicking@bigfoot.com
4b50c34806 Bug 8929: Kill NS_COMFALSE
r=peterv sr=bz
2002-11-25 11:21:22 +00:00
bzbarsky@mit.edu
1efa63ee67 Report the unknown namespace when we have an unknown namespace error.
Bug 180852, r=dbaron, rs=roc+moz
2002-11-19 15:12:02 +00:00
dbaron@fas.harvard.edu
72f2298b73 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 2002-11-17 15:37:56 +00:00
bzbarsky@mit.edu
3f480af282 Backing out alecf for now, since this change makes mailcompose crash
(and we don't want smoketest blockers, now do we?)
2002-11-16 12:07:13 +00:00
alecf@netscape.com
bf80c3a1b7 prep work for fixing bug 180379 - stop creating extra nsCSSSelectors - instead of creating them on the stack then copying them to the heap, start with them newly on the heap.
r=bzbarsky, sr=dbaron
2002-11-16 05:37:24 +00:00
bzbarsky@mit.edu
71aedee4b7 fix regression in setting important property values in inline style via
DOM.  Bug 173767, r=caillon, sr=dbaron
2002-11-06 02:07:17 +00:00
dbaron@fas.harvard.edu
09cb21ea04 OK, over from snprintf to PR_snprintf. b=173837 2002-10-15 00:29:58 +00:00
dbaron@fas.harvard.edu
311dc27f6a Maybe an explicit include of stdio.h will fix the myotonic bustage. b=173837 2002-10-15 00:20:45 +00:00
dbaron@fas.harvard.edu
f9a2607464 Change sprintf to snprintf to avoid potential for buffer overflow. Untabify surrounding code. b=173837 r=heikki sr=bzbarsky a=rjesup 2002-10-14 23:49:48 +00:00
caillon@returnzero.com
0d9875f0a1 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
1043c715bf Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
r=dbaron sr=jst
2002-09-26 03:46:50 +00:00
bzbarsky@mit.edu
d3aa06d6bb Fix an edge case in color-parsing correctness. Bug 154755, r=glazman,
sr=dbaron
2002-09-14 05:28:26 +00:00
bzbarsky@mit.edu
0117b90b22 negative border widths are not legal in CSS. bug 167657, r=glazou,
sr=dbaron.
2002-09-11 01:47:25 +00:00
dougt@netscape.com
46ce738546 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
bzbarsky@mit.edu
241d58a1a2 Bug 119321 and bug 80106. Create a generic nsIUnicharStreamLoader that
makes two callbacks -- one to determine the charset and one to provide
an nsIUnicharInputStream.  Use this in the CSSLoader instead of
allocating a single big buffer for the sheet.  Clean up the way we look
for the @charset charset in the sheet data.

r=rpotts for netwerk/, r=peterv for content/, r=smontagu for intl/,
sr=darin for the whole thing.
2002-08-27 23:47:25 +00:00
roc+@cs.cmu.edu
458e434a36 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
dbaron@fas.harvard.edu
89efeec71f 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 2002-08-14 12:34:39 +00:00
bzbarsky@mit.edu
69d017df11 Expose @charset rules in the CSSOM. Bug 160834. r=glazman, sr=dbaron. 2002-08-06 05:26:41 +00:00
dbaron@fas.harvard.edu
75630656bd Turn on CSS parser error reporting in DEBUG builds. Make unexpected-EOF error messages more informative. b=155855 r=bzbarsky sr=ben 2002-07-09 04:28:58 +00:00
jst@netscape.com
39ce2a2ba9 Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com 2002-05-20 22:47:02 +00:00
gerv@gerv.net
e69f263318 Bug 3935 - mozilla-native psuedo classes and properties should be marked as such. This fixes a number of them; still a few more to do. Patch by gerv, r=dbaron, sr=jst, a=asa. 2002-04-19 08:07:11 +00:00
hewitt@netscape.com
ffbc59afea bugs 110156, 110155
Removing support for <outliner> tags
Removing <tree> layout code and moving <tree> tags to outliner layout
Convert all usage of <outliner> to tree tags
Convert all usage of <tree> tags to new <tree> syntax or <listbox>
r=cmanske,varga sr=hyatt,sspitzer a=asa

Also includes fixes by Jan Varga (varga@utcruk.sk) for bugs 132020, 133451, 131393, 115894, and 129327
2002-03-29 02:46:01 +00:00
bryner@netscape.com
24bb067195 Revert to using an attribute for menuactive (bug 133610). r=ben/jkeiser, sr=jst, a=asa. 2002-03-27 07:01:26 +00:00
attinasi@netscape.com
14202ad249 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
6a73e05779 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
bryner@netscape.com
8e0bdd5dfa 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
db44934458 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
darin@netscape.com
fc6d5e4b32 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
bzbarsky@mit.edu
a9a4cb8171 Fix parsing of some edge cases of background shorthand. Bug 124193,
r=pierre, sr=attinasi, a=roc+moz
2002-02-22 00:25:57 +00:00
bzbarsky@mit.edu
aca26316af Leave rules with empty decl blocks in the sheet so they're picked up by
the DOM.  Bug 112854, r=dbaron, sr=attinasi
2002-02-19 02:27:38 +00:00
timeless@mac.com
367d7f8695 Bug 33601�fixing warnings about switch(enumVar){case onlyOne: {}}
adds a default case. also removing an else after return.

r=roc+moz@cs.cmu.edu sr=alecf
2002-02-08 00:05:16 +00:00
roc+@cs.cmu.edu
91d7ead21a Bug 33601. Force REFRAME style hints if views might need to be created in response to opacity or background-attachment style changes. r=dbaron,sr=waterson 2002-01-27 07:53:27 +00:00
bzbarsky@mit.edu
13c031b53f Change users of Length() to IsEmpty() where the code really cares about
the latter in content/.  Bug 100649, r=jag, sr=jst
2002-01-24 02:03:19 +00:00