Commit Graph

51 Commits

Author SHA1 Message Date
Boris Zbarsky
127f56f241 Bug 458381 followup: tests and a code fix for a problem the tests caught. r+sr=dbaron, a=beltzner 2008-11-11 22:36:20 -05:00
L. David Baron
8b2c14530a Make nsPseudoClassList capable of storing integer pairs for :nth-*(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
1eef72cec5 Rename nsAtomStringList to nsPseudoClassList, since that's what it's for, and we want to make it more than just atoms and strings. Also remove an unused constructor. b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
bzbarsky@mit.edu
e07e6b79f8 Have the rule take ownership of the parsed selector when we're done parsing it
instead of cloning the selector.  Bug 386123, r+sr=dbaron
2007-07-23 18:48:10 -07:00
dbaron%dbaron.org
aa4f419e7e Fix leak when cloning negations caused by previous patch. b=333634 r+sr=bzbarsky 2006-04-28 18:02:53 +00:00
dbaron%dbaron.org
a83d924850 Do iterative cloning and destruction of linked list selector data structures. b=333634 r+sr=bzbarsky 2006-04-25 21:48:11 +00:00
dbaron%dbaron.org
30f8db359a File comments that show up in LXR and provide a quick summary of what's in each file. 2006-03-25 05:47:31 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
dbaron%dbaron.org
eac6a24015 Change storage of :not() selectors so that there is one item in mNegations per :not(), and simplify various code accordingly. Simplify SelectorMatches a little more. b=315567 r+sr=bzbarsky 2005-11-09 04:17:26 +00:00
bzbarsky%mit.edu
8d04af9801 Fix GetSelectorText to truncate the out string. Bug 142648, patch by Daniel
Kraft <domob@daniel-kraft.net>, r+sr=bzbarsky
2005-02-03 18:31:24 +00:00
gerv%gerv.net
9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
darin%meer.net
c083b41820 fixes bug 239038 "rev IIDs for all interfaces modified since Mozilla 1.6" r=bsmedberg sr=jst 2004-04-15 23:30:05 +00:00
dbaron%dbaron.org
7c0fd2338b Implement CSS3 indirect adjacent sibling combinator (~). Roughly identical patches independently written by Daniel Glazman <daniel@glazman.org>, Bradley Baetz <bbaetz@acm.org>, and me. r+sr=dbaron b=135141 2004-01-14 20:12:03 +00:00
dbaron%dbaron.org
40deca4b2f Remove no-longer-needed hook for inspector. b=224164 2003-12-29 19:17:22 +00:00
dbaron%dbaron.org
06bb24f863 Implement the DOM interfaces for CSS style rules on a wrapper object which allows the immutable rule object to be swapped out underneath. b=188803 r+sr=bzbarsky 2003-06-24 05:40:37 +00:00
bsmedberg%covad.net
1a9cab373f Bug 210337 - Spring cleaning of unused XPCOM code and callers r/sr=alecf/bz 2003-06-23 20:31:43 +00:00
dbaron%dbaron.org
fe7914e2c9 Make CSSStyleRuleImpl immutable by changing mutation code (including some merging of code between nsDOMCSSAttributeDeclaration and DOMCSSDeclarationImpl) so that it creates a new rule for the modified declaration. Change StyleRuleChanged notification signatures, and change pres shell's handling of style rule change, addition, and removal to just do reresolution. Remove fine-grained ways of clearing style data. Change PeekStyleData so it doesn't do more work than it needs to, and can be relied on not to access rules that no longer match any content. b=188803 r+sr=bzbarsky 2003-06-18 01:59:57 +00:00
dbaron%dbaron.org
39d390d27f Create only one CSSStyleRuleImpl per rule rather than one per comma-separated selector to fix CSSOM compliance bugs and make rule immutability easier. Store list of selectors on the CSSStyleRuleImpl, each with their own weight. b=98765 r+sr=bzbarsky 2003-06-14 23:50:54 +00:00
peterv%netscape.com
bc210f1afe 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
dbaron%dbaron.org
6dd68f3c64 Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bzbarsky%mit.edu
093137e9f2 Make GetImportantRule and GetISupportsValue return already_AddRefed.
Bug 171808, r=jkeiser, sr=dbaron
2002-10-09 01:59:43 +00:00
dbaron%fas.harvard.edu
79638e5f49 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
dbaron%fas.harvard.edu
6d2263f19b 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 2002-06-26 03:38:55 +00:00
dbaron%fas.harvard.edu
a68d8f9629 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
dbaron%fas.harvard.edu
15d7523e7b Fix windows bustage. 2002-01-16 02:04:20 +00:00
dbaron%fas.harvard.edu
0260274dea Fix inspector link errors by adding a method on nsICSSStyleRule that forwards GetValue to nsCSSDeclaration. 2002-01-16 01:34:47 +00:00
blythe%netscape.com
65cd19adda Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
dougt%netscape.com
942988df26 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 2001-10-19 20:59:33 +00:00
dbaron%fas.harvard.edu
5a357eea01 Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
gerv%gerv.net
1968b7dad2 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
glazman%netscape.com
4fc3eb0ce3 adds support for :not() css3 pseudo-class; b=71647, r=pierre, sr=hyatt 2001-03-20 11:49:20 +00:00
glazman%netscape.com
99f88218ba enhancement for the 3 new attributes selectors in CSS 3. r=dbaron, sr=attinasi 2001-03-03 00:54:04 +00:00
glazman%netscape.com
9968e71541 patch for #65448 : css parser refused multiple ID selectors in same sequence; r=dbaron,attinasi sr=attinasi (buster's delegation) 2001-02-13 14:06:29 +00:00
glazman%netscape.com
2156fd088a #52381 corrects pseudo-elmts handling in nsCSSSelector::ToString ; r=attinasi,saslawsky sr=vidur,waterson 2001-02-12 13:04:06 +00:00
hewitt%netscape.com
b061c11ad1 52381 - DOM selectorText implementation, r=attinasi/jst, sr=waterson 2001-01-22 04:03:48 +00:00
kandrot%netscape.com
861c2cc6cb Fix for bug #51944. This change removes the stored selector text, and adds a method to the selector to generate the text, if needed.
r=vidur
2000-09-13 00:05:04 +00:00
dbaron%fas.harvard.edu
ed9c5e00ef Prevent selector matching from incorrectly failing due to greedy matching. b=24031 r=pierre@netscape.com 2000-04-22 00:47:18 +00:00
attinasi%netscape.com
1621b39d9e Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
peterl%netscape.com
3b7258b706 better namespace support
made descend from nsICSSRule
1999-06-10 05:30:36 +00:00
peterl%netscape.com
7b2e67d644 added cloning 1999-06-03 01:58:11 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
peterl%netscape.com
cdecfbc7dd fix spelling 1998-12-21 05:58:58 +00:00
peterl%netscape.com
7dd7b861c5 attribute selector work 1998-12-20 01:19:22 +00:00
scc%netscape.com
ba11eb34ad Added static IID() method. This member function will be generated automatically in the future. 1998-12-18 03:43:29 +00:00
peterl%netscape.com
025b5533c7 support for CSS2 selector systax 1998-12-11 02:50:01 +00:00
peterl%netscape.com
e3f218d5b4 style change notification support 1998-11-26 01:34:53 +00:00
vidur%netscape.com
7cff1485c8 Implemented style sheet and style rule interfaces on CSS classes. Made public new entry point for CSSParser for adding new imports. 1998-10-06 01:39:33 +00:00
peterl%netscape.com
282eb4c3bb added important rule support 1998-09-11 02:07:46 +00:00
kipp%netscape.com
c6290fa577 XPCOM'ized nsIContent and nsIHTMLContent 1998-08-29 20:20:38 +00:00