Commit Graph

21774 Commits

Author SHA1 Message Date
Brian Birtles
0026276654 Bug 1025709 part 10 - Move active layer notification out of CanPerformOnCompositorThread to call sites; r=heycam
A previous patch moved CanPerformOnCompositorThread to
CommonElementAnimationData including a FIXME saying that active layer
notification should happen at call sites. Now that the code for
GetAnimationsForCompositor is common, we can do the active layer notification
there.
2014-06-20 12:39:26 +09:00
Brian Birtles
e159d333e0 Bug 1025709 part 9 - Move heavy lifting of GetAnimationsForCompositor from ElementAnimations/ElementTransitions to base class; r=heycam
This patch still leaves ElementAnimations|
ElementTransitions::GetAnimationsForCompositor as shortcuts
for the method now defined on CommonElementAnimationData.
2014-06-20 12:39:25 +09:00
Brian Birtles
87bf388035 Bug 1025709 part 8 - Move CanPerformOnCompositorThread from ElementAnimations/ElementTransitions to the base class; r=heycam 2014-06-20 12:39:25 +09:00
Brian Birtles
e0cfc89409 Bug 1025709 part 7 - Move HasAnimationOfProperty from ElementAnimations/ElementTransitions to base class; r=heycam
This patch moves HasAnimationOfProperty to CommonElementAnimationData. It also
takes the chance to start removing some redundancy from nsLayoutUtils
/ ActiveLayerTracker. Some of this should never have been added in the first
place and some could have been removed earlier on but while we're fixing up
HasAnimationOfProperty it seems like an appropriate time to fix up its call
sites too.

Also, since HasAnimationOrTransition actually returns an object, not a bool, we
this patch renames it to GetAnimationsOrTransitions.
2014-06-20 12:39:25 +09:00
Brian Birtles
8a33f6bcdd Bug 1025709 part 6 - Reuse nsAnimationManager::EnsureStyleRuleFor; r=heycam
In a number of places in nsAnimationManager we have the following sequence of
calls:

  CommonElementAnimationData::EnsureStyleRuleFor
  ElementAnimations::GetEventsAt
  nsAnimationManager::CheckNeedsRefresh

nsAnimationManager::EnsureStyleRuleFor already does exactly that so we should
just reuse it.

At the same time we rename EnsureStyleRuleFor to UpdateStyleAndEvents since
that's a bit more accurate. It's also confusing to have two methods of the same
name (but on different objects) that don't exactly correspond in terms of
the scope of what they do.
2014-06-20 12:39:25 +09:00
Brian Birtles
753003158e Bug 1025709 part 5 - Replace aIsThrottled bool value with an enum; r=heycam 2014-06-20 12:39:25 +09:00
Brian Birtles
5e704e1b3d Bug 1025709 part 4 - Move EnsureStyleRuleFor from ElementTransitions and ElementAnimations to CommonElementAnimationData; r=heycam
Both ElementAnimations and ElementTransitions have an EnsureStyleRuleFor method.
The ElementAnimations version is a more general of the ElementTransitions one
with the exception that the ElementTransitions version checks for finished
transitions. This patch moves the code from ElementAnimations to
CommonElementAnimationData with one minor change: adding the checks for finished
transitions. The ElementTransitions version is removed.

Since the ElementAnimations version contains a second parameter, aIsThrottled,
callers of ElementTransitions must include this extra parameter. In
a subsequent patch we add an enum for this parameter to make call sites easier
to read.

The ElementAnimations version also sets the mNeedsRefreshes member so at the
same time we move mNeedsRefreshes to CommonElementAnimationData. Furthermore,
since the ElementAnimations version which we have adopted returns early if
mNeedsRefreshes is false, this patch ensures that when we call
EnsureStyleRuleFor from ElementTransitions::WalkTransitionRule, we set
mNeedsRefreshes to true first.

Another difference to account for is that the ElementTransitions version of
EnsureStyleRuleFor *always* sets mStyleRule (even if it doesn't add anything to
it) where as the ElementAnimations version only creates the rule when necessary
so we need to add a check to ElementTransitions::WalkTransitionRule that
mStyleRule is actually set before using it.
2014-06-20 12:39:24 +09:00
Brian Birtles
77f5401b11 Bug 1025709 part 3 - Move delay calculation to GetComputedTimingAt; r=heycam
Now that an animation's delay is part of AnimationTiming--the struct we pass to
GetComputedTimingAt--it makes sense to act on it in GetComputedTimingAt.

This also happens to bring the procedures here closer to the algorithm
definitions in Web Animations.

As part of this refactoring, this patch converts ElementAnimation::IsRunningAt
to use GetComputedTiming since the previous approach no longer works now that
GetLocalTimeAt (nee ElapsedDurationAt) no longer handles delays. This also
removes duplicated logic.

Also, previously ElapsedDurationAt would assert if called on a finished
transition since TimeDuration's - operator wouldn't like the null mStartTime.
This patch adds an assertion for this case to GetLocalTimeAt to ease debugging.
2014-06-20 12:39:24 +09:00
Brian Birtles
640d1175ef Bug 1025709 part 2 - Add IsFinished() to ElementAnimation; r=heycam
One of the main differences in handling a list of transitions vs a list of
regular animations is that when we are dealing with a list of transitions we
need to check for transitions that have finished and are about to be discarded
but need to be retained temporarily to provide correct triggering of subsequent
transitions. Such transitions are marked as "removed sentinels" and are ignored
for most operations.

This patch moves the methods for setting and checking such transitions to the
base class ElementAnimation so that we can treat animations and transitions
alike without having to downcast or do obscure checks for mStartTime.IsNull()
(which equates to checking if the animation is a "removed sentinel" but is not
particularly clear).

In the process, this patch renames said methods to Is/SetFinishedTransition
since hopefully that is a little easier to understand at a glance.
2014-06-20 12:39:24 +09:00
Brian Birtles
d4fb178556 Bug 1025709 part 1 - Move mDelay to AnimationTiming; r=heycam
This patch is the first part in preparing the way to merge ElementTransitions
with CommonElementAnimationData (which we'll eventually rename to something
nicer).

Here we move mTiming from CommonElementAnimationData to the AnimationTiming
struct. While this is not strictly necessary in order to do the later
refactoring it makes it simpler since it:

- Divides time calculation into calculation based on dynamic play state (the
  responsibility of animation players in Web Animations terms) and static
  author-specified timing parameters (a property of animations in Web Animations
  terms).
- In future we will probably put animations on the compositor during their
  delay phase so we will want the delay to be present in the AnimationTiming
  struct then.
- Makes AnimationTiming line up with the dictionary of the same name in Web
  Animations.
