dbaron%dbaron.org
30879d2c9e
Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it's no longer needed. r=timeless sr=jag
...
git-svn-id: svn://10.0.0.236/trunk@135991 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:24:38 +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
bzbarsky%mit.edu
c3731640d3
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.
git-svn-id: svn://10.0.0.236/trunk@134667 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-03 05:48:14 +00:00
sicking%bigfoot.com
6f8753e832
Bug 8929: Kill NS_COMFALSE
...
r=peterv sr=bz
git-svn-id: svn://10.0.0.236/trunk@134398 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-25 11:21:22 +00:00
bzbarsky%mit.edu
0c8594d486
Report the unknown namespace when we have an unknown namespace error.
...
Bug 180852, r=dbaron, rs=roc+moz
git-svn-id: svn://10.0.0.236/trunk@134098 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-19 15:12:02 +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
bzbarsky%mit.edu
2dfbc5fd7d
Backing out alecf for now, since this change makes mailcompose crash
...
(and we don't want smoketest blockers, now do we?)
git-svn-id: svn://10.0.0.236/trunk@133971 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 12:07:13 +00:00
alecf%netscape.com
7ecfcf2dd0
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
git-svn-id: svn://10.0.0.236/trunk@133956 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-16 05:37:24 +00:00
bzbarsky%mit.edu
036dcaa1ec
fix regression in setting important property values in inline style via
...
DOM. Bug 173767, r=caillon, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@133073 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-06 02:07:17 +00:00
dbaron%fas.harvard.edu
b3d24bd19b
OK, over from snprintf to PR_snprintf. b=173837
...
git-svn-id: svn://10.0.0.236/trunk@132005 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 00:29:58 +00:00
dbaron%fas.harvard.edu
37dfe04a81
Maybe an explicit include of stdio.h will fix the myotonic bustage. b=173837
...
git-svn-id: svn://10.0.0.236/trunk@132004 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-15 00:20:45 +00:00
dbaron%fas.harvard.edu
795925d5f4
Change sprintf to snprintf to avoid potential for buffer overflow. Untabify surrounding code. b=173837 r=heikki sr=bzbarsky a=rjesup
...
git-svn-id: svn://10.0.0.236/trunk@131997 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-14 23:49:48 +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
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
bzbarsky%mit.edu
f700bdbb39
Fix an edge case in color-parsing correctness. Bug 154755, r=glazman,
...
sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@129595 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-14 05:28:26 +00:00
bzbarsky%mit.edu
a5718fc9e5
negative border widths are not legal in CSS. bug 167657, r=glazou,
...
sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@129189 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 01:47:25 +00:00
dougt%netscape.com
e289284076
166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
...
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
bzbarsky%mit.edu
8b530edf64
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.
git-svn-id: svn://10.0.0.236/trunk@128310 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 23:47:25 +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
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
bzbarsky%mit.edu
a260f77062
Expose @charset rules in the CSSOM. Bug 160834. r=glazman, sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@126444 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 05:26:41 +00:00
dbaron%fas.harvard.edu
121b842e9f
Turn on CSS parser error reporting in DEBUG builds. Make unexpected-EOF error messages more informative. b=155855 r=bzbarsky sr=ben
...
git-svn-id: svn://10.0.0.236/trunk@124827 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-09 04:28:58 +00:00
jst%netscape.com
7b7411c3ef
Fixing bug 134278. Die kNameSpaceID_HTML, die! r=sicking@bigfoot.com, sr=heikki@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@121894 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-20 22:47:02 +00:00
gerv%gerv.net
845e4a7761
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.
...
git-svn-id: svn://10.0.0.236/trunk@119384 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-19 08:07:11 +00:00
hewitt%netscape.com
7fd03a3524
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
git-svn-id: svn://10.0.0.236/trunk@117710 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-29 02:46:01 +00:00
bryner%netscape.com
0d03028090
Revert to using an attribute for menuactive (bug 133610). r=ben/jkeiser, sr=jst, a=asa.
...
git-svn-id: svn://10.0.0.236/trunk@117621 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 07:01:26 +00:00
attinasi%netscape.com
dbe40cd4b1
Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117496 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 20:14:05 +00:00
dbaron%fas.harvard.edu
b447eec349
Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
...
git-svn-id: svn://10.0.0.236/trunk@117348 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 22:56:05 +00:00
bryner%netscape.com
97fd40e754
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.
...
git-svn-id: svn://10.0.0.236/trunk@116424 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 21:49:23 +00:00
bzbarsky%mit.edu
ea8a36ff35
Fix hang when style.cssText is set to an unrecognized value. Bug
...
129927, r=dbaron, sr=jst, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@116404 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:28:27 +00:00
darin%netscape.com
04849998e1
fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
...
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
bzbarsky%mit.edu
0876fd184e
Fix parsing of some edge cases of background shorthand. Bug 124193,
...
r=pierre, sr=attinasi, a=roc+moz
git-svn-id: svn://10.0.0.236/trunk@115182 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 00:25:57 +00:00
bzbarsky%mit.edu
d9113378ce
Leave rules with empty decl blocks in the sheet so they're picked up by
...
the DOM. Bug 112854, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114872 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:27:38 +00:00
timeless%mac.com
092ea531fa
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
git-svn-id: svn://10.0.0.236/trunk@113941 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:05:16 +00:00
roc+%cs.cmu.edu
9e52ce4c8a
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
...
git-svn-id: svn://10.0.0.236/trunk@112990 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 07:53:27 +00:00
bzbarsky%mit.edu
ad1fb22926
Change users of Length() to IsEmpty() where the code really cares about
...
the latter in content/. Bug 100649, r=jag, sr=jst
git-svn-id: svn://10.0.0.236/trunk@112623 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 02:03:19 +00:00
blythe%netscape.com
8f002dba27
Fix bug 107270
...
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@112202 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:43:37 +00:00
hyatt%netscape.com
2e88971c9c
Checking in 115757, enabling of Windows XP Theme Support under Classic skin.,r=bryner,sr=hewitt
...
git-svn-id: svn://10.0.0.236/trunk@111336 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 00:28:01 +00:00
hwaara%chello.se
1779335a43
#117050 , fix bustage for embeddors who turn XUL off.
...
r=dbaron, sr=blake
git-svn-id: svn://10.0.0.236/trunk@111161 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-29 22:07:54 +00:00
hyatt%netscape.com
f9a19ba7cd
Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson
...
git-svn-id: svn://10.0.0.236/trunk@110648 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:51:39 +00:00
jaggernaut%netscape.com
576ec93128
Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
jaggernaut%netscape.com
436d43f211
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
...
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
bbaetz%cs.mcgill.ca
478af40f6f
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
git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00
hewitt%netscape.com
0b50d686f1
114184 - DrawCompositeSide can't deal with sides of differing widths, r=ben, sr=hyatt
...
git-svn-id: svn://10.0.0.236/trunk@110252 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 11:13:53 +00:00
jaggernaut%netscape.com
357c78f88e
BUg 113228: Replace nsC?String::To(Lower|Upper)Case with global To(Lower|Upper)Case. r=dbaron, sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@110075 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 07:08:38 +00:00
hyatt%netscape.com
6c6f01e32e
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
...
git-svn-id: svn://10.0.0.236/trunk@109734 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-05 08:35:05 +00:00
jst%netscape.com
be2baf922d
Fixing bug 112473. Eliminate unnecessary allocations in the CSS parser and speed up NS_NewHTMLReflowCommand() a bit. r=dbaron@fas.harvard.edu, rs=waterson@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@109187 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 08:48:53 +00:00
dougt%netscape.com
1f7520e927
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
...
git-svn-id: svn://10.0.0.236/trunk@105810 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 20:59:33 +00:00
bzbarsky%mit.edu
05cc80423d
Fix parsing of negative (illegal) values of border-spacing, padding, and
...
others. Bug 102344, r=dbaron, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@104738 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 15:13:23 +00:00