bzbarsky%mit.edu
a0fe9c437e
Random CSS parser cleanup -- nsCOMPtr, nsCOMArray, remove unused methods, etc.
...
Bug 197512, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@139648 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-18 05:21:30 +00:00
peterv%netscape.com
c96c6fa64f
Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv.
...
git-svn-id: svn://10.0.0.236/trunk@138957 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 15:08:41 +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
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
7e821aaa94
Convert handwritten GetIID methods to use NS_DEFINE_STATIC_IID_ACCESSOR and add |const| to GetCID methods so that static |nsID|s are declared as |const|. b=153525 sr=jag r=bryner
...
git-svn-id: svn://10.0.0.236/trunk@124073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-26 03:38:55 +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
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
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
316ec70207
Make setting element.style.foo just parse the value instead of creating
...
a property:value pair and parsing that. Speeds up setting of
element.style.top by about 5%. Bug 99797, r=attinasi, sr=jst
git-svn-id: svn://10.0.0.236/trunk@104060 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 01:38:36 +00:00
gerv%gerv.net
ed9b258739
License changes, take 2. Bug 98089. mozilla/content/.
...
git-svn-id: svn://10.0.0.236/trunk@103682 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-25 01:32:19 +00:00
dbaron%fas.harvard.edu
f25532bcbf
Allow declarations in style attribute to be surrounded by braces in quirks mode. Rename ParseDeclarations to ParseStyleAttribute since that's what it does. b=99554 r=hixie,glazman sr=attinasi
...
git-svn-id: svn://10.0.0.236/trunk@103044 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-17 23:59:30 +00:00
bzbarsky%mit.edu
bafa24e23a
Re-fix bug 93977 and fix bug 98358 (lack of underlining on links). The
...
CSS parser parses "foo, bar { decls }" into two separate rules -- one
for foo and one for bar. So ParseRule() has to return an array of
rules, not just a rule. r=dbaron, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102406 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 13:14:35 +00:00
bzbarsky%mit.edu
0f2651a119
Fix the nsIDOMMediaList interface to have the right properties. Make
...
media rules implement nsIDOMCSSMediaRule. Fix insertRule() to be able
to insert into the middle of a rule list. Fix issues with stylesheets
not getting dirtied when media lists are modified. bug 93977,
r=pierre, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102234 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 00:00:18 +00:00
jst%netscape.com
7e0575bfee
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
...
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
jst%netscape.com
09a726c20d
WIP for supporting setting the cssText property on css declarations through the CSS DOM, approved and partly reviewed by Pierre.
...
git-svn-id: svn://10.0.0.236/trunk@68135 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-03 21:42:00 +00:00
attinasi%netscape.com
3c5099c351
Added support for @charset in external stylesheets, as well as support for charset being set byt HTML document for parsing HTML style attributes in other charsets. r=ftang b=2870,28500
...
git-svn-id: svn://10.0.0.236/trunk@66894 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 02:01:40 +00:00
dmose%mozilla.org
92d791b7b0
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
...
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
peterl%netscape.com
7ac7ac6b56
hooked up quirk mode
...
git-svn-id: svn://10.0.0.236/trunk@38546 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 01:28:04 +00:00
waterson%netscape.com
ab52924916
Add GetIID().
...
git-svn-id: svn://10.0.0.236/trunk@37537 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 19:47:42 +00:00
warren%netscape.com
06d707be48
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
...
git-svn-id: svn://10.0.0.236/trunk@36440 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 03:29:44 +00:00
peterl%netscape.com
70aa3c9c01
added set child loader
...
git-svn-id: svn://10.0.0.236/trunk@32145 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 23:09:47 +00:00
peterl%netscape.com
3fa2aa8cd6
fix spelling
...
git-svn-id: svn://10.0.0.236/trunk@16738 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-21 05:58:58 +00:00
peterl%netscape.com
f289f4b663
added case sensativity switch
...
git-svn-id: svn://10.0.0.236/trunk@16217 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-11 02:48:40 +00:00
peterl%netscape.com
924bee3843
removed processimport
...
git-svn-id: svn://10.0.0.236/trunk@15356 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 05:16:43 +00:00
peterl%netscape.com
383116acf6
style change notification support
...
git-svn-id: svn://10.0.0.236/trunk@15337 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-26 01:34:53 +00:00
vidur%netscape.com
f98b82c871
Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports.
...
git-svn-id: svn://10.0.0.236/trunk@11996 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 01:39:33 +00:00
peterl%netscape.com
6baee6145d
added hint to parse delcaration
...
git-svn-id: svn://10.0.0.236/trunk@11492 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 23:49:19 +00:00
vidur%netscape.com
ae2d56cabc
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.
...
git-svn-id: svn://10.0.0.236/trunk@11002 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 00:51:45 +00:00
kipp
15197431ac
Revised API to be com-ish and added ParseDeclarations
...
git-svn-id: svn://10.0.0.236/trunk@2517 18797224-902f-48f8-a5cc-f745e15eee43
1998-05-28 18:39:08 +00:00
kipp
fb1503758e
moved to pub
...
git-svn-id: svn://10.0.0.236/trunk@165 18797224-902f-48f8-a5cc-f745e15eee43
1998-04-13 20:24:54 +00:00