Commit Graph

8518 Commits

Author SHA1 Message Date
Ting-Yu Lin
27e0c9e194 Bug 1110039 - Part 2.4 - Add AccessibleCaretEventHub. r=roc
See AccessibleCaretEventHub.h for the class description.

Both TouchCaret and SelectionCarets have their event handling mechanism,
which lead to a lot of code duplication. Now AccessibleCaretEventHub
serves as the single entry point for all events and callbacks.

We also encountered performance issues in SelectionCarets because many
unnecessary events might be dispatched to Gaia driven by the selection
changed events. SelectionCarets did not have clear internal states to
avoid this. To solve it, AccessibleCaretEventHub implements state
classes, and rely on the current states to call the CopyPasteManager's
handler only when it's needed.

For example, when dragging a caret, we do not interest in
NotifySelectionChanged() for updating the carets. Since we've known a
caret is being dragging, we can call UpdateCarets() directly. Hence
DragCaretState does not override OnSelectionChanged().
2015-05-03 23:37:00 +02:00
Ting-Yu Lin
5749b23267 Bug 1110039 - Part 2.3 - Add AccessibleCaretManager. r=roc
See AccessibleCaretManager.h for the class description.

AccessibleCaretManager uses two AccessibleCarets to unify the
functionality provided by TouchCaret and SelectionCarets. It has
"cursor" mode and "selection" mode, which corresponds to TouchCaret and
SelectionCarets, respectively.
2015-04-30 00:59:00 +02:00
Ting-Yu Lin
206548e5fb Bug 1110039 - Part 2.2 - Add AccessibleCaret. r=roc
See AccessibleCaret.h for the class description.

Technical difference between AccessibleCaret and Touch/SelectionCarets:
The anonymous dom element containing a caret image will be created by
AccessibleCaret by using the API landed in bug 1020244 instead of being
created by nsCanvasFrame.
2015-05-04 21:25:00 +02:00
Ting-Yu Lin
7116f8917d Bug 1110039 - Part 2.1 - Add logger facility. r=roc 2015-04-24 01:52:00 +02:00
Ting-Yu Lin
520266b69a Bug 1110039 - Part 1 - Add nsLayoutUtils::ClampRectToScrollFrames. r=roc
ClampRectToScrollFrames generalizes IsRectVisibleInScrollFrames by
returning the clamped rect in scroll frames. IsRectVisibleInScrollFrames
could be implemented by checking whether the clamped rect is empty or
not.
2015-04-14 00:08:00 +02:00
Carsten "Tomcat" Book
1c0b0eacfa Backed out 10 changesets (bug 1056479) for bustage on a CLOSED TREE
Backed out changeset d5b1f2b78915 (bug 1056479)
Backed out changeset bcc65b714dd6 (bug 1056479)
Backed out changeset 0b35e8a463d2 (bug 1056479)
Backed out changeset 0933391809c9 (bug 1056479)
Backed out changeset 93bd67204fac (bug 1056479)
Backed out changeset 5260b93eb0b9 (bug 1056479)
Backed out changeset 130bea3f8623 (bug 1056479)
Backed out changeset 408e078cc18d (bug 1056479)
Backed out changeset a651c240979d (bug 1056479)
Backed out changeset d74ae8fcaac9 (bug 1056479)
2015-05-12 08:25:19 +02:00
John Daggett
aa4f23c30c Bug 1056479 p5 - fixup printpreview test. r=jfkthame 2015-05-12 14:51:17 +09:00
John Daggett
448b24f80f Bug 1056479 p2 - implement platform fontlist based on fontconfig. r=karlt
This patch implements a derived class of gfxPlatformFontList and a set of associated objects that uses fontconfig. It's a replacement for the existing gfxPangoFontGroup and gfxFontconfigUtils code. The fontconfig API is used to lookup all fonts on the system, which are grouped by family name.

