Commit Graph

982 Commits

Author SHA1 Message Date
L. David Baron
b540b44323 Reference-count CSS compressed data blocks and make them immutable when their reference count is above 1. (Bug 522595) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron
be8246ace4 Call BeginUpdate before going into the guts of updating a style attribute so that the resulting flush happens sooner. (Bug 522595) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron
5aa4881b79 Fix comment in nsStyleTransformMatrix.h. 2009-12-11 08:13:19 -08:00
L. David Baron
8f42a4d123 Stop transitions when -moz-transition-property changes to a value that no longer includes the transitioning property. (Bug 525530) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron
fb268b306d Add support for animation of border-spacing and -moz-transform-origin. (Bug 524861) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron
e1ed596d15 Add support for animation of -moz-column-rule-width. (Bug 524855) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron
b59effdb59 Add support for animation of -moz-column-count. (Bug 524854) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron
8b3ef8f42e Add support for animation of -moz-box-flex. (Bug 524853) r=bzbarsky 2009-12-11 08:13:19 -08:00
Boris Zbarsky
e7a6826d71 Bug 525952 part 4. Use the new pseudoclass enum in IsStateSelector and SelectorMatches. r=dbaron 2009-12-11 02:37:41 -05:00
Boris Zbarsky
b10330e45f Bug 525952 part 3. Introduce an enum for pseudo-clases. r=dbaron 2009-12-11 02:37:41 -05:00
Boris Zbarsky
b7858578b3 Bug 525952 part 2. Have different macros so nsCSSPseudoClassList.h consumers can tell apart state-related and not-state-related pseudo-classes. r=dbaron 2009-12-11 02:37:41 -05:00
Boris Zbarsky
b113c5b09c Bug 525952 part 1. Make sure pseudo-element selectors never land inside SelectorMatches (because tree pseudo-elements do weird stuff with pseudo-classes). r=dbaron 2009-12-11 02:37:41 -05:00
Boris Zbarsky
0fd4e231a6 Bug 525608 part 8. Reorder the cases in AddRule in order of likelihood. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
4a2975a003 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
5ea79b4acb Bug 525608 part 6. Remove null-checks on RuleProcessorData::mContent. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
6b4f1d994c 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
414b184d55 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
99027aa785 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
6ae14f3465 Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
fec842ecf2 Bug 525608 part 1. Introduce an enum for keeping track of pseudo-elements. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Daniel Holbert
9ecf3cf108 Bug 529934 followup: Use "IsStringUnit()" instead of explicitly comparing unit, in nsStyleAnimation::FreeValue. r=dbaron 2009-12-10 16:38:17 -08:00
Boris Zbarsky
8f5e928be3 Bug 525952 part 4. Use the new pseudoclass enum in IsStateSelector and SelectorMatches. r=dbaron 2009-12-10 14:36:07 -08:00
Boris Zbarsky
c86ac3e140 Bug 525952 part 3. Introduce an enum for pseudo-clases. r=dbaron 2009-12-10 14:36:07 -08:00
Boris Zbarsky
9169c819a8 Bug 525952 part 2. Have different macros so nsCSSPseudoClassList.h consumers can tell apart state-related and not-state-related pseudo-classes. r=dbaron 2009-12-10 14:36:07 -08:00
Boris Zbarsky
88da9222b1 Bug 525952 part 1. Make sure pseudo-element selectors never land inside SelectorMatches (because tree pseudo-elements do weird stuff with pseudo-classes). r=dbaron 2009-12-10 14:36:07 -08:00
Boris Zbarsky
5b9e769f0b Bug 525608 part 8. Reorder the cases in AddRule in order of likelihood. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky
7b8acbcaf3 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
a784f30c6a Bug 525608 part 6. Remove null-checks on RuleProcessorData::mContent. r=dbaron 2009-12-10 14:36:06 -08:00
Boris Zbarsky
bdb94e5fc6 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
e6128a1572 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
0a82b262db 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
d458769f84 Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron 2009-12-10 14:36:05 -08:00
Boris Zbarsky
b4f32f993e Bug 525608 part 1. Introduce an enum for keeping track of pseudo-elements. r=dbaron 2009-12-10 14:36:04 -08:00
Boris Zbarsky
129197fdc7 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
Boris Zbarsky
9dc3b4cdd3 Bug 523294 part 1. Change the signature of HasAttributeDependentStyle. r=dbaron 2009-12-10 14:36:03 -08:00
Boris Zbarsky
f437bbbd4c Bug 523288 part 3. Do a bit less work still in the RuleProcessorData constructor. r=dbaron 2009-12-10 14:36:03 -08:00
Boris Zbarsky
368b43c231 Bug 523288 part 2. Get link state and content state lazily. r=dbaron 2009-12-10 14:36:03 -08:00
Boris Zbarsky
c993848554 Bug 523288 part 1. Move matching on id and class to right after matching on tag in SelectorMatches. r=dbaron 2009-12-10 14:36:02 -08:00
Boris Zbarsky
c117d41a73 Bug 523148. Speed up AddImportantRules. r=dbaron 2009-12-10 14:36:02 -08:00
Daniel Holbert
fad34e9220 Bug 520239, patch 2: Add support for shorthand properties in nsStyleAnimation's helper function 'BuildStyleRule'. r=dbaron 2009-12-10 09:26:28 -08:00
Daniel Holbert
a66fb56354 Bug 529934: Add "UnparsedString" unit to nsStyleAnimation, as catch-all for otherwise-unanimatable properties. r=dbaron 2009-12-10 09:26:27 -08:00
Daniel Holbert
446a2565b0 Bug 524539, patch 1: In nsStyleAnimation, represent "stroke-dasharray: none" with single-value nsCSSValueList. r=dbaron 2009-12-10 09:26:27 -08:00
Daniel Holbert
00537f3434 Bug 520239, patch 1: Split out a chunk of nsStyleAnimation::ComputeValue into its own function. r=dbaron 2009-12-10 09:26:27 -08:00
Daniel Holbert
ea15a6f6b5 Bug 529356: Add 'default' case in a switch statement in nsStyleAnimation, to fix build warning. r=dbaron 2009-12-10 09:26:27 -08:00
Robert O'Callahan
d866e87ce4 Bug 531371. Correctly propagate the backround from a <body style="display: table"> to the viewport as needed. r=bzbarsky 2009-12-01 12:21:00 -05:00
Peter Van der Beken
41824cb4bf Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+.
--HG--
extra : rebase_source : 5358561a463757cbfb77c542760dc1ea95fc6b82
2009-11-29 09:32:39 +01:00
Peter Van der Beken
5a63b1ad1c Back out fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). 2009-11-28 23:30:49 +01:00
Peter Van der Beken
1f7d9b23d4 Fix for bug 437449 (top crash [@ nsCycleCollector::MarkRoots(GCGraphBuilder&)][@ nsBaseContentList::cycleCollection::Traverse(void*, nsCycleCollectionTraversalCallback&)]). r=jst, a=blocking1.9.2+. 2009-11-28 10:35:35 +01:00
L. David Baron
d0f535b30d Add mechanism for an individual mochitest to say it needs a longer timeout. (Bug 527614) r=ted 2009-11-19 09:35:09 -08:00