Nick Lebedev
c49e263d0f
Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley
2014-05-13 11:58:00 +02:00
Brian Birtles
9c7f65de0d
Bug 1004383 part 4 - Move mAnimations to CommonElementAnimationData; r=dbaron
...
As a result, transitions are now stored using a pointer to the base class,
mozilla::ElementAnimation. We downcast to a transition only when necessary. No
error-checking of the result of AsTransition is performed since we only ever
call it on the mAnimations member of ElementTransitions.
2014-05-15 08:38:37 +09:00
Brian Birtles
995090537a
Bug 1004383 part 3 - Add ElementAnimation::AsTransition virtual method; r=dbaron
...
Add a method for downcasting from an ElementAnimation to an
ElementPropertyTransition (when the underlying object is an
ElementPropertyTransition).
This, unfortunately, adds a vtable to ElementAnimation but in the long term
I hope we will be able to isolate transition-specific code to a specific kind of
TransitionEffect that hangs off ElementAnimation and put the vtable on
AnimationEffect instead. (The AnimationEffect concept is part of the Web
Animations API.)
2014-05-15 08:38:37 +09:00
Brian Birtles
92e305760e
Bug 1004383 part 2 - Rename StyleAnimation to ElementAnimation; r=dholbert
...
We currently have mozilla::StyleAnimation as well as nsStyleAnimation. This
patch renames StyleAnimation back to ElementAnimation.
Although ElementAnimation is very similar to ElementAnimations, in the near
future we expect to retire ElementAnimations and replace it with a common
AnimationSet-like structure that is covers the features of ElementAnimations and
ElementTransitions.
2014-05-15 08:38:37 +09:00
Brian Birtles
7595a03399
Bug 1004383 part 1 - Put StyleAnimation on the heap; r=dbaron
...
This patch takes StyleAnimation and makes it ref-counted heap object. This
should allow us to store StyleAnimation and its subclasses (transitions only
currently) in a consistent fashion (an array of base-class pointers).
Furthermore, this will be helpful if we want these things to be pointed to
from Javascript objects that may, for example, preserve their lifetime beyond
that of the element that currently owns them.
This patch also introduces a typedef for an array of refptrs to StyleAnimation
objects (and similarly for the subclass ElementPropertyTransition) to simplify
the code somewhat.
2014-05-15 08:38:37 +09:00
Arnaud Bienner
b284511edd
Bug 1007278: Restore the distinct text-color on disabled buttons. r=dholbert
2014-05-13 20:43:10 +02:00
Daniel Holbert
86232178d1
Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron
2014-05-09 08:23:14 -07:00
Benoit Jacob
60d536773a
Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg
2014-05-08 21:03:35 -04:00
Matt Woodrow
da8180da9c
Bug 995871 - Apply CSS transforms in CSS pixel space instead of device pixel space. r=dbaron
2014-05-08 17:35:00 +12:00
Bobby Holley
5a3bee8d99
Bug 997987 - Remove usage of nsIScriptSecurityManager::GetSubjectPrincipal. r=Ms2ger
2014-05-06 15:43:03 -07:00
Mats Palmgren
34134aa78b
Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin
2014-05-06 09:45:13 +00:00
Mats Palmgren
5cd647db72
Bug 994592 - Make 'row' the initial value for 'grid-auto-flow' and remove 'none' as a valid value. And add the 'stack' variants. r=simon.sapin
2014-05-06 09:45:13 +00:00
Eric Rahm
047f25416e
Bug 1003479 - Fix incorrect usage of SizeOfIncludingThis and SizeOfExcludingThis functions. r=njn
...
--HG--
extra : rebase_source : 2d51e1fc1b642b0efa60cb4e25e8b142577e93d3
2014-05-01 10:37:54 -07:00
Mats Palmgren
1a9476ea0a
Bug 613659 - Minor whitespace fixes. r=cam
2014-05-05 17:55:55 +00:00
Mats Palmgren
768f7584d2
Bug 613659 - Change mode-lines and indentation to 2-space indent. r=cam
2014-05-05 17:55:55 +00:00
Mats Palmgren
8b6a069c8a
Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam
2014-05-05 17:55:54 +00:00
Mats Palmgren
e2efe2c0c1
Bug 613659 - Implement box-decoration-break in the style system. r=cam
2014-05-05 17:55:53 +00:00
Daniel Holbert
ab8164c3ba
Bug 996945: Remove prohibition on flex-grow & flex-shrink properties transitioning between 0 and other values. r=mats
2014-05-04 09:12:32 -07:00
Daniel Holbert
f46c8dd02d
Bug 985304 part 3: Extend flexbox layout mochitest to cover cases with flex values that sum to less than 1. f=mats
2014-05-04 09:10:40 -07:00
Mats Palmgren
4933aef60a
Bug 1000376 - part 3, s/FlexItemStyleFixup/FlexOrGridItemStyleFixup/ and corresponding comment changes. r=dholbert
2014-05-03 13:42:33 +00:00
Mats Palmgren
b998e12bb7
Bug 1000376 - part 1, Add -moz-anonymous-grid-item in the style system. r=dholbert
2014-05-03 13:42:33 +00:00
Mats Palmgren
0cea549f22
Bug 1002607 - Increment the number of columns, 'column', only after we have seen a new token. r=simon.sapin
2014-05-03 13:42:32 +00:00
Ms2ger
18857c4acb
Bug 995664 - Move CSSRuleList to WebIDL; r=bz
...
As CSSRuleList is the last consumer of nsArraySH and nsGenericArraySH, this
also removes those classes.
2014-05-03 09:32:54 +02:00
Jonathan Kew
fc58ab99ac
bug 1002325 - don't try to rebuild rules if the font set is being deleted. r=jdaggett
2014-05-01 08:54:11 +01:00
Birunthan Mohanathas
a85cd37de4
Bug 1001966 - Part 2: Change uses of numbered NS_IMPL_CYCLE_COLLECTION_WRAPPERCACHE macro to the variadic variant. r=smaug
2014-04-29 04:57:00 -04:00
Kearwood (Kip) Gilbert
769d0fc066
Bug 1001237 - Don't return nsChangeHint_UpdatePostTransformOverflow in nsStyleDisplay::CalcDifference when a transform is added. r=dbaron
2014-04-28 14:51:00 -04:00
Birunthan Mohanathas
5f1fde8824
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Frédéric Wang
972811fba1
Bug 1000879 - Remove the ::-moz-math-stretchy pseudo-element. r=karl, roc
2014-04-24 21:30:00 +02:00
Chris Peterson
625e453b7c
Bug 999717 - CSS value lists other than shadows and filters may not be null. rs=dholbert
2014-04-22 23:11:01 -07:00
Maksim Lebedev
8d457861b8
Bug 979345 - Implement "touch-action: manipulation" CSS value for Pointer Events. r=kats,botond,dbaron,mbrubeck
2014-04-23 09:56:46 -04:00
Phil Ringnalda
31b830d88d
Back out 5544ddbd6581 (bug 999717) for assertions
...
CLOSED TREE
2014-04-22 20:58:03 -07:00
Chris Peterson
47bc3b14b8
Bug 999717 - Fix gcc -Wlogical-op warning in layout. r=dholbert
2014-04-22 15:50:35 -07:00
Ehsan Akhgari
bb80dc5c38
Bug 998995 - Reserve stack space for 16 arguments when parsing a CSS function; r=dbaron
2014-04-21 20:44:33 -04:00
Daniel Holbert
cdc54b1034
(no bug) Fix mis-indented line in mochitest file 'flexbox_layout_testcases.js'. (whitespace-only, DONTBUILD)
2014-04-21 13:47:51 -07:00
Adrian Lungu
864ffca9e7
Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst
2013-10-15 18:35:44 -07:00
Mats Palmgren
6301b21c9f
Back out bug 613659 (for regression bug 998792)
...
--HG--
rename : layout/reftests/backgrounds/background-size-slice.html => layout/reftests/backgrounds/background-size-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-slice.html => layout/reftests/backgrounds/background-size-cover-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-clone.html => layout/reftests/backgrounds/background-size-cover-each-box.html
rename : layout/reftests/backgrounds/background-size-clone.html => layout/reftests/backgrounds/background-size-each-box.html
2014-04-20 19:39:24 +00:00
Mats Palmgren
80b7768e08
Bug 613659 - Minor whitespace fixes. r=cam
2014-04-18 23:01:24 +00:00
Mats Palmgren
fbb2e4436b
Bug 613659 - Change mode-lines and indentation to 2-space indent. r=cam
2014-04-18 23:01:24 +00:00
Mats Palmgren
72a5f9f1ac
Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam
2014-04-18 23:01:23 +00:00
Mats Palmgren
fc6577840d
Bug 613659 - Implement box-decoration-break in the style system. r=cam
2014-04-18 23:01:22 +00:00
Mats Palmgren
0b1b658ce6
merge backout
2014-04-17 15:10:44 +00:00
Mats Palmgren
e9e1647064
Back out bug 613659 for build failure on B2G Windows.
...
--HG--
rename : layout/reftests/backgrounds/background-size-slice.html => layout/reftests/backgrounds/background-size-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-slice.html => layout/reftests/backgrounds/background-size-cover-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-clone.html => layout/reftests/backgrounds/background-size-cover-each-box.html
rename : layout/reftests/backgrounds/background-size-clone.html => layout/reftests/backgrounds/background-size-each-box.html
2014-04-17 15:09:18 +00:00
Mats Palmgren
4c2b48068b
Bug 613659 - Minor whitespace fixes. r=cam
2014-04-17 12:11:08 +00:00
Mats Palmgren
ed0dd48a03
Bug 613659 - Change mode-lines and indentation to 2-space indent. r=cam
2014-04-17 12:11:08 +00:00
Mats Palmgren
0ebadaa7d1
Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam
2014-04-17 12:11:08 +00:00
Mats Palmgren
c2691dbe6c
Bug 613659 - Implement box-decoration-break in the style system. r=cam
2014-04-17 12:11:07 +00:00
John Daggett
c14d659b10
Bug 964613 - check userfont sets for enabled/disabled local fonts when platform fontlist changes occur. r=jfkthame
2014-04-17 23:17:22 +09:00
John Daggett
89d63e9b46
Bug 997006 - rename text-combine-horizontal to text-combine-upright. r=dholbert
2014-04-17 09:15:18 +09:00
Kearwood (Kip) Gilbert
c0402875df
Bug 984226 - Add parameter to OverflowChangedTracker::AddFrame to distingush between frames that need nsIFrame::UpdateOverflow called and frames that only have a transform that has changed. r=dbaron
...
- OverflowChangedTracker::AddFrame now accepts an enumerated type parameter to
indicate if the overflow areas of children have changed (CHILDREN_CHANGED),
the overflow areas of the children have changed and the parent have changed
(CHILDREN_AND_PARENT_CHANGED), or if only the transform has changed
(TRANSFORM_CHANGED).
- OverflowChangedTracker::Flush no longer falls back to calling
nsIFrame::UpdateOverflow when a frame lacks a PreTransformOverflowAreas
property.
- Added an additional change hint, nsChangeHint_ChildrenOnlyTransform, which
results in TRANSFORM_CHANGED being passed in to
OverflowChangedTracker::AddFrame.
- In nsIFrame::FinishAndStoreOverflow, the passed in overflow is now stored as
the InitialTransformProperty for elements that are IsTransformed().
- Partially corrected Bug 926155, by only calling
OverflowChangedTracker::AddFrame on parents of the sticky element during
StickyScrollContainer::UpdatePositions, using CHILDREN_CHANGED.
2014-03-13 17:21:25 -07:00
Daniel Holbert
61204d781b
Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc
2014-04-14 21:30:25 -07:00