2014-06-20 12:39:23 +09:00
Daniel Holbert
29f9a0dc57 Bug 1024328: Remove unnecessary #includes of nsFrameManager.h. r=jwatt 2014-06-19 22:07:46 -04:00
Kyle Huey
c46bed2510 Bug 737976: Remove nsINodeInfo. r=smaug
--HG--
rename : content/base/src/nsNodeInfo.cpp => dom/base/NodeInfo.cpp
rename : content/base/public/nsINodeInfo.h => dom/base/NodeInfo.h
rename : content/base/src/nsNodeInfo.h => dom/base/NodeInfoInlines.h
2014-06-19 19:01:40 -07:00
Wes Kocher
5e4e216987 Merge m-c to inbound despite the CLOSED TREE 2014-06-19 18:29:15 -07:00
Wes Kocher
42fd42b2b8 Merge inbound to m-c a=merge 2014-06-19 18:07:43 -07:00
Ed Morley
aaf8fb069a Merge mozilla-central and b2g-inbound 2014-06-19 17:20:14 +01:00
Mike Habicher
71be9e575f Bug 990122 - move prefs used by camera to CameraPreferences, r=ehsan 2014-06-19 09:20:49 -04:00
James Kitchener
1712909b4c Bug 330964 - Mark tablespacing tests as failing for B2G. r=karlt 2014-06-18 06:51:00 -04:00
James Kitchener
6b2e5e6ab8 Bug 330964 - Tests for mtable row/column/framespacing. r=fredw
--HG--
rename : layout/reftests/mathml/dir-6-ref.html => layout/reftests/mathml/dir-6a-ref.html
rename : layout/reftests/mathml/dir-6.html => layout/reftests/mathml/dir-6a.html
2014-06-18 06:49:00 -04:00
James Kitchener
925c7e26fd Bug 330964 - Add rowspacing/columnspacing/framespacing to MathML mtable. r=fredw 2014-06-18 06:57:00 -04:00
James Kitchener
1356596f38 Bug 330964 - Make nsTableFrame::GetCellSpacing[XY] take an argument. r=roc 2014-06-18 06:47:00 -04:00
Jonathan Kew
33445ce091 bug 871453 - part 4 - reftests for the font-synthesis property. r=jdaggett 2014-06-19 08:09:24 +01:00
Benoit Girard
e209d7c327 backout d4bf4c76854e for causing mochitest-other failures 2014-06-19 00:35:54 -04:00
Andrew McCreight
7df9e4e10a Bug 1011391 - Clear rule cascades in nsCSSStyleSheet's Unlink. r=bz 2014-06-18 15:33:30 -07:00
Cameron McCormack
cfb8876bf3 Bug 1026903 - Make nsStyleContext members private. r=dbaron 2014-06-19 13:19:39 +10:00
Cameron McCormack
1f460bcf22 Bug 1026345 - Remove the now unused nsStyleContext allocation functions. r=dbaron 2014-06-19 13:19:11 +10:00
Cameron McCormack
b5d773f074 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
2d99ab3f74 Bug 1026344 - Part 3: Rename CalcValue to PixelCalcValue. r=dbaron 2014-06-19 13:17:56 +10:00
Cameron McCormack
ace3f765d2 Bug 1026344 - Part 2: Make nsStyleUnit a uint8_t-sized enum so we can use it on nsStyle{Sides,Corners}. r=dbaron 2014-06-19 13:17:10 +10:00
Cameron McCormack
6590262ffc 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
Birunthan Mohanathas
617866f602 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Benoit Girard
4598e08148 Bug 1027380 - Don't paint flash for inactive layer manager. r=mattwoodrow
--HG--
extra : rebase_source : 29238270960b22c3391c59e68d3cced748984650
2014-06-18 21:22:54 -04:00
Benoit Girard
0bab381e25 Bug 1027433 - Reported throttled transaction to the profiler. r=mattwoodrow
--HG--
extra : rebase_source : 348571e878f4068247f8adfda284233b61b610b0
2014-06-18 21:21:39 -04:00
Benoit Jacob
02fc720dc5 Bug 1027251 - Fix or whitelist dangerous public destructors in layout/ - r=dbaron 2014-06-18 22:28:59 -04:00
Andrew Halberstadt
e515a76871 Bug 997244 - Move emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-19 14:17:26 -04:00
Nicholas Nethercote
bb9d51e11e Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
L. David Baron
4afc1f2e9a Bug 1026768 - Pass the restyle hint through from ProcessOneRestyle to ComputeStyleChangeFor rather than converting it to a boolean and back. r=heycam
This was originally bug 996796 patch 6, but it's also needed bug 931668,
so I'm moving it into its own bug.
2014-06-18 17:07:26 -07:00
L. David Baron
31d0f794c2 Bug 996798 - Add a typedef to make it easier to change the size of nsWrapperCache/nsINode flags. r=bzbarsky 2014-06-18 17:07:26 -07:00
Wes Kocher
a781e7257a Backed out changeset 81a51de30a2a (bug 997244) for breaking b2g emulator mochitests on an otherwise CLOSED TREE 2014-06-18 14:15:48 -07:00
Susanna Bowen
61669b1069 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
Susanna Bowen
fa2e35634d Bug 727125 - Lazily compute LineBaselineOffset when needed so it is present after a dynamic change of 'text-decoration'. r=dbaron
This fixes the positioning of underlines set on a block or its ancestor
when drawn on children of a block that have a vertical-align !=
baseline.

The lazy computation is done all at once for all children of a block to
avoid O(N^2) searches for the line containing a frame.
2014-06-18 12:55:00 -04:00
Andrew Halberstadt
77ca422eca Bug 997244 - Pull emulator.py out of marionette and into mozrunner, r=wlach,mdas,jgriffin 2014-06-18 13:30:12 -04:00
Seth Fowler
5f8a63a8d4 Bug 1023618 - Ensure that win.document.documentElement exists before using it. r=roc 2014-06-16 20:57:35 -07:00
Benoit Girard
2c957e7952 Bug 1027496 - Stream display list and layers dump. r=mattwoodrow 2014-06-19 18:36:25 -04:00
Andrew McCreight
8672c35e94 Bug 990160 - Cycle collect nsCSSRuleProcessor. r=bz 2014-06-19 14:36:53 -07:00
Benjamin Chen
8bffd58059 Bug 969372: part1: Change the prototype of FreezableElementEnumerator in nsIDocument from nsIContent to nsISupports, and rename it to ActivityObservers. r=roc 2014-06-19 10:09:35 +08:00
James Kitchener
e5681e9351 Bug 330964 - Fix cellspacing call in CalcUnpaginagedHeight. r=roc 2014-02-23 05:00:00 -05:00
Jonathan Watt
7e18be7cbf Bug 932198 - Convert nsSVGPatternFrame from using gfxASurface to using Moz2D APIs. r=longsonr 2014-06-18 01:07:21 +01:00
Boris Zbarsky
1bb4277e22 Bug 1019194 part 2. Get rid of the XPCOM contract way of creating an IndexedDatabaseManager. r=khuey 2014-06-17 15:01:47 -04:00
Jonathan Watt
d8f30cbd1f Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas 2014-06-17 18:35:51 +01:00
Ehsan Akhgari
bf9af450a4 Fix the places where we forward declare already_AddRefed as a struct, no bug, r=I'm-sick-and-tired-of-MSVC-stupidity 2014-06-17 10:57:23 -04:00
Simon Montagu
63e075a39d Bug 789096 patch 7: Use logical coordinates in nsBlockReflowContext. r=jfkthame 2014-06-17 07:41:35 -07:00
Simon Montagu
458f761ae7 Bug 789096: make method names in nsLineLayout correspond to the respective CSS properties. r=jfkthame 2014-06-17 07:41:33 -07:00
Josiah Bruner
74da862e65 Bug 1021309 - Add "mac-yosemite-theme" CSS system metric. r=mstange 2014-06-05 18:02:46 -04:00
Simon Montagu
759b949444 Replace GetBaseline with GetLogicalBaseline and use logical coordinates in the line position and baseline getters in nsLayoutUtils. Bug 789096, r=jfkthame 2014-06-17 05:19:38 -07:00
Martin Stransky
1b61f13108 Bug 957396 - Enlarge container constraints when MinSize is bigger than MaxSize. r=enndeakin 2014-06-11 05:03:00 +02:00
Susanna Bowen
b6729b23ab Bug 1025308 - Rename the variables associated with skipping style fixups for children element's based on parent display value. r=mats 2014-06-16 09:55:00 -04:00
Nathan Froyd
4300cffc6f Bug 1025959 - disable checks for webapp updates during tests; r=jmaher 2014-06-16 11:47:05 -04:00
Benoit Girard
b555f48399 Bug 1024148 - Part 2: Merge nsDisplayOpacity into nsDisplayBackgroundColor. r=mattwoodrow
--HG--
extra : rebase_source : c48cc799414ff83b74caff8df5503a743dbf74b1
2014-06-14 11:10:45 -04:00
Benoit Girard
c38907de9d Bug 1024148 - Part 1: Merge nsDisplayOpacity items together. r=mattwoodrow
--HG--
extra : rebase_source : f461cb97357c854db22122b40777358a17f736ec
2014-06-12 11:34:35 -04:00
Wes Kocher
a72efc4487 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
6511578652 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
Susanna Bowen
49c99c035b Bug 727125 - Lazily compute LineBaselineOffset when needed so it is present after a dynamic change of 'text-decoration'. r=dbaron
This fixes the positioning of underlines set on a block or its ancestor
when drawn on children of a block that have a vertical-align !=
baseline.

