1041 Commits

Author SHA1 Message Date
bryner%netscape.com
f8019ea98c Fixing windows bustage.
git-svn-id: svn://10.0.0.236/trunk@117008 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 23:28:48 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
bryner%netscape.com
8763a125c1 Bug 130778 - fixing Txul regression from changing 'menuactive' attribute to :-moz-menuactive pseudoclass. Get the menuactive state from the frame instead of the content node so that we don't have to call through xpconnect and js. r=dbaron, sr=hyatt, a=asa.
git-svn-id: svn://10.0.0.236/trunk@117001 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:48:24 +00:00
bzbarsky%mit.edu
7b5174cb18 |foo.style.cssText = "";| should work (need to take old hint into
account).  Bug 131905, r=caillon, sr=jst, a=scc.


git-svn-id: svn://10.0.0.236/trunk@116901 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 22:38:08 +00:00
alecf%netscape.com
f4ad21ae3a a further nsString api reduction: remove the last case-insensitive PRUnichar*-to-PRUnichar* comparisons, moving to new API, and remove old methods from nsString. r=dougt, sr=jag a=scc
git-svn-id: svn://10.0.0.236/trunk@116842 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 06:46:56 +00:00
bzbarsky%mit.edu
121c744834 Make RemoveProperty notify the doc. Bug 131397, r=dbaron, sr=jst, a=asa
git-svn-id: svn://10.0.0.236/trunk@116810 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 00:09:15 +00:00
bzbarsky%mit.edu
92d735e650 Speed up edge case in RemoveProperty. Bug 131614, r=caillon, sr=jst,
a=dbaron


git-svn-id: svn://10.0.0.236/trunk@116781 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 05:08:23 +00:00
karnaze%netscape.com
009e7ede52 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@116758 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:35:08 +00:00
bzbarsky%mit.edu
e998568382 "More computed style property implementations". Bug 129843, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@116723 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 17:04:35 +00:00
dbaron%fas.harvard.edu
0076b3d38d Improve performance of SelectorMatches using nsIContent::HasAttr, which was added a few months ago. r=bzbarsky sr=attinasi a=asa b=128739
git-svn-id: svn://10.0.0.236/trunk@116716 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:24:08 +00:00
bryner%netscape.com
22fc00b640 Hook up the :checked CSS pseudoclass for input elements and use that instead of the _moz-input-checked attribute. Bug 128947, r=jkeiser, sr=ben, a=brendan.
git-svn-id: svn://10.0.0.236/trunk@116476 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 10:12:33 +00:00
bzbarsky%mit.edu
92cd4ef616 XBL expects computed -moz-binding to not have "url()" and to be empty
string for no binding.  Bug 128428 redux, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=shaver,
a=brendan


git-svn-id: svn://10.0.0.236/trunk@116460 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 02:33:09 +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
e74ceedc1d Implement directional, list, cursor properties. Bug 128428, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@116422 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 21:16:22 +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
bzbarsky%mit.edu
884cc3df92 Shrink nsROCSSPrimitiveValue and add support for CSS_NUMBER type. Bug
129469, r=caillon, sr=jst, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@116158 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 19:04:15 +00:00
dbaron%fas.harvard.edu
27328a7fcd Fix |#ifdef CSS_REPORT_PARSE_ERRORS| (not part of default build) bustage from darin's checkin for bug 124042.
git-svn-id: svn://10.0.0.236/trunk@116126 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 02:25:59 +00:00
bryner%netscape.com
01634657fa - Implement the :checked CSS pseudoclass which maps to the "selected" property on option elements.
- Eliminate the _moz-option-selected attribute; move the actual selected state into the option content node.
- Change all users of _moz-option-selected to use :checked.
- Add a third parameter to nsIDocument[Observer]::ContentStatesChanged to indicate which pseudoclass changed, this is used for optimizing handling of :checked state changes.

Bug 128947, r=dbaron, sr=jst, a=asa.


git-svn-id: svn://10.0.0.236/trunk@116029 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 03:34:29 +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
6cd8bbc150 Implement getComputedStyle for text properties. Bug 126319, patch by
caillon@returnzero.com (Christopher Aillon), r=bzbarsky, sr=attinasi,
a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115682 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-03 19:44:41 +00:00
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