Commit Graph

1310 Commits

Author SHA1 Message Date
timeless@mozdev.org
792133b46f Bug 577993 mark debug code in InsertFontFaceRule and nsStyleAnimation::ComputeDistance
r=dbaron

--HG--
extra : rebase_source : a8b1ed0732f8f06a192dbcc485dffe0bb10d4a50
2010-07-15 15:55:05 +03:00
Zack Weinberg
63f91528d4 Bug 558235 part 2: Kill CSS2PropertiesTearoff. r=dbaron 2010-07-14 13:58:56 -07:00
Zack Weinberg
c764d1c2d2 Bug 558235 part 1: Mechanically rename nsComputedDOMStyle::Get* to nsComputedDomStyle::DoGet* where the former name conflicts with a nsIDOM*CSS2Properties method name. r=dbaron 2010-07-14 13:58:55 -07:00
Ehsan Akhgari
0ad20714f9 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
Jonathan Kew
1341e3f276 bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron 2010-07-13 21:30:42 +01:00
Ehsan Akhgari
7dcf9d424a Backout bug 289384 because of crashtest assertion failures 2010-07-11 17:43:27 -04:00
Ehsan Akhgari
d288e15ecd Bug 289384 - Midas Editor: Shortcut command + left/right should go to beginning/end of line; r=masayuki,bzbarsky
--HG--
extra : rebase_source : d533ad700d2e3e5d50dc0f03b57b14723e12c7eb
2010-06-25 14:58:25 -04:00
Boris Zbarsky
3e52abcca0 Bug 575467. Improve the detection of whether we're in the transition's initial state. r=dbaron 2010-07-08 09:50:33 -07:00
Boris Zbarsky
cbd4058563 Bug 576658. Simplify AppendRuleToTagTable. r=dbaron 2010-07-08 09:50:18 -07:00
Neil Deakin
2fb7701cbe Bug 553576, change -moz-resize to resize, r=dbaron 2010-07-05 10:41:04 -04:00
L. David Baron
ceb7e65f43 Make nsStyleAnimation::ComputeDistance not crash when given -moz-transform: none. (Bug 576761) (pending review)
--HG--
extra : transplant_source : _hY%B1%23%2Cb%D2%19R%BB%24%A4%9C%1B%16R%5C%8Ee
2010-07-03 12:25:37 -07:00
L. David Baron
f5249f9108 Implement animation of -moz-transform property. (Bug 531344) r=dholbert 2010-07-02 21:18:56 -07:00
L. David Baron
6876cdaeaa Move ReadTransforms from nsRuleNode to nsStyleTransformMatrix. (Bug 531344) r=dholbert 2010-07-02 21:18:56 -07:00
L. David Baron
dde6ec680a Add support for calc() expressions in translate functions of -moz-transform. (Bug 531344) r=bzbarsky 2010-07-02 21:18:56 -07:00
L. David Baron
3c320ac9da Fix weird SetCoordToValue signature. (Bug 531344) r=dholbert 2010-07-02 21:18:56 -07:00
L. David Baron
3854183740 Allow CSS parser to forbid min()/max() within certain calc() expressions. (Bug 531344) r=bzbarsky 2010-07-02 21:18:56 -07:00
L. David Baron
1130c43906 Create a common function for setting pieces of a transform matrix for a translation. (Bug 531344) r=dholbert 2010-07-02 21:18:56 -07:00
L. David Baron
cec126b618 Add some helper functions for common CSS value to CSS value interpolations. (Bug 531344) r=dholbert 2010-07-02 21:18:56 -07:00
L. David Baron
8e80eed347 Make the style struct store the specified transform list so that we can animate matching lists without matrix decomposition. (Bug 531344) r=dholbert 2010-07-02 21:18:56 -07:00
L. David Baron
60a8a56e92 Handle computed-value calc() expressions in computed style. (Bug 363249) r=bzbarsky 2010-07-02 21:18:56 -07:00
L. David Baron
60dfb4ddf1 Convert calc() serialization code to a template so it can also be used for nsStyleCoord. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron
dd9be1dd41 Add API to compute length, percentage or calc() style coords. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron
e3ff14ef8b Add API to compute computed-value calc() expressions to lengths. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron
fbac3bf4e7 Add additional template parameter expectations to ComputeCalc so that its input can be nsCSSValue or nsStyleCoord. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron
a4378282b6 Add code to compute a computed-value calc() expression from a specified-value calc() expression, and make it reachable from SetCoord in nsRuleNode. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron
cb0428ad49 Switch calc() to saturating operations on nscoord. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron
e218c29644 Fix namespace usage in nsRuleNode. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron
8d8f88a01a Add storage for calc() expressions to nsStyleCoord. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron
be6f3354a9 Add nsStyleCoord::Array type. (Bug 363249) r=bzbarsky 2010-07-02 21:18:55 -07:00
L. David Baron
f66de32fe0 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
L. David Baron
5c276249e4 Fire transitionend events only for transitions on elements (not pseudo-elements). (Bug 537140) r=bzbarsky 2010-07-02 21:18:55 -07:00
Boris Zbarsky
cde3075e01 Bug 576136. Use arrays of rulevalues, not linked lists, for slightly better cache locality. r=dbaron 2010-07-02 16:56:09 -04:00
Jesse Ruderman
14ecbf3e68 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
a2833452f8 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Benjamin Smedberg
63c0077443 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Daniel Holbert
ed05c57d55 Bug 574750: Use size_t for counter, in loops over contents of an nsCSSValue::Array. r=bz 2010-06-25 12:38:57 -07:00
Benjamin Smedberg
762def30bb Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Ms2ger
27a3b29543 Implement the figure element. r=jst+timeless+ehsan (Bug 573356) 2010-06-23 10:08:56 -07:00
Ivan Enderlin ext:(%2C%20Mounir%20Lamouri%20%3Cmounir.lamouri%40gmail.com%3E%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
4164b0645e Implement the mark element. r=jonas+timeless (Bug 485377) 2010-06-23 10:08:56 -07:00
Benjamin Smedberg
6b0b22699b Bug 573739 - Don't get the private browing service during layout module initialization: delay until profile-after-change. 2010-06-22 12:59:57 -04:00
Boris Zbarsky
8e8e4c48e0 Adding bug 573127 test 2010-06-23 01:43:17 -04:00
Boris Zbarsky
7f14719c4d 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
L. David Baron
63c334d06c Switch test_transitions_per_property to testing interpolation 1/4 of the way through instead of 1/2, so it will catch getting the halves backwards. 2010-06-26 11:58:06 -07:00
L. David Baron
0406e75bdd Adjust comment as followup to bug 574059. 2010-06-26 11:58:06 -07:00
Boris Zbarsky
b8fb52d415 Bug 555627. Make transitions actually work correctly on :before and :after. r=dbaron 2010-06-30 18:54:29 -07:00
Boris Zbarsky
81a1582c9b Bug 571347. In HasAttributeDependentStyle when the class attribute is changing, walk only selectors with classes that might be relevant. r=dbaron 2010-06-18 12:23:05 -04:00
L. David Baron
6c86828ec0 Add test for bug 573255.
--HG--
extra : transplant_source : Y%E3o%C5%F1H8t%AF%3E%1Cu%5B%EA%E0%2B%27%08%EA%C2
2010-06-19 14:11:20 -07:00
L. David Baron
d9f82cf345 Backed out changeset a6e3300a3bac (bug 571347) for causing bug 573255 because the optimization is invalid given :not() selectors. 2010-06-19 14:16:38 -07:00
Boris Zbarsky
ac7a53b8a2 Bug 571347. In HasAttributeDependentStyle when the class attribute is changing, walk only selectors with classes that might be relevant. r=dbaron 2010-06-18 12:23:05 -04:00