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

71 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 670b84a67f Bug 589615 part 1. Get rid of the non-HTML preshint level. r=dbaron 2011-01-14 21:14:41 -05:00
Mounir Lamouri 06426cc202 Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
Boris Zbarsky 753e4b833b Bug 573241. When reparenting a style context, don't include any transition rules the old context might have had in the new one, since that can confuse transitions. r=dbaron 2010-06-23 00:46:27 -04:00
Craig Topper 213b0d1c3f Bug 566808 - "DeCOMtaminate nsIStyleRule method signatures" [r=dbaron]
(transplanted from 9a7be1835b530c72a46069a5c3951b80b16804a3)

--HG--
extra : transplant_source : %9A%7B%E1%83%5BS%0Cr%A4%60i%A5%C3%95%1B%80%B1h%04%A3
2010-05-19 22:28:00 -04:00
Peter Van der Beken 55265d17a6 Fix for bug 560462 (Use fast unwrapping for more quickstubs), part 3a. r=jst. 2010-04-19 17:41:39 +02:00
Boris Zbarsky 95b761ff79 Bug 565818. Pass Elements to HasAttributeDependentStyle and HasStateDependentStyle. r=dbaron 2010-05-14 13:04:51 -04:00
Peter Van der Beken 34f855c0b2 Back out fixes for bug 560462 to fix orange.
--HG--
extra : rebase_source : afe96ede6fc605c656b746f6388d6144886b18ed
2010-05-11 19:20:03 +02:00
Peter Van der Beken 2390f94ae2 Fix for bug 560462 (Use fast unwrapping for more quickstubs) - use fast unwrapping for nsIDOMNode_GetNodeType, nsIDOMNodeList_GetLength, nsIDOMElement, nsIDOMNSElement_, nsIDOMNSHTMLElement, nsIDOMDocument, nsIDOMNSDocument, nsIDOM3Document, nsIDOMHTMLDocument and nsIDOMNSHTMLDocument_. r=jst. 2010-04-19 17:41:39 +02:00
Boris Zbarsky 0466fc87f5 Bug 562688 part 13. Eliminate eELEMENT usage in layout/style, except the rule processor. r=dbaron 2010-04-30 09:12:06 -04:00
Zack Weinberg 52c2d9375f Eliminate NS_HIDDEN and NS_HIDDEN_ from layout/style/. Search-and-replace plus formatting fixes. rs=bzbarsky, no bug. 2010-04-06 14:52:17 -07:00
L. David Baron fa654ea00f Set NS_STYLE_RELEVANT_LINK_IS_VISITED when appropriate. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron 124bb33c2e Pass through desired link-visitedness on the rule walker and construct if-visited style contexts in the style set when visited styles are present. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
L. David Baron 681596fa66 Split nsStyleSet::ResolveStyleForRules into two different APIs for the two different types of uses. (Bug 147777) r=bzbarsky 2010-04-02 18:58:25 -07:00
Zack Weinberg 835ff67dda Bug 494117: remove PresContext argument to nsStyleSet::GetContext. r=bzbarsky 2010-04-01 23:07:42 -07:00
Zack Weinberg 8a8adc758b Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc 2010-03-31 17:43:32 -07:00
Markus Stange 21d217cfc3 Bug 554061 - Also check XBL stylesheets when determining whether a restyle is necessary when document state changes. r=dbaron 2010-03-25 10:22:58 +01:00
Markus Stange 00fbecd8b0 Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
Markus Stange d0207d99c6 Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures. 2010-03-17 20:03:53 +01:00
Markus Stange 4a7a64bc2e Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
L. David Baron 305a488187 Add method to nsStyleSet to call EnsureUniqueInner on all CSS sheets. (Bug 536379) r=bzbarsky 2009-12-31 10:56:33 -05:00
Boris Zbarsky e6b913a5da Bug 525608 part 7. Make tree pseudos use a separate hashtable instead of riding along on the rulehash. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky a94a034494 Bug 525608 part 5. Change anonymous box rule matching to just use a separate hashtable and not ever run SelectorMatches. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky 430b782ab4 Bug 525608 part 4. Change pseudo-element probing and resolution to not use EnumerateTagRules. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky 5132d64872 Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky 8202b90f61 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky 88d6042335 Bug 525608 part 7. Make tree pseudos use a separate hashtable instead of riding along on the rulehash. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky ca2a7fe058 Bug 525608 part 5. Change anonymous box rule matching to just use a separate hashtable and not ever run SelectorMatches. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky fbb842ae93 Bug 525608 part 4. Change pseudo-element probing and resolution to not use EnumerateTagRules. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky 6eb3c28de7 Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-10 14:36:05 -08:00
Boris Zbarsky f4635e997b Bug 523294 part 2. Get rid of the aAttribute argument to SelectorMatches; handle attribute changes by checking for matches on selectors including the given attribute both before and after the change. r=dbaron 2009-12-10 14:36:03 -08:00
L. David Baron 2ccbe80f89 Implement CSS transitions: handle starting and animation of the transitions. (Bug 435441) r=bzbarsky sr=roc 2009-10-07 20:22:42 -07:00
L. David Baron a0ff830b67 Make nsStyleSet use nsRuleWalker objects on the stack rather than in a member variable. (Bug 492675) r=bzbarsky 2009-10-02 14:06:42 -07:00
Boris Zbarsky 999ecb34d4 Bug 514773. Don't trigger rulenode gc unless we have rulenodes to gc. r=dbaron 2009-09-24 13:59:43 -04:00
L. David Baron da3ed02210 Add more parameters to nsStyleSet::ResolveStyleForRules. (Bug 435441) r=bzbarsky 2009-08-10 15:52:29 -07:00
L. David Baron 7fbb9db0a5 Separate RuleProcessorData and derived structs into their own header file to reduce include dependencies. (Bug 435441) r=bzbarsky
--HG--
rename : layout/style/nsIStyleRuleProcessor.h => layout/style/nsRuleProcessorData.h
2009-08-01 08:53:40 -07:00
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