The lazy computation is done all at once for all children of a block to
avoid O(N^2) searches for the line containing a frame.
2014-06-16 11:58:25 -07:00
Neil Deakin
9fd38869cf Bug 994117, delay popupshown event until after the opening transition has finished, if one exists, which also fixes the issue causing bug 989991, so enable the animation on the main panel, r=neil 2014-06-16 14:43:07 -04:00
Neil Deakin
63dffb940a Bug 994117, add method to check if an element has current animations, r=bbirtles 2014-06-16 14:43:04 -04:00
Carsten "Tomcat" Book
e5e6963147 Backed out changeset 1f21c62b41eb (bug 330964) for emulator opt reftest-12 test failures 2014-06-16 13:09:21 +02:00
Carsten "Tomcat" Book
0b4e324ca8 Backed out changeset 248103817c8b (bug 330964) 2014-06-16 13:08:53 +02:00
Carsten "Tomcat" Book
819806e0c3 Backed out changeset d70b7473bff7 (bug 330964) 2014-06-16 13:08:51 +02:00
Carsten "Tomcat" Book
d29e637a03 Backed out changeset b662e2341b4a (bug 330964) 2014-06-16 13:08:46 +02:00
Ting-Yu Lin
23bafc7f00 Bug 1024848 - part 2 - Enable selection carets sanity tests on Windows browser. r=mdas 2014-06-13 02:34:00 +02:00
Ting-Yu Lin
e5fb4d007f Bug 1024848 - part 1 - Improve selection carets test cases. r=mdas
On Windows, when selecting a word by long pressing, extra spaces after
the word will also be selected. To solve this problem, I redesign the
test cases by comparing the target content with the selected content
directly while ignoring spaces at certain test cases. I believe it's
easier to understand and less error-prone than the old
replace-selected-content-and-compare way.

I added a new method SelectionManager.selected_content() to make it
easier to get the current selected text.
2014-06-13 02:33:00 +02:00
James Kitchener
ba0399d845 Bug 330964 - Add rowspacing/columnspacing/framespacing to MathML mtable. r=fredw 2014-06-15 07:23:00 +02:00
James Kitchener
462acde094 Bug 330964 - tests for mtable row/column/framespacing. r=fredw
--HG--
rename : layout/reftests/mathml/dir-6-ref.html => layout/reftests/mathml/dir-6a-ref.html
rename : layout/reftests/mathml/dir-6.html => layout/reftests/mathml/dir-6a.html
2014-06-15 01:10:00 +02:00
James Kitchener
f557110155 Bug 330964 - Make nsTableFrame::GetCellSpacing[XY] take an argument. r=roc 2014-06-15 00:53:00 +02:00
James Kitchener
651c3a88b7 Bug 330964 - Fix cellspacing call in CalcUnpaginagedHeight. r=roc 2014-02-23 05:00:00 +01:00
Xidorn Quan
fa785309a3 Bug 1025359 - Correct -moz-tamil according to Predefined Counter Styles. r=jfkthame 2014-06-13 17:01:00 +02:00
Xidorn Quan
e23d63f03c Bug 985825 - Unprefix -moz-ethiopic-numeric. r=jfkthame 2014-06-13 17:37:00 +02:00
Xidorn Quan
14eff79f0c Bug 982355 - Support disclosure-{open,closed} counter styles. r=jfkthame 2014-06-13 17:34:00 +02:00
Andrew McCreight
29f73928fd Bug 1025170 - Selection::Modify should return on failure. r=bz 2014-06-14 16:43:46 -07:00
Mats Palmgren
6b8b06beb1 Bug 427928 - part 6, reftest for outline:auto. 2014-06-14 12:48:08 +00:00
Mats Palmgren
6a32467840 Bug 427928 - part 2, Add NS_THEME_FOCUS_OUTLINE to support drawing a native themed focus outline. r=roc 2014-06-14 12:48:07 +00:00
Mats Palmgren
5b449289fb Bug 427928 - part 1, Treat outline:auto as outline:solid. r=roc 2014-06-14 12:48:07 +00:00
"Kan-Ru Chen (陳侃如)"
304410dce4 Bug 1020169 - Part 2. Register nested LayerTree. r=mattwoodrow
Use PCompositor::NotifyChildCreated which was ill-defined for
cross-process case.

Assume that for all LayerTrees managed by a CrossProcessCompositorParent
all share the same CompositorParent.
2014-06-14 15:25:02 +08:00
Benoit Jacob
c704395d39 Bug 774388 - Patch 4: Flatten the way that we track whether we are using OMTC, and move Layers IPC shutdown code back to gfxPlatform (but still triggered by ShutdownXPCOM) - r=nical,sotaro 2014-06-06 09:51:24 -04:00
Wes Kocher
e0e2d25f5e Merge inbound to m-c a=merge 2014-06-13 17:00:46 -07:00
Chris Lord
a859698da6 Bug 1006084 - Allow ThebesLayers to be recreated when the creation hint changes. r=mattwoodrow 2014-06-13 17:11:08 +01:00
Andrew Halberstadt
ed8adf94e4 Bug 981477 - Adjust wrongfully annotated b2g oop reftests from fails to random, r=edmorley 2014-06-13 10:05:52 -04:00
Ryan VanderMeulen
8fcea9b19a Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-12 17:32:33 -04:00
Ryan VanderMeulen
a74a26a980 Bug 1019441 - Skip test_selectioncarats on Windows. a=permafail 2014-06-12 16:05:58 -04:00
Ed Morley
cf92330496 Merge mozilla-central and b2g-inbound 2014-06-12 16:02:18 +01:00
John Daggett
7c25f13a36 No bug. Add FiraSans Regular to reftest fonts, no effect on build. r=me 2014-06-12 16:15:38 +09:00
Brian Birtles
1d881a8060 Bug 1004377 - Dispatch events for CSS Animations with empty keyframes rules; r=dholbert
This patch removes the check that skipped queueing events for animations
without keyframes since the spec indicates such animations should dispatch
events.

