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

3751 Коммитов

Автор SHA1 Сообщение Дата
L. David Baron b8741a3f2c Work around dependency problem for host_ListCSSProperties.o to fix current random orange. (Bug 544720) 2010-02-06 16:59:29 -08:00
L. David Baron 4bafde1064 No longer need to null-check domProp in style system mochitests now that bug 374216 has landed. 2010-02-06 14:36:05 -08:00
Daniel Holbert 85b810f7b8 In test_property_database.html, split up a 3-part check into separate checks, to elucidate new randomorange in test_property_database.html 2010-02-06 13:24:00 -08:00
Robert Longson e30b2d212c Bug 374216 - Setting element.style.someSvgProperty has no effect. r=dbaron,sr=roc 2010-02-06 13:46:54 +00:00
L. David Baron 207f737143 Appropriately escape CSS identifiers when serializing. (Bug 543428) r=bzbarsky 2010-02-04 12:49:29 -08:00
Zack Weinberg 1d78bfa0d0 Bug 528096: unexpected-token error recovery paths in the CSS parser need to UngetToken() before calling SkipUntil(), for correct behavior when the unexpected token is ( [ { or FUNCTION. r=dbaron 2010-01-27 16:20:05 -08:00
Alfred Kayser 3ad3950083 Bug 399495: nsCSSScanner: absorb the '(' when returning a FUNCTION token. r=dbaron 2010-01-27 16:20:04 -08:00
L. David Baron 1dd144bce3 Fake pushback of invalid eCSSToken_URL results from NextURL. (Bug 541434) r=bzbarsky 2010-01-24 12:06:19 -08:00
Zack Weinberg 5f1edf6103 Bug 536603 potential fix: in httpd.js, the server socket's queue limit should be larger than the browser-side max number of connections per server. r=jrmuizel 2010-01-18 18:12:39 -08:00
Zack Weinberg b7cf0bd89e Back out instrumentation for bug 536603 and re-disable test 2010-01-18 14:54:56 -08:00
Zack Weinberg f2ada08b52 Extensive debugging instrumentation for bug 536603 2010-01-18 09:03:50 -08:00
Daniel Holbert d0533cf63b Bug 539585: Fix "warning: format '%p' expects type 'void*'" in layout directory. r=dbaron 2010-01-17 15:11:06 -08:00
Boris Zbarsky 4f8dfc7221 Adding bug 535806 test. r=dbaron 2010-01-13 11:37:54 -05:00
L. David Baron bae4d300f3 Store transitions for one refresh cycle after they complete so that merging with a non-animation style change doesn't make us start a second transition to transition the last step. (Bug 537151) r=bzbarsky 2010-01-12 08:51:37 -08:00
Bernd f2eb2aae2e bug 43178 - replace incorrect border, frame and rules handling code in content by css rules, initial patch - fantasai, a lof of input - bz r=bzbarsky 2010-01-09 16:33:03 +01:00
Boris Zbarsky 878e855de5 Bug 507817 followup. Remove some code that was just triggering a warning and not doing anything. r=vlad 2010-01-09 00:03:38 -05:00
L. David Baron 26873e147f Make members of nsCSSStyleSheetInner private. (Bug 239008) r=bzbarsky 2010-01-07 08:51:16 -05:00
Robert O'Callahan 9f3cea9005 Backed out changeset 880125b33bca
--HG--
extra : rebase_source : 3d0a098f7fa3ce93e9a2840db8fd9a790cb63792
2010-01-07 12:46:52 +13:00
romaxa ac89a2ecc3 Bug 537124 - "Some native color values are not initialized properly (ex: eColor__moz_fieldtext)" [r=Ventron sr=roc] 2009-12-31 04:29:00 -06:00
Robert Longson fe14f634f1 Bug 537609 - Change to SVG 1.2T stroke-dasharray parsing. r=dbaron 2010-01-06 08:51:45 +00:00
Daniel Holbert 426093642e Bug 530983, patch 1: Extend nsStyleAnimation to support computing/uncomputing 'clip: auto'. r=dbaron 2010-01-04 16:32:11 -08:00
Boris Zbarsky de6e7f37e7 Bug 536716. Make BuildScrollFrame not set the primary frame on the content, fix letter frames to reset primary frames to 0 before resetting them to the new value as needed, fix things so <area> never gets a frame of its own, and reenable the SetPrimaryFrame assertion when the primary frame is being changed from one non-null frame to another. r=roc 2009-12-31 14:07:56 -05: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
L. David Baron 6eb5acc201 ClearRuleCascades when ensuring a stylesheet has a unique inner so that matched rules point back to the new rules. (Bug 536379) r=bzbarsky 2009-12-31 10:56:33 -05:00
L. David Baron 8c712015ad Make EnsureUniqueInner return a tri-state result that says whether it needed to do any cloning. (Bug 536379) r=bzbarsky 2009-12-31 10:56:33 -05:00
L. David Baron 722b8f18b0 DeCOMify nsHTMLCSSStyleSheet. (Bug 239008) r=bzbarsky 2009-12-31 10:56:33 -05:00
L. David Baron abee66d3a1 Move class definition of nsHTMLCSSStyleSheet into its own header. (Bug 239008) r=bzbarsky 2009-12-31 10:56:32 -05:00
L. David Baron d06d58b7f5 Rename HTMLCSSStyleSheetImpl to nsHTMLCSSStyleSheet. (Bug 239008) r=bzbarsky 2009-12-31 10:56:32 -05:00
Markus Stange ae3e46e759 Bug 527682 - Implement -moz-window-shadow values menu, tooltip and sheet. r=dbaron, r=dao, r=josh 2009-12-30 16:24:08 +01:00
Boris Zbarsky f870c73b3d Bug 534808. Need to clear descendant intrinsic widths on height changes, due to replaced elements. r=dbaron 2009-12-29 15:13:54 -05:00
Boris Zbarsky 3d37798b11 Bug 536789. Null-check the body, since we might not have one. r=dbaron 2009-12-27 08:48:10 -05:00
L. David Baron cfcb0f67e7 Disable the intermittently-failing tests (bug 536603) for Mac only, which is where they're failing.
--HG--
extra : transplant_source : %E2%F1%F2%3A%86%C7%C57%7F%16B%16m%94%0D%D6%EDg%A7r
2009-12-25 22:31:17 -05:00
L. David Baron 438d179056 Backed out changeset f60b3bbfa8ce (debugging for bug 536603) 2009-12-25 22:29:02 -05:00
L. David Baron 8e109000e7 Add some CSS loader debugging for mochitest orange bug 536603.
--HG--
extra : transplant_source : %5D7%FE%04%AE%D9%F2%FA3i%C3S%5B%89%5E%AB%D6%98J%21
2009-12-24 22:37:05 -05:00
L. David Baron 6dc59fb57f Merge backout of changeset aabd98c04dc9 (debugging for bug 536603) 2009-12-24 22:17:21 -05:00
L. David Baron 473923056d Backed out changeset aabd98c04dc9 (debugging for bug 536603) 2009-12-24 22:17:05 -05:00
L. David Baron c9cd646ff5 Fix the opposite type of orange as the previous fix: make the case where the transition completes before the setTimeout fires much much less likely.
--HG--
extra : transplant_source : %82%01%8B%CB%7C%CF%AA%24XY%03%F2%03%BD%BB/zO%15%E6
2009-12-24 17:43:39 -05:00
Boris Zbarsky 8b56c4f81d Bug 500882 part 5. Switch layout module to using the new GetPrimaryFrame API. r=roc 2009-12-24 16:20:06 -05:00
L. David Baron 5c2887c20a Add basic SJS debugging code for bug 536603.
--HG--
extra : transplant_source : %E4%AA%11pN%83Y2%B7%DAB%89%96V%DB%06%3C%04%F6%15
2009-12-24 09:22:48 -05:00
L. David Baron e40f085c42 Remove debugging code for debugging bug 536603 (changeset 76e9dfaba122 and changeset 5275dda44819). 2009-12-24 08:44:44 -05:00
L. David Baron 05b2cd7acf Debugging bug 536603: run tests twice to see if the problem is timing-related.
--HG--
extra : transplant_source : %0DU%3C%00%B5K%AF%99%1E%D8%C3W%CB%FDz%03b%DD%A9%82
2009-12-23 20:07:25 -05:00
L. David Baron 6957e71d13 Add debugging code to debug random orange bug 536603.
--HG--
extra : transplant_source : %C2%0E%04e%FBc%F2%ED%96%AA%81%A0%9F%EAd%12%2A%A3f%E3
2009-12-23 17:49:22 -05:00
L. David Baron 88acb45934 Tests for transitionend event. (Bug 531585) 2009-12-23 14:17:44 -05:00
L. David Baron bafda2c151 Dispatch transitionend events. (Bug 531585) r=bzbarsky 2009-12-23 14:10:31 -05:00
L. David Baron ed598b131a Add mechanism for returning computed value name of certain longhand properties of our fake shorthands. (Bug 531585) r=bzbarsky 2009-12-23 14:10:31 -05:00
L. David Baron 4f4e8a0731 Make the transition manager reference-counted. (Bug 531585) r=bzbarsky 2009-12-23 14:10:31 -05:00
Zack Weinberg d86ade967d Bug 524223: Even in quirks mode, ignore linked stylesheets which were served with an inappropriate MIME type, if they're from a different origin than the requesting document or stylesheet. 2009-12-23 10:01:51 -08:00
Benjamin Smedberg df57e102fe Back out all the pieces of bug 531585 (transitioned event for end of CSS transitions) because of timeouts in test_transitions_events.html 2009-12-23 10:15:26 -05:00
L. David Baron bb1ff4abd3 Tests for transitionend event. (Bug 531585) 2009-12-23 06:35:46 -05:00
L. David Baron e49137dbf2 Dispatch transitionend events. (Bug 531585) r=bzbarsky 2009-12-23 06:35:46 -05:00
L. David Baron a7013501ce Add mechanism for returning computed value name of certain longhand properties of our fake shorthands. (Bug 531585) r=bzbarsky 2009-12-23 06:35:46 -05:00
L. David Baron 521bd402f6 Make the transition manager reference-counted. (Bug 531585) r=bzbarsky 2009-12-23 06:35:45 -05:00
L. David Baron 1e9dfa4c2b Merge backout of revisions fa5326c011b8, 8b22441911b0, and cfa10b01b1f6 (bug 531585) on suspicion of causing random orange bug 536382. 2009-12-22 15:47:42 -05:00
L. David Baron fa1e99da6d Backout revisions fa5326c011b8, 8b22441911b0, and cfa10b01b1f6 (bug 531585) on suspicion of causing random orange bug 536382. 2009-12-22 15:46:23 -05:00
Metal Sonic 80ae9b3620 Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
L. David Baron 2687d949d4 Fix rather serious build warning about passing non-POD types to printf. DEBUG-only 2009-12-21 16:46:25 -05:00
L. David Baron 17654ece8e Make the transition manager reference-counted. (Bug 531585) r=bzbarsky 2009-12-21 16:46:25 -05:00
L. David Baron ba8d7cd017 Make setting property after setting transition-duration and transition-delay to 0 stop running transitions on that property: part 3: main patch. (Bug 522643) r=bzbarsky 2009-12-21 16:46:25 -05:00
L. David Baron a031d34d0e Make setting property after setting transition-duration and transition-delay to 0 stop running transitions on that property: part 2: make GetElementTransitions faster so we can call it more often. (Bug 522643) r=bzbarsky 2009-12-21 16:46:25 -05:00
L. David Baron fe06f0cdfe Make setting property after setting transition-duration and transition-delay to 0 stop running transitions on that property: step 1: move static function up. (Bug 522643) r=bzbarsky 2009-12-21 16:46:25 -05:00
L. David Baron d2274a58eb Add support for animation of 'background-position' and 'background-size'. (Bug 532307) r=bzbarsky 2009-12-21 16:46:25 -05:00
L. David Baron 5c1293a60a Add support for animation of 'visibility' to transitions (but make it a special case for transitions). (Bug 531942) r=bzbarsky 2009-12-21 16:46:25 -05:00
L. David Baron 4cb8a38d3f Add support for animation of nsRect values. (Bug 520488) r=bzbarsky 2009-12-21 16:46:25 -05:00
Zack Weinberg 3d6d30b6cb Bug 532721: follow-up tweaks and bustage fix. r=roc 2009-12-15 19:01:01 -08:00
Neil Rashbrook b15b96c080 Bug 532617 -moz-background-size does not always get serialised r=dbaron 2009-12-15 21:40:38 +00:00
Zack Weinberg 29fe01d9f2 Bug 532721: less conservative detection of gradients with size dependence. r=dbaron 2009-12-15 12:34:19 -08:00
Zack Weinberg c73be4c883 Bug 532721. Be aware that gradient background rendering depends on the size of the containing frame. r=dbaron 2009-12-16 09:08:59 +13:00
Daniel Holbert 2ff0edce4d Bug 533421: Handle eUnit_Normal and eUnit_Auto in nsStyleAnimation::UncomputeValue. r=dbaron 2009-12-12 22:27:31 -08:00
Robert Longson 28e410c8b6 Bug 523576 - Fix compilation with disable-svg. r=dbaron 2009-12-12 19:43:34 +00:00
Boris Zbarsky 2688bdb106 Bug 525608 followup. Initialize the variable, and remove the extra branch. r=dbaron 2009-12-12 00:03:17 -08:00
Boris Zbarsky dbe398c5f7 Bug 531933. Give HasStateDependentStyle a better signature. r=dbaron 2009-12-11 22:36:34 -08:00
Boris Zbarsky 9790daa9b2 Bug 529749. Make sure nsRuleWalker never has a null mCurrent. r=dbaron 2009-12-11 22:36:34 -08:00
Olli Pettay 423522c88b Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
L. David Baron 5639b4064d Make CSS style rule implementations hold on to their data block once RuleMatched has been called so that they follow the immutability contract of nsIStyleRule. Remove workarounds in tests for transitions bugs caused by these violations of style rule immutability. (Bug 522595) r=bzbarsky 2009-12-11 08:13:20 -08:00
L. David Baron 722e0ae048 Cache important rule the first time the rule is matched so we don't rely on the declaration for it past that point. (Bug 522595) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron 10f147165d Call RuleMatched method on CSS rules when they are matched. (Bug 522595) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron 3e142534cb Ensure that declarations are mutable before calling SlotForValue. (Bug 522595) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron f9a3949d79 Remove unneeded SlotForValue calls (since SlotForValue will soon require EnsureMutable has been called). (Bug 522595) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron 9c2df8e0c0 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 ab7ecc4372 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 d9e602a186 Fix comment in nsStyleTransformMatrix.h. 2009-12-11 08:13:19 -08:00
L. David Baron f25848dfe4 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 42f41f3069 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 97bb930d4b Add support for animation of -moz-column-rule-width. (Bug 524855) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron d31af7cbc0 Add support for animation of -moz-column-count. (Bug 524854) r=bzbarsky 2009-12-11 08:13:19 -08:00
L. David Baron 6cbfdb8845 Add support for animation of -moz-box-flex. (Bug 524853) r=bzbarsky 2009-12-11 08:13:19 -08:00
Boris Zbarsky 7c20a79598 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 9d4c216817 Bug 525952 part 3. Introduce an enum for pseudo-clases. r=dbaron 2009-12-11 02:37:41 -05:00
Boris Zbarsky b61f378670 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 537e44933f 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 0ce4669888 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 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 43f303198b Bug 525608 part 6. Remove null-checks on RuleProcessorData::mContent. 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 03a58e11a7 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 c1d4ecaf51 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 8202b90f61 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Daniel Holbert 7fb24e97d7 Bug 529934 followup: Use "IsStringUnit()" instead of explicitly comparing unit, in nsStyleAnimation::FreeValue. r=dbaron 2009-12-10 16:38:17 -08:00