Changes due to this patch:
- font style matching, the mapping of style attributes to a specific font, is now handled by the same Gecko code that is used on other plaforms. fontconfig substitutions are handled but fontconfig style matching no longer used.
- downloadable fonts using unicode-range are now supported
- local fullname lookups are only done with the English name of the font, as per the CSS3 Fonts spec, and not only other localized fullnames
- size-specific bitmap fonts are no longer supported
- fonts lacking a Unicode character map are no longer supported
2015-05-12 14:51:17 +09:00
Josh Matthews
66eb7ff591 Bug 1135812 - Make picture element react to viewport changes. r=dbaron,johns 2015-05-11 18:07:49 -04:00
Eric Rahm
b8e7fd265e Bug 1162673 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj
Check that logging is enabled before performing potentially expensive
operations.
2015-05-11 13:53:21 -07:00
Eric Rahm
041335c76e Bug 1162673 - Part 1: Remove instances of #ifdef PR_LOGGING in layout. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-11 13:53:18 -07:00
Jonathan Kew
b87a65cc88 Bug 1159305 - patch 2 - Clean up layout code by using the new accessors. r=smontagu 2015-05-11 11:37:46 +01:00
Jonathan Kew
b8e53384e8 Bug 1159729 - Use the adjusted |offset| value in GetTextDecorationRectInternal, instead of ignoring it. r=smontagu 2015-05-11 11:32:55 +01:00
Cameron McCormack
71c8f307c5 Bug 1154150 - Only create a FontFaceSet if we find @font-face rules. r=jdaggett 2015-05-09 14:47:09 +10:00
Cameron McCormack
eb7769872b Bug 1154148 - Create a FontFaceSet's UserFontSet eagerly. r=jdaggett 2015-05-09 14:46:49 +10:00
Ehsan Akhgari
2c9e11f05b Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan 2015-05-08 22:45:16 -04:00
Olli Pettay
33452bf0c4 Backout Bug 1149555 because of tresize regression, a=backout 2015-05-08 20:12:41 +03:00
L. David Baron
c29f2f2b8e Bug 1161049 patch 3 - Don't send animations to a layer if we're not using off-main-thread compositing. r=mstange
This refixes bug 947753 in a way that leads to fewer complications,
since we don't need to predict what kind of layer manager an element's
layer will have before the layer is actually created.  It has the
disadvantage that
AnimationPlayerCollection::CanPerformOnCompositorThread isn't really
telling the truth in cases where we won't have an layer that does
off-main-thread compositing.  This means that we will force the creation
of a layer to receive the animations (which might actually be good),
although it may have some disadvantages.

It also means that the additional (unlanded) patch in bug 947753 still
isn't needed, since we never set the animation generation on the layer,
so we will never try to throttle (suppress main thread execution) of
animations.
2015-05-08 15:56:37 +02:00
Kartikaya Gupta
74563ea4c9 Bug 1160566 - Make FrameMetrics.mCompositionBounds private and add a getter/setter for it. r=botond 2015-05-07 14:44:03 -04:00
Kartikaya Gupta
be2f4d0819 Bug 1160250 - Fix up the rect being used for the composition size calculation. r=tn 2015-05-07 14:44:03 -04:00
Kartikaya Gupta
67f53846ba Bug 1160250 - Put in a missing transfomToAncestor scaling factor. r=botond,tn 2015-05-07 14:44:02 -04:00
Kartikaya Gupta
186cc1d660 Bug 1160250 - Collapse the code from CalculateRootCompositionSize into UpdateCompositionBounds. r=botond,tn 2015-05-07 14:39:20 -04:00
Kartikaya Gupta
f0359f028e Bug 1160250 - Extract a helper function from the triplicated composition-bounds-updating code. r=botond,tn 2015-05-07 14:39:20 -04:00
Kartikaya Gupta
d142b53696 Bug 1160250 - Extract a helper method from the triplicated comp-bounds function to determine if we need to deflate the scrollbars. r=botond,tn 2015-05-07 14:39:19 -04:00
Seth Fowler
3cde7ec218 Bug 1162282 - When canvas.drawImage is called on a corrupt image that's not in the broken state, don't throw. r=gw280 2015-05-07 09:25:10 -07:00
Cameron McCormack
51bf4622a3 Bug 1162366 - Fix spelling of nsPresContext::mSupressResizeReflow and associated methods. r=dholbert 2015-05-06 20:56:00 -04:00
L. David Baron
ca0fb5364b Bug 1153539 patch 2 - Compute scale for rasterizing off-main-thread transform animations based on ratio to display size in addition to maximum and minimum scale. r=roc
This fixes bug 1153539 with the Firefox download arrow being pixellated
(verified by testing locally).