There is a further correctness fix here for the case where a keyframes rule
is modified using the CSSOM so that it becomes empty. Previously when we
came to create the new animation rules we would end up setting
ElementAnimations::mNeedRefreshes to false since we check if the keyframes
rule is empty and if it is we would skip all further processing (including
setting mNeedsRefreshes).

That means that:
(a) We may end up unregistering from the refresh observer so we would never
    dispatch the end event for such an animation.
(b) If the animation was running on the compositor we may never remove it from
    the compositor or may not do it in a timely fashion.

To fix both these problems, this patch removes the check for an empty keyframes
rule so that mNeedsRefreshes is set in this case.
2014-06-12 13:18:14 +09:00
Brian Birtles
384c09b0b0 Bug 1018862 part 8 - Add special handling for non-invertible transforms; r=dholbert
This patch adjusts the tests for transform transitions that run on the
compositor to handle transitions that begin with a non-invertible transform.
In this case the first sample at the start of the animation won't create
a layer because in nsDisplayTransform::BuildLayer
/ FrameLayerBuilder::BuildContainerLayerFor we'll skip creating the layer once
we notice the equivalent matrix is singular.

In this patch we detect that case and force an extra sample betwee 0 and 200s at
100s. This means the layer will be created at t=100s and be available for
querying at the next sample.

Similar issues could occur, for example, if the transforms at both t=0s
and t=100s are not invertible but currently that doesn't occur. We can add
handling for that if and when it becomes necessary.
2014-06-12 13:17:47 +09:00
Brian Birtles
6381e159bc Bug 1018862 part 7 - Convert test_transitions_per_property.html to use OMTA test methods; r=dholbert
This patch takes the existing tests for transitions running on the compositor
and makes them re-use the same test utility methods as used for testing CSS
Animations that run on the compositor. This means these tests now also check
that the transition is in fact running on the compositor when it is expected to.

It seems the big_omta_round_error is no longer needed so I've removed that.

The test that begins with "skew(45deg, 45deg)" currently fails so it is skipped
here. This is addressed in the next patch in the series.
2014-06-12 13:17:47 +09:00
Brian Birtles
6fca66ae6a Bug 1018862 part 6 - Fix handling of 3d matrices in omta_is and co.; r=dholbert
This patch fixes a bug in the handling of 3d matrices represented as an array of
numbers.
2014-06-12 13:17:47 +09:00
Brian Birtles
fc0f391f97 Bug 1018862 part 5 - Move paint listener promise wrappers to animation_utils.js; r=dholbert
This patch moves some utility methods from test_animations_omta.html to
animation_utils.js so that they can be used for testing transitions as well.
2014-06-12 13:17:47 +09:00
Brian Birtles
89755f2774 Bug 1018862 part 4 - Move omta_is and friends to animation_utils.js; r=dholbert
This patch simply moves code from test_animations_omta.html to
animation_utils.js so that we can use it for testing transitions as well.
2014-06-12 13:17:47 +09:00
Brian Birtles
c7cb81d5a5 Bug 1018862 part 3 - Fix the order of arguments to omta_is_approx; r=dholbert
This patch simply re-arranges the order of arguments to omta_is_approx so that
the delta sits along side the values being compared.

This, I think, makes more sense and also is more consistent when converting
tests from test_animations.html to test_animations_omta.html since the
"RunningOn" parameter is consistently inserted in the second-to-last position
just before the description for both omta_is and omta_is_approx.
2014-06-12 13:17:47 +09:00
Brian Birtles
2862d31d1f Bug 1018862 part 2 - Make new_div no longer secretly flush styles; r=dholbert
This patch removes the line from new_div that forced a style flush. This was
very confusing because:
* It behaved differently to new_div in test_animations.html so copying tests
  over was more complex (particularly when registering for events is involved).
* It meant after setting up initial style using new_div you could just call
  waitForPaints but if you updated style using elem.style you'd need to call
  waitForPaintsFlushed.

In adjusting test_animations_omta.html we are able to simplify the tests
somewhat. This patch also adds a few additional checks that waiting to update
the compositor does not produce different results.
2014-06-12 13:17:47 +09:00
Brian Birtles
b71056cd35 Bug 1018862 part 1 - Factor out common async animation test methods; r=dholbert
This patch moves some test utility methods from test_animations_omta.html to
animation_utils.js. It also renames addAsyncTest to addAsyncAnimTest and
likewise for a few other methods.
2014-06-12 13:17:46 +09:00
Seth Fowler
99c9e54495 Bug 1023618 - Always call FlushRendering in the reftest harness. r=roc 2014-06-11 20:21:08 -07:00
Wes Kocher
7e6ba4389f Merge m-c to inbound 2014-06-11 18:38:53 -07:00
Ed Morley
bac7c78535 Merge mozilla-central and b2g-inbound 2014-06-11 18:06:52 +01:00
Daniel Holbert
c8ba317ee1 backout 703d26e9d979 (Bug 1024084) for Android bustage, on a CLOSED TREE 2014-06-11 16:10:29 -07:00
Jonathan Watt
1027124949 Bug 1024138 - Remove the GetPresShell() and GetPresContext() methods from nsFrameManager. r=dholbert 2014-06-11 23:38:17 +01:00
Daniel Holbert
4595d2613a Bug 1021913: Explicitly give the textfield in input[type="number"] a min-width of 0, so that "min-width:auto" won't block it from shrinking. r=jwatt 2014-06-11 15:35:18 -07:00
Daniel Holbert
084904ef81 Bug 1024084: Use forward declarations instead of #includes for nsIFrame & nsContent in nsFrameManager.h. r=jwatt 2014-06-11 15:35:17 -07:00
Jonathan Watt
5b1fdc0276 Bug 1016680, part 3 - DeCOMify nsGenConNode::mText. r=dholbert 2014-06-11 23:11:15 +01:00
Jonathan Watt
8abcdb9671 Bug 1018324 - Restore inIFlasher, but with drawElementOutline and repaintElement as no-ops. r=bz 2014-06-11 21:29:15 +01:00
Olli Pettay
9233bc118d Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz 2014-06-11 22:38:55 +03:00
Ed Morley
6fbee5ca9b Backed out changeset 21a9c0fde1db (bug 467442) for crashes 2014-06-11 18:06:44 +01:00
Ting-Yu Lin
ce82097dee Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Enlarge touch caret expiration time to 60 seconds to avoid intermittent
test failures in test cases which need to move touch caret.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-11 02:48:00 -04:00
Wes Kocher
a31895d720 Merge b2g-inbound to m-c a=merge 2014-06-10 18:37:54 -07:00
Jonathan Watt
06b82fdb4d Bug 989230 follow-up to increase fuzziness for reftest on Windows. r=orange 2014-06-11 12:14:19 +01:00
Jonathan Watt
7997b035ca Bug 1016680, part 2 - Report the memory used by PresShell::mVisibleImages and PresShell::mFramesToDirty. r=dholbert
--HG--
extra : rebase_source : 0d348e97861917c67862271c4c4ee9f51b007255
2014-06-11 11:20:52 +01:00
Jonathan Watt
e9b294c317 Bug 1016680, part 1 - Report the memory used by RuleCascadeData::mKeyframesRuleTable. r=dholbert
--HG--
extra : rebase_source : 97bd8b0ddef514e9eb218eac783c3af892a8014e
2014-06-11 11:20:50 +01:00
Simon Montagu
30b9d24621 Replace Get/SetTopAscent with Get/SetBlockStartAscent. Bug 789096, r=jfkthame 2014-06-11 02:45:31 -07:00
Jonathan Watt
4ee9bd8ce2 Bug 989230 reftest - Test that gradient spreadMethod=reflect works. r=longsonr 2014-06-11 10:38:44 +01:00
Ryan VanderMeulen
610bf9f53d Bug 1023472 - Disable test_bug935876.html on Android for perma-failing when pushed to a different chunk.
CLOSED TREE
2014-06-10 14:54:46 -04:00
Ting-Yu Lin
29b57fab07 Bug 1019441 - Part 2: Add marionette test cases for selection carets. r=roc, r=mdas
Add marionette test cases for selection carets feature in bug 987718.
Test cases target <input>, <textarea>, editable and non-editable
elements.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_seletioncarets.py

