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

14064 Коммитов

Автор SHA1 Сообщение Дата
Phil Ringnalda 900c693e30 Merge m-c to m-i 2015-07-03 19:15:06 -07:00
Juan Gomez 258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Kevin Wern c4068c3470 Bug 1120683 - Properly handle unapplying 3D projective transforms throughout APZ code. r=botond
Whenever the inverse of a 3D projective transform is applied to a point, only use the result if it has a positive w-coordinate.

When transforming by a matrix that we know should be 2D, assert to that effect.

Transformations of rectangles (as opposed to points) remain to be audited.

--HG--
extra : source : a183e31473fcca0d20e2331fdbd93b8cc0cee824
2015-07-03 15:06:26 -04:00
dominique vincent 6edc702182 Bug 1176453 - Do not increment the cluster counter for input elements with label. r=kats 2015-07-02 21:16:25 +02:00
Markus Stange 69ce2d9220 Bug 1178745 - Respect scroll clips when flattening. r=roc
--HG--
extra : rebase_source : 40f024056c16347cf5796db799968ae35f9d6044
extra : histedit_source : e899d8fdd75fbe0833bf7c543fcd5bea011d9315
2015-07-02 17:04:14 -04:00
Markus Stange f6421a8bb7 Bug 1178745 - Move some code around. r=roc
--HG--
extra : rebase_source : 6f8745922fcaeeafdae0567ebf09ba4c6e94e254
extra : histedit_source : 100bb968f25534e0db9592f93b7fc593cfe9ccb2
2015-07-02 17:00:17 -04:00
Markus Stange 472ba62ba8 Bug 990974 - Treat carets in async scrolled scrollframes differently from non-caret content. r=roc
This makes those caret display items not share a layer with any other display items, and uses a different async scroll frame clip for that layer.

