Commit Graph

41145 Commits

Author SHA1 Message Date
Xidorn Quan
b0f48b5c88 Bug 1025359 - Correct -moz-tamil according to Predefined Counter Styles. r=jfkthame 2014-06-13 17:01:00 +02:00
Xidorn Quan
a84079e422 Bug 985825 - Unprefix -moz-ethiopic-numeric. r=jfkthame 2014-06-13 17:37:00 +02:00
Xidorn Quan
603c17d06a Bug 982355 - Support disclosure-{open,closed} counter styles. r=jfkthame 2014-06-13 17:34:00 +02:00
Andrew McCreight
2c4d470420 Bug 1025170 - Selection::Modify should return on failure. r=bz 2014-06-14 16:43:46 -07:00
Mats Palmgren
7dbcfb5a5a Bug 427928 - part 6, reftest for outline:auto. 2014-06-14 12:48:08 +00:00
Mats Palmgren
da55af8807 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
e5d483a47c Bug 427928 - part 1, Treat outline:auto as outline:solid. r=roc 2014-06-14 12:48:07 +00:00
"Kan-Ru Chen (陳侃如)"
888082a108 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
8f1cf755a9 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
1416242684 Merge inbound to m-c a=merge 2014-06-13 17:00:46 -07:00
Chris Lord
ffcda6a27d Bug 1006084 - Allow ThebesLayers to be recreated when the creation hint changes. r=mattwoodrow 2014-06-13 17:11:08 +01:00
Andrew Halberstadt
2aa6a20e6b Bug 981477 - Adjust wrongfully annotated b2g oop reftests from fails to random, r=edmorley 2014-06-13 10:05:52 -04:00
Ryan VanderMeulen
0645a74aa3 Merge m-c to inbound on a CLOSED TREE. a=merge 2014-06-12 17:32:33 -04:00
Ryan VanderMeulen
0128970fd2 Bug 1019441 - Skip test_selectioncarats on Windows. a=permafail 2014-06-12 16:05:58 -04:00
Ed Morley
e9af0f26e9 Merge mozilla-central and b2g-inbound 2014-06-12 16:02:18 +01:00
John Daggett
b3bdebe6e5 No bug. Add FiraSans Regular to reftest fonts, no effect on build. r=me 2014-06-12 16:15:38 +09:00
Brian Birtles
72cf77230c 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
da8fce7eea 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
d73c4f0840 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
249b534672 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
dd9b7eee62 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
4e4bfaf98f 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
eaabbd322b 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
11ab984348 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
28571a4627 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
ae3dab62d4 Bug 1023618 - Always call FlushRendering in the reftest harness. r=roc 2014-06-11 20:21:08 -07:00
Wes Kocher
b9d1bf909f Merge m-c to inbound 2014-06-11 18:38:53 -07:00
Ed Morley
63eff9d511 Merge mozilla-central and b2g-inbound 2014-06-11 18:06:52 +01:00
Daniel Holbert
a8e9a7e70c backout 703d26e9d979 (Bug 1024084) for Android bustage, on a CLOSED TREE 2014-06-11 16:10:29 -07:00
Jonathan Watt
0f23c6cd87 Bug 1024138 - Remove the GetPresShell() and GetPresContext() methods from nsFrameManager. r=dholbert 2014-06-11 23:38:17 +01:00
Daniel Holbert
6e81212944 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
d4dc8d8c50 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
730ae601c6 Bug 1016680, part 3 - DeCOMify nsGenConNode::mText. r=dholbert 2014-06-11 23:11:15 +01:00
Jonathan Watt
252a891943 Bug 1018324 - Restore inIFlasher, but with drawElementOutline and repaintElement as no-ops. r=bz 2014-06-11 21:29:15 +01:00
Olli Pettay
0040a9cd76 Bug 1023280 - Rename dictionary.ToObject to ToObjectInternal, r=bz 2014-06-11 22:38:55 +03:00
Ed Morley
7e26c3a802 Backed out changeset 21a9c0fde1db (bug 467442) for crashes 2014-06-11 18:06:44 +01:00
Ting-Yu Lin
583c467b2f 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
f1578378b0 Merge b2g-inbound to m-c a=merge 2014-06-10 18:37:54 -07:00
Jonathan Watt
c01ce807e8 Bug 989230 follow-up to increase fuzziness for reftest on Windows. r=orange 2014-06-11 12:14:19 +01:00
Jonathan Watt
d66709e471 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
990301afdd 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
ca20e365ef Replace Get/SetTopAscent with Get/SetBlockStartAscent. Bug 789096, r=jfkthame 2014-06-11 02:45:31 -07:00
Jonathan Watt
c175ad5281 Bug 989230 reftest - Test that gradient spreadMethod=reflect works. r=longsonr 2014-06-11 10:38:44 +01:00
Ryan VanderMeulen
ef5df098cd 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
dd76b7d29d 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
74116ed31d 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
8af5e719cd 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
633da5d8cc No bug. Add Fira Sans to reftest fonts, no effect on build. r=me 2014-06-11 16:32:53 +09:00
Jonathan Watt
c31782ccae 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
6acfa3e394 Merge m-c to inbound on a CLOSED TREE. 2014-06-12 14:56:35 -04:00
Ryan VanderMeulen
6ad0691f7e Backed out changesets d0ee7053aaf3 and c83f17cd74be (bug 727125) for B2G reftest failures.
CLOSED TREE
2014-06-12 14:45:40 -04:00
Daniel Holbert
901461ddb7 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
bfe9ba9d94 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
54022443a3 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
5b17a8fc75 Bug 966166 - Part 6: Tests for @counter-style. r=jfkthame, r=davidb 2014-06-11 21:14:00 -04:00
Xidorn Quan
1f715fcecd 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
a711bc7355 Bug 966166 - Part 4: Rewrite some builtin counter styles. r=dbaron 2014-06-11 21:12:00 -04:00
Xidorn Quan
c011970f03 Bug 966166 - Part 3: Link to other parts. r=dbaron 2014-06-11 21:12:00 -04:00
Xidorn Quan
4831f428cc Bug 966166 - Part 2: Computation of counter style. r=dbaron 2014-06-11 21:11:00 -04:00
Xidorn Quan
96a68ed4e1 Bug 966166 - Part 1: Parse @counter-style rule. r=dbaron, r=bz 2014-06-11 21:10:00 -04:00
Gijs Kruitbosch
84ebacb736 Bug 467442 - take transforms into account for popup placement, r=bz,f=tnikkel 2014-06-09 12:40:48 +01:00
Geoff Brown
d544d5a7d2 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
166f84dea1 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
91ad3ff444 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
bc3f15bc9c 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
03cb023649 Bug 1018324 - Remove inIFlasher. r=roc 2014-06-10 07:02:21 +01:00
Cameron McCormack
1eb6e77616 Bug 1017798 - Part 3: Crashtest. r=bzbarsky 2014-06-06 17:51:25 +10:00
Cameron McCormack
9a75e854c1 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
c37ab000b0 Bug 1022785 - disable android snippets for reftests/crashtests/jsreftests; r=jmaher 2014-06-09 13:37:21 -04:00
Kartikaya Gupta
0d3a73d431 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
1a2a5823a1 Backed out changeset 00c2ba04f8d4 (bug 879475) 2014-06-09 11:27:58 +01:00
"Kan-Ru Chen (陳侃如)"
918148404e 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
47e0580a88 Bug 1018324 Add scrollElementIntoView to inIDOMUtils as inIFlasher is going away r=roc 2014-06-09 08:35:13 +01:00
Ryan VanderMeulen
1a316f5d4f Merge inbound to m-c. a=merge 2014-06-08 22:10:12 -04:00
Daniel Holbert
0a2850740d Bug 1021992: Drop decl for never-defined function 'NS_NewVideoFrame'. r=cpearce 2014-06-08 15:36:58 -07:00
Ting-Yu Lin
129535f3e3 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
299c80e283 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
727b1998f8 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
2a16da2652 Bug 981477 - Mark menclose-6 reftests as random on B2G OOP. 2014-06-08 13:08:10 -04:00
Gijs Kruitbosch
ef353be5a0 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
961881d5da 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
90cb8f2dd9 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
baf27cdb55 Bug 1023464 - Add support for the --setpref argument to mach reftest. r=gps 2014-06-11 14:44:42 +02:00
Daniel Holbert
d6254c995e 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
2ba3accee9 Bug 1024742 - show will-change on the display list dump. r=mattwoodrow 2014-06-13 11:32:15 -04:00
Nathan Froyd
32bd637ccc 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
0e464a2122 Bug 1020261 - Part 2: Enable touch caret sanity test on B2G. r=mdas 2014-06-12 23:02:00 -04:00
Ting-Yu Lin
a1ed7482f0 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
ae52da58ae Bug 1022481 - add reftest for no doc fonts case. r=heycam 2014-06-13 10:32:54 +09:00
John Daggett
c0051b7e8a 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 (陳侃如)"
cb1a5a5562 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
2086f1b512 Bug 1004365 part 5 - Add tests for zero-duration animations; r=dholbert 2014-06-11 14:19:08 +09:00
Brian Birtles
693e219c99 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
5b6d05e7f8 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
3b4d311452 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
934871f3a2 Merge m-c to inbound 2014-06-10 18:55:47 -07:00
Geoff Brown
d0860ecabe 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
2d02cefd33 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
4118b653d4 Bug 1022741 - Use CrossShadowCurrentDoc() in Element::UpdateState. r=smaug 2014-06-10 14:41:31 -07:00
Botond Ballo
14c54cd3c3 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
86d79d99f5 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
42ab217b5b Merge inbound to m-c a=merge 2014-06-11 18:46:34 -07:00
Wes Kocher
709cdab11c Merge inbound to m-c a=merge 2014-06-11 18:23:43 -07:00
William Chen
00bef8c70a 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
d5a9346ba8 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
416f36b0de 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
603c74dbeb 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
8b30e40485 Bug 1013662 - Fix bad implicit conversion constructors in MFBT; r=froydnj,Waldo 2014-06-06 23:17:06 -04:00
Timothy Nikkel
2d4f5b7712 Bug 1002992. Part 6. Rename ExpandRect to ExpandToNearlyVisibleRect. r=addressingreviewcomment 2014-06-06 21:23:22 -05:00
Timothy Nikkel
91256bfbc7 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
b7c7eada6e 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
d36dde1982 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
ad28cfc802 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
b92f05ed72 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
7fcd2f5c25 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
1e0903dbed 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
3022454dd2 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
7f662cd774 Merge inbound to m-c. a=merge 2014-06-06 17:18:45 -04:00
Ed Morley
d791ee02f0 Merge mozilla-central and b2g-inbound 2014-06-06 19:12:21 +01:00
Ed Morley
28d36524ec Backed out changeset e982377e39a3 (bug 960897) since the new test_touchcaret.py intermittently fails 2014-06-06 18:14:43 +01:00
Ed Morley
7baf52d7b8 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
1972488853 Merge b2g-inbound to m-c a=merge 2014-06-05 18:49:36 -07:00
Ting-Yu Lin
3d1fb8c249 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
c52225d272 Bug 1018778 - Part b: use more early returns in nsDocumentViewer::SyncParentSubDocMap; r=roc 2014-06-06 10:06:25 +02:00
Ms2ger
373c13b4dd Bug 1018778 - Part a: use nsPIDOMWindow::GetDoc in nsDocumentViewer::SyncParentSubDocMap; r=roc 2014-06-06 10:06:25 +02:00
Jeremy Poulin
21428535f7 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
2e97d854e8 Backed out changeset 58541e1f52d2 (bug 1007743) 2014-06-04 08:55:33 +02:00
William Chen
b4290f2bb8 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
fc3f9b2b3c Merge m-c to inbound on a CLOSED TREE. 2014-06-03 17:51:31 -04:00
Ryan VanderMeulen
8d0739d241 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
88aef1f5fa 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
cff89f3dbc 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
ba0f6cdd21 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
a4a3fd7711 Bug 1019888 - Log canvas background color when dumping display items. r=tn 2014-06-03 16:21:39 -04:00
Botond Ballo
328066636f 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
095068b4df Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv 2014-06-03 15:36:46 +01:00
Mats Palmgren
1d0b2b5072 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
91b5dc8a77 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
6ba3b68cc1 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
9aa68b0bc5 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
81714ca17f 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
c26d84b83e 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
4286f5c0d3 Bug 924692 - Part 4: Hooks up event handling to TouchCaret; r=roc, bugs 2014-06-03 15:08:54 +08:00
Phoebe Chang
2bcba7c1cc Bug 924692 - Part 3: Add TouchCaret; r=roc, bugs 2014-06-03 15:08:45 +08:00
Phoebe Chang
0d6163380e Bug 924692 - Part 2: Add TransformPoint and TransformRect to nsLayoutUtils; r=roc 2014-06-03 15:08:37 +08:00
Phoebe Chang
a37fc5efe4 Bug 924692 - Part 1: Add touch caret rendering support; r=roc 2014-06-03 15:08:25 +08:00
Daniel Holbert
266dec496f Bug 1015563: Soften flexbox assertion that can fail from integer overflow. r=mats 2014-06-02 15:15:23 -07:00
Daniel Holbert
70e115555a 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
96b4def09f 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
a287b0ecdb 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