I also confirmed what happens on a flame device with the transform
unlocking the Firefox OS homescreen (bug 945082 / bug 972310).  For that
transform (which had a maximum scale of 2), I see four calls to
GetSuitableScale:
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586
(Presumably the first and third are for width, and the second and fourth
are for height.)  I believe this shows that bug 972310 will remain fixed
with this patch.

I chose to use the pres context's visible area rather than the screen
size because it seemed more appropriate, and also because (if memory
serves correctly) it's much cheaper to get.
2015-05-06 08:52:20 +02:00
L. David Baron
b7e2a0e713 Bug 1153539 patch 1 - Improve comments for nsLayoutUtils::ComputeSuitableScaleForAnimation. r=roc 2015-05-06 08:52:20 +02:00
Mats Palmgren
16cb7dcfbc Bug 1009214 part 1 - [css-grid] Don't wrap placeholders in an anonymous grid item. r=dholbert 2015-05-05 21:53:22 +00:00
Daniel Holbert
bfff160260 Bug 1161731: Remove newline characters from the ends of NS_WARNING messages in /gfx and /layout. r=mstange 2015-05-05 13:57:47 -07:00
Olli Pettay
d7937f8597 Bug 1149555 - Update resize event firing to follow the specs, dispatch right before rAF callbacks, r=dbaron 2015-05-05 17:56:01 +03:00
Kartikaya Gupta
df69d729aa Bug 1161040 - Add some assertions to guard against infinite loops in the handoff chains. r=botond 2015-05-05 08:36:52 -04:00
Timothy Nikkel
2b812da207 Bug 1159772. Don't let nsContainerFrame::SyncWindowProperties make widget calls that can result in synchronous painting during reflow or frame construction. r=mats
Specifically on Windows nsIWidget::SetTransparencyMode can result in sync painting.

So we give nsContainerFrame::SyncWindowProperties a sync or async option and use the view manager post pending update infrastructure to flush SyncWindowProperties calls async.
2015-05-04 14:29:19 -05:00
Kartikaya Gupta
1a46a87919 Bug 1161040 - Don't set a scrollparent on the root content document in the child process that points to itself. r=tn 2015-05-04 14:37:22 -04:00
Anthony Tseng
96161fc227 Bug 1158425 - Rename _SYNTH event names. r=smaug 2015-05-01 22:06:00 -04:00
Kartikaya Gupta
893c5f9675 Bug 1157579 - Make sure the visual scroll port size includes the area of scrollbars when used in TryLayout. r=tn 2015-05-04 10:17:26 -04:00
Morris Tseng
908b2e6554 Bug 1156636 - Remove post scale multiplication for event regions. r=roc 2015-04-28 01:46:00 +02:00
Ehsan Akhgari
a797bf6f1b Bug 1137544 - Make a couple of tests more robust 2015-05-03 23:08:08 -04:00
Xidorn Quan
41fdd3039e Bug 1149009 - Suppress line break inside text frame if it is directly contained by ruby content box. r=dbaron 2015-05-04 09:52:53 +12:00
Xidorn Quan
2ca6d95225 Backout df7c88910f47 (bug 1149009) for new patch. 2015-05-04 09:52:53 +12:00
Robert O'Callahan
e45cd3431f Bug 923193 - Avoid calling GetDeltaToPerspectiveOrigin for elements that don't have perspective. r=heycam 2015-05-02 02:25:51 +01:00
Wes Kocher
ebdbb5f57b Merge m-c to inbound a=merge 2015-05-01 17:23:32 -07:00
Wes Kocher
9c0b8289bf Merge inbound to m-c a=merge 2015-05-01 17:19:28 -07:00
Ryan VanderMeulen
02b52b7666 Merge m-c to fx-team. a=merge 2015-05-01 13:00:21 -04:00
Ryan VanderMeulen
f3e32f8fe2 Merge m-c to inbound. a=merge
CLOSED TREE
2015-05-01 10:50:07 -04:00
Danilo Cesar Lemes de Paula
9e221c4153 Bug 1159405 - Fix "Found a non-root APZ with no handoff parent". r=botond 2015-04-30 06:06:00 -04:00
Danilo Cesar Lemes de Paula
a1e552f34e Bug 1156401 - Fix ContextMenu handling when building Fennec with C++ APZ. r=kats, r=botond
This commit deals with the situation where there's no scrollable element
on a fennec's page. It uses the Top Most root element (Xul viewport)
instead.