--HG--
extra : rebase_source : f01cd0343ea3e672b1d696a4e4e8924d070cc23d
extra : histedit_source : 14cefb8c1c9834d02a095e52e463add8a56a8625
2015-07-02 15:02:34 -04:00
Markus Stange f259a1f135 Bug 990974 - Give PaintedLayerDataTree a generic way of restricting a PaintedLayer to exactly one display item. r=roc
--HG--
extra : rebase_source : fd6c029196ccbc5d1c59f327a17b637e12e47076
extra : histedit_source : 1d145fcd038e769dfe1498fe5e4c13247d409ef4
2015-07-01 22:08:20 -04:00
Markus Stange 77820dcba1 Bug 990974 - Add a flag to ComputeFrameMetrics so that a different clip can be returned for the caret and non-caret content. r=roc
--HG--
extra : rebase_source : a00358c3191c49c21ad2ad9b1e1a8d5d47285672
extra : histedit_source : 64aafcbf2d8fa32610fe8a30c916dbbe1b4f9283
2015-07-02 13:42:34 -04:00
Lee Salzman 55553857ba Bug 771367 - Refactor GetAnimationContent and GetAnimationCollection into CommonAnimationManager to hide atom and pseudo-element voodoo. r=bbirtles
--HG--
extra : rebase_source : 4dd7ccea70aeb26850055388e6a8ec1aa90e5347
2015-07-01 14:43:13 -04:00
Lee Salzman 1201a3f336 Bug 771367 - Support compositor animation for pseudo-elements. r=dbaron
--HG--
extra : rebase_source : 9276e835dbc75aaaab718a871ed4eaa7c8389867
2015-07-01 11:55:51 -04:00
Xidorn Quan e71f015f03 Bug 1168705 part 1 - Add mechanism for dispatching events with refresh driver tick. r=roc,khuey
--HG--
extra : source : 78c7ef9ca558520a50fa57492ad714922080459d
2015-07-02 19:12:31 +10:00
David Anderson 16262c38a8 Bug 1148582 - Recycle mask layers attached to FrameMetrics. r=mattwoodrow
--HG--
extra : rebase_source : f74699e5c40598ca8b7aa0163897c74524e32419
extra : source : be49031960aa935f2f0d6fa594251c9e1fa12536
2015-06-21 12:28:10 -04:00
David Anderson 55a0f8ee25 Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
--HG--
extra : rebase_source : 9bf7a73b14e40972b3a5824b2f1344b7770ab789
extra : source : 745366787bcae737c0aec908554db2a3ec288908
2015-06-21 12:27:31 -04:00
David Anderson 506195b315 Bug 1148582 - Factor mask layer creation out of ContainerState::SetupMaskLayer. r=mstange
--HG--
extra : rebase_source : 22768360af5dd3befaee32dd2b27bd5168b9ac04
extra : source : b40d5e2bc9d77bc84edf31ca0faba8adee9b07c2
2015-06-20 19:47:57 -04:00
Markus Stange f1b62506d9 Back out bug 1148582 for static analysis bustage. 2015-07-01 01:20:59 -04:00
David Anderson 833a90534d Bug 1148582 - Recycle mask layers attached to FrameMetrics. r=mattwoodrow 2015-06-21 12:28:10 -04:00
David Anderson c29b4c6dfa Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow 2015-06-21 12:27:31 -04:00
David Anderson 82c9790c78 Bug 1148582 - Factor mask layer creation out of ContainerState::SetupMaskLayer. r=mstange 2015-06-20 19:47:57 -04:00
Maksim Lebedev 0424a6662e Bug 1151152 - Change behavior when pointer is dragged out of the document. r=smaug
--HG--
extra : rebase_source : b5fd5840d91bbc064c22476ca54349221be26955
extra : source : 9b51e066a4e6d912ddc7fa4a1f65633bae9beebf
2015-06-15 10:27:00 -04:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Kartikaya Gupta e2ee7534b5 Bug 1178842 - Fix unified build for nsDisplayList.cpp when a new file is added to layout/base. r=mstange 2015-06-30 14:49:03 -04:00
Kartikaya Gupta a1c0e2c5c3 Bug 1178833 - Fix for unified builds when a new file is added to layout/base. r=mstange 2015-06-30 14:49:03 -04:00
Kartikaya Gupta 02166f70f9 Bug 1177651 - Add areas covered by MozMousePixelScroll listeners to the dispatch-to-content region. r=dvander 2015-06-30 06:43:08 -04:00
Michael Layzell 7a3f88beaa Bug 1167406 - Mark nsRootPresContext::RunWillPaintObservers::mPresContext as MOZ_NON_OWNING_REF. r=dbaron
--HG--
extra : rebase_source : 86a4d3a30240c7d00a0c65a66c968e66cb2ab5e8
2015-06-17 11:48:00 +02:00
L. David Baron e9742befac Bug 1122526 patch 4 - Use the nearest widget size as the maximum size for an animated layer, in case it's a popup larger than the toplevel window. r=roc 2015-06-29 16:46:17 -07:00
L. David Baron fdfacfe99e Bug 1122526 patch 3 - Correctly account for transform:none when finding maximum scale for a transform animation. r=roc
The patch works by not handling transform:none specially at all, which
will lead to a scale of 1 (instead of the current 0).

