Andrea Marchesini
21d0e1aef4
Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv
2014-05-30 07:59:27 +01:00
L. David Baron
5283475055
Back out changeset 9bd21ab86f78 (bug 1013160) due to regression (bug 1017335).
2014-05-28 18:11:41 -07:00
Mats Palmgren
f13d6efb21
Bug 1015562 - [css-grid] Add a missing grid container check. Add a convenience function to check for flex/grid container frames and use that throughout this file. r=dholbert
2014-05-28 23:16:18 +00:00
Matt Woodrow
511e8b47be
Bug 854421 - Part 11: Use rAF instead of setTimeout in a test. r=roc
2014-05-29 09:45:23 +12:00
Matt Woodrow
43d5066053
Bug 854421 - Part 10: Resume the refresh driver if we miss too many ticks. r=vlad
2014-05-29 09:45:06 +12:00
Matt Woodrow
58a93da0d3
Bug 854421 - Part 9: Send DidComposite during ClientLayerManager destruction. r=roc
2014-05-29 09:44:30 +12:00
Matt Woodrow
c9c9b9cb80
Bug 854421 - Part 8: Try find a 'root' refresh driver to see if it's blocked. r=vlad
2014-05-29 09:43:41 +12:00
Matt Woodrow
de268276b8
Bug 854421 - Part 7: Allocate and return transaction id's from the refresh driver when using OMTC to prevent over-production. r=roc
2014-05-29 09:43:39 +12:00
Matt Woodrow
28f6a2355c
Bug 854421 - Part 6: Add gfx API for allocating transaction ids. r=roc
2014-05-29 09:42:17 +12:00
Matt Woodrow
2d0c4e51fe
Bug 854421 - Part 5: Add nsRefreshDriver API to track which transactions have completed composition. r=vlad
2014-05-29 09:42:17 +12:00
Matt Woodrow
0b96d88ae5
Bug 854421 - Part 4: Flush out of date animations even if async animations are disabled since they could also be throttled by the refresh driver. r=dbaron
2014-05-29 09:42:16 +12:00
Matt Woodrow
fbcf96b65f
Bug 854421 - Part 3: Add a way to detect PLayerTransaction objects that exist only for testing and won't composite. r=nical
2014-05-29 09:42:16 +12:00
Matt Woodrow
345fc54583
Bug 854421 - Part 1: Add a transaction id number to DidComposite. r=nical
2014-05-29 09:42:14 +12:00
Kilik Kuo
0fc3783ca7
Bug 942032 - Add singleton pattern to AudioManager and avoid accessing it from content processes. r=mchen
2014-05-28 14:19:22 +08:00
Jared Wein
9e826b014f
Bug 1016415 - Only iterate into the children of <menugroup> if there are children. r=enndeakin
2014-05-27 12:16:00 -04:00
Matt Woodrow
96eb63a9a9
Bug 854421 - Part 11: Use rAF instead of setTimeout in a test. r=roc
2014-05-29 09:45:23 +12:00
Matt Woodrow
2036c6d1a8
Bug 854421 - Part 10: Resume the refresh driver if we miss too many ticks. r=vlad
2014-05-29 09:45:06 +12:00
Matt Woodrow
89a53598b1
Bug 854421 - Part 9: Send DidComposite during ClientLayerManager destruction. r=roc
2014-05-29 09:44:30 +12:00
Matt Woodrow
795c2136c0
Bug 854421 - Part 8: Try find a 'root' refresh driver to see if it's blocked. r=vlad
2014-05-29 09:43:41 +12:00
Matt Woodrow
d78f4156e4
Bug 854421 - Part 7: Allocate and return transaction id's from the refresh driver when using OMTC to prevent over-production. r=roc
2014-05-29 09:43:39 +12:00
Matt Woodrow
8b3992ab79
Bug 854421 - Part 6: Add gfx API for allocating transaction ids. r=roc
2014-05-29 09:42:17 +12:00
Matt Woodrow
bd4c48f570
Bug 854421 - Part 5: Add nsRefreshDriver API to track which transactions have completed composition. r=vlad
2014-05-29 09:42:17 +12:00
Matt Woodrow
563a383a1e
Bug 854421 - Part 4: Flush out of date animations even if async animations are disabled since they could also be throttled by the refresh driver. r=dbaron
2014-05-29 09:42:16 +12:00
Matt Woodrow
e9ea25188e
Bug 854421 - Part 3: Add a way to detect PLayerTransaction objects that exist only for testing and won't composite. r=nical
2014-05-29 09:42:16 +12:00
Matt Woodrow
b61c593824
Bug 854421 - Part 1: Add a transaction id number to DidComposite. r=nical
2014-05-29 09:42:14 +12:00
Wes Kocher
036a88c38e
Merge m-c to inbound
2014-05-29 18:03:39 -07:00
Brian Birtles
05f227606f
Bug 1007513 - Make AnimationEvent.elapsedTime report the actual time the animation has been running; r=dholbert
...
This patch implements the behavior proposed in:
http://lists.w3.org/Archives/Public/www-style/2014May/0356.html
2014-05-30 09:45:39 +09:00
L. David Baron
581f9bc30a
Bug 989802 - Round viewport units to appunits using trunc rather than round so that repeated uses fit within a container. r=roc
...
viewport-units-rounding-1.html fails without the patch and passes with
the patch.
viewport-units-rounding-2.html fails with an early version of the patch
but not without the patch or with the final version.
2014-05-29 17:43:06 -07:00
Robert Longson
289ee87838
Bug 1016440 - Stop crashing when failing to allocate draw targets. r=jwatt
2014-05-31 11:26:04 +01:00
Masatoshi Kimura
41e75a3dbc
Bug 1018034 - Remove the "gfx.font_rendering.harfbuzz.scripts" pref. r=jfkthame
2014-05-31 15:11:29 +09:00
Michael Wu
9e075daedc
Bug 994081 - [2/3] Convert imgFrame to SourceSurfaces, r=seth
2014-04-19 21:28:38 -04:00
Ed Morley
fa32178d65
Backed out changeset 7a0d8feb1575 (bug 774388) for build failures during startup cache precompilation; CLOSED TREE
2014-06-06 16:01:43 +01:00
Benoit Jacob
c0944ebe5b
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
Chris Lord
d0ad5d7a62
Bug 988511 - Allow fixed position items to fully occlude displayport items. r=tn
...
We don't allow fixed position items to occlude display-ports, but we should if
they fully occlude the scroll-position scroll clamping port of the displayport
frame.
2014-06-06 12:00:34 +01:00
Ed Morley
ecb14c77ee
Backed out changeset 70713dd1ee5e (bug 1020143) for B2G reftest failures in counter-suffix.html; CLOSED TREE
2014-06-05 15:47:53 +01:00
Cameron McCormack
8311e3a117
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
Morris Tseng
5d9e036945
Bug 987718 - Part 6: Hooks up SelectionCaret; r=roc
2014-06-04 22:58:00 +02:00
Morris Tseng
e0ddfe5e18
Bug 987718 - Part 5: Add SelectionCarets; r=roc
2014-06-04 22:57:00 +02:00
Morris Tseng
827dd43f44
Bug 987718 - Part 2: Expose GetHintForPosition to nsFrameSelection; r=roc
2014-06-04 22:53:00 +02:00
Morris Tseng
288b4d9f41
Bug 987718 - Part 1: Add FirstAndLastRectCollector to nsLayoutUtils; r=roc
2014-06-04 22:53:00 +02:00
Jonathan Kew
b4a19e8b99
bug 1020143 - prefer tabular numerals for list numbering. r=jdaggett
2014-06-05 11:15:26 +01:00
Simon Montagu
efc2140fbb
Add a WritingMode argument to nsHTMLReflowMetrics::ISize() and BSize(). Bug 789096, r=jfkthame
2014-06-05 02:39:36 -07:00
Jonathan Watt
13680dbe8c
Bug 1016145 - Load the non-SVG user-agent style sheets for non-SVG documents served as image/svg+xml. r=bz
...
--HG--
extra : rebase_source : e48c0a6041a38fd1d056ad510268c5df23bf225e
2014-06-05 01:01:39 +01:00
Daniel Holbert
3737ca9d91
Bug 864005: Remove mentions of & checks for 'layout.css.supports-rule.enabled' pref. r=heycam r=khuey
2014-06-04 21:07:07 -07:00
Markus Stange
92945b98e7
Bug 1013392 - Initialize the new nsDisplayListBuilder fields.
2014-06-04 21:18:20 +02:00
Xidorn Quan
877d511343
Bug 1013160 - Remove padding suppressing mechanism of bullet. r=surkov, r=jfkthame
2014-05-27 18:09:00 -04:00
Mats Palmgren
37da7d1622
Bug 1015781 - part 11, Add more assertions in nsTableOuterFrame::SetInitialChildList/AppendFrames/InsertFrames. r=roc
2014-05-28 19:36:59 +00:00
Mats Palmgren
4205141894
Bug 1015781 - part 10, Make nsHTMLButtonControlFrame::AppendFrames/InsertFrames/RemoveFrame DEBUG only. r=roc
2014-05-28 19:36:59 +00:00
Mats Palmgren
2f10105862
Bug 1015781 - part 9, Make nsFieldSetFrame::SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame DEBUG only. r=roc
2014-05-28 19:36:59 +00:00
Mats Palmgren
025cb36c63
Bug 1015781 - part 8, Make nsTableCellFrame::AppendFrames/InsertFrames/RemoveFrame DEBUG only. r=roc
2014-05-28 19:36:59 +00:00
Mats Palmgren
9d4e33c505
Bug 1015781 - part 7, Remove code for handling kAbsoluteList in nsBlockFrame::AppendFrames/InsertFrames/RemoveFrame (it's dead code). Make AppendFrames also handle kNoReflowPrincipalList, for symmetry with InsertFrames/RemoveFrame. r=roc
2014-05-28 19:36:59 +00:00
Mats Palmgren
0aa4c77503
Bug 1015781 - part 6, Make nsViewportFrame::SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame DEBUG only. r=roc
2014-05-28 19:36:59 +00:00
Mats Palmgren
16e5742424
Bug 1015781 - part 5, Make nsCanvasFrame::SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame DEBUG only. r=roc
2014-05-28 19:36:59 +00:00
Mats Palmgren
b6577db002
Bug 1015781 - part 4, Make nsColumnSetFrame::SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame DEBUG only and assert that the latter three are not called. r=roc
2014-05-28 19:36:58 +00:00
Mats Palmgren
6ae2bb8863
Bug 1015781 - part 3, Fix whitespace and comments, and move some SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame methods so that they are together in the file. r=roc
2014-05-28 19:36:58 +00:00
Mats Palmgren
f08f841973
Bug 1015781 - part 1+2, Make the SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame methods return void (scripted change). Remove code handling the return values. r=roc
2014-05-28 19:36:58 +00:00
Kartikaya Gupta
cec776a136
Bug 1016260 - Label images as (TEST) or (REFERENCE) from the reftest log output. r=dbaron
2014-05-28 15:07:45 -04:00
Kartikaya Gupta
60ccec6ff6
Bug 1016251 - Ignore logcat output when parsing log. r=dbaron
2014-05-28 15:07:43 -04:00
Ed Morley
09ce066d03
Backed out changeset 827fe00eecc7 (bug 1013392) for reftest failures on Windows; CLOSED TREE
2014-05-28 18:20:09 +01:00
Markus Stange
43a4cda619
Bug 1013392 - Put APZ scrollbar annotations on the scrollbar thumb. r=roc
2014-05-28 16:14:43 +02:00
Markus Stange
75e2e674b2
Bug 1012797 - Speed up rendering of linear gradients when only painting the uniform color beyond the gradient edge. r=roc
2014-05-28 16:14:42 +02:00
Markus Stange
36d8d912bd
Bug 1016569 - For 10.7 non-overlay scrollbars, draw the scrollbar track and the scrollbar thumb separately. r=smichaud
2014-05-28 15:22:16 +02:00
Ed Morley
857d6c4a5b
Backed out changeset f6395f17c99f (bug 960897) for intermittent test failures
2014-06-10 18:03:30 +01:00
Nikhil Marathe
fc4217adba
Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan
2013-11-19 15:15:02 -08:00
Ryan VanderMeulen
f97a6f77b4
Backed out changesets 083b9fb75e9a, 4cbc8cf0b619, and ef379607cff7 (bug 957086) for Win7/Win8 debug mochitest crashes.
...
--HG--
rename : dom/datastore/DataStoreImpl.js => dom/datastore/DataStoreImpl.jsm
2014-05-29 13:22:57 -04:00
Kartikaya Gupta
47a8525c38
Bug 1016222 - Ensure async-scroll-1b is run with low-precision painting disabled. r=Cwiiis
2014-05-29 12:47:42 -04:00
Kartikaya Gupta
38429c97b7
Bug 1016222 - Fuzz a few tests for progressive painting. r=jwatt
2014-05-29 12:47:42 -04:00
Andrea Marchesini
28ba788770
Bug 957086 - patch 2 - DataStoreService in C++, r=ehsan, r=bz, r=janv
2014-05-29 16:34:43 +01:00
Mats Palmgren
9dddc1e1c9
Bug 1007067 - Adding a reftest. r=smontagu
2014-05-29 15:15:14 +00:00
Markus Stange
9873d00571
Bug 1016971 - Remove unncessary clipping to the displayport. r=tn
2014-05-29 14:12:58 +02:00
Nikhil Marathe
38e0d68766
Bug 984048: Part 1 - ServiceWorkerManager Register(). r=ehsan
2013-11-19 15:15:02 -08:00
Ryan VanderMeulen
ec23774cc2
Merge m-c to inbound on a CLOSED TREE.
2014-05-30 16:24:45 -04:00
John Schoenick
ef46541290
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
John Schoenick
7cdd7c1e6b
Bug 870021 - Part 5.2 - Ask content to compute its intrinsic size in nsImageFrame. r=roc
2014-05-30 13:03:07 -07:00
Markus Stange
164d699aff
Fix a typo in a comment in ContainerState::FindThebesLayerFor. No bug, r=typo
2014-06-04 14:44:28 +02:00
Markus Stange
7e5c225100
Bug 944938 - Move the layers.async-pan-zoom.enabled pref to gfxPrefs and make it override the apz subframe pref when false. r=kats
2014-06-03 15:39:44 +02:00
Markus Stange
77db589b6c
Bug 1019737 - Only layerize the scrollbar thumb if the target scroll frame has active scrolling. r=roc
2014-06-04 14:44:26 +02:00
Markus Stange
9038c72547
Bug 1013392 - Put APZ scrollbar annotations on the scrollbar thumb. r=roc
2014-06-04 14:44:26 +02:00
Nathan Froyd
009a5a030e
Bug 1018400 - disable safebrowsing during reftests; r=ted
2014-05-30 16:21:47 -04:00
Jonathan Kew
92c9e7b15c
bug 1019470 - reftest for list-style-image spacing. r=mats
2014-06-04 10:18:55 +01:00
Jonathan Kew
19605d58ac
bug 1019470 - restore space after list-style-image bullet. r=mats
2014-06-04 10:18:52 +01:00
Markus Stange
e5652e9caa
Bug 1016535 - Mark resize-background.html as fuzzy due to different layerization of the textarea resizer.
...
--HG--
extra : rebase_source : db042068f14fd59ba2dea35d84633b98ef0b1233
2014-05-28 13:18:33 +02:00
Markus Stange
b207dd338d
Bug 1009679 - Layerize the scrollbar thumb on desktop, too. r=roc
2014-05-28 12:52:13 +02:00
Jonathan Kew
65ac363898
bug 458634 - part 3 - reftests for real small-cap support. r=jdaggett
2014-05-28 11:35:17 +01:00
Jonathan Kew
142a69933c
bug 458634 part 1 - use OpenType 'smcp' feature to implement small-caps if available in the font. r=jdaggett
2014-05-28 11:35:12 +01:00
Markus Stange
6ee31049c7
Bug 1016525 - Ignore empty rects in AddTransformedBoundsToRegion. r=roc
2014-05-28 11:47:07 +02:00
Markus Stange
5b10d07e12
Bug 1016535 - Always give overlay scrollbars their own layers, even for subframes. r=roc
2014-05-28 11:46:10 +02:00
Brian Birtles
6db9329b19
Bug 1004361 - Dispatch animationstart events as well when skipping entire animation intervals; r=dholbert
2014-05-28 16:51:50 +09:00
Brian Birtles
f3593b3f8a
Bug 1015803 - Align Layers' Animation.numIterations with AnimationTiming.mIterationCount; r=dholbert
...
In the IPC Animation struct used in layers code we have a member called
'numIterations' where 'iterate forever' is represented by -1.
In layout/style however we have an AnimationTiming struct with an
mIterationCount member where 'iterate forever' is represented by
NS_IEEEPositiveInfinity().
This patch renames 'numIterations' to 'iterationCount' and uses infinity to
represent 'iterate forever'.
2014-05-28 16:51:50 +09:00
Brian Birtles
7b6c6a2ca1
Bug 1004871 part 11 - Move ElementAnimation members closer together for readability and packing; r=dholbert
...
Also shuffle the initialization of members in
nsAnimationManager::BuildAnimations to roughly match the order in which they
are declared (with the exception that mPlayState needs to be set before calling
IsPaused() which is used to set mPauseStart).
2014-05-28 16:51:50 +09:00
Brian Birtles
c2572e5d7b
Bug 1004871 part 10 - Stop passing a fill mode of "both" to GetComputedTimingAt for throttled samples; r=dholbert
...
This was only needed when we were inspecting the returned time fraction but now
that we inspect the phase it's not necessary to force the fill mode to "both".
2014-05-28 16:51:50 +09:00
Brian Birtles
7265fd639b
Bug 1004871 part 9 - Move ElementAnimations::GetPositionInIteration to ElementAnimation::GetComputedTimingAt; r=dholbert
...
This patch simply moves the code from ElementAnimations to ElementAnimation so
that it can later be used in transitions code and so we can later move
EnsureStyleRuleFor to ElementAnimation.
2014-05-28 16:51:50 +09:00
Brian Birtles
cb967789c5
Bug 1004871 part 8 - Simplify ElementAnimations::GetEventsAt; r=dholbert
...
This patch shuffles the code in ElementAnimations::GetEventsAt to make it easier
to follow.
It also removes a check for whether or not the animation is paused.
Previously we would not dispatch events if the animation was paused and in its
active phase (but we would if the animation had finished). There doesn't seem to
be any reason for this. If the animation was paused between the last sample and
the current sample and the boundary of an iteration also occurred in that time
then I expect we should dispatch that event. Removing this check for the pause
state does not cause any tests fail.
Separating out the event logic here makes it clear that we do not dispatch start
events in the situation where one sample falls before the active interval and
one sample falls after it (filed as bug 1004361). This patch adds a comment to
this effect.
2014-05-28 16:51:49 +09:00
Brian Birtles
3ce242ee48
Bug 1004871 part 7 - Remove event queueing from GetPositionInIteration and do it in GetEventsAt; r=dholbert
...
This patch simply shifts the event-related code from GetPositionInIteration to
GetEventsAt. Although there are simplifications that could be done to
GetEventsAt, they are deferred to a subsequent patch so as not to obscure the
translation of code from one function to another.
As a result of moving event-related handling from GetPositionInIteration it no
longer needs to support different main-thread vs compositor modes.
2014-05-28 16:51:49 +09:00
Brian Birtles
efbd693128
Bug 1004871 part 6 - Make GetPositionInIteration return a ComputedTiming object; r=dholbert
...
This patch makes ElementAnimations::GetPositionInIteration return
a ComputedTiming object instead of just a time portion (time fraction).
Since the ComputedTiming object includes phase information, we can fix those
parts of EnsureStyleRule and GetEventsAt that were temporarily using the time
portion to guess if the animation might have finished or not.
2014-05-28 16:51:49 +09:00
Brian Birtles
39567485e3
Bug 1004871 part 5 - Add ComputedTiming data structure; r=dholbert
...
This patch adds a ComputedTiming struct for storing the results of calculating
the timing properties of an animation at a given sample time.
2014-05-28 16:51:49 +09:00
Brian Birtles
39ab9bf043
Bug 1004871 part 4 - Move FillsForwards/FillsBackwards to AnimationTiming; r=dholbert
...
This patch moves the FillsForwards/FillsBackwards methods previously defined on
ElementAnimations to the structure contain the fill mode: AnimationTiming. It
also changes GetPositionInIteration to use these methods.
2014-05-28 16:51:49 +09:00
Brian Birtles
25641302e6
Bug 1004871 part 3 - Replace parameters to GetPositionInIteration with an AnimationTiming object; r=dholbert
...
This patch makes use of the AnimationTiming struct introduced in the previous
patch to simplify calls to ElementAnimations::GetPositionInIteration.
2014-05-28 16:51:49 +09:00
Brian Birtles
7d5b54b2f6
Bug 1004871 part 2 - Add AnimationTiming struct, to encapsulate animation timing parameters; r=dholbert
...
Introduces a struct to store timing parameters for passing to
GetPositionInIteration. In future this struct is expected to be expanded to
include other timing parameters as well (based roughly on Web Animations'
"Timing" interface, hence the name AnimationTiming).
2014-05-28 16:51:49 +09:00
Brian Birtles
b4d589de64
Bug 1004871 part 1 - Factor event queuing out of EnsureStyleRuleFor; r=dholbert
...
This patch moves event queuing out of EnsureStyleRuleFor into a separate method.
This is a preparatory step towards making GetPositionInIteration into a more
generic method for calculating the current time fraction.
In order to achieve this, GetPositionInIteration needs to be able to calculate
the correct time portion for times outside the range [0, 1] even when it is not
passed a ElementAnimation object. Specifically, it needs the fill mode of the
animation to be passed in.
(Rather than using FillForwards/FillBackwards this patch just compares the
NS_STYLE_ANIMATION_FILL_MODE_* values directly but FillForwards/FillBackwards
are restored in a subsequent patch when they are added to the struct used to
lump the timing parameters together.)
There are a number of places where positionInIteration is used to determine if
the current sample occurs in the active phase or after. This is sub-optimal but
is fixed in a subsequent patch in this series.
The actual work of removing event queuing from GetPositionInIteration is
deferred to a subsequent patch in order to keep the changes as small as
possible. This patch simply makes separate calls to GetPositionInIteration for
interpolating and for event queuing.
2014-05-28 16:51:48 +09:00
Robert O'Callahan
755b99f4f6
Bug 1014252. Optimize clearing of textruns via RemoveInFlows. r=matspal
...
We're keeping the core idea that, before we remove the frames-to-be-destroyed
from the continuation chain, their textruns need to be disconnected/destroyed.
However, nsContinuingTextFrame::DestroyFrom tries to optimize when the
destroying frames that aren't mentioned in the userdata for the textrun, and
certain other conditions are met; we need a similar optimization here. It's
simpler here because the other conditions are definitely met, since all the
text for the frames being deleted has already been consumed and reflowed by
previous frames.
We don't need the TEXT_STYLE_MATCHES_PREV_CONTINUATION state bit anymore
because nsContinuingTextFrame::DestroyFrom will never see any textruns when
called via RemoveEmptyInFlows.
--HG--
extra : rebase_source : 6544f923499ef604d48ec15961716549dd25d279
2014-05-28 15:39:25 +12:00
Ryan VanderMeulen
4a08636d20
Merge inbound to m-c on a CLOSED TREE.
2014-05-27 16:23:41 -04:00
Kershaw Chang
71f5d5e40e
Bug 1013094 - Rename browser.manifestURL and browser.homescreenURL, r=fabrice
2014-05-27 18:01:01 +08:00
Phil Ringnalda
7b41f9e58c
Bug 981477 followup, skip one more newly-added XUL reftest on OOP b2g
...
CLOSED TREE
2014-05-26 23:20:30 -07:00
Carsten "Tomcat" Book
5f4bdd154a
merge b2g-inbound to mozilla-central
2014-05-26 15:26:11 +02:00
Carsten "Tomcat" Book
2446abd3df
merge fx-team to mozilla-central
2014-05-26 14:59:21 +02:00
Phil Ringnalda
5dab39b1df
Bug 981477 followup, revert marking invalidation/transform-floating-point-invalidation.html?reverse as failing on OOP b2g since it passes
2014-05-24 13:54:28 -07:00
Wes Kocher
4fef3cddfb
Merge m-c to b2g-inbound
2014-05-23 17:39:48 -07:00
Vincent Chen
c53b5f77a8
Bug 981477 - Disable B2G emulator reftests that fail oop, r=ahal
2014-05-23 15:56:15 -04:00
Andrew Halberstadt
f35863852f
Bug 922680 - Enable out of process b2g emulator reftests, r=jgriffin
2014-05-23 15:55:54 -04:00
Mike Conley
5dc45fb402
Bug 978913 - Dragging e10s window between HiDPI and non-HiDPI displays causes text to be scaled incorrectly. r=smaug.
2014-05-23 10:36:50 -04:00
Andrew Halberstadt
d2d43dc711
Bug 1009730
- Stop using /data/local/user.js in b2g unittests, r=jgriffin
2014-05-22 15:47:52 -04:00
Andrew Halberstadt
771a8e866a
Bug 1014192 - Add command line option to toggle b2g reftests running oop, r=jgriffin
2014-05-22 14:43:51 -04:00
Frédéric Wang
edbf6a6b34
Bug 1014601 - Add some OpenType MATH fonts into mathml.css. r=karl
2014-05-23 08:51:00 +02:00
Matt Woodrow
a7a3cbd2ad
Bug 1013771 - Dump nsDisplayTransform transforms during display list dumping. r=roc
2014-05-22 14:36:26 +12:00
Boris Zbarsky
1c698d2d65
Bug 999456. Page load events should not be cancelable. r=smaug
2014-05-22 00:23:51 -04:00
Timothy Nikkel
4ba9fdad31
Bug 1013780. Silly bustage fixup.
2014-05-21 23:17:56 -05:00
Timothy Nikkel
8b1933e50f
Bug 1013780. Only create displayports during display list building if the display list is for painting to the screen. r=botond
2014-05-21 23:14:49 -05:00
Masayuki Nakano
51a0e830ec
Bug 1009388 part.4 nsMenuFrame should use WidgetEvent::AccelModifier() for consistency with other modules r=smaug+enndeakin
2014-05-22 13:06:06 +09:00
Birunthan Mohanathas
952b834c76
Bug 869836 - Part 9: Use AssignLiteral instead of `Assign(NS_LITERAL_STRING(...))`. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
59b969f7f4
Bug 869836 - Part 8: Use `Append('c')` instead of `Append("c")`. r=ehsan
2014-05-22 06:48:52 +03:00
Birunthan Mohanathas
aea8617b92
Bug 869836 - Part 7: Use AppendLiteral instead of Append where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
58641805f1
Bug 869836 - Part 6: Use EqualsLiteral instead of Equals where possible. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
189593520f
Bug 869836 - Part 4: Use EqualsLiteral instead of `Equals(NS_LITERAL_STRING(...))`. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
0e6f3a6562
Bug 869836 - Part 3: Use `Append('c')` instead of `AppendLiteral("c")`. r=ehsan
2014-05-22 06:48:51 +03:00
Birunthan Mohanathas
19bebbc68d
Bug 869836 - Part 2: Use AppendLiteral instead of `Append(NS_LITERAL_STRING(...))`. r=ehsan
2014-05-22 06:48:50 +03:00
Birunthan Mohanathas
a5ab25c973
Bug 869836 - Part 1: Use EqualsLiteral instead of `== NS_LITERAL_STRING(...)`. r=ehsan
2014-05-22 06:48:50 +03:00
Wes Kocher
8f123848f9
Backed out changeset 91d280c835b2 (bug 1013771) for b2g osx build bustage
2014-05-21 20:00:33 -07:00
Matt Woodrow
405762e159
Bug 1013771 - Dump nsDisplayTransform transforms during display list dumping. r=roc
2014-05-22 14:36:26 +12:00
Matt Woodrow
24c80a523e
Bug 1013536 - Clip paint flashing area when using single-rect painting mode. r=Bas
2014-05-22 14:36:26 +12:00
Mats Palmgren
8fd9a731a4
Bug 1009329 - Make crashtests/724978.xhtml trigger fewer reflows to not timeout. r=dholbert
2014-05-13 05:09:00 -04:00
Jared Wein
255e8d6ab6
Bug 1000513 - Allow menuitems in menupopups to be children of a menugroup for horizontal arrangement. r=enn
...
--HG--
extra : rebase_source : 9e6f99b95e48f26aae2c3f7b8ee436781451a299
2014-05-12 16:23:12 -04:00
Wes Kocher
d0cf640a86
Merge m-c to inbound
2014-05-22 17:55:00 -07:00
Daniel Holbert
5b3b530dc0
backout c3f1ab75ea51 (bug 421436) for regressing bug 439462
2014-05-22 15:10:20 -07:00
Ehsan Akhgari
3b06c0a3d9
Bug 741295 - Part 0.1: Undo the windows.h damage in nsObjectFrame.h
2014-05-22 18:09:03 -04:00
Ryan VanderMeulen
f8299a3c22
Backed out changeset f1068bf18e64 (bug 978913) for bustage on most platforms.
...
CLOSED TREE
2014-05-22 16:39:46 -04:00
Mike Conley
c0e682d27d
Bug 978913 - Dragging e10s window between HiDPI and non-HiDPI displays causes text to be scaled incorrectly. r=smaug.
2014-05-22 12:07:27 -04:00
Kartikaya Gupta
5068cf8dde
Bug 1001438 - Refactor the GetDisplayPortImpl code for readability. r=tn
2014-05-21 12:06:03 -04:00
Kartikaya Gupta
82413349d5
Bug 1001438 - Remove setCriticalDisplayPortForElement and have the getter function automatically compute it. r=tn
2014-05-21 12:06:02 -04:00
Kartikaya Gupta
513cd6d34a
Bug 1001438 - Rearrange the code in nsLayoutUtils::GetDisplayPort. r=tn
2014-05-21 12:06:02 -04:00
Simon Montagu
93df14c3c1
Remove the hack making all <br> frames 1 app unit wide. Bug 421436, r=roc
2014-05-13 07:12:16 -07:00
Shigeyuki Tsukihashi
32fd41f353
Bug 999964 part 2 - mochitest, reftest for Bug 999964; r=longsonr
2014-05-15 11:03:49 +09:00
Shigeyuki Tsukihashi
29fc5495c2
Bug 999964 part 1 - Patch for SVG 2 getBBox method; r=longsonr, r=bz
2014-05-13 10:24:35 +09:00
Simon Montagu
ab13ae46c1
Backout 38b25d5e6cf9 because assertions
2014-05-25 03:15:00 -07:00
Simon Montagu
dc4cbd5301
Add a WritingMode argument to nsHTMLReflowMetrics::ISize() and BSize(). Bug 789096, r=jfkthame
2014-05-24 23:47:04 -07:00
Mats Palmgren
a5e475fefb
Bug 1007067 - Add a currentLine->MarkDirty() to wallpaper a bug 936935 regression. r=smontagu
2014-05-25 02:50:59 +00:00
Martijn Wargers
9747a63b32
Bug 407066 - Adding a crashtest.
2014-05-25 02:50:59 +00:00
Mats Palmgren
6485bdce29
Bug 451316 - Adding a crashtest.
2014-05-25 02:50:59 +00:00
Mats Palmgren
a82c2fce16
Bug 508665 - part 16, Change the type of nsIFrame::mParent to nsContainerFrame* and make it private. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
c5cb22f48c
Bug 508665 - part 15, s/mParent/GetParent()/ in a bunch of nsIFrame sub-classes. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
e29c59327f
Bug 508665 - part 14, uninline nsIFrame::GetPositionIgnoringScrolling() (since it uses a nsContainerFrame method). r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
d71fe4d460
Bug 508665 - part 13, Move nsIFrame::IsBoxWrapped to a static function in nsFrame.cpp. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
7d744275a1
Bug 508665 - part 12, Move nsIFrame::GetChildBox/GetNextBox/GetParentBox to XUL where they came from. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
36130d7618
Bug 508665 - part 11, Make nsIFrame::SetParent non-virtual. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
e4e2bec57c
Bug 508665 - part 10, Replace nsMenuFrame::mMenuParent with a GetMenuParent() method to eliminate the need for a SetParent override. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
75bad2215e
Bug 508665 - part 9, Remove now redundant static_cast<nsContainerFrame*> and do_QueryFrame() calls. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
0d14b4f2ec
Bug 508665 - part 8, Move child frame insertion/removal methods from nsIFrame to nsContainerFrame. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
05d8c81f4e
Bug 508665 - part 7, Require a nsContainerFrame* for aParent in nsFrameManager methods. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
94d5d0fbbe
Bug 508665 - part 6, Require a nsContainerFrame* for aParent in nsFrameList methods. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
399be41768
Bug 508665 - part 5, Make nsIFrame::Init require a nsContainerFrame* for the parent frame param. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
2831fb8a6a
Bug 508665 - part 4, Make nsCSSFrameConstructor use nsContainerFrame* for frames used as parent frames. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
273ad272f1
Bug 508665 - part 3, Change GetContentInsertionFrame() to return a nsContainerFrame*, and return null for leaf frames. Deal with GetContentInsertionFrame() returning null in a couple of places. r=roc
2014-05-24 22:20:39 +00:00
Mats Palmgren
31ebc7ec9b
Bug 508665 - part 2, Move nsCSSFrameConstructor::GetFrameFor to a static function in nsCSSFrameConstructor.cpp. r=roc
2014-05-24 22:20:39 +00:00
Mats Palmgren
a6feda0f22
Bug 508665 - part 1, Change the signature of SetParent/GetParent from nsIFrame* to nsContainerFrame*. r=roc
2014-05-24 22:20:39 +00:00
Jonathan Watt
7792c4a45f
Bug 1011806 - Stop loading user-agent and user style sheets for SVG-as-an-image (the main UA sheets svg.css, html.css, etc. will still load on demand). r=bz CLOSED TREE
2014-05-24 21:37:48 +01:00
Jonathan Watt
bdf4d7ea6b
No bug - Add a comment to nsStyleSet::SizeOfIncludingThis noting that it does _not_ count the size of the sheets in mSheets, only the size of the mSheets buffer.
2014-05-24 21:37:12 +01:00
Jonathan Watt
ec734706e6
Bug 1013936, part 2 - Only load the html.css UA style sheet on-demand for SVG documents. r=bz CLOSED TREE
2014-05-24 20:29:11 +01:00
Jonathan Watt
74572624da
Bug 1008455 - Avoid loading the xul.css UA style sheet when possible. r=bz CLOSED TREE
...
--HG--
rename : toolkit/content/xul.css => toolkit/content/minimal-xul.css
2014-05-24 19:51:06 +01:00
Jonathan Watt
745f910b48
Bug 1015147 - Use the style sheet cache to store the user-agent style sheets svg.css and mathml.css so that we don't create new instances for each new document. r=bz
2014-05-24 19:46:38 +01:00
Sotaro Ikeda
afdf8e01dd
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-24 09:14:45 -07:00
Steve Fink
12ba3a7a2a
Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE
2014-05-23 21:16:02 -07:00
Sotaro Ikeda
ac5d74bdb6
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-23 17:52:43 -07:00
Boris Zbarsky
12cf0111e5
Bug 101800. Add support for text-transform:uppercase/lowercase (but not other values) on <xul:label value="whatever">. r=dholbert
2014-05-23 17:32:37 -04:00
Kartikaya Gupta
4de0c21a1b
Bug 1015369 - Remove some dead code. r=ahal
2014-05-23 17:07:02 -04:00
Kartikaya Gupta
d9f9873f4b
Bug 1015369 - Add a flag to enable oop mode to b2g-desktop reftests. r=ahal
2014-05-23 17:07:01 -04:00
Trevor Saunders
a7a065cd75
bug 966084 - don't QI the result of win->GetFrameElementInternal() when its not required r=smaug
2014-01-23 16:14:29 -05:00
Trevor Saunders
78966cf36b
bug 966059 - add nsIDocShell::GetWindow and GetDocument r=smaug
2014-01-09 21:03:47 -05:00
Geoff Brown
bec6d138c6
Bug 979921 - Enable some crashtests on Android 2.3; r=dminor
2014-05-27 06:46:15 -06:00
Neil Rashbrook
ef8d375d0b
Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
Relading with correct bug number so DONTBUILD.
--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
7ed88d413a
Backout 8b8bbe7aa1cc due to wrong bug number
2014-05-27 14:42:13 +03:00
Birunthan Mohanathas
d9e420fc7c
Bug 869836 - Part 12: Use `Assign('c')` instead of `AssignLiteral("c")`. r=ehsan
...
--HG--
extra : rebase_source : a6b15019cee452973dd8bf3112c15e14175855a9
2014-05-26 21:55:08 +03:00
Neil Rashbrook
71828ecc1c
Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Jonathan Kew
1ef17db57b
bug 1011187 - reftest for font-variant:small-caps in canvas. r=roc
2014-05-27 10:50:11 +01:00
Jonathan Kew
ce3905bb87
bug 935739 - reftest for font-variant:small-caps in XUL. r=roc
2014-05-27 10:50:08 +01:00
Tim Taubert
54f552cc43
Bug 990812 - Allow a deeper frame message manager hierarchy than only global > window > tab r=smaug
2014-05-23 14:52:36 +02:00
Phil Ringnalda
fca92d889d
Merge m-c to a CLOSED TREE m-i
2014-05-26 23:37:46 -07:00
Botond Ballo
c205d40a5c
Bug 998025 - Ignore touch events when in an overscrolled state. r=kats
...
--HG--
extra : rebase_source : c7b6928915d589773aa536cf002c70c9e26fd371
2014-05-22 14:49:43 -04:00
Carsten "Tomcat" Book
7008e17308
Merge mozilla-central to mozilla-inbound
2014-05-26 15:32:24 +02:00
Jonathan Kew
181a74e5b2
bug 1015603 part 6 - remove nsFontVariantTextRunFactory from layout, leaving gfx to handle small-caps. r=roc
2014-05-26 14:23:32 +01:00
Jonathan Kew
35a3de2e99
bug 1015603 part 5 - implement fake small-caps in gfx using a reduced-size clone of the font. r=roc
2014-05-26 14:23:32 +01:00
Jonathan Kew
6a21f6658d
bug 1015603 part 2 - move the special Greek uppercasing code from nsTextRunTransformations to intl/unicharutil. r=roc
2014-05-26 14:23:31 +01:00
Jonathan Kew
c167886ae7
bug 1015603 part 1 - factor out case transformation from nsCaseTransformTextRunFactory::RebuildTextRun into a separate function. r=roc
2014-05-26 14:23:30 +01:00
Makoto Kato
f12347d45e
Bug 889401 - Part 3. reftests for COLR/CPAL. r=jfkthame
2014-05-26 19:09:25 +09:00
Nathan Froyd
4f62c0d268
Bug 1013475 - give inIDeepTreeWalker all of nsIDOMTreeWalker's methods/attributes, rather than inheriting them; r=bz
2014-05-20 14:17:27 -04:00
Mats Palmgren
006313a0a9
Bug 1009272 - [css-grid] Add some sanity checks for the grid container child frame lists. r=dholbert
2014-05-19 23:57:00 +00:00
Trevor Saunders
42ad93c2a2
bug 1004746
- part 1 - Remove a bunch of usage of nsAutoPtr's copy ctor r=froydnj
2014-05-07 18:05:37 -04:00
Simon Montagu
23c1664fb7
Wait for CanPlaceFrame (i.e. after reflow) to apply start-margin and test whether the frame is a last continuation and so needs its end-margin applied. Bug 999446, r=jfkthame
2014-05-20 07:04:54 -07:00
James Graham
54a81fe8c7
Bug 1011458 - Buy back a few characters for Windows paths by renaming tests staging directory. r=ted
2014-05-16 04:55:00 +02:00
Bas Schouten
ede2b0d96e
Bug 1012488: Mark Seek test as random on windows due to Async video. r=mattwoodrow
2014-05-20 07:45:37 +02:00
Wes Kocher
ebc2c1341a
Backed out changeset 40c010000007 (bug 1009272) for B2G build bustage
2014-05-19 17:20:05 -07:00
Mats Palmgren
dcad59dc18
Bug 1009272 - [css-grid] Add some sanity checks for the grid container child frame lists. r=dholbert
2014-05-19 23:57:00 +00:00
Gavin Sharp
e3539ffe7f
Bug 881996 part 2. Remove now-unneeded workaround from printpreview_bug396024_helper.xul
2014-05-18 12:48:00 -07:00
Simon Montagu
362899066a
Mark the test for bug 465574 as failing
2014-05-19 15:37:43 +03:00
Carsten "Tomcat" Book
1210c78f20
Backed out changeset 0aaa18232af4 (bug 421436) for causing reftest failures
2014-05-19 13:11:59 +02:00
Bas Schouten
16b55af6f4
Bug 1012488: Further increase webm seek test timeout r=test-only
2014-05-19 12:00:59 +02:00
Xidorn Quan
3326ec85be
Bug 1011461 - Text in bullet shows vertical-positioning discrepancy. r=jfkthame
2014-05-17 04:13:00 +02:00
Simon Montagu
8f5665ccfa
Remove the hack making all <br> frames 1 app unit wide, bug 421436, r=roc
2014-05-13 07:12:16 -07:00
Uri Bernstein
918678177f
Test for bug 465574, r=smontagu
2014-05-19 09:06:08 +03:00
Simon Montagu
082a89def8
Disable the textarea border and make the tests non-fuzzy. Bug 1012220, r=mattwoodrow
2014-05-19 09:04:40 +03:00
Brian Birtles
26771191de
Bug 964646 part 21 - Add OMTA tests for animation list lengths and dynamic style rule changes; r=dbaron
...
This patch adds tests for triggering animations based on the length of the
animation-name property as well as tests for dynamic changes to style rules.
These tests are based on tests in test_animations.html but for directed at
animations that run on the compositor thread.
2014-05-19 14:42:49 +09:00
Brian Birtles
2fe9ec8c37
Bug 964646 part 20 - Add OMTA tests for cascading between keyframe rules; r=dbaron
...
This patch adds tests for the cascanding of keyframes rules based on those in
test_animations.html but for animations that run on the compositor thread.
2014-05-19 14:42:49 +09:00
Brian Birtles
221f0d02ed
Bug 964646 part 19 - Add OMTA tests for restyling interaction; r=dbaron
...
This patch adds tests for the interaction of animation and restyling (Bug
686656) based on those in test_animations.html but for animations that run on
the compositor thread.
2014-05-19 14:42:49 +09:00
Brian Birtles
cc5e443af3
Bug 964646 part 18 - Add omta_todo_is for marking OMTA animations that are known to fail; r=dbaron
...
The implementation here current expects BOTH the following to fail:
- The comparison between the OMTA value and the expected value
- The comparison between the OMTA value and the computed value
This generally tends to be the case since the computed value and expected value
normally match unless we have a bug that affects all CSS animations. If we need
to mark tests where the computed value is also wrong we'll need to modify the
behavior here at that time.
This patch also applies this new function to the author !important test that was
previously commented-out because it currently fails.
2014-05-19 14:42:49 +09:00
Brian Birtles
d5a3ddea27
Bug 964646 part 17 - Add RunningOn.TodoMainThread for marking animations that are known to run on the compositor when they should not; r=dbaron
...
This patch also ensures that when we have an animation running on the compositor
when it should not that we still compare the values produced on the compositor
and on the main thread so that the visual result is correct even if the
performance characteristics are not.
2014-05-19 14:42:49 +09:00
Brian Birtles
7469c3bbeb
Bug 964646 part 16 - Add OMTA tests for !important rules and animations; r=dbaron
...
This patch adds tests for the handling of author !important rules and animations
based on similar tests in test_animations.html but for animations that run on
the compositor thread.
Due to bug 847287, these tests don't pass and are partly disabled. Subsequent
patches add todo_is tests for this.
2014-05-19 14:42:49 +09:00
Brian Birtles
cfec9f5bd6
Bug 964646 part 15 - Add OMTA tests for sampling animations with same timestamp; r=dbaron
...
This patch adds a version of tests in test_animations.html for bug 651456 which
covers multiple samples with the same timestamp. The version here, however,
tests animations that run on the compositor thread.
2014-05-19 14:42:48 +09:00
Brian Birtles
38ca308824
Bug 964646 part 14 - Add OMTA tests for multi-property animations; r=dbaron
...
This patch adds a version of tests in test_animations.html for keyframe
animations with multiple properties where some properties are present in only
some keyframes. The version here, however, tests animations that run on the
compositor thread.
2014-05-19 14:42:48 +09:00
Brian Birtles
053c14ee68
Bug 964646 part 13 - Add OMTA tests for animation-delay; r=dbaron
...
This patch adds a version of tests in test_animations.html under the heading,
"css3-animation: 3.8 The 'animation-delay' Property", for animations
that run on the compositor thread.
2014-05-19 14:42:48 +09:00
Brian Birtles
eec07cb991
Bug 964646 part 12 - Add OMTA tests for animation-play-state; r=dbaron
...
This patch adds a version of tests in test_animations.html under the heading,
"css3-animation: 3.7 The 'animation-play-state' Property", for animations
that run on the compositor thread.
2014-05-19 14:42:48 +09:00
Brian Birtles
003ae65bad
Bug 964646 part 11 - Add OMTA tests for animation-direction; r=dbaron
...
This patch adds a version of tests in test_animations.html under the heading,
"css3-animation: 3.6 The 'animation-direction' Property, for animations
that run on the compositor thread.
2014-05-19 14:42:48 +09:00
Brian Birtles
aa7d448086
Bug 964646 part 10 - Fix floating point precision issues when comparing matrices; r=dbaron
...
This patch addresses and issue where the OMTA style and computed style were not
comparing equal in one particular case.
In this case AddTransformTranslate in nsStyleAnimation would give us
a translate-y value of 94.331673 in both cases (i.e. when calculating the
animated value on the compositor thread or when fetching computed style).
For the OMTA case, however, after we apply additional layer transformations and
then reverse them (so we can query the CSS value) we'd end up with 94.331642,
a difference of 0.000031. The reversing procedure is only used for testing so
the actual error introduced here by the additional layer transformations is
probably less.
Unfortunately, when we pass 94.331642 this along to MatrixToCSSValue we get back
matrix(1, 0, 0, 1, 94.3316) since it only outputs 6 digits of precision.
On the other hand, on the computed style end we'd pass 94.331673 to
MatrixToCSSValue which gives us matrix(1, 0, 0, 1, 94.3317), so the error swells
from 0.000031 to 0.0001.
Then when we subtract 94.3316 from 94.3317 in Javascript we get
0.00010000000000331966 due to floating-point precision issues which compares
greater than the default tolerance of 0.0001.
This patch simply adjusts the default tolerance to 0.00011 to accommodate
these floating-point differences.
2014-05-19 14:42:48 +09:00
Brian Birtles
f0c899b2eb
Bug 964646 part 9 - Add OMTA tests for animation-iteration-count; r=dbaron
...
This patch adds a version of tests in test_animations.html under the heading,
"css3-animation: 3.5 The 'animation-iteration-count' Property" for animations
that run on the compositor thread.
These tests surface an issue where in some cases precision errors lead to
discrepencies between the OMTA style and computed style. This is fixed in
a subsequent patch in this series.
2014-05-19 14:42:48 +09:00
Brian Birtles
016017d81d
Bug 964646 part 8 - Add OMTA tests for animation-name; r=dbaron
...
This patch adds a version of the tests in test_animations.html under the
heading, "css3-animations: 3.2. The 'animation-name' Property" that tests the
same features when animations are running on the compositor thread.
2014-05-19 14:42:48 +09:00
Brian Birtles
50b417c786
Bug 964646 part 7 - Handle NaN values when comparing matrices; r=dbaron
...
The test harness code for normalizing transform inputs to a standard form for
comparison fails to detect the case where the input is a string such as
{ tx: "20px" }
instead of:
{ tx: 20 }
When we go to compare matrix components we fail if:
Math.abs(a.comp - b.comp) > tolerance
But if a.comp or b.comp is a string, we'll get NaN on the LHS and
"NaN > tolerance" will return false so we'll skip the failure handling and
continue onto the next component. That means if we have input { tx: "30px" } and
we get "20" as the x-translation component we'll pass the test.
This patch fixes this condition to check for isNaN.
We *could* also just drop a few .map(parseFloat) calls into
convertObjectTo3dMatrix and convertArrayTo3dMatrix to ensure "20px" becomes 20
but there may be situations where that masks bugs (since "20px" and "20em" turn
into the same thing) so for now this minimal fix should be enough.
2014-05-19 14:42:48 +09:00
Brian Birtles
2a02662277
Bug 964646 part 6 - Add OMTA tests for timing functions on keyframes; r=dbaron
...
This patch converts the tests in test_animations.html under the heading,
"css3-animations: 3.1. Timing functions for keyframes" to an equivalent version
for testing animations that run on the compositor thread.
2014-05-19 14:42:47 +09:00
Matt Woodrow
02e1be649f
Bug 1012488 - Further increase the timeout for webm-video/bug686957.html to prevent intermittent failures. r=test-only
2014-05-19 14:07:49 +12:00
Josh Aas
7ec76f43f8
Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent
2014-05-17 22:05:46 -05:00
Daniel Holbert
f6575400e9
Bug 1011311: Drop no-longer-necessary check on availableFreeSpace's sign, in ResolveFlexibleLengths(). r=mats
2014-05-17 18:49:47 -07:00
Daniel Holbert
e79bba42f6
Bug 1005660: Add an "early freeze" step, to freeze flex items that clearly can't grow (or shrink, if we're shrinking). r=mats
2014-05-17 18:49:06 -07:00
Phil Ringnalda
127b904678
Back out a4b51aff4b3c (bug 957928) for build bustage
...
CLOSED TREE
2014-05-17 17:43:07 -07:00
Josh Aas
992d7074a3
Bug 957928: Gecko Media Plugins implementation. No consumers in Gecko yet. r=bent
2014-05-17 18:53:03 -05:00
Mats Palmgren
03ca8433c3
Bug 1008908 - Remove assignment since the value isn't used. r=smontagu
2014-05-17 23:10:53 +00:00
Mats Palmgren
24ea7f9b72
Bug 1011163 - Remove the border which isn't essential for the test since it caused orange due to focus issues. r=me
2014-05-17 23:10:52 +00:00
Boris Zbarsky
b1e3f060e4
Bug 1008719. CSS syntax got changed to allow identifiers starting with "--", so update our escaping code accordingly. r=dholbert
2014-05-15 10:26:53 -07:00
Debbe Heisler
7e378291e5
Bug 1001582 -- Transitioned FrameMetrics::mPresShellId to use a getter/setter. r=botond
2014-05-16 19:00:50 -04:00
Bobby Holley
0378fc7bf6
Bug 1005552 - Stop binding marquee event handlers. r=bz
...
These functions get invoked as event listeners, so we'll automatically get the
proper |this|. The reason for the existing shenanigans was to work around
bug 872772, which has now been fixed.
2014-05-16 10:56:41 -07:00
Nicolas Silva
7481ee096f
Bug 1010206 - Make the test webm-video/bug686957.html less likely to race when using async-video. r=padenot
2014-05-16 19:39:36 +02:00
Ryan VanderMeulen
9e342ce37a
Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE.
2014-05-16 12:29:37 -04:00
Nicolas Silva
321f20f7a5
Bug 1010206 - make the test webm-video/bug686957.html less likely to race when using async-video. r=padenot
2014-05-16 17:25:16 +02:00
Boris Zbarsky
d854d7d9f0
Bug 1008719. CSS syntax got changed to allow identifiers starting with "--", so update our escaping code accordingly. r=dholbert
2014-05-15 10:26:53 -07:00
Masayuki Nakano
c73fb6d886
Bug 1008244 Don't consume Enter key at keypress event when <select size=1> has focus but its dropdown list is closed r=smaug
2014-05-16 18:45:25 +09:00
Daniel Holbert
721fc5a268
backout 179cea3a84da (bug 1010470) due to reftest failures, on a CLOSED TREE
...
--HG--
rename : layout/reftests/forms/button/disabled-2b.html => layout/reftests/forms/button/disabled-2.html
2014-05-15 22:13:07 -07:00
Jeff Muizelaar
bc7f54a5b3
Bug 1011142 - fuzz Skia diagonal linear gradient tests. r=gw280
...
--HG--
rename : toolkit/devtools/transport/tests/moz.build => toolkit/devtools/moz.build
extra : rebase_source : cbd306c5d6cd483dad1af9c97d4281b2d72bad59
2014-05-15 15:47:50 -04:00
Daniel Holbert
d1515ca8cd
Bug 1010470: Use :disabled pseudoclass instead of [disabled] attribute-selector to style disabled form controls on B2G & Android. r=fabrice
...
--HG--
rename : layout/reftests/forms/button/disabled-2.html => layout/reftests/forms/button/disabled-2a.html
rename : layout/reftests/forms/button/disabled-2.html => layout/reftests/forms/button/disabled-2b.html
2014-05-15 16:29:21 -07:00
Ryan VanderMeulen
c53951f788
Backed out 4 changesets (bug 1008236, bug 1010344, bug 1004458, bug 1008719) for mochitest crashes on a CLOSED TREE.
...
Backed out changeset 28ecab881472 (bug 1008719)
Backed out changeset 7eebcecb7e26 (bug 1004458)
Backed out changeset 17ea7f2276ac (bug 1010344)
Backed out changeset 184ead7f6e37 (bug 1008236)
2014-05-15 14:24:12 -04:00
Boris Zbarsky
47ab97d07a
Bug 1008719. CSS syntax got changed to allow identifiers starting with "--", so update our escaping code accordingly. r=dholbert
2014-05-15 10:26:53 -07:00
Christoph Kerschbaumer
e6344ed05a
Bug 951457 - Create C++ CSP Parser and policy classes, part 1 - backend stubs r=sstamm, r=grobinson
2014-04-01 09:35:22 -07:00
Benoit Jacob
458b23dd1c
Bug 1004483 - Adjust WebGL reftest.list for the fact that Skia blending doesn't handle superluminant pixels - r=jrmuizel
2014-05-15 11:50:16 -04:00
Frédéric Wang
2ec405ffcc
Bug 930504 - When possible, use character substitution for basic mathvariants. r=karlt
2014-05-15 02:50:00 -04:00
Nick Lebedev
c49e263d0f
Bug 998002 - Rename nsContentUtils::Get{Subject,Object}Principal to nsContentUtils::{Subject,Object}Principal. r=bholley
2014-05-13 11:58:00 +02:00