Run tests on b2g emulator manually:
./mach marionette-webapi layout/base/tests/marionette/test_seletioncarets.py
2014-06-11 06:28:00 -04:00
Ting-Yu Lin
b988a6d7d3 Bug 1019441 - Part 1: Add SelectionManager in marionette. r=mdas
* Extract those caret manipulating functions in test_touchcaret.py to
  selection.py, and generalize them for manipulating selection.
* Use SelectionManager in test_touchcaret.py.
* Remove unneeded </input> from test_touchcaret.html.
2014-06-11 03:02:00 -04:00
Giovanni Sferro
1a91a7c42e Bug 995901 - Rename nsICSSRuleList to mozilla::dom::CSSRuleList. r=bz
--HG--
rename : layout/style/nsICSSRuleList.cpp => layout/style/CSSRuleList.cpp
rename : layout/style/nsICSSRuleList.h => layout/style/CSSRuleList.h
2014-06-09 22:11:00 -04:00
John Daggett
7b90afaa89 No bug. Add Fira Sans to reftest fonts, no effect on build. r=me 2014-06-11 16:32:53 +09:00
Jonathan Watt
7354d67bf5 Bug 1016680, part 4 - Explicitly initialize members in nsFrameManagerBase's ctor rather than using memset. r=bz 2014-06-12 20:25:33 +01:00
Ryan VanderMeulen
403792160e Merge m-c to inbound on a CLOSED TREE. 2014-06-12 14:56:35 -04:00
Ryan VanderMeulen
3dae04272f Backed out changesets d0ee7053aaf3 and c83f17cd74be (bug 727125) for B2G reftest failures.
CLOSED TREE
2014-06-12 14:45:40 -04:00
Daniel Holbert
13052ec8fd Bug 1024084: Clean up forward declarations and #includes in nsFrameManager.h and nsFrameManagerBase.h. r=jwatt 2014-06-12 10:09:31 -07:00
Susanna Bowen
221c0f8ea0 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
Susanna Bowen
092b9e2243 Bug 727125 - Lazily compute LineBaselineOffset when needed so it is present after a dynamic change of 'text-decoration'. r=dbaron
This fixes the positioning of underlines set on a block or its ancestor
when drawn on children of a block that have a vertical-align !=
baseline.

The lazy computation is done all at once for all children of a block to
avoid O(N^2) searches for the line containing a frame.
2014-06-06 11:32:00 -04:00
Xidorn Quan
a854ae5c70 Bug 966166 - Part 6: Tests for @counter-style. r=jfkthame, r=davidb 2014-06-11 21:14:00 -04:00
Xidorn Quan
792d567136 Bug 966166 - Part 5: Move computation code with minor changes. r=dbaron
In addition to moving the code, this patch also:
* changes the square character from U+25AA to U+25FE to match the spec
* changes all the generating functions from using append to using assign
* removes negative handling from CJKIdeographicToText since it is no longer used there
* fixes indentation and naming conventions
* changes buffer size in DecimalToText
2014-06-11 21:13:00 -04:00
Xidorn Quan
fc0b9b51b4 Bug 966166 - Part 4: Rewrite some builtin counter styles. r=dbaron 2014-06-11 21:12:00 -04:00
Xidorn Quan
9755c01032 Bug 966166 - Part 3: Link to other parts. r=dbaron 2014-06-11 21:12:00 -04:00
Xidorn Quan
ceea63d7cb Bug 966166 - Part 2: Computation of counter style. r=dbaron 2014-06-11 21:11:00 -04:00
Xidorn Quan
b5700aeb25 Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz 2014-06-11 21:10:00 -04:00
Gijs Kruitbosch
879ab0f001 Bug 467442 - take transforms into account for popup placement, r=bz,f=tnikkel 2014-06-09 12:40:48 +01:00
Geoff Brown
bca7f1009b Bug 891347 - Disable layout/generic/crashtests/385526.html on Android 2.3, again, for intermittent failures 2014-06-10 09:44:02 -06:00
Geoff Brown
56e382aa58 Bug 982917 - Broaden expected assertion range for layout/forms/crashtests/378413-1.xhtml; r=dholbert 2014-06-10 09:44:01 -06:00
Geoff Brown
09dccb5e7a Bug 1021998 - Broaden expected assertion range for layout/generic/crashtests/1015563-1(2).html; r=dholbert 2014-06-10 09:44:01 -06:00
Geoff Brown
e6d725da88 Bug 982958 - Change expected assertion range for layout/generic/crashtests/798020-1.html on Android; r=dholbert 2014-06-10 09:44:01 -06:00
Jonathan Watt
1b16f1cd4a Bug 1018324 - Remove inIFlasher. r=roc 2014-06-10 07:02:21 +01:00
Cameron McCormack
3a1fd6f8c9 Bug 1017798 - Part 3: Crashtest. r=bzbarsky 2014-06-06 17:51:25 +10:00
Cameron McCormack
10b511a515 Bug 1017798 - Part 1: Make AncestorFilter and the TreeMatchContext style scope list include ancestors from following ShadowRoots up to the light tree. r=bzbarsky 2014-06-06 15:22:55 +10:00
Nathan Froyd
e96fd6233c Bug 1022785 - disable android snippets for reftests/crashtests/jsreftests; r=jmaher 2014-06-09 13:37:21 -04:00
Kartikaya Gupta
b7b8cadfe4 Bug 1018387 - Update various variables and comments to reflect the fact that the values are in layer pixels and not layout device pixels. r=Cwiiis 2014-06-09 14:02:39 -04:00
Ed Morley
8014af9b42 Backed out changeset 00c2ba04f8d4 (bug 879475) 2014-06-09 11:27:58 +01:00
"Kan-Ru Chen (陳侃如)"
2a5a821741 Bug 879475 - Part 007. Allow nested remote mozbrowsers to push layer transactions to the compositor r=mattwoodrow
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-09 16:49:12 +08:00
Neil Rashbrook
a068cc806f Bug 1018324 Add scrollElementIntoView to inIDOMUtils as inIFlasher is going away r=roc 2014-06-09 08:35:13 +01:00
Ryan VanderMeulen
9ed6718e94 Merge inbound to m-c. a=merge 2014-06-08 22:10:12 -04:00
Daniel Holbert
2f1de78ef7 Bug 1021992: Drop decl for never-defined function 'NS_NewVideoFrame'. r=cpearce 2014-06-08 15:36:58 -07:00
Ting-Yu Lin
14cd7b2f0d Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-07 08:49:00 -04:00
Ryan VanderMeulen
bea421e322 Bug 891840 - Disable test_pixel_lengths.html on all platforms for intermittent crashes.
CLOSED TREE
2014-06-07 01:08:16 -04:00
Botond Ballo
98f8d2f7d1 Bug 1014280 - Add a background color attribute to scrollable ContainerLayers. r=tn,BenWa
--HG--
extra : source : dff750e410e5f4e1ed019527ea17f37e53dd8fe6
2014-06-06 16:50:20 -04:00
Ryan VanderMeulen
66413e1aad Bug 981477 - Mark menclose-6 reftests as random on B2G OOP. 2014-06-08 13:08:10 -04:00
Gijs Kruitbosch
200918da62 Bug 467442 - take transforms into account for popup placement, r=bz,f=tnikkel
--HG--
extra : rebase_source : fd3acd246c9bee79feba59ac382048848b059866
2014-06-09 12:40:48 +01:00
Simon Montagu
fb0563b722 Mark line after a preformatted newline as dirty during bidi resolution. Bug 1015128, r=mats 2014-06-11 08:57:25 -07:00
Simon Montagu
bb0bb36de5 Back out wallpaper patch from bug 1007067 in favour of real fix from bug 1015128, r=mats 2014-06-11 08:57:24 -07:00
Markus Stange
f37ed7045a Bug 1023464 - Add support for the --setpref argument to mach reftest. r=gps 2014-06-11 14:44:42 +02:00
Daniel Holbert
1aa2afe367 Bug 1024875: Make reflow-related functions in nsFlexContainerFrame return void, now that Reflow returns void. r=mats 2014-06-13 08:37:02 -07:00
Benoit Girard
a7a199518a Bug 1024742 - show will-change on the display list dump. r=mattwoodrow 2014-06-13 11:32:15 -04:00
Nathan Froyd
da2e832762 Bug 1024588 - turn off useragent updates for tests, to avoid hitting the network; r=jmaher 2014-06-12 15:14:43 -04:00
Ting-Yu Lin
9636f6ed66 Bug 1020261 - Part 2: Enable touch caret sanity test on B2G. r=mdas 2014-06-12 23:02:00 -04:00
Ting-Yu Lin
90e0d3ccb6 Bug 1020261 - Part 1: Fix touch event handling for touch caret. r=roc
For touch events generated by marionette, the touch id is not started
from 0. Therefore, instead of getting the event position of touch id 0
directly in HandleTouchDownEvent(), we should loop over all the touch
ids to get their positions.
2014-06-12 22:58:00 -04:00
John Daggett
d1d8a41d67 Bug 1022481 - add reftest for no doc fonts case. r=heycam 2014-06-13 10:32:54 +09:00
John Daggett
1a88a3707e Bug 1022481 - handle -moz-fixed in the no doc fonts case correctly. r=heycam 2014-06-13 10:32:27 +09:00
"Kan-Ru Chen (陳侃如)"
0eedfd3ad4 Bug 879475 - Part 007. Allow nested remote mozbrowsers to push layer transactions to the compositor r=mattwoodrow
Based on original patch by David Zbarsky <dzbarsky@gmail.com>
2014-06-11 13:44:39 +08:00
Brian Birtles
48c86b1c33 Bug 1004365 part 5 - Add tests for zero-duration animations; r=dholbert 2014-06-11 14:19:08 +09:00
Brian Birtles
0872fec6d7 Bug 1004365 part 4 - Make nsAnimationManager.cpp no longer skip zero-duration animations; r=dholbert 2014-06-11 14:19:08 +09:00
Brian Birtles
9dbb01d24b Bug 1004365 part 3b.2 - Make ElementAnimation::GetComputedTimingAt handle zero-duration animations; r=dholbert
This patch adjusts GetComputedTimingAt to set the time fraction and current
iteration fields of the output computed timing correctly for animations with
zero iteration duration. Care must be taken to handle cases such as animations
that have zero duration but repeat infinitely.