So this fixes the situation when the tap/click was not being send to the
correct dom element.
2015-04-30 06:09:00 -04:00
Jonathan Watt
88f103be1a Bug 923193, part 1 - Avoid calculation of the reference box for transforms unless they're actually needed. r=roc 2015-04-28 19:55:42 +01:00
Mike Hommey
b673a97a25 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Ted Clancy
ac9b4eade3 Bug 1157726: Updated algorithm to match ICU implementation of support for bidi isolates. r=smontagu 2015-04-28 22:41:44 -04:00
Brian Birtles
fb73e3f8ee Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly. r=smaug 2015-04-30 09:06:43 -04:00
Carsten "Tomcat" Book
5791ead1d5 Backed out changeset 1b5fc672f0d4 (bug 1159082) for B2G ICS Emulator opt R6 test failures on a CLOSED TREE 2015-04-30 13:15:04 +02:00
Xidorn Quan
b7c4f76af5 Bug 1159101 part 5 - Initialize writing mode of desired mode of table cell frame from its table frame on a CLOSED TREE. r=roc 2015-04-30 18:27:54 +12:00
Brian Birtles
1661b20915 Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly; r=smaug 2015-04-28 10:16:45 +09:00
Ryan VanderMeulen
4e99721670 Merge m-c to fx-team. a=merge 2015-04-30 14:05:10 -04:00
Mark Finkle
7be58a87a4 Bug 1159263 - Add support to nsCaret to stop blinking after a set of cycles r=roc r=snorp 2015-04-29 10:23:19 -04:00
Markus Stange
4f43742e9b Bug 1147194 - Do scroll info layer hoisting when building the display list. r=tn 2015-04-30 14:54:48 -04:00
Botond Ballo
2434616787 Bug 1154478 - Rename gfxPrefs::LayoutEventRegionsEnabled to LayoutEventRegionsEnabledDoNotUseDirectly. r=kats 2015-04-23 01:25:00 -04:00
Jonathan Kew
7aa0db553c Bug 1157951 patch 2 - Make nsCharClipDisplayItem aware of vertical writing modes. r=roc 2015-04-29 08:18:53 +01:00
Jonathan Kew
d5046e2945 Bug 1157951 patch 1 - Rename fields and variables in nsCharClipDisplayItem etc using VisIStart/End instead of left/right. r=roc 2015-04-29 08:18:53 +01:00
Jonathan Kew
40f91dc707 Bug 1157752 - In vertical writing modes, text-orientation:upright should force LTR directionality. r=smontagu 2015-04-29 08:18:53 +01:00
Cameron McCormack
348a675cf6 Bug 1157097 - Don't share a style context that will have its cached style data cleared. r=dbaron 2015-04-29 14:47:15 +10:00
David Major
c92c020b89 Bug 1157835: Remove the MSVC_ENABLE_PGO flag from the build system. r=glandium 2015-04-27 19:59:27 -04:00
Ted Clancy
92a9c5c6c7 Bug 1151908 - Updating our character property data with new Bidi info from Unicode 6.3. r=smontagu 2015-04-17 14:19:39 -04:00
L. David Baron
19d0a09a5f Bug 1144410 - Remove finished transitions when a frame transitions away from being display:none. r=birtles
Since bug 960465 patch 14, we've retained finished transitions in order
to handle the issues described in
https://lists.w3.org/Archives/Public/www-style/2015Jan/0444.html .  The
code that did this made the assumption that the transition manager is
notified of the full sequence of style changes that happen to an
element.  However, when an element becomes part of a display:none
subtree and then later becomes displayed again, the transition manager
is not notified of a style change when it becomes displayed again (when
we do not have the old style context).