This is the patch that actually fixes the original problem reported in
bug 1122526.  This patch also fixes bug 1165196.
2015-06-29 16:46:17 -07:00
L. David Baron 0f46845bc4 Bug 1122526 patch 2 - Only do OMTA transform scale choosing for layers that are for transform display items. r=roc
This fixes the scaling choice when we have more than one layer for the
same element, e.g., because it animates both transform and opacity.
2015-06-29 16:46:16 -07:00
L. David Baron 1f96bf7014 Bug 1122526 patch 1 - Factor in the scale from ancestors when computing scale for layer with OMT animation of transform. r=roc 2015-06-29 16:46:16 -07:00
Daniel Holbert cb57b1ad8c Bug 1177925: Use range-based "for" loops for nsFrameList iteration, in various places in layout. r=tn 2015-06-29 13:02:21 -07:00
Ryan VanderMeulen 83b7f52ded Backed out changeset 9b51e066a4e6 (bug 1151152) for various pointerevent test failures. 2015-06-29 11:44:36 -04:00
Maksim Lebedev 4f1073592a Bug 1151152 - Change behavior when pointer is dragged out of the document. r=smaug
--HG--
extra : rebase_source : 0221301df72b72092091911b93604dc0c9373e93
2015-06-15 10:27:00 -04:00
Lee Salzman 4142e9be13 Bug 633097 - Fix jittering animated text by disallowing flattening into a container layer that has animated text. r=mwoodrow 2015-06-26 18:13:50 -04:00
Cameron McCormack e32a5afe7f Bug 1161413 - Part 4: Move FontFaceSet ownership from nsPresContext to nsIDocument. r=smaug 2015-06-27 11:39:54 +10:00
Cameron McCormack 57866b6af6 Bug 1161413 - Part 1: Create FontFaceSet with a document rather than a pres context. r=jdaggett 2015-06-27 11:39:54 +10:00
Andrea Marchesini 9914935915 Bug 1177764 - Use nsTObserverArray in APZCCallbackHelper, r=kats, r=dholbert 2015-06-26 13:20:10 -07:00
Cameron McCormack b26c6e1429 Bug 1170888 - Restyle the document in EnsureSafeToHandOutCSSRules if we previously cloned sheet inners outside of that method. r=bzbarsky 2015-06-26 13:49:58 +10:00
Cameron McCormack dd81f3c902 Bug 1169512 - Add and remove quirk.css rather than enable and disable a clone of it. r=jwatt 2015-06-26 13:49:58 +10:00
Ryan VanderMeulen 5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Juan Gomez 702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04:00
Lee Salzman 3fe9408260 Bug 1033375 - Nudge simple linear gradients with hard stops to half-pixel gradient. r=nical 2015-06-23 20:50:36 -04:00
Ted Clancy 6f16984aef Bug 1164693 - Part 2: Frames in a non-bidi paragraph with newline shouldn't be marked as bidi. r=smontagu 2015-06-05 21:46:49 -04:00
Ted Clancy b1d966b6e0 Bug 1164693 - Part 1: Directional caret should point in caret direction in bidi paragraphs. r=smontagu 2015-06-05 21:44:54 -04:00
Cameron McCormack 56634d96ba Bug 804975 - Part 3: Support conditional cached reset structs on rule nodes. r=dbaron 2015-06-23 11:48:18 +10:00
Cameron McCormack 225f3dd70d Bug 804975 - Part 2: Add a RuleNodeCacheConditions class and use it instead of a boolean canStoreInRuleTree during style computation. r=dbaron 2015-06-23 11:48:18 +10:00
Jonathan Kew 10bd90547b Bug 1174711 - patch 1 - Rename nsIPercentHeightObserver to nsIPercentBSizeObserver, and update related frame methods to match. r=dholbert
--HG--
rename : layout/base/nsIPercentHeightObserver.h => layout/base/nsIPercentBSizeObserver.h
2015-06-22 10:33:34 +01:00
L. David Baron 394b89942c Bug 1169440 patch 7 - Pass parameter determined from style hint to FrameNeedsReflow. r=dholbert 2015-06-20 21:54:15 -07:00
L. David Baron 71b66d0c56 Bug 1169440 patch 6 - Add parameter to nsIFrame::FrameNeedsReflow to control handling of target being a reflow root. r=dholbert 2015-06-20 21:54:15 -07:00
L. David Baron c874e3c159 Bug 1169440 patch 3 - Add nsChangeHint_ReflowChangesSizeOrPosition. r=heycam 2015-06-20 21:54:15 -07:00
L. David Baron 1cc4969746 Bug 1169440 patch 1 - Add bitwise operators to nsChangeHint. r=heycam
I'm fed up with having to use the NS_*Hint functions, and I also have
trouble reading/writing some of them since I don't remember the order of
parameters.

(At some point I think we should convert existing callers, but I don't
plan to do that here.)
2015-06-20 21:54:15 -07:00