The code is significantly re-arranged to more closely align with the naming and
algorithms defined in Web Animations.

A couple of tests in test_animations.html have been tweaked to account for
floating-point error. This is not because the new code is less precise but
actually the opposite. These tests fall on the transition point of step-timing
functions. The new code uses the closest possible floating-point representation
of these times which happens to cause them to fall on the opposite side of the
transition point.

For example, in evaluating a point 3s into a reversed interval the old code
would give us an intermediate time fraction of:

   0.29999999999999982

When we reverse that by subtracting from 1.0 we get: 0.70000000000000018

With the code in this patch we get an intermediate time fraction of:

   0.29999999999999999

When we reverse that by subtracting from 1.0 we get: 0.69999999999999996

Hence we fall on the opposite side of the transition boundary.
2014-06-11 14:19:08 +09:00
Brian Birtles
4073f0ca66 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
Wes Kocher
043bf47677 Merge m-c to inbound 2014-06-10 18:55:47 -07:00
Geoff Brown
71d50b8749 Bug 982915 - Use different expected assertion range for layout/base/crashtests/898913.html on Android; r=dholbert 2014-06-10 19:10:10 -06:00
Geoff Brown
7b2da1059b Bug 982961 - Use different expected assertion range for layout/generic/crashtests/847209.html on Android; r=dholbert 2014-06-10 19:10:10 -06:00
William Chen
6d093181ec Bug 1022741 - Use CrossShadowCurrentDoc() in Element::UpdateState. r=smaug 2014-06-10 14:41:31 -07:00
Botond Ballo
739c98b1cf Bug 1022381 - Enforce that strongly-typed geometric classes are used with a proper coordinate system tag type. r=kats 2014-06-10 12:43:52 -04:00
Markus Stange
50889e83e6 Bug 1021420 - Ensure that scrollable layers get a view ID created for them. r=tnikkel 2014-06-10 22:29:32 +02:00
Wes Kocher
8db97ea685 Merge inbound to m-c a=merge 2014-06-11 18:46:34 -07:00
Wes Kocher
d5dba9cecf Merge inbound to m-c a=merge 2014-06-11 18:23:43 -07:00
William Chen
67107a77f8 Bug 992521 - Part 5: Bind native anonymous content to null document when node is contained by a ShadowRoot. r=smaug 2014-06-07 01:42:55 -07:00
William Chen
62bea1e104 Bug 992521 - Part 4: Make PresShell events work when not in document, but contained by a ShadowRoot with a host in document. r=smaug 2014-06-07 01:42:54 -07:00
William Chen
0eff3949f3 Bug 992521 - Part 2: Make styles work when not in document, but contained by a ShadowRoot with a host in document. r=smaug 2014-06-07 01:42:54 -07:00
William Chen
5fa3c00da3 Bug 992521 - Part 1: Remove "in document" flag on ShadowRoot and its descendants. r=smaug 2014-06-07 01:42:53 -07:00
Ehsan Akhgari
d0ca596588 Bug 1013662 - Fix bad implicit conversion constructors in MFBT; r=froydnj,Waldo 2014-06-06 23:17:06 -04:00
Timothy Nikkel
db463ec37a Bug 1002992. Part 6. Rename ExpandRect to ExpandToNearlyVisibleRect. r=addressingreviewcomment 2014-06-06 21:23:22 -05:00
Timothy Nikkel
22019f0144 Bug 1002992. Part 5. Use a custom frame tree walker to find visible and almost visible images instead of using the heavier weight display list infrastructure. r=mats
This is about 3 or 4 times faster.
2014-06-06 21:23:21 -05:00
Timothy Nikkel
3d1560e2fc Bug 1002992. Part 4. Factor out the code that gets the presshell to use for painting of subdocuments. r=mats 2014-06-06 21:23:21 -05:00
Timothy Nikkel
12e35f8043 Bug 1002992. Part 3. Don't build the caret when building a display list for image visibility. r=mats
It's not needed and complicates things.
2014-06-06 21:23:21 -05:00
Timothy Nikkel
415fbefe7d Bug 1002992. Part 2. Handle display ports and ignore viewport scrolling for image visibility display lists the same way we do for painting display lists. r=mats 2014-06-06 21:23:20 -05:00
Timothy Nikkel
23be8f7934 Bug 1002992. Part 1. Don't bother to do text-overflow clipping when building display lists for image visibility. r=mats
It's not important to do and simplifies things.
2014-06-06 21:23:20 -05:00
Daniel Holbert
176e414851 Bug 1018449: Don't opportunistically stretch flex items to container's cross-size if the container is multi-line. r=mats 2014-06-06 15:55:58 -07:00
Markus Stange
d5b6168882 Bug 944938 - Pass scroll events to the APZC tree manager on the async event thread. r=smichaud 2014-06-07 00:49:59 +02:00
Jonathan Kew
f518f9e102 backout changeset 48b74ab18f92 (bug 1018034) due to MS Sans Serif regression with Thai system locale (see bug 1020826). 2014-06-06 22:41:07 +01:00
Ryan VanderMeulen
3c911cbb6d Merge inbound to m-c. a=merge 2014-06-06 17:18:45 -04:00
Ed Morley
30eb60b0b5 Merge mozilla-central and b2g-inbound 2014-06-06 19:12:21 +01:00
Ed Morley
498f99af0b Backed out changeset e982377e39a3 (bug 960897) since the new test_touchcaret.py intermittently fails 2014-06-06 18:14:43 +01:00
Ed Morley
a9110e1a75 Bug 1021644 - Disable forms/test/test_bug961363.html since it fails if run in a different mochitest chunk; CLOSED TREE 2014-06-06 11:40:06 +01:00
Wes Kocher
b0a1662491 Merge b2g-inbound to m-c a=merge 2014-06-05 18:49:36 -07:00
Ting-Yu Lin
fb667c5320 Bug 960897 - Add marionette test cases for touch caret. r=roc, r=mdas
Add marionette test cases for touch caret feature in bug 924692. Test
cases cover <input>, <textarea>, and contenteditable elements with
touch caret enabled and disabled.