This patch introduces code to prune the finished transitions when that
happens.

This really fixes only part of the set of problems described in bug
1158431, which also affect running transitions.  However, it's the part
of that set that was a regression from bug 960465, which introduced the
retention of finished transitions, and which makes these issues
substantially easier to hit.

I'd like to fix this part quickly because it's a regression and we
should backport the fix.

Without the patch, I confirmed that the following two tests fail:
INFO TEST-UNEXPECTED-FAIL | layout/style/test/test_transitions_dynamic_changes.html | bug 1144410 test - opacity after starting second transition - got 0, expected 1
INFO TEST-UNEXPECTED-FAIL | layout/style/test/test_transitions_dynamic_changes.html | bug 1144410 test - opacity during second transition - got 0, expected 0.5

With the patch, all the added tests pass.
2015-04-26 19:20:19 -07:00
Shyam Venkatesh
9cae94cdb3 Bug 1157728: Removed StackArena::Init() and call to it as it is now useless. r=dholbert 2015-04-25 07:47:10 +05:30
Kartikaya Gupta
678e25c39d Bug 1156952 - Switch Fennec over to the "attached" widget model, so we get one nsWindow instead of two. r=snorp 2015-04-24 22:26:34 -04:00
Ting-Yu Lin
8d3bd6db22 Bug 1158090 - Fix documentation for nsDisplayListBuilder constructor. r=roc 2015-04-24 02:41:00 -04:00
Xidorn Quan
a90ebbab73 Bug 1117227 part 5 - Render ellipsis in correct orientation. r=jfkthame 2015-04-24 10:15:32 +12:00
Mike Conley
8ec919ba36 Bug 1096093 - Send ThemeRefresh message from parent down to content process. r=smaug. 2015-04-22 10:58:33 -04:00
L. David Baron
cb0282d25b Bug 1157455 patch 2 - Send angles (in CSS transform functions) to the compositor thread with their units rather than sending all such angles in radians. r=birtles
This avoids accumulating floating point error from conversion, so that
when we switch to doubles at the start of
nsCSSValue::GetAngleValueInRadians we're using the original unit, rather
than a different one that will round differently.
2015-04-23 09:18:12 -07:00
Carsten "Tomcat" Book
b7b7100fa7 Backed out changeset 8ed8157d26a2 (bug 1096093) 2015-04-23 17:18:22 +02:00
Mike Conley
a34f07ea71 Bug 1096093 - Send ThemeRefresh message from parent down to content process. r=smaug. 2015-04-22 10:58:33 -04:00
L. David Baron
c76d9df9af Bug 1156456 patch 3 - Send transform origin and perspective origin to layer in device pixels rather than CSS pixels. r=birtles 2015-04-22 19:37:04 -07:00
Xidorn Quan
148ba2751d Bug 1156222 - Check frame type instead of display type for ruby and simplify code. r=dholbert 2015-04-23 13:32:53 +12:00
Botond Ballo
133dcaf5b9 Bug 1151663 - Only call GetOrMaybeCreateDisplayPort() in nsLayoutUtils::PaintFrame() if we are using containers for root scroll frames. r=tn 2015-04-15 17:14:32 -04:00
Botond Ballo
32d4f63a35 Bug 1151663 - Initialize display list builder flags earlier in nsLayoutUtils::PaintFrame(). r=tn 2015-04-15 15:48:09 -04:00
Seth Fowler
78fb468573 Bug 1085783 (Part 1) - Snap both the fill and dest rects using UserToDeviceSnapped() when pixel snapping images. r=roc 2015-04-22 13:04:04 -07:00
Markus Stange
33d60c5174 Bug 1156393 - Cache nsDisplayBorder bounds. r=roc 2015-04-20 18:57:51 -04:00
Markus Stange
c14d806798 Bug 1141089 - Add more asserts for DisplayItemData, trying to catch whether we're accessing deleted instances. r=roc 2015-04-21 14:13:54 -04:00
Carsten "Tomcat" Book
e1e4052c9c merge mozilla-central to mozilla-inbound IGNORE IDL 2015-04-22 16:09:56 +02:00
Kartikaya Gupta
b1a8b5072c Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me 2015-04-22 09:36:25 -04:00
David Anderson
41f3a0786c Fix bogus assertion in nsLayoutUtils::SetDisplayPortMargins. (bug 1156409, r=botond, a=philor) 2015-04-21 23:01:41 -04:00
Wes Kocher
7599b0a052 Merge b2ginbound to m-c a=merge 2015-04-21 15:31:59 -07:00
Wes Kocher
09ae95ef7e Merge inbound to m-c a=merge 2015-04-21 15:23:57 -07:00
Wes Kocher
fe43cf91b4 Merge fx-team to m-c a=merge 2015-04-21 15:15:48 -07:00
David Anderson
acfb50a423 Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm) 2015-04-21 15:35:19 -04:00
Carsten "Tomcat" Book
0d35658401 merge fx-team to mozilla-central a=merge 2015-04-21 12:06:04 +02:00
Timothy Nikkel
396a0daeb9 Bug 1156598. Remove old, dead scroll layer item code. r=mstange 2015-04-20 22:48:10 -05:00
Brian Birtles
42b3a896fd Bug 1154615 part 6 - Rename references to players within layout/; r=jwatt
We will rename CSSAnimationPlayer/CSSTransitionPlayer in a separate patch
2015-04-21 10:22:10 +09:00
Brian Birtles
eb570dc2df Bug 1154615 part 5 - Rename AnimationPlayerCollection to AnimationCollection; r=jwatt 2015-04-21 10:22:10 +09:00
Brian Birtles
08fed93f82 Bug 1154615 part 2 - Rename PendingPlayerTracker to PendingAnimationTracker; r=jwatt
This patch also updates the method names on PendingAnimationTracker but leaves
a number of local variables which will be fixed in a subsequent patch.
2015-04-21 10:22:09 +09:00
Brian Birtles
6033b2c86d Bug 1154615 part 1 - Rename AnimationPlayer to Animation in WebIDL; r=smaug
This patch is a fairly minimal rename of the AnimationPlayer interface. It
leaves a bunch of local variables and helper classes still using the word
"player". These will be addressed in subsequent patches that don't require DOM
peer review.
2015-04-21 10:22:09 +09:00
Wes Kocher
694a5e2344 Merge m-c to fx-team a=merge CLOSED TREE 2015-04-20 17:19:07 -07:00
Wes Kocher
3474a7a135 Merge fx-team to m-c a=merge CLOSED TREE 2015-04-20 17:04:09 -07:00
Mark Capella
8febeb30a3 Bug 1156037 - SelectWord triggered by NS_MOUSE_MOZLONGTAP widget event doesn't move focus, r=tylin 2015-04-20 10:41:20 -04:00
Denis Volk
4ad62045e8 Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj 2015-04-15 12:47:03 -04:00
Phil Ringnalda
1521afb292 Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson
50d7fd13e2 Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats) 2015-04-17 11:49:55 -04:00
Ehsan Akhgari
da21700dab Bug 1155488 - Mark nsIPresShell::mHiddenInvalidationObserverRefreshDriver as MOZ_UNSAFE_REF; r=roc 2015-04-18 19:08:24 -04:00
Ehsan Akhgari
c2658af1f9 Bug 1155485 - Mark nsFrameManagerBase::mPresShell as MOZ_NON_OWNING_REF; r=roc 2015-04-18 19:08:21 -04:00
Ehsan Akhgari
4c5e8b93b9 Bug 1155478 - Use smart pointers for three members of nsIPresShell; r=roc 2015-04-18 19:08:18 -04:00
Sylvestre Ledru
0527739a94 Bug 1155766 - Fix a bad assertion r=jfkthame 2015-04-20 11:42:49 -07:00
Markus Stange
24d332c681 Bug 1156129 - Take border radius into account when calculating the bounds of border display items. r=roc 2015-04-19 20:48:37 -04:00
Xidorn Quan
56bbdffe9e Bug 1149009 - Fix line break suppression on whitespace not contained but wrapped in ruby boxes. r=dbaron 2015-04-20 15:04:09 +12:00
Ehsan Akhgari
6eb2e25f34 Bug 1156008 - Convert CapturingContentInfo::mContent to StaticRefPtr; r=roc 2015-04-19 16:44:04 -04:00
Seth Fowler
653b5b1a85 Bug 1145439 (Part 2) - Make test_scroll_event_ordering.html wait for rAF to unthrottle. r=roc 2015-04-21 09:44:43 -07:00
Seth Fowler
19622d34b7 Bug 1145439 (Part 1) - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-21 09:44:40 -07:00
Carsten "Tomcat" Book
38459dc8d1 Merge mozilla-central to fx-team 2015-04-21 12:45:22 +02:00
Maksim Lebedev
35612e767d Bug 1153130 - Add test for prevent FireFox crashes when pointer events are enabled. r=smaug 2015-04-17 03:06:00 +02:00
Maksim Lebedev
d3d98a0e5e Bug 1153130 - Prevent FireFox crashes when pointer events are enabled. r=smaug 2015-04-13 06:22:00 +02:00
Nicolas Silva
51e181888b Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas 2015-04-21 17:04:57 +02:00
Carsten "Tomcat" Book
7094be4068 Backed out changeset 60bbc4230cd7 (bug 1085783) 2015-04-22 13:14:35 +02:00
Andrea Marchesini
b75af49c46 Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan 2015-04-22 08:29:22 +02:00
Phil Ringnalda
c9d2df1e8c Merge m-c to a CLOSED TREE m-i 2015-04-21 20:17:57 -07:00
Seth Fowler
a86b9425e6 Bug 1085783 (Part 1) - Snap both the fill and dest rects using UserToDeviceSnapped() when pixel snapping images. r=roc 2015-04-21 19:23:10 -07:00
Neil Deakin
3b7fec7dde Bug 1058712, e10s, support for copy image command, r=ehsan,mconley 2015-04-21 20:09:14 -04:00
Morris Tseng
a432f4cf9b Bug 1021499 - Enlarge touch/selection carets touch area. r=roc 2015-04-15 19:15:00 -04:00
Wes Kocher
73d4bb85f2 Merge m-c to inbound a=merge 2015-04-21 15:35:07 -07:00
Cameron McCormack
c74201d7cc Bug 1156988 - Update RestyleManager::{Change,Restyle}HintToString for recent changes. r=dbaron 2015-04-22 08:03:31 +10:00
Markus Stange
2e428d5753 Bug 1151346 - Back out the important part again because of bug 1151889. 2015-04-21 16:41:58 -04:00
Carsten "Tomcat" Book
f712fa1cba Backed out changeset 5ef9825777a2 (bug 1021499) 2015-04-17 13:14:13 +02:00
Morris Tseng
ec0835d293 Bug 1021499 - Enlarge touch/selection carets touch area. r=roc 2015-04-15 19:15:00 +02:00
Cameron McCormack
08b506279f Bug 1154149 - Remove nsPresContext arguments from a bunch of nsStyleSet methods. r=dbaron 2015-04-17 11:09:59 +10:00
Jonathan Kew
3e6ffd00f4 Bug 1152254 - Handle vertical text frames when clipping display list for drag image. r=smontagu 2015-04-08 11:36:05 +01:00
Timothy Nikkel
571ee57a11 Bug 1155025. Make the root layer on fennec have null scroll id with containerless scrolling. r=mstange
On Android we want the root xul document to get a null scroll id so that the root content document gets the first non-null scroll id.
2015-04-16 12:34:17 -05:00
Morris Tseng
ca7d4821a3 Bug 1147279 - Get correct translation when layer optimize away. r=roc 2015-04-14 22:39:00 +02:00
Ryan VanderMeulen
0e7e73dc54 Merge inbound to m-c. a=merge 2015-04-15 21:22:31 -04:00
Botond Ballo
f59f676e56 Bug 1152479 - Extract the implementations of layout-related nsIDOMWindowUtils APIs used by APZ into nsLayoutUtils. r=ehsan 2015-04-14 13:19:10 -04:00
peter chang
0bff759735 Bug 1144990 - Dump display items with class id and name, r=roc 2015-04-15 10:07:45 +08:00
peter chang
65efba80a9 Bug 1127170 - Add TYPE_RENDERS_NO_IMAGES for display item with transform type to bypass invalidation during image decode. r=mattwoodrow 2015-03-22 23:32:00 -04:00
Brian Birtles
977582d70a Bug 1153734 part 4 - Rename other uses of 'source' and 'source content'; r=jwatt
This patch also tightens up a one or two references to 'target effect' replacing
them with just 'effect'. This is because 'target effect' is longer and easily
confused with 'target element'. 'effect' should be sufficient. 'target element'
is a term from the Web Animations specification and in that context, simply
referring to the 'effect' would sound a little odd.
2015-04-15 08:48:21 +09:00
Brian Birtles
717246367d Bug 1153734 part 3 - Rename AnimationPlayer.source to AnimationPlayer.effect; r=smaug
There are still some other references to "source" in AnimationPlayer such as
HasInPlayerSource and UpdateSourceContent. These are renamed in a subsequent
patch (that doesn't require DOM peer review).
2015-04-15 08:48:21 +09:00
Brian Birtles
ec581c1cbf Bug 1153734 part 2 - Rename Animation to KeyframeEffectReadonly; r=smaug
We define KeyframeEffectReadonly in KeyframeEffect.cpp since Web Animations also
defines KeyframeEffect and when we come to implement that I expect we'll define
it in the same class, maybe even using the same object.

This patch also adds a few missing includes in places where
KeyframeEffectReadonly is used so that we're not just cargo-culting it in.
2015-04-15 08:48:21 +09:00
Cameron McCormack
c57a9da3cc Bug 1146101 - Call ClearCachedInheritedStyleDataOnDescendants on more style contexts that had structs swapped out from them. r=dbaron a=abillings 2015-04-15 08:13:45 +10:00
Jan Beich
bbdd306621 Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker r=dholbert r=mstange 2015-04-14 19:38:47 +02:00
Maksim Lebedev
afcc0e6a7c Bug 979497 - Once DispatchPointerFromMouseOrTouch is called, aFrame can be deleted. r=smaug 2015-04-14 11:46:39 -04:00
Ying-Ruei Liang (KK)
5b075b3ea2 Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.

* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect
2015-04-11 22:03:00 -04:00
Ehsan Akhgari
e364a0b821 Bug 956530 follow-up: Fix the test failure on Windows 8 caused by the text box having a glowing outline as a result of being clicked on
Landed on a CLOSED TREE
2015-04-14 10:54:00 -04:00
Carsten "Tomcat" Book
41e2b6bdc7 Merge mozilla-central to mozilla-inbound 2015-04-14 16:15:02 +02:00
Ryan VanderMeulen
2250cf37e6 Merge inbound to m-c. a=merge 2015-04-14 10:06:03 -04:00
Ms2ger
82c2faeae3 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Ehsan Akhgari
a7e81d9f03 Bug 956530 - Clear the delayed caret data when clicking on a selected part of a text control if the focus event handler selects the control; r=roc 2015-04-14 08:29:11 -04:00
Mark Capella
6aed62cf32 Bug 1153076 - Add NS_MOUSE_MOZLONGTAP support in Fennec, r=kats, tylin 2015-04-13 22:33:02 -04:00
Olli Pettay
4a4811d6c1 Backout Bug 930793 because of talos regressions,r=backout 2015-04-13 19:02:27 +03:00
Kartikaya Gupta
c37cfee38b Bug 1148889 - Treat subclasses of scrollframes as animated geometry roots. r=mstange 2015-04-13 16:11:08 -04:00
Markus Stange
8bfcb8d3fa Bug 1141089 - Check that we're unsetting sDestroyedFrame correctly. r=roc 2015-04-10 17:34:28 -04:00
Markus Stange
60cee5ca65 Bug 1141089 - Turn these two assertions into release assertions. r=roc 2015-04-10 17:34:04 -04:00
Markus Stange
c0e9b77b0c Bug 1141089 - Use const nsTArray* in all the places where we don't change the array's contents. r=roc 2015-04-10 17:42:42 -04:00
Markus Stange
449e6cdad9 Bug 1141089 - Add a few more MOZ_RELEASE_ASSERT(mLayer) checks, just for fun. r=roc 2015-04-10 17:30:09 -04:00