Commit Graph

36 Commits

Author SHA1 Message Date
L. David Baron
53fb188c38 Keep old rule trees around until they are no longer referenced. (Bug 475128) r+sr=bzbarsky 2009-01-29 20:39:23 -08:00
L. David Baron
d8da73cb1f Backed out changeset 24917a339f2e (bug 475128) because it didn't patch the IsRoot check nsRuleNode::Sweep, which it needs to. 2009-01-29 14:36:34 -08:00
L. David Baron
b81d7c8a40 Keep old rule trees around until they are no longer referenced. (Bug 475128) r+sr=bzbarsky 2009-01-29 12:39:19 -08:00
L. David Baron
3f1a725a7f Prevent posting media query changed events during construction. (Bug 468645) r+sr=bzbarsky 2008-12-29 10:07:36 -05:00
L. David Baron
ac1bee2193 Replace mechanism for restricting the properties that apply to :first-line and :first-letter. (Bug 469227) r+sr=bzbarsky 2008-12-12 10:59:03 -08:00
John Daggett
470f5c3f5b Follow-on fix for bug 457825. Use sheet principal for agent and user sheets. r=dbaron,bz sr=dbaron 2008-11-27 12:50:16 +09:00
L. David Baron
f82a4ba107 Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+ 2008-11-25 15:22:38 -08:00
L. David Baron
b7c9a551d4 Back out 91690545debc0d3537fcb0598ebd6ac7e21f2072 due to mac startup failures. 2008-11-25 15:09:02 -08:00
L. David Baron
753588abda Fix cascading bugs with @font-face rules (and prepare for handling dynamic changes) by accumulating the @font-face rules across rule processors through the style set. (Bug 457821) sr=bzbarsky r=jdaggett a=blocking1.9.1+ 2008-11-25 13:27:54 -08:00
Boris Zbarsky
b031d1bb8c Bug 454578. Load the quirk stylesheet separately from the general UA stylesheet, so it can be sensibly enabled/disabled in style sets. r+sr=dbaron 2008-11-02 21:29:51 -05:00
L. David Baron
8cd01e114a Implement media queries, part 3: infrastructure for dynamic change handling at the rule processor and style set level. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
bzbarsky@mit.edu
f22ec2a519 Fix bug 345609. r+sr+a=roc 2007-10-12 11:37:51 -07:00
Olli.Pettay@helsinki.fi
bd0b7ea6d7 Backing out bug 275196, xml:id, to fix tp regression 2007-07-26 07:16:19 -07:00
Olli.Pettay@helsinki.fi
e8dba5a1b4 Bug 275196, xml:id, r=sicking, sr=dbaron 2007-07-26 05:22:01 -07:00
vladimir@pobox.com
a232b51aff b=339553, drawString enhancement for canvas, r=me; patch from robarnold 2007-07-25 11:21:34 -07:00
sharparrow1@yahoo.com
2217b2847d Bug 386640: ClearStyleDataAndReflow is fundamentally broken. r+sr=bz 2007-07-25 10:14:13 -07:00
bzbarsky@mit.edu
4d53ccf996 Make attribute changes that also cause a state change properly reresolve style
when a selector uses both the state and the attribute.  Bug 315920, r=dbaron,
sr=sicking.
2007-07-12 13:05:45 -07:00
bzbarsky@mit.edu
0c365324a5 Don't apply user stylesheets to descendants of native anonymous subtrees. Bug
285140, r+sr=dbaron
2007-06-15 22:09:51 -07:00
dbaron@dbaron.org
3546b59264 Make rule nodes know their level in the cascade. b=374907 r+sr=bzbarsky 2007-05-16 14:08:51 -07:00
jonas%sicking.cc
073b1fd3fe Bug 370332: Kill nsIBindingManager and nsIStyleRuleSupplier. r=dbaron for the layout/style parts, r/sr=jst for the rest. 2007-02-16 23:02:08 +00:00
bzbarsky%mit.edu
7d1587d182 Make stylesheet service sheets apply dynamically. Bug 335689, r+sr=dbaron 2006-06-08 14:32:20 +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
dbaron%dbaron.org
0363a5374b Fix typo stephend pointed out. 2005-09-12 04:28:16 +00:00
dbaron%dbaron.org
667d1f2104 Document pseudo-element code a little better and add some assertions. b=307939 r+sr=bzbarsky 2005-09-11 23:17:28 +00:00
bzbarsky%mit.edu
482bc40078 Document interaction of nsIStyleSheetService with ua.css and user*.css. Bug
305026, r+sr=dbaron
2005-08-20 01:24:00 +00:00
neil%parkwaycc.co.uk
a33872e9fe Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron 2004-08-05 11:38:42 +00:00
bryner%brianryner.com
5c02a6978c Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
dbaron%dbaron.org
2faa2566a0 Move things that aren't author stylesheets out of nsDocument's mStyleSheets array to simplify stylesheet management code. Add a level of the cascade for style attributes and ensure that there's only one rule processor per level of the cascade, and simplify the logic of nsCSSRuleProcessor creation. b=252578 r+sr=bzbarsky 2004-07-28 07:08:41 +00:00
bzbarsky%mit.edu
89005ed71c Fix preshints in anonymous content some more (by moving all document sheet
styleset munging out of the document viewer and into the document and splitting
out the preshint levels completely from the other CSS levels).  Bug 234861,
r+sr=dbaron
2004-07-15 20:30:30 +00:00
bzbarsky%mit.edu
32a4619a53 Move presentation attributes into the UA level in non-HTML documents and a
separate preshint level in HTML.  Bug 234861, r=dbaron, sr=jst
2004-05-05 00:30:57 +00:00
gerv%gerv.net
9d2ee4928c Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
bryner%brianryner.com
bc74f0b352 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron. 2004-01-28 00:18:22 +00:00
dbaron%dbaron.org
d33950dfac Do style resolution of later siblings required by the CSS + combinator on event state and attribute changes by changing the result of Has(Attribute|State)DependentStyle into a bitfield and setting and handling the restyle-later-siblings bit appropriately. b=15608 r+sr=bzbarsky 2004-01-14 01:36:35 +00:00
bryner%brianryner.com
6996bca809 Don't create new rule processors when a style sheet is enabled or disabled, just clear the rule cascade on the existing processors. Bug 230651, r=dbaron, sr=bzbarsky. 2004-01-13 02:19:28 +00:00
bryner%brianryner.com
16be23821e Additional cleanup related to bug 64116. r=bzbarsky. 2004-01-08 19:23:12 +00:00
bryner%brianryner.com
e65d2d2fe5 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00