Thanks Phoebe Chang <natsuki011077@gmail.com> for the WIP patch.
Thanks C.J. Ku <cku@mozilla.com> for various suggestions.

Run tests on browser manually:
./mach marionette-test layout/base/tests/marionette/test_touchcaret.py
2014-06-04 06:21:00 -04:00
Ms2ger
afc6eba030 Bug 1018778 - Part b: use more early returns in nsDocumentViewer::SyncParentSubDocMap; r=roc 2014-06-06 10:06:25 +02:00
Ms2ger
628dc8e079 Bug 1018778 - Part a: use nsPIDOMWindow::GetDoc in nsDocumentViewer::SyncParentSubDocMap; r=roc 2014-06-06 10:06:25 +02:00
Jeremy Poulin
ab83f7f8dd Bug 1016622: Renaming mozilla::network::Seer to mozilla::network Predictor. r=hurley
--HG--
rename : netwerk/base/public/nsINetworkSeer.idl => netwerk/base/public/nsINetworkPredictor.idl
rename : netwerk/base/public/nsINetworkSeerVerifier.idl => netwerk/base/public/nsINetworkPredictorVerifier.idl
rename : netwerk/base/src/Seer.cpp => netwerk/base/src/Predictor.cpp
rename : netwerk/base/src/Seer.h => netwerk/base/src/Predictor.h
rename : netwerk/test/unit/test_seer.js => netwerk/test/unit/test_predictor.js
2014-06-03 13:37:46 -07:00
Carsten "Tomcat" Book
4fc5491fb2 Backed out changeset 58541e1f52d2 (bug 1007743) 2014-06-04 08:55:33 +02:00
William Chen
a763f63c9e Bug 1007743 - Update flattened tree to correctly handle nodes distributed into Shadow DOM insertion points. r=smaug 2014-06-03 16:09:41 -07:00
Ryan VanderMeulen
9775f17a6d Merge m-c to inbound on a CLOSED TREE. 2014-06-03 17:51:31 -04:00
Ryan VanderMeulen
da7b6b04ae Merge m-c to b2g-inbound. a=merge
--HG--
rename : dom/telephony/gonk/TelephonyProvider.js => dom/telephony/gonk/TelephonyService.js
2014-06-03 15:22:54 -04:00
Boris Zbarsky
0579ef3fcd Bug 1016063. Don't include the fake classnames XUL tree pseudo-elements have when calculating style rule specificity. r=heycam 2014-06-03 11:38:38 -04:00
Vicamo Yang
a2515b9bfe Bug 927320 - 1/2: rename TelephonyProvider to TelephonyService. r=aknow
--HG--
rename : dom/telephony/gonk/TelephonyProvider.js => dom/telephony/gonk/TelephonyService.js
rename : dom/telephony/gonk/TelephonyProvider.manifest => dom/telephony/gonk/TelephonyService.manifest
rename : dom/telephony/ipc/TelephonyIPCProvider.cpp => dom/telephony/ipc/TelephonyIPCService.cpp
rename : dom/telephony/ipc/TelephonyIPCProvider.h => dom/telephony/ipc/TelephonyIPCService.h
rename : dom/telephony/nsIGonkTelephonyProvider.idl => dom/telephony/nsIGonkTelephonyService.idl
rename : dom/telephony/nsITelephonyProvider.idl => dom/telephony/nsITelephonyService.idl
2014-06-03 22:15:25 +08:00
Susanna Bowen
d6e4d34022 Bug 1019287 - Use accessor instead of private variable in ifdef'ed logging code. r=dholbert 2014-06-02 16:26:00 -04:00
Kartikaya Gupta
7d6eb03f73 Bug 1019888 - Log canvas background color when dumping display items. r=tn 2014-06-03 16:21:39 -04:00
Botond Ballo
978c93b8ec Bug 1019766 - Avoid including gfxPrefs.h from nsLayoutUtils.h. r=kats
--HG--
extra : rebase_source : de931f7f1fae64e8f59ae923aaf07c2742f372e0
2014-06-03 14:13:05 -04:00
Andrea Marchesini
b52b984135 Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv 2014-06-03 15:36:46 +01:00
Mats Palmgren
6539559550 Bug 1015844 - part 2, Add a call to ReflowOverflowContainerChildren() to reflow abs.pos. overflow containers. r=roc
nsColumnSetFrame puts true overflow containers on the principal child list
(which may then get pushed to the overflow list), but overflow containers
for abs.pos. children still go on the kOverflowContainersList and
kExcessOverflowContainersList lists as usual.
2014-06-03 14:17:14 +00:00
Mats Palmgren
37941c64b7 Bug 1015844 - part 1, Only force the search to normal flow child lists for true overflow containers. r=roc 2014-06-03 14:17:14 +00:00
Markus Stange
c58035b973 Bug 1018461 - Allow active scrolling inside SVG. Should give a big tscrollx win. r=roc 2014-06-03 15:55:58 +02:00
Markus Stange
76591e3d9d Bug 1018464 - Make ContainerState::FindOpaqueBackgroundColorFor look through holes in display items. r=roc
--HG--
extra : rebase_source : 69d82381327e1114a6264d5ed360dd16aca39166
2014-06-03 14:50:42 +02:00
Markus Stange
ce54e84ba5 Bug 1018464 - Add nsDisplayItem::IsInvisibleInRect API to expose holes in display items. r=roc
--HG--
extra : rebase_source : 9f362283113c0ce925ca81c3613ac8c6d19dfebe
2014-06-03 14:48:16 +02:00
Markus Stange
596dea468a Bug 1018309 - Make the forced scrollbar layerization from bug 1016535 really only kick in for actual overlay scrollbars. r=roc
--HG--
extra : rebase_source : 525c4e242f28af85ad7c0f6cae8f2f4083b01d7d
2014-06-03 14:47:27 +02:00
Phoebe Chang
2204a7ac2f Bug 924692 - Part 4: Hooks up event handling to TouchCaret; r=roc, bugs 2014-06-03 15:08:54 +08:00
Phoebe Chang
35e1de7e23 Bug 924692 - Part 3: Add TouchCaret; r=roc, bugs 2014-06-03 15:08:45 +08:00
Phoebe Chang
2bab93ff73 Bug 924692 - Part 2: Add TransformPoint and TransformRect to nsLayoutUtils; r=roc 2014-06-03 15:08:37 +08:00
Phoebe Chang
4d2bf9e76b Bug 924692 - Part 1: Add touch caret rendering support; r=roc 2014-06-03 15:08:25 +08:00
Daniel Holbert
7f8577fcb8 Bug 1015563: Soften flexbox assertion that can fail from integer overflow. r=mats 2014-06-02 15:15:23 -07:00
Daniel Holbert
99e49e9c5a Bug 1015482 part 2: Adjust sizes in some flexbox reftests so that min-width:auto won't affect their rendering. r=mats 2014-06-02 15:15:13 -07:00
Daniel Holbert
01dd94696a Bug 1015482 part 1: Add 'min-width: 0' to some reftest files that have flex items with intentionally-overflowing contents. r=mats 2014-06-02 15:15:12 -07:00
Robert O'Callahan
1170aff6dd Bug 1005588. Fix getBoxQuads test to work when the feature prefs are disabled by default. r=matspal
--HG--
extra : rebase_source : fd13c824c8eb70e87c1926f1c8d1a6520203988d
2014-06-03 13:54:20 +12:00
John Daggett
267b9fac76 Bug 280443 p5 - fixup problem with MathML stretchy fallback. r=fredw 2014-06-06 15:09:24 +09:00
John Daggett
ebf08c0266 Bug 280443 p4 - properly escape unquoted font family names. r=heycam 2014-06-06 15:09:24 +09:00
John Daggett
2ee6606229 Bug 280443 p3 - use fontlist struct in gfx. r=roc,fredw 2014-06-06 15:09:23 +09:00
John Daggett
3b6d3045d3 Bug 280443 p2 - parse font family lists into fontlist structs. r=heycam 2014-06-06 15:09:23 +09:00
Brian Birtles
ed0ad0fb06 Bug 77992 part 1.0 - Add timeStamp to WidgetEvent; r=smaug
This patch adds a timeStamp member to WidgetEvent alongside the existing 'time'
member. In the future we would like to remove 'time' and just keep timeStamp but
that depends on it being web-compatible. For now we introduce both members
side-by-side. Later we will add a pref to determine which one to return. If no
compatibility issues arise we will remove 'time' altogether.
2014-06-06 14:29:49 +09:00
Wes Kocher
af4e90e4d6 Merge m-c to inbound on a CLOSED TREE 2014-06-05 19:14:19 -07:00
William Chen
22d55fe8ae Bug 1007743 - Update flattened tree to correctly handle nodes distributed into Shadow DOM insertion points. r=smaug 2014-06-05 11:39:25 -07:00
Jonathan Kew
ca16b0455a bug 1020143 - prefer tabular numerals for list numbering. r=jdaggett 2014-06-05 11:15:26 +01:00
Ehsan Akhgari
39d8cd9120 Merge m-c into m-i 2014-06-02 10:22:11 -04:00
Ehsan Akhgari
abc36676df Backed out 3 changesets (bug 957086) for causing bug 1018406
Backed out changeset f8b6dab2f985 (bug 957086)
Backed out changeset b69bcaa24ab5 (bug 957086)
Backed out changeset 3b45335d4694 (bug 957086)

