Граф коммитов

42360 Коммитов

Автор SHA1 Сообщение Дата
Ryan VanderMeulen ca03f2d467 Merge inbound to m-c. a=merge 2014-09-09 19:26:59 -04:00
Patrick Brosset fb1884e4ec Bug 1050376 - Record restyle/reflow/paint devtools timeline markers at docshell level; r=smaug 2014-09-09 20:54:08 +02:00
Kartikaya Gupta ad4b772da2 Bug 1063494 - Properly handle async-scrolled layers that are also fixed/sticky-position. r=botond,BenWa 2014-09-09 15:12:14 -04:00
Daniel Holbert 8c5ca6de72 Bug 1060090 part 5: Refactor StyleAnimationValue <position>-handling code to use helper-methods. r=heycam 2014-09-09 11:40:20 -07:00
Daniel Holbert 9437318153 Bug 1060090 part 4: Allow computed-style 'Position' struct to have different initial values beyond just 0% 0%. r=heycam 2014-09-09 11:40:18 -07:00
Daniel Holbert eebeee6346 Bug 1060090 part 3: Refactor getComputedStyle implementation for 'background-position' to use helper-method for <position> & its sub-parts. r=heycam 2014-09-09 11:40:17 -07:00
Daniel Holbert 46a6804c99 Bug 1060090 part 2: Spin out "ComputePositionValue", and rename its helper "ComputeBackgroundPositionCoord" to "ComputePositionCoord". r=heycam 2014-09-09 11:40:15 -07:00
Daniel Holbert edab2d2a41 Bug 1060090 part 1: Rename ParseBackgroundPositionValues to ParsePositionValue. r=heycam 2014-09-09 11:40:10 -07:00
Markus Stange 6a2e242d0c Bug 1062870 - Restore the post-filter dirtyRect after building the filtered display items. r=roc 2014-09-09 17:14:47 +02:00
Markus Stange 1d10ec322f Bug 1062832 - Make nsSVGFilterChainObserver participate in cycle collection. r=roc 2014-09-09 17:14:46 +02:00
Markus Stange 291a8d4966 Bug 1062832 - Create abstract class nsSVGFilterChainObserver for observers without frames. r=roc 2014-09-09 17:14:46 +02:00
Markus Stange b12757247a Bug 1062832 - Move frame invalidation from nsSVGFilterReference to nsSVGFilterProperty. r=roc 2014-09-09 17:14:46 +02:00
Markus Stange 5ca816d536 Bug 1062832 - Remove frame handling from nsSVGIDRenderingObserver and put it into nsSVGRenderingObserverProperty. r=roc 2014-09-09 17:14:45 +02:00
Markus Stange f0ce0d3170 Bug 1062832 - Reorder stuff in nsSVGEffects.cpp. r=roc 2014-09-09 17:14:45 +02:00
Markus Stange 0184e500c3 Bug 1062832 - Use nsRefPtr in the filter references array instead of manual refcounting. r=roc 2014-09-09 17:14:45 +02:00
Markus Stange 9eefe61541 Bug 1062832 - Remove nsSVGFilterProperty::mFilters. r=roc 2014-09-09 17:14:44 +02:00
Xidorn Quan d505e6560d Bug 1063856 - Add more counter styles from the Predefined Counter Styles document, for better interop and web-compat. 2014-09-09 09:58:07 +01:00
Brian Birtles a3f0b04309 Bug 1063992 - Set the animation player hold time to zero when it is initially paused; r=dzbarsky
This patch fixes a regression from bug 1033114, m-c changeset 9db3e43c19c1.

That changeset changed the meaning of mHoldTime (despite the commit message
which erroneously refers to mStartTime) to make it an offset from the start time
rather than a timestamp. However, it failed to update the case when we have an
initially-paused player. In that case the offset should be zero but the existing
code set it to the same value as the start time (which is, itself, an offset
from the beginning of the timeline) and the above changeset failed to update
that.
2014-09-09 08:55:34 +09:00
Daniel Holbert 06ef0fa68b Bug 1023344, part 2: Mark 876074-1.html as being allowed to fail 0 assertions, on Android. crashtest-manifest-only, no review 2014-09-08 14:28:42 -07:00
Carsten "Tomcat" Book 75dcdffdac merge mozilla-inbound to mozilla-central a=merge 2014-09-08 15:22:16 +02:00
John Daggett 123c797bde 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 53967d717d Bug 1062058 part 2 - rename userfont classes and adjust flags. r=heycam 2014-09-08 16:23:20 +09:00
Mason Chang 86e7644d1a Bug 1063265 - Stop Blinking the Text Caret when it isn't visible. r=roc 2014-09-06 12:25:00 +02:00
Ryan VanderMeulen d132cca22b Merge b2g-inbound to m-c. a=merge 2014-09-05 12:04:44 -04:00
Cameron McCormack 424406e1b8 Bug 1042860 - Handle animated attribute changes on descendants of SVG <text> elements. r=dholbert 2014-09-08 12:34:20 +10:00
Jonathan Watt 593ba8b912 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 53f6bba616 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 11273aafd6 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 a5dce4941f 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 5011ffa37e Bug 1063815 part 1: Use SetCalcValue() in StyleAnimationValue::ExtractComputedValue 'background-position' case. r=bz 2014-09-05 18:40:15 -07:00
Daniel Holbert 93e016a256 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 7d2ad21e7e 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 56ad372904 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 2ec303fb9e 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 5f59b02c90 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 5820513009 Bug 1058801 - Make mFilter a const reference in nsSVGFilterInstance, like in nsCSSFilterInstance. r=mstange 2014-09-04 10:31:04 -07:00
Max Vujovic 1d758c7592 Bug 1058798 - Fix indentation in ns*FilterInstance.h files. r=mstange 2014-09-04 10:31:03 -07:00
Max Vujovic e006fff028 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 6ba69e7f96 Bug 1058809 - Move the opening brace for nsCSSFilterInstance::SetBounds to a newline. r=mstange 2014-09-04 10:31:02 -07:00
Timothy Nikkel 295021d470 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 90dc98cfbe 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 332169032c 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 a60c564803 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 d32c1d2bfc 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 7f9178272f 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 6c1e5df71c 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 99097814d6 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 391b7d8d02 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 baa35dd12a 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 7130a6b300 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