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

46219 Коммитов

Автор SHA1 Сообщение Дата
L. David Baron a5a8af226c Bug 1176969 followup - Annotate new reftests as intermittently fuzzy on Mac.
--HG--
extra : rebase_source : 24444f90ceaf97286ae2db8617040adcfc9edb30
2015-06-30 15:34:23 -07:00
Ryan VanderMeulen 2777e1cf4a No bug - Add more fuzz to 3 tests on Android.
CLOSED TREE
2015-06-30 16:39:17 -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
L. David Baron 38a633181f Bug 1176969 - Disable OMT animation for any frame in a preserve-3d scene rather than only frames whose parent and child are in a preserve-3d scene. r=mattwoodrow
frame->Preserves3D() is whether the frame's parent has transform-style:
preserve-3d, which means that the frame is part of the same 3-D scene as
its parent.  frame->Preserves3DChildren() is whether the frame itself
has transform-style: preserve-3d, which means that the frame is part of
the same 3-D scene as its children.

Neither of these are valid cases for doing off-main-thread (OMT)
animation because all of the layers in a preserve-3d scene are currently
siblings of each other, rather than preserving ancestor/descendant
relationships.  This means that it's not valid to animate transform of
the parent on the compositor because the compositor animation won't
update any of its children that have layers.  Likewise, it's not valid
to animate transform of the child on the compositor because the code
that sends transform information to the compositor doesn't handle the
accumulation of transforms needed to get the "right" transform for the
child (i.e., with the transforms of its ancestors up to the top of the
3-D scene merged in).

This means that we do OMT animation for slightly fewer cases with the
patch than we did without the patch.  This means it's pretty low risk in
terms of correctness, although there's a chance it might regress
performance on one of the (somewhat limited) set of cases where the
optimization was valid.  (Bug 779598 covers doing OMT animation for
preserve-3d cases, and depends on the work ongoing in bug 1097464.)

The animate-preserve3d-parent.html reftest doesn't fail without the
patch, since something seems to invalidate in the test; it was testing
the testcase that showed correct behavior when the mouse was moving, so
this isn't incredibly surprising (although that invalidation from mouse
movement is itself worth debugging).  The animate-preserve3d-child.html
test does fail without the patch, though.

