gecko-dev/layout/style
L. David Baron c27c71fdbe For transition reversing computations, ensure valuePortion is within 0.0-1.0. (Bug 611238) r=bzbarsky a=blocking2.0:final
Without the change to ensure that valuePortion is nonnegative, duration
might become negative, which it's not allowed to be.  Without this
change, this can happen when a transition starts off moving into
negative value space, which happens when y1 in the timing function is
negative.  The result that we want should come from using the absolute
value (rather than clamping to zero): if we reverse the transition when
it's in this negative space, we want the same movement we'd get if it
were the same distance into positive value space, just in the opposite
direction.

Additionally, I'm clamping valuePortion to be at most 1.  This affects
"bouncy" transitions where the timing function's y2 is greater than
one.  This is less critical, but ensures the invariant that a transition
will never take longer than its specified time, which seems like a good
thing to ensure.

I believe doing this computation at this stage is preferable to doing it
before the multiplication by oldPT.mReversePortion, since we should be
clamping the value within the range of the complete transition, not just
relative to the most recent reverse.
2010-12-16 08:53:17 -08:00
..
crashtests back out about:startup due to crashes during mochitests (a89f24bf1798) a=bustage 2010-12-08 03:43:33 -06:00
test Remove comment that I forgot to remove in the previous patch (which fixed the issue it was pointing out). (Bug 617372) a2.0=tests 2010-12-16 08:53:17 -08:00
xbl-marquee Bug 533592, part 1 - Remove uses of and support for xpcnativewrappers=no/yes in manifests. (The default has been yes for some time and we will now only have that behavior.) r=mrbkap. 2010-05-27 12:33:54 -07:00
arrow.gif
arrowd.gif
contenteditable.css Bug 557087 (3/6) - Make layout aware of the new disabled state rule. r=dbaron a=sicking 2010-09-19 03:43:15 +02:00
CSSCalc.h Simplify storage of computed calc() as a result of removing min() and max(). (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-11 09:27:13 -07:00
Declaration.cpp Bug 613130 - Don't sanitize style nodes and attributes in the sanitizing parser if we have not found any unsafe properties; r=roc,bzbarsky a=blocking-final+ 2010-11-24 13:31:52 -05:00
Declaration.h Bug 613130 - Don't sanitize style nodes and attributes in the sanitizing parser if we have not found any unsafe properties; r=roc,bzbarsky a=blocking-final+ 2010-11-24 13:31:52 -05:00
designmode.css Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky 2010-07-11 17:48:46 -04:00
forms.css Bug 613249 - <output> should have :-moz-ui-invalid and :-moz-ui-valid applying. r=bz a=jst 2010-11-24 11:13:05 +01:00
html.css Bug 604885 - Don't render video controls outside of css-specified width/height. r=roc a=blocking2.0 2010-11-25 07:34:56 +13:00
jar.mn Bug 522649: author styled select widget is missing arrow on button r=bz 2009-10-16 11:48:04 -07:00
Loader.cpp Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron 2010-06-28 15:49:35 -07:00
Loader.h Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron 2010-06-28 15:49:35 -07:00
Makefile.in Eliminate all virtual functions from nsCSSRule to eliminate its vtable pointer. (Bug 596140) r=bzbarsky a2.0=roc 2010-09-18 11:43:17 -07:00
nsComputedDOMStyle.cpp Remove ancient bustage fix that was only needed for Mac OS X versions we no longer support (10.1, I think). a2.0=dbaron 2010-10-17 19:36:24 -07:00
nsComputedDOMStyle.h Fix border-radius computed style code to reflect clamping adjustments that we make to border radius. (Bug 595651) r=bzbarsky a2.0=blocking2.0:betaN 2010-10-06 21:25:47 -07:00
nsCSSAnonBoxes.cpp Bug 534136 Part 2: Use 16bit-char buffers inside atoms. r=bz sr=mrbkap 2010-03-08 07:45:00 -08:00
nsCSSAnonBoxes.h Fix serialization of tree pseudo-elements with arguments. (Bug 521044) r=bzbarsky 2009-10-07 20:22:42 -07:00
nsCSSAnonBoxList.h 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
nsCSSDataBlock.cpp Bug 576044 (11/12): Make all assertions fatal in Declaration.h, Declaration.cpp, nsCSSDataBlock.h, nsCSSDataBlock.cpp, nsCSSValue.h, nsCSSValue.cpp, nsCSSProps.h, and nsCSSProps.cpp. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
nsCSSDataBlock.h Bug 576044 (10/12): Don't directly manipulate the contents of mTempData in the CSS parser. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
nsCSSKeywordList.h Bug 554982 - Add support for borderless glass and remove the borders from the main window. r=roc,dao a=blocking2.0 2010-08-17 23:07:10 -04:00
nsCSSKeywords.cpp
nsCSSKeywords.h
nsCSSParser.cpp Bug 615977: Make nsCSSValue::BufferFromString() return an already_AddRefed pointer. r=dbaron a=roc 2010-12-05 13:17:29 +00:00
nsCSSParser.h Bug 569719 part 3: collapse nsDOMCSSDeclaration::ParseDeclaration into its sole caller (nsDOMCSSDeclaration::SetCSSText); remove always-constant flag arguments to nsCSSParser::ParseAndAppendDeclaration; rename that method to ParseDeclarations. r=dbaron 2010-07-23 11:00:19 -07:00
nsCSSProperty.h Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
nsCSSPropertySet.h Bug 559715: Micro-optimize nsCSSPropertySet by adjusting types so that the compiler can do index calculations more efficiently., r=dbaron, a=dholbert_sheriff 2010-04-23 12:59:15 -07:00
nsCSSPropList.h Add CSS property bit for which properties have stored calc() in style structs. (Bug 520234) r=bzbarsky a=blocking2.0:beta7 2010-09-15 08:11:26 -07:00
nsCSSProps.cpp Remove support (style system only) for 'wider' and 'narrower' values of 'font-stretch'. (Bug 604816) r=jdaggett a2.0=joedrew 2010-11-10 07:49:52 -08:00
nsCSSProps.h Add CSS property bit for which properties have stored calc() in style structs. (Bug 520234) r=bzbarsky a=blocking2.0:beta7 2010-09-15 08:11:26 -07:00
nsCSSPseudoClasses.cpp Implement :-moz-any() selector to allow simplification of user-agent style sheets. (Bug 544834) r=bzbarsky 2010-04-23 19:59:47 -07:00
nsCSSPseudoClasses.h Implement :-moz-any() selector to allow simplification of user-agent style sheets. (Bug 544834) r=bzbarsky 2010-04-23 19:59:47 -07:00
nsCSSPseudoClassList.h Bug 605125 (1/5) - Add :-moz-ui-valid pseudo-class. r=bz a=jst 2010-11-24 00:54:29 +01:00
nsCSSPseudoElementList.h 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
nsCSSPseudoElements.cpp Bug 551397: CSS_PSEUDO_ELEMENT needs to be undefined before next definition. r=sicking 2010-03-10 12:33:37 -08:00
nsCSSPseudoElements.h 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
nsCSSRule.h Eliminate all virtual functions from nsCSSRule to eliminate its vtable pointer. (Bug 596140) r=bzbarsky a2.0=roc 2010-09-18 11:43:17 -07:00
nsCSSRuleProcessor.cpp Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
nsCSSRuleProcessor.h Bug 543910 - Layout support for -moz-windows-theme. r=dbaron, a=final. 2010-10-09 15:53:45 -05:00
nsCSSRules.cpp Add NS_FINAL_CLASS annotations to rule classes. r=bzbarsky Add virtual that I missed on nsCSSGroupRule. (Bug 596140) a=me 2010-09-18 12:15:31 -07:00
nsCSSRules.h Give nsCSSFontFaceRule a copy-constructor that doesn't copy the reference count. (Bug 601437) r=bzbarsky a2.0=blocking2.0:final 2010-10-06 21:25:47 -07:00
nsCSSScanner.cpp Bug 489871 - CSS comments should not be allowed in presentation attribute values. r=dbaron a=roc 2010-12-05 20:37:39 +00:00
nsCSSScanner.h Bug 489871 - CSS comments should not be allowed in presentation attribute values. r=dbaron a=roc 2010-12-05 20:37:39 +00:00
nsCSSStruct.cpp Bug 576044 (5/12): eliminate ValueList as a storage type. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
nsCSSStruct.h Bug 576044 (5/12): eliminate ValueList as a storage type. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
nsCSSStyleRule.cpp Add NS_FINAL_CLASS annotations to rule classes. r=bzbarsky Add virtual that I missed on nsCSSGroupRule. (Bug 596140) a=me 2010-09-18 12:15:31 -07:00
nsCSSStyleSheet.cpp Bug 608914 part 2. Get rid of some temporary strings now that we can AppendFloat to an nsAString. r=dbaron 2010-11-30 13:18:15 -05:00
nsCSSStyleSheet.h Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking 2010-11-08 20:48:59 -06:00
nsCSSValue.cpp Bug 615977: Make nsCSSValue::BufferFromString() return an already_AddRefed pointer. r=dbaron a=roc 2010-12-05 13:17:29 +00:00
nsCSSValue.h Bug 615977: Make nsCSSValue::BufferFromString() return an already_AddRefed pointer. r=dbaron a=roc 2010-12-05 13:17:29 +00:00
nsDOMCSSAttrDeclaration.cpp Bug 585014 - Use Element in nsDOMCSSAttributeDeclaration; r=bzbarsky approval2.0=benjamin 2010-08-27 09:03:36 +02:00
nsDOMCSSAttrDeclaration.h Bug 585014 - Use Element in nsDOMCSSAttributeDeclaration; r=bzbarsky approval2.0=benjamin 2010-08-27 09:03:36 +02:00
nsDOMCSSDeclaration.cpp Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
nsDOMCSSDeclaration.h Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz 2010-08-05 22:32:01 -07:00
nsDOMCSSRect.cpp Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst. 2010-01-12 14:08:43 +01:00
nsDOMCSSRect.h
nsDOMCSSRGBColor.cpp Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst. 2010-01-12 14:08:43 +01:00
nsDOMCSSRGBColor.h
nsDOMCSSValueList.cpp Fix for bug 533637 (Speed up unwrapping a node in quickstubs that use nsINode (dromaeo)). Pair every DOMCI to a specific C++ class. r=jst. 2010-01-12 14:08:43 +01:00
nsDOMCSSValueList.h
nsFontFaceLoader.cpp Bug 555406. Call checkLoadURI for INHERIT_PRINCIPAL font loads. r=bz 2010-05-24 15:45:18 +09:00
nsFontFaceLoader.h Bug 557416: Remove unnecessary includes and forward declarations of nsIPresShell. r=roc 2010-04-10 16:09:38 -04:00
nsHTMLCSSStyleSheet.cpp Bug 575901 - DeCOMtaminate nsIStyleRuleProcessor method signatures. r=bz 2010-07-18 23:20:40 +02:00
nsHTMLCSSStyleSheet.h Bug 575901 - DeCOMtaminate nsIStyleRuleProcessor method signatures. r=bz 2010-07-18 23:20:40 +02:00
nsHTMLStyleSheet.cpp Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
nsHTMLStyleSheet.h Bug 575901 - DeCOMtaminate nsIStyleRuleProcessor method signatures. r=bz 2010-07-18 23:20:40 +02:00
nsICSSDeclaration.h Bug 558235 part 2: Kill CSS2PropertiesTearoff. r=dbaron 2010-07-14 13:58:56 -07:00
nsICSSGroupRule.h Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron 2010-08-15 11:19:34 -04:00
nsICSSImportRule.h Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron 2010-08-15 11:19:34 -04:00
nsICSSLoaderObserver.h Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
nsICSSNameSpaceRule.h Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron 2010-08-15 11:19:34 -04:00
nsICSSPseudoComparator.h Remove aTag argument from nsICSSPseudoComparator::PseudoMatches. (Bug 576794) r=bzbarsky a2.0=bsmedberg 2010-07-30 16:48:57 -07:00
nsICSSRule.h Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron 2010-08-15 11:19:34 -04:00
nsICSSRuleList.h Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv. 2009-12-21 21:50:30 +00:00
nsICSSStyleRule.h Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron 2010-08-15 11:19:34 -04:00
nsICSSStyleRuleDOMWrapper.h
nsIMediaList.h Inline a few methods in nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
nsIStyleRule.h Bug 566808 - "DeCOMtaminate nsIStyleRule method signatures" [r=dbaron] 2010-05-19 22:28:00 -04:00
nsIStyleRuleProcessor.h Bug 575901 - DeCOMtaminate nsIStyleRuleProcessor method signatures. r=bz 2010-07-18 23:20:40 +02:00
nsIStyleSheet.h Change some nsIStyleSheet methods from returning AddRef-ed to un-AddRef-ed pointers, and some other cleanup. (Bug 239008) r=dbaron 2010-05-17 21:00:39 -07:00
nsLayoutStylesheetCache.cpp Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron 2010-06-28 15:49:35 -07:00
nsLayoutStylesheetCache.h Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
nsMediaFeatures.cpp Bug 618016 - Make a new media query for device orientation [r=dbaron a=blassey] 2010-12-10 13:35:36 -05:00
nsMediaFeatures.h Bug 543910 - Layout support for -moz-windows-theme. r=dbaron, a=final. 2010-10-09 15:53:45 -05:00
nsROCSSPrimitiveValue.cpp Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
nsROCSSPrimitiveValue.h Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
nsRuleData.cpp Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
nsRuleData.h Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron 2010-08-19 15:33:44 -04:00
nsRuleNode.cpp Bug 604816 followup: Remove now-unused variable "stretch" from CheckFontCallback in nsRuleNode.cpp. r=dbaron a=dbaron 2010-11-16 10:35:59 -08:00
nsRuleNode.h Simplify storage of computed calc() as a result of removing min() and max(). (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-11 09:27:13 -07:00
nsRuleProcessorData.h Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
nsRuleWalker.h 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
nsStyleAnimation.cpp Bug 617971 nsStyleAnimation::ExtractComputedValue leaks pair when StyleCoordToCSSValue fails. 2010-12-10 10:31:37 -08:00
nsStyleAnimation.h Add calc() unit to nsStyleAnimation::Value. (Bug 520234) r=bzbarsky a=blocking2.0:beta7 2010-09-15 08:11:26 -07:00
nsStyleContext.cpp Bug 506826 - Parsing for background-image: -moz-element(#elementID). r=dbaron 2010-08-13 15:33:37 +02:00
nsStyleContext.h Add nsStyleContext::Alloc for allocations scoped to the lifetime of the style context. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
nsStyleCoord.cpp Simplify storage of computed calc() as a result of removing min() and max(). (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-11 09:27:13 -07:00
nsStyleCoord.h Simplify storage of computed calc() as a result of removing min() and max(). (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-11 09:27:13 -07:00
nsStyleSet.cpp Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
nsStyleSet.h Bug 595036 (2/2) - Introduce nsEventStates class to represent event states. r+a=bz 2010-10-20 13:26:32 +02:00
nsStyleStruct.cpp Bug 605689. Copy mUnknownProperty correctly. r=dbaron, a=blocker 2010-10-20 20:24:16 -04:00
nsStyleStruct.h Bug 600574 part 2: Check for SVG images with viewBox in nsStyleBackground::Layer::RenderingMightDependOnFrameSize. r=bz r=longsonr a=blocking-betaN+ 2010-10-06 15:18:52 -07:00
nsStyleStructFwd.h Use a valid value for storing in a bitfield as the style struct ID for backend-only properties. (Bug 469244) r+sr=bzbarsky 2009-04-02 07:55:50 -07:00
nsStyleStructInlines.h Bug 592493 - Register border-images with the document image tracker.r=dbaron 2010-09-07 17:30:40 -07:00
nsStyleStructList.h Bug 523576 - Fix compilation with disable-svg. r=dbaron 2009-12-12 19:43:34 +00:00
nsStyleTransformMatrix.cpp Simplify storage of computed calc() as a result of removing min() and max(). (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-11 09:27:13 -07:00
nsStyleTransformMatrix.h Implement animation of -moz-transform property. (Bug 531344) r=dholbert 2010-07-02 21:18:56 -07:00
nsStyleUtil.cpp Bug 461199 (Part 16) - Remove now unused style code testing for Link and HTML Links. 2009-12-15 16:04:15 -08:00
nsStyleUtil.h Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
nsTransitionManager.cpp For transition reversing computations, ensure valuePortion is within 0.0-1.0. (Bug 611238) r=bzbarsky a=blocking2.0:final 2010-12-16 08:53:17 -08:00
nsTransitionManager.h Bug 592698. We might not have a presshell by this point, so null-check it. r=dbaron 2010-09-15 12:40:11 -07:00
quirk.css
ua.css Bug 418521, improve the way focus indicators are displayed to correlate better with system behaviour, add -moz-focusring property to apply only when focus rings should be drawn, r=dao,jmathies,dbaron sr=neil 2010-04-21 10:53:42 -04:00
viewsource.css Bug 475268. Make sure to not set background without setting color in XML prettyprinting. r+sr=sicking 2009-01-29 22:31:24 -05:00