Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org c32b76ad84 Replace nsIStyleSheet::AttributeAffectsStyle with nsIStyleRuleProcessor::HasAttributeDependentStyle. Strengthen the attribute optimization and apply it to HTML as well. b=163556 r+sr=bzbarsky 2003-02-22 16:10:53 +00:00
dbaron%dbaron.org 754d904cda Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
bryner%netscape.com cc390fbe51 Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
bzbarsky%mit.edu c815579255 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.
2002-12-03 05:48:14 +00:00
dbaron%fas.harvard.edu 2bf216c9e2 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 3dac3645cb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
gerv%gerv.net 2b0c9d0438 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
bzbarsky%mit.edu 168fa487a7 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
2001-09-05 00:00:18 +00:00
shaver%mozilla.org 8f7d1fbff0 Significantly reduce the amount of time we blow on style reresolution by
tracking the attributes which appear in CSS selectors, and only firing
a complete reresolution when we change one of those.  In the irrelevant-attr
case, we just let the frame update itself and get on with our lives right
away.  Fixed 38378, r=brendan, booyah.

Also, when setting an attribute to the same value that it currently holds,
don't think about it especially hard, and _don't_ go anywhere near the
style code.  Fixed 21879, r=brendan, boo_yah_.
2000-05-16 02:43:33 +00:00
attinasi%netscape.com f435083f78 Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
dmose%mozilla.org 42fc94a6ec 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 d023d57dc3 First step at fixing 12106, factored out style rule processing from
style sheets into a seperate style rule processor interface
r=troy
1999-10-08 03:09:31 +00:00
warren%netscape.com 23864df5e3 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
peterl%netscape.com 77c5e95f16 added UseForMedium (for faster medium testing) 1999-06-15 06:14:31 +00:00
pinkerton%netscape.com 7b8852653a added GetIID() method. 1999-04-30 08:59:11 +00:00
peterl%netscape.com 54b128c5f6 widened content state change api
added test for state dependent style
1999-04-20 00:02:22 +00:00
peterl%netscape.com 009f5dbd89 changed medium type to atom 1998-12-02 00:29:16 +00:00
peterl%netscape.com daab147c00 added style sheet properties 1998-11-26 01:24:32 +00:00
peterl%netscape.com 8069fc8bda decoupled style resolution api from frame system 1998-11-03 20:16:23 +00:00
peterl%netscape.com d50246718e commented on sheet/rule ordering 1998-08-27 00:46:34 +00:00
peterl d91757b5c8 added pseudo frame style support 1998-05-18 21:03:10 +00:00
kipp 4717009d75 moved to pub 1998-04-13 20:24:54 +00:00