Carsten "Tomcat" Book
ef8e5b7042
merge mozilla-inbound to mozilla-central a=merge
2014-09-08 15:22:16 +02:00
John Daggett
c477ae474b
Bug 1062058 part 3 - make userfont entry a container of the platform font entry. r=heycam
2014-09-08 16:23:20 +09:00
John Daggett
09ffb13285
Bug 1062058 part 2 - rename userfont classes and adjust flags. r=heycam
2014-09-08 16:23:20 +09:00
Mason Chang
27005342b7
Bug 1063265 - Stop Blinking the Text Caret when it isn't visible. r=roc
2014-09-06 12:25:00 +02:00
Ryan VanderMeulen
a0465b001a
Merge b2g-inbound to m-c. a=merge
2014-09-05 12:04:44 -04:00
Cameron McCormack
c6de6c0ddf
Bug 1042860 - Handle animated attribute changes on descendants of SVG <text> elements. r=dholbert
2014-09-08 12:34:20 +10:00
Jonathan Watt
260bfa32e6
Bug 1063987 - Mark layout/reftests/svg/svg-integration/filter-html-01-extref.xhtml as intermittently failing on B2G
2014-09-07 00:29:18 +01:00
Jonathan Watt
d9cdf092ca
Bug 1063853, part 2 - Move all nsRenderingContext user data to the wrapped Moz2D DrawTarget. r=Bas
2014-09-05 18:11:35 +01:00
Kartikaya Gupta
24c1971914
Bug 1062307 - Ensure the contextmenu event triggered by a long-press action targets things outside the root scroll frame. r=capella,smaug
2014-09-06 09:30:46 -04:00
Daniel Holbert
cdf61b084a
Bug 1063815 part 2: Use AddCSSValueCanonicalCalc for interpolating 'background-position' values, now that their coords are reliably calc-valued. r=bz
2014-09-05 18:40:20 -07:00
Daniel Holbert
a4a0d46fd1
Bug 1063815 part 1: Use SetCalcValue() in StyleAnimationValue::ExtractComputedValue 'background-position' case. r=bz
2014-09-05 18:40:15 -07:00
Daniel Holbert
bea460dd72
Bug 1023344: Use MozReftestInvalidate to make 876074-1.html's behavior more reliable. r=mats
2014-09-05 15:03:59 -07:00
Jonathan Watt
ea0e14d0a1
Bug 1063073 - Make sure embedding elements that rely on an embedded SVG's intrinsic dimensions are resized if the SVG is late in loading. r=dholbert
2014-09-04 20:09:51 +01:00
Ting-Yu Lin
b96222279e
Bug 1029943 - Fix test fails on 824080-3/5/7.html, bug558663.html. r=ehsan
...
--HG--
rename : layout/base/tests/test_bug558663.html => layout/base/tests/bug558663.html
2014-08-27 01:24:00 -04:00
Jonathan Watt
c2a6ecc0ec
Bug 932771, part 3 - Make PaintSVG painting work by passing transforms down, rather than walking up the tree using GetCanvasTM. r=longsonr
2014-08-29 20:42:07 +01:00
Kearwood (Kip) Gilbert
84f86b8195
Bug 1022825 - Implement Asynchronous Smooth Scrolling on Compositor Thread. r=kats
...
- Extended nsIScrollableFrame and nsGfxScrollFrame to return destination
of smooth scrolls which are to be animated on the compositor thread.
- Added apz.smooth_scroll_repaint_interval preference.
- Implemented AsyncPanZoomController::PanZoomState::SMOOTH_MSD_SCROLL state
and AsyncPanZoomController::SmoothScrollAnimation class to animate smooth
scroll animations on the compositor thread.
- Extended FrameMetrics to report requests for smooth scrolls to be animated
on the compositor thread and their corresponding destination positions.
- AsyncPanZoomController now checks FrameMetrics for requests to perform
smooth scrolling on the compositor thread. It will ensure that they
are cancelled as needed by mousewheel, touchpanel, keyboard, and
CSSOM-View instant scrolling DOM methods.
- The layout/generic/test/test_scroll_behavior.html mochitest has been
commented as depending on Bug 1062609 before being enabled for APZ.
2014-07-10 11:52:40 -07:00
Max Vujovic
f3473127e1
Bug 1058801 - Make mFilter a const reference in nsSVGFilterInstance, like in nsCSSFilterInstance. r=mstange
2014-09-04 10:31:04 -07:00
Max Vujovic
ac29d1b999
Bug 1058798 - Fix indentation in ns*FilterInstance.h files. r=mstange
2014-09-04 10:31:03 -07:00
Max Vujovic
04935f25c2
Bug 1058794 - Change some functions in nsFilterInstance.cpp to return a value instead of nsresult. r=mstange
2014-09-04 10:31:03 -07:00
Max Vujovic
2cb0916f9f
Bug 1058809 - Move the opening brace for nsCSSFilterInstance::SetBounds to a newline. r=mstange
2014-09-04 10:31:02 -07:00
Timothy Nikkel
0ca4ce1847
Bug 1033679. When we clear frames from the image loader make sure that we also remove the images from the refresh driver. r=khuey
...
Normally a frame being destroyed would do this via PresShell::NotifyDestroyingFrame -> ImageLoader::DropRequestsForFrame but when we are tearing down the whole frame tree we skip per frame notifications like that for perf reasons. So we now make sure to do it when clearing out frames wholesale.
We also need to pass a prescontext pointer to ClearFrames because the ImageLoader only has a document pointer, and by that point in the presshell destruction sequence the presshell pointer on the document has been cleared.
2014-09-04 23:27:16 -05:00
Cameron McCormack
4987707ff9
Bug 931668 - Part 24: Avoid copying RestyleData::mDescendants when modifying an existing entry. r=dbaron
...
--HG--
extra : rebase_source : 0b9905bdff6f9ceec823b2091aadc39f0ca467bc
2014-09-05 13:48:48 +10:00
Cameron McCormack
f4fc11c565
Bug 931668 - Part 23: Change a few test assertion expectations. r=dbaron
...
--HG--
extra : rebase_source : 7e2be6dd13436dac97425dc91432b69c5a469ddf
2014-09-05 13:48:48 +10:00
Cameron McCormack
59c00ed39e
Bug 931668 - Part 22: Clear cached structs on descendants of an old style context that had structs swapped, if it is staying around. r=dbaron
...
--HG--
extra : rebase_source : aa23c06a20214c72d971ab059ef4833846c769fb
2014-09-05 13:48:47 +10:00
Cameron McCormack
6dd74b2e27
Bug 931668 - Part 21: Fix issue where not all pending-restyle descendants are restyled. r=dbaron
...
--HG--
extra : rebase_source : 824fe576885ec4f5ab086499dfaa6e95456afd50
2014-09-05 13:48:47 +10:00
Cameron McCormack
62aeb8f624
Bug 931668 - Part 20.2: Don't call AssertStructsNotUsedElsewhere on style contexts for :before/:after frames that are going away. r=dbaron
...
--HG--
extra : rebase_source : 7ff96443db553d564897d42870b81e10c2a78b53
2014-09-05 13:48:47 +10:00
Cameron McCormack
ac8951ea1d
Bug 931668 - Part 20.1: Keep old structs on new style contexts, for those that are equal. r=dbaron
...
We don't do struct swapping if either the old or new style contexts are
shared, since we can't guarantee that such a change will be valid for
all frames that use the shared style context.
--HG--
extra : rebase_source : 10f7c90422de23b119287ba478d36433423440da
2014-09-05 13:48:46 +10:00
Cameron McCormack
6ad2995b64
Bug 931668 - Part 20: Stop the recursive restyling process when we detect it is safe to do so. r=dbaron
...
--HG--
extra : rebase_source : 33eba29b1ef05b72c671dcc61d6a997ad492ceb1
2014-09-05 13:48:46 +10:00
Cameron McCormack
42e7f356b5
Bug 931668 - Part 19: Make RebuildAllStyleData use eRestyle_ForceDescendants so that it does rebuild the whole style tree. r=dbaron
...
--HG--
extra : rebase_source : 874f6c186d649c209235261f933e7ebd2853f294
2014-09-05 13:48:46 +10:00
Cameron McCormack
1b66062841
Bug 931668 - Part 18: Add a function to swap style structs between style contexts. r=dbaron
...
--HG--
extra : rebase_source : 4d32ed1f140db975b2fffe76ac6bd793287c916c
2014-09-05 13:48:46 +10:00
Cameron McCormack
d6d0175cde
Bug 931668 - Part 17: Handle eRestyleResult_Stop by moving a frame's style context to its new parent. r=dbaron
...
--HG--
extra : rebase_source : 50c6575821407b548ac0b805fa7f351e5ddbda53
2014-09-05 13:48:46 +10:00
Cameron McCormack
99d70e1415
Bug 931668 - Part 16: Give ElementRestyler::RestyleSelf a return value that indicates how restyling should proceed. r=dbaron
...
--HG--
extra : rebase_source : e9bcb021f40bef402b7bcb00a097d18efa4a813b
2014-09-05 13:48:45 +10:00
Cameron McCormack
f98dad9b40
Bug 931668 - Part 15: Pass equal struct bitfield back out of ElementRestyler::CaptureChange. r=dbaron
...
--HG--
extra : rebase_source : 70d70eeab3989a7991ae2a2abdeb21c0745b0398
2014-09-05 13:48:45 +10:00
Cameron McCormack
cb9f04affc
Bug 931668 - Part 14: Add functions to move style contexts to a new parent. r=dbaron
...
--HG--
extra : rebase_source : 90affb5987ab33e948366840dd3cc5a6d7ea1fd9
2014-09-05 13:48:45 +10:00
Cameron McCormack
b45c367690
Bug 931668 - Part 13 (no part 12): Add expensive (commented out) debug checks that destroyed style structs aren't still used in the style context tree. r=dbaron
...
--HG--
extra : rebase_source : 84217c186a6cced3ea5bac22590ecd4ddb0d7a5d
2014-09-05 13:48:45 +10:00
Cameron McCormack
a3aa708945
Bug 931668 - Part 11: Add eRestyle_Force (and eRestyle_ForceDescendants) restyle hints to control whether the frame (and all of its descendants) must be assigned its new style context even if it had the same style data as the old style context. r=dbaron
...
--HG--
extra : rebase_source : f92a5b5033bb4cf424ee172611a58fe583aed87f
2014-09-05 13:48:45 +10:00
Cameron McCormack
eb13de60fe
Bug 931668 - Part 10: Record pending restyles of restyle root descendants and ensure we restyle them if we didn't get to them. r=dbaron
...
--HG--
extra : rebase_source : b259e02c38362a12735158e30d6aa54556cf54ab
2014-09-05 13:48:45 +10:00
Cameron McCormack
55b3e24e82
Bug 931668 - Part 9 (no part 8): Make nsStyleContext::CalcStyleDifference compare all structs and return a bitfield of which changed. r=dbaron
...
--HG--
extra : rebase_source : 817e73531548183645c94ece67ad6a87c5de36c6
2014-09-05 13:48:44 +10:00
Cameron McCormack
13cbf35695
Bug 931668 - Part 7: Add helper functions looking at cached struct pointer values on style contexts. r=dbaron
...
Two functions are added:
* HasSameCachedStyleData, which compares a style struct pointer in two
style contexts, and
* HasCachedInheritedStyleData, which checks to see if the bit in mBits
is set.
--HG--
extra : rebase_source : 92f9a42b15fc5537044b033eb960e564196850de
2014-09-05 13:48:44 +10:00
Cameron McCormack
3c9fed24eb
Bug 931668 - Part 6: Add helper function to check if a style context has any children with the NS_STYLE_USES_GRANDANCESTOR_STYLE bit. r=dbaron
...
--HG--
extra : rebase_source : d0d5ea22e06509b3638d860f85a21506da7382fa
2014-09-05 13:48:44 +10:00
Cameron McCormack
515acc2955
Bug 931668 - Part 5 (no part 4): Record whether a style context is shared. r=dbaron
...
--HG--
extra : rebase_source : f000e310e7f429cc7656a9f375312ddf8e162c7a
2014-09-05 13:48:44 +10:00
Cameron McCormack
044fbf5585
Bug 931668 - Part 3: Add a style context bit to represent whether it depends on style data from its grandparent or higher ancestor. r=dbaron
...
--HG--
extra : rebase_source : 64deabb466cfaaeae220a00024cd05d8e87832bc
2014-09-05 13:48:44 +10:00
Cameron McCormack
600e5981ce
Bug 931668 - Part 2: Return nsChangeHint_NeutralChange where there was a style data change and we currently return nsChangeHint(0). r=dbaron
...
--HG--
extra : rebase_source : 17548a130559ea5b88e8e5a1fe5cc6206bd080b9
2014-09-05 13:48:43 +10:00
Cameron McCormack
9234d18624
Bug 931668 - Part 1: Add a change hint that represents a style data change that requires no processing. r=dbaron
...
--HG--
extra : rebase_source : 9035e376bfc53a18d6499407ad5958706aefcb7a
2014-09-05 13:48:43 +10:00
William Lachance
825cd1274f
Bug 1059331 - Additional options for reftest analyzer useful for treeherder. r=jmaher
2014-09-03 14:37:22 -04:00
Christoph Kerschbaumer
e401159cf1
Bug 1062529 - Split GetChannelPrincipal into GetChannelResultPrincipal and GetChannelURIPrincipal. r=bz
2014-08-06 16:05:40 -07:00
Mike Hommey
92deb5899a
Bug 1059113 - Use templates for shared libraries and frameworks. r=gps
...
Also force to use the existing template for XPCOM components.
2014-09-04 09:04:45 +09:00
Mike Hommey
c2a27deef9
Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal
2014-09-03 14:16:37 +09:00
Mike Hommey
8fd95ad480
Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps
2014-09-03 14:10:54 +09:00
Ryan VanderMeulen
1007bdb793
Merge m-c to inbound. a=merge
2014-09-03 16:40:18 -04:00