(With an initial transform of none instead of the 30deg transform, both
tests also show an invalidation bug without the patch.)
2015-06-30 11:29:55 -07: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
Kartikaya Gupta 26766c4f1e Bug 1178060 - Ensure that if there is a document-level apz-aware event listener on a subdocument, we build the nsDisplaySubdocument item to hold that information. r=tn 2015-06-30 06:43:07 -04:00
Tom Klein 9020fa5cde Bug 1178159 - Ignore stroke-linecap:"square" on circle and ellipse. r=longsonr 2015-06-29 20:19:00 +02: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
Jonathan Kew 4f0102e602 Bug 1178250 - Don't call ConsiderChildOverflow until the child has been placed in the right location when reflowing a vertical-rl table. r=dholbert 2015-06-30 10:14:19 +01: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
Jonathan Kew 070c34dfa8 Bug 1165172 followup - Mark tests as fuzzy on OS X in addition to Windows. 2015-06-29 12:36:22 +01: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
Jonathan Kew e82df6e366 Bug 1165172 - Tests from Gérard Talbot for table row progression in vertical writing-modes. r=smontagu 2015-06-29 09:27:25 +01:00
Jonathan Kew 5c8a98c5b6 Bug 1165168 - Tests from Gérard Talbot for border-spacing in vertical writing-modes. r=smontagu 2015-06-29 09:24:39 +01:00
Simon Montagu eea8e28d88 Add fuzz to three reftests on Android. No bug. 2015-06-29 10:40:19 +03:00
Simon Montagu 3f24dbbfbb Bug 1178059: fix a pair of failing reftests from bug 1173958 by forcing a div to align like a td, r=jfkthame 2015-06-29 10:16:28 +03:00
Jonathan Kew b923a85dd4 Bug 1173958 followup - A few of the tests have a pixel of fuzz on B2G. no_r=orange 2015-06-28 07:30:44 -04:00
Jonathan Kew 3907cf90fa Bug 789788 - Revise the don't-use-document-fonts option so that it will prefer generics (as configured in prefs) but ignore the 'cursive' and 'fantasy' values, but may still use page-specified fonts if necessary for fallback (e.g. icon fonts). r=dbaron 2015-06-27 22:23:05 -07:00
Jonathan Kew 4adea587cc Bug 1178062 - Mark additional svg/*-conditions-* tests as random on Mulet. no_r=orange 2015-06-27 21:19:24 -07:00
Jonathan Kew f629a06d91 Bug 1178062 - Mark conditions-05.svg as random on Mulet. no_r=orange 2015-06-27 21:12:57 -07:00
Simon Montagu 4aacce208f Tests for bug 1173958. r=jfkthame 2015-06-26 08:13:12 -07:00
Simon Montagu fa16a00d09 Bug 1173958: whitespace and bracing changes to make FixedTableLayoutStrategy conform to local style, r=jfkthame 2015-06-26 09:03:12 -07:00
Simon Montagu dc5f8159fe Bug 1173958: convert FixedTableLayoutStrategy to logical coordinates, r=jfkthame 2015-06-26 08:58:22 -07:00
Jonathan Kew 6da0d4638a Bug 1157569 - Reftests for vertical-mode table with border-collapse. r=dholbert 2015-06-27 11:16:40 -07:00
Jonathan Kew 0cb8df0560 Bug 1157569 - Followup to address review nits (renamings, comment updates) from parts 13 and 14. 2015-06-27 11:16:18 -07:00
Jonathan Kew d22a7ebb8c Bug 1157569 - part 14 - Finish conversion of border-collapse code in nsTableFrame to logical coordinates. r=dholbert 2015-06-27 11:16:10 -07:00
Jonathan Kew f9a52f8a25 Bug 1157569 - part 13 - More conversion of physical to logical terminology in border-collapse calculations. r=dholbert 2015-06-27 11:16:03 -07:00
Daniel Holbert dcf322f0a1 Bug 1177927 followup: use . instead of -> to call method on nsFrameList, to fix compile error. 2015-06-27 03:30:36 -07:00
Daniel Holbert 3a2da5fce0 Bug 1177927: Use nsFrameList::GetLength() instead of manual iteration to count pages in nsPrintEngine. r=tn 2015-06-27 03:07:30 -07:00
Cameron McCormack 7dfb435bf7 Bug 1072102 - Part 2: Tests. r=jdaggett 2015-06-27 11:41:10 +10:00
Cameron McCormack 55dbc6f840 Bug 1072102 - Part 1: Implement FontFaceSet load and check. r=jdaggett,bzbarsky 2015-06-27 11:41:10 +10:00
Cameron McCormack 69b3f6b78a Bug 1163879 - Remove FontFaceSet::mUnavailableFontFaces. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack d6783fa6d1 Bug 1161413 - Part 7: Test Font Loading API in a display:none iframe. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack 5b21df1652 Bug 1161413 - Part 6: Update test assertion annotations. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack 42cdaef960 Bug 1161413 - Part 5: Cancel font loads on FontFaceSet destruction. r=jdaggett 2015-06-27 11:39:54 +10: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 26d865db92 Bug 1161413 - Part 3: Only reflow from the font face loader if we have a pres context. r=jdaggett 2015-06-27 11:39:54 +10:00
Cameron McCormack 10e71c63e8 Bug 1161413 - Part 2: Create FontFace objects with a FontFaceSet rather than a pres context. r=jdaggett 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
Brian Birtles 0b5f532b44 Bug 1170688 part 2 - Add test for text alpha on synthetic bold; r=jfkthame 2015-06-26 18:11:28 -07:00
Jonathan Kew 2b4a5c9fa2 Bug 1177606 - Reftests for vertical tables with specified width. 2015-06-26 16:52:39 -07:00