1021 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
2d59fcc183 Alternate sheets should be able to import other alternate sheets with no
trouble.  Bug 52105, r=dbaron, sr=attinasi, a=shaver


git-svn-id: svn://10.0.0.236/trunk@115324 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-25 22:26:26 +00:00
timeless%mac.com
15674e14d6 Bug 126667 ../../../../dist/include/content/nsCSSDeclaration.h:657: warning: comparison is always true due to limited range of data type
r=bbaetz,pink sr=alecf a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115225 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-22 11:58:22 +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
alecf%netscape.com
f85a67075e one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
bryner%netscape.com
a58dd42daf fixing 152 compiler warnings (bug 126336). r=glazman, sr=ben.
git-svn-id: svn://10.0.0.236/trunk@114961 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:19:44 +00:00
karnaze%netscape.com
430941b018 bug 41262 - new table border collapsing code. sr=attinasi, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@114937 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 15:48:28 +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
dbaron%fas.harvard.edu
1cc61e485b Create a small service in the content library to allow inspector to avoid bad link-time dependencies on CSS code. b=79091 r=attinasi,beard sr=shaver
git-svn-id: svn://10.0.0.236/trunk@114867 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 02:09:06 +00:00
timeless%mac.com
c0e0ef41ce Bug 125778 Implement getComputedStyle() for {min|max}-{height|width} properties
patch by caillon@returnzero.com r=bzbarsky sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@114819 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-18 22:54:15 +00:00
dbaron%fas.harvard.edu
5ed6553b0d Make debugging |List| functions |#ifdef DEBUG|. b=122817 r=glazman sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@114697 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 16:50:45 +00:00
cbiesinger%web.de
ffe7bd2072 bug 125716 r=bzbarsky sr=attinasi patch by caillon@returnzero.com
Implement getComputedStyle() for 'overflow' property


git-svn-id: svn://10.0.0.236/trunk@114691 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 13:16:10 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
2ab4074373 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.


git-svn-id: svn://10.0.0.236/trunk@114146 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 16:10:51 +00:00
cathleen%netscape.com
184587ade7 eliminate 24 callers to nsCRT::memmove to use memmove from libC instead. removed nsCRT::memove() bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113965 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:11:33 +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
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
cathleen%netscape.com
ec77313291 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +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
cathleen%netscape.com
3fcee4d2a1 remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp


git-svn-id: svn://10.0.0.236/trunk@112913 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:04:45 +00:00
bzbarsky%mit.edu
ed5639cb0b Make computed border-style and float be "none" by default. Bugs 120982
and 120965, patch by Christopher Aillon <caillon@returnzero.com>,
r=bzbarsky, sr=jst


git-svn-id: svn://10.0.0.236/trunk@112730 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 21:19:21 +00:00
blythe%netscape.com
bc94a17a37 Fix bug 120422
r=dbaron,rs=hyatt
Do not delete ref counted object.


git-svn-id: svn://10.0.0.236/trunk@112706 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 18:28:25 +00:00
bzbarsky%mit.edu
5c0d8738e5 computed list-style-image should be "none" if there is no image. Bug
120719, r=hixie, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@112651 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 04:22:59 +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
cmanske%netscape.com
17076aa673 Fixed hasAttribute for non-mapped attributes, b=120607, r=bzbarsky@mit.edu, sr=jst, a=blizzard/drivers
git-svn-id: svn://10.0.0.236/trunk@112447 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 20:08:02 +00:00
dbaron%fas.harvard.edu
bb05524539 Fix windows bustage.
git-svn-id: svn://10.0.0.236/trunk@112264 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 02:04:20 +00:00
dbaron%fas.harvard.edu
764654ae65 Fix inspector link errors by adding a method on nsICSSStyleRule that forwards GetValue to nsCSSDeclaration.
git-svn-id: svn://10.0.0.236/trunk@112260 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 01:34:47 +00:00
sfraser%netscape.com
5c83adb01f Fixing build bustage for blythe; fix header name in MANIFEST.
git-svn-id: svn://10.0.0.236/trunk@112220 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 23:15:02 +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
bzbarsky%mit.edu
df8173369a Change some users of GetAttr to HasAttr instead. Bug 113564, r=jag, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@112041 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-13 04:03:52 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
bzbarsky%mit.edu
b7de1b681f Implement computed position and clip, make computed style not round
values, fix font-style to say "normal" instead of "", and some random
cleanup.  Bugs 116032, 116033, 94080, 98052


git-svn-id: svn://10.0.0.236/trunk@111897 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 00:15:55 +00:00
bzbarsky%mit.edu
5bba6cc807 Build system changes to build nsDOMCSSRect. Bug 116032, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@111895 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 00:12:10 +00:00
bzbarsky%mit.edu
bed5a07b00 Adding nsIDOMRect implementation to support computed clip. Not part of
build yet.  Bug 116032, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@111894 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 00:09:01 +00:00
brade%netscape.com
39059cb173 remove unused statics kCSSBreaksSID and kCSSPageSID for gain of 32 bytes (bug 117927; r/sr=jst,darin)
git-svn-id: svn://10.0.0.236/trunk@111815 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:08:36 +00:00
brade%netscape.com
c1caa500c8 remove unused static kISupportsIID for gain of 16 bytes (bug 117927; r/sr=jst,darin)
git-svn-id: svn://10.0.0.236/trunk@111814 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 14:07:59 +00:00
bzbarsky%mit.edu
71baca7741 Fix assertions when getting computed -moz-outline-width and
-moz-marker-offset and enable these in Inspector.  Bug 114086, r=fabian,
sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@111780 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 02:20:17 +00:00
rbs%maths.uq.edu.au
13b4696963 Grab a low hanging perf fruit by switching to an API that doesn't copy the font, b=118918, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@111752 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 00:04:35 +00:00
jst%netscape.com
901f0df3ef Fixing bug 118202. Make <link href='http://...'> send a HTTP referrer to the server. r=bzbarsky@mit.edu, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111649 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 05:56:43 +00:00
dbaron%fas.harvard.edu
b7194a0ea8 Replace the BodyFixupRule with code in nsCSSRendering to fix all the problems with dynamic style changes and backgrounds on the root element and the BODY element. Change the way the HTMLDocumentColorRule (for the table color quirk) is initialized since it used to depend on the BodyFixupRule. b=116161 (also fixes other bugs) r=attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111511 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 23:46:07 +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
rjesup%wgate.com
15d98882e8 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@110938 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 01:10:07 +00:00
glazman%netscape.com
d430c2f52d oops, forgot to remove variable in previous check-in; b=95062, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110888 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 11:21:01 +00:00
glazman%netscape.com
76e810cc78 computed style for text-decoration was always answering ""; b=95062, r=peterv, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110887 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 11:15:32 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +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
bzbarsky%mit.edu
ea7174b216 Implement (turn on, really) SetCssText for style declarations. Bug
91370, r=peterv, sr=jst


git-svn-id: svn://10.0.0.236/trunk@110526 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 04:33:11 +00:00
sfraser%netscape.com
ff5c1dcc81 Fix for bug 115157 -- shrink data structures by converting PRBool to PRPackedBool. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@110494 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 23:10:42 +00:00