--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-06-02 10:19:19 -04:00
Robert O'Callahan
09ef88935a Bug 1015664. Part 4: Remove NS_HIDDEN in a few miscellaneous places. r=bsmedberg 2014-06-03 00:08:29 +12:00
Robert O'Callahan
b3cf47b176 Bug 1015664. Part 2: Remove some NS_HIDDEN usage. r=bsmedberg 2014-06-03 00:08:24 +12:00
Robert O'Callahan
915297325e Bug 1015664. Part 1: Remove NS_HIDDEN_() usage. r=bsmedberg 2014-06-03 00:08:21 +12:00
Jonathan Kew
285095b7e5 bug 1018805 - reftest for Irish lowercasing behavior. rs=smontagu 2014-06-02 12:51:09 +01:00
Jonathan Kew
479784d443 bug 1018805 - implement custom lowercasing behavior for Irish. r=smontagu 2014-06-02 12:48:01 +01:00
Jonathan Kew
03c28de7d6 bug 1014639 - part 3 - reftest for Irish uppercasing rules. r=smontagu 2014-06-01 23:18:39 +01:00
Jonathan Kew
c3e098822d bug 1014639 - part 2 - use IrishCasing in nsCaseTransformTextRunFactory::TransformString to provide correct Irish uppercasing. r=smontagu 2014-06-01 23:18:03 +01:00
Jonathan Kew
a1fec56f72 bug 1014639 - part 0 - (preliminary cleanup) split GreekCasing out into its own file to reduce clutter in nsUnicharUtils.cpp. r=smontagu 2014-06-01 23:17:41 +01:00
Phil Ringnalda
cb35da9c6d Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
928e1cef59 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Andrew Halberstadt
5cd66b5248 Bug 1017488 - Change reftests/flexbox/flexbox-inlinecontent-horiz-3c.xhtml from fails to random on B2G emulator, r=dholbert 2014-05-30 11:10:37 -04:00
Carsten "Tomcat" Book
9d560a377b Merge mozilla-central to b2g-inbound 2014-05-30 14:51:43 +02:00
Ms2ger
1524450324 Merge mozilla-inbound to mozilla-central. 2014-05-30 14:07:35 +02:00
Xidorn Quan
eb6dcbb235 Bug 1013160 - Remove padding suppressing mechanism of bullet. r=jfkthame,surkov 2014-05-30 09:00:26 +01:00
Jonathan Kew
b989749073 bug 1017335 - reftest for spacing between bullet and list item in <ul>. r=mats 2014-05-30 08:59:50 +01:00
Ms2ger
8775440177 Bug 741295 - Treat 'id' and 'class' as global attributes for all elements; r=bz 2014-05-30 09:36:53 +02:00