Xidorn Quan
7d3a54f5b0
Bug 1069716 - Fix deficient CalcDifference of nsStyleList. r=heycam
2014-09-20 03:43:00 +02:00
Markus Stange
31a78ec715
Bug 944836 - Add CSS property -moz-window-dragging: drag | no-drag. r=dbaron
2014-09-18 10:52:25 +02:00
Daniel Holbert
1c392baed1
(no bug) Tweak a comment about eContain & eCover to explicitly mention their specified-style equivalents, for better mxr searchability. comment-only, DONTBUILD
2014-09-16 10:55:13 -07:00
Cameron McCormack
9b086dd079
Bug 1065868 - Make nsStyleMargin::MaxDifference return the right bits. r=dbaron
2014-09-16 16:54:33 +10:00
Daniel Holbert
471ab7f102
Bug 1055285 part 2: Implement CSS parsing & computation (but not animation) for 'object-position' property. r=heycam
2014-09-09 18:09:32 -07:00
Daniel Holbert
751fe17d2f
Bug 1055285 part 1: Implement CSS parsing & computation for 'object-fit' property. r=heycam
2014-09-09 18:09:32 -07:00
Daniel Holbert
d67c97c95f
Bug 1060090 part 4: Allow computed-style 'Position' struct to have different initial values beyond just 0% 0%. r=heycam
2014-09-09 11:40:18 -07:00
Cameron McCormack
70d36e5eb0
Bug 931668 - Part 20.2: Don't call AssertStructsNotUsedElsewhere on style contexts for :before/:after frames that are going away. r=dbaron
...
--HG--
extra : rebase_source : 7ff96443db553d564897d42870b81e10c2a78b53
2014-09-05 13:48:47 +10:00
Cameron McCormack
31db624905
Bug 931668 - Part 5 (no part 4): Record whether a style context is shared. r=dbaron
...
--HG--
extra : rebase_source : f000e310e7f429cc7656a9f375312ddf8e162c7a
2014-09-05 13:48:44 +10:00
Cameron McCormack
98f625db89
Bug 931668 - Part 3: Add a style context bit to represent whether it depends on style data from its grandparent or higher ancestor. r=dbaron
...
--HG--
extra : rebase_source : 64deabb466cfaaeae220a00024cd05d8e87832bc
2014-09-05 13:48:44 +10:00
Cameron McCormack
8eb54648c9
Bug 931668 - Part 2: Return nsChangeHint_NeutralChange where there was a style data change and we currently return nsChangeHint(0). r=dbaron
...
--HG--
extra : rebase_source : 17548a130559ea5b88e8e5a1fe5cc6206bd080b9
2014-09-05 13:48:43 +10:00
Ehsan Akhgari
5a033b2b9f
Bug 1048246 - Fix more bad implicit constructors in layout; r=roc
...
--HG--
extra : rebase_source : ed828993139bc70232508364a9f046e38b7d3e06
2014-08-07 19:48:38 -04:00
L. David Baron
9422cdaf83
Bug 1045161
patch 2 - Remove write-only member variables of nsStyleTable. r=bzbarsky
2014-08-02 19:37:49 -07:00
Jeff Muizelaar
7a7dc4534c
Bug 1045251. Use the concrete type imgRequestProxy in nsStyleImage. r=seth
...
--HG--
extra : rebase_source : de67e22ac03d213ee54ab63693c932b4abf12ce9
2014-07-29 10:56:39 -04:00
Susanna Bowen
a573f478da
Bug 1021952 - Ensure that direct children of ruby elements are inline. r=bz
2014-07-22 19:08:13 -07:00
Susanna Bowen
4e66a798af
Bug 1021952 - Add ruby display values and ruby frames. r=dholbert,bz
2014-07-22 19:08:01 -07:00
Daniel Holbert
1cf03699a9
Bug 984711 part 4: Add back handling for nsStylePosition::mMinHeight having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout)
...
This reverts changeset 5db313632268 from bug 848539.
2014-07-22 08:24:35 -07:00
Daniel Holbert
c050208bb4
Bug 984711 part 3: Add back handling for nsStylePosition::mMinWidth having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout)
...
This reverts changeset f8b5090d02e5 from bug 848539.
2014-07-22 08:24:34 -07:00
L. David Baron
47535266ed
Bug 1038488 patch 3 - Use AllocateByObjectID/FreeByObjectID for style structs. r=heycam
2014-07-15 22:27:13 -07:00
L. David Baron
84da8eeaa5
Bug 1038488 patch 2 - Remove memset from the operator new of the 4 style structs that have it. r=heycam
...
This also moves those 4 operator new methods to be inline to match the
style of all of the others.
I audited that all the members of these structs are initialized by all
their constructors (see patch 1).
2014-07-15 22:27:12 -07:00
L. David Baron
ecd4ba7a2e
Bug 1030604 - Use nsChangeHint_UpdateOverflow for clip-path and mask changes so we update the PreEffectsBBoxProperty and run the effect on the correct area. r=roc
...
The testcase is a slight simplification of dholbert's testcase 2
(attachment 8456312) in the bug. It fails in the reftest harness
without the patch, and passes in the reftest harness with the patch.
2014-07-15 22:27:12 -07:00
Brian Birtles
0771a7d9a4
Bug 1010067 part 4 - Rename nsTransition to mozilla::StyleTransition; r=dbaron
2014-06-27 08:57:12 +09:00
Brian Birtles
75ca3d0b5d
Bug 1010067 part 3 - Rename nsAnimation to mozilla::StyleAnimation; r=dbaron
2014-06-27 08:57:11 +09:00
Cameron McCormack
c9c32895af
Bug 1026344 - Part 4: Make nsStyleCoord::Calc refcounted and introduce a non-refcounted nsStyleCoord::CalcValue. r=dbaron
...
This means that style structs holding computed calc() values are now able to be
stored in the rule tree.
2014-06-19 13:18:03 +10:00
Cameron McCormack
536eadab02
Bug 1026344 - Part 1: Don't use memcpy to copy style structs. r=dbaron
...
This is in preparation for nsStyleCoords becoming non-POD types. The
use of memcpy is a bit of a trap when modifying the style structs, and
it likely has marginal value now that anything with an nsStyleCoord
can't be memcpy-initialized.
2014-06-19 13:17:10 +10:00
Susanna Bowen
4451470f2b
Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron
2014-06-17 10:32:00 -04:00
Wes Kocher
b29250a3a3
Backed out 2 changesets (bug 727125) for reftest bustage on an otherwise CLOSED TREE
...
Backed out changeset 443361e2724a (bug 727125)
Backed out changeset 16c8d78df86e (bug 727125)
2014-06-16 13:34:50 -07:00
Susanna Bowen
de5185bcd2
Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron
2014-06-16 11:58:29 -07:00
Ryan VanderMeulen
3ed2bbef13
Backed out changesets d0ee7053aaf3 and c83f17cd74be (bug 727125) for B2G reftest failures.
...
CLOSED TREE
2014-06-12 14:45:40 -04:00
Susanna Bowen
995cc74fd1
Bug 727125 - Update overflow areas for text frames on text-decoration change to ensure text-decoration on hover is visible. r=dbaron
2014-06-09 15:00:00 -04:00
Xidorn Quan
837f68f5fc
Bug 966166 - Part 3: Link to other parts. r=dbaron
2014-06-11 21:12:00 -04:00
Brian Birtles
d53dba2b6a
Bug 1004365 part 1 - Make active duration calculation handle zero-duration animations; r=dholbert
...
This patch also makes ElementAnimation::ActiveDuration a static method that
takes timing parameters as an argument. This is so that this method can be
used within ElementAnimations::GetComputedTimingAt (a static method) in a
future patch.
We could also make ActiveDuration() a method of AnimationTiming. I suspect
this logic belongs together in ElementAnimation however.
In a future patch we could also add the active duration to the ComputedTiming
struct which would simplify the only other place this is currently used
which is ElementAnimations::GetEventsAt.
2014-06-11 14:19:07 +09:00
Cameron McCormack
a58154f20d
Bug 1019555 - Treat newlines and tabs as space characters in SVG xml:space="preserve" text. r=roc
2014-06-05 13:25:15 +10:00
John Schoenick
4b5e0520b0
Bug 870021 - Part 5.3 - nsImageFrame should take orientation into account when getting natural size from content. r=roc
2014-05-30 13:03:07 -07:00
Daniel Holbert
5a79caf967
Bug 985336: Remove unnecessary #includes from headers in layout/style. r=dbaron
2014-05-09 08:23:14 -07:00
Mats Palmgren
8d52eba6a5
Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin
2014-05-06 09:45:13 +00:00
Mats Palmgren
aea76177e8
Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam
2014-05-05 17:55:54 +00:00
Mats Palmgren
4c1b15348b
Bug 613659 - Implement box-decoration-break in the style system. r=cam
2014-05-05 17:55:53 +00:00
Mats Palmgren
96d62d5ba4
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
d335554b04
Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam
2014-04-18 23:01:23 +00:00
Mats Palmgren
38f499fee7
Bug 613659 - Implement box-decoration-break in the style system. r=cam
2014-04-18 23:01:22 +00:00
John Daggett
1e0a07af48
Bug 997006 - rename text-combine-horizontal to text-combine-upright. r=dholbert
2014-04-17 09:15:18 +09:00
Kearwood (Kip) Gilbert
93e818d617
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
Ryan VanderMeulen
27b28b1c13
Backed out changeset 7be71c699b85 (bug 984226) for crashtest asserts.
2014-04-08 15:31:45 -04:00
Kearwood (Kip) Gilbert
ebcffdc9e3
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) or
if 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
Simon Sapin
be63f95a8a
Bug 983175 - Part 2: Add style system support for 'subgrid' in the grid-template* properties. r=dholbert
...
http://dev.w3.org/csswg/css-grid/#subgrids
2014-03-27 11:54:40 -04:00
Matt Woodrow
e47a33ad71
Bug 976365 - Make 'perspective' create a containing block for absolute and fixed positioned children. r=dbaron
2014-03-25 11:45:43 +13:00
Simon Sapin
b5944e6405
Bug 984760 part 2: Use GridTemplateAreasValue though nsRefPtr pointers. r=dholbert
2014-03-21 23:06:16 +08:00
Simon Sapin
ef6efacf40
Bug 984760 part 1: Rename nsCSSValueGridTemplateAreas to css::GridTemplateAreasValue. r=dholbert
2014-03-21 23:06:13 +08:00
Daniel Holbert
1a5334960a
Bug 984786 part 1: Add MOZ_FINAL and private destructors to some refcounted classes in layout. r=dbaron
2014-03-21 09:16:20 +08:00