Commit Graph

12389 Commits

Author SHA1 Message Date
Olli Pettay
bb5f6c0cd7 Bug 1031303 - mContext can be null when nsGlobalWindow::SetNewDocument is called, r=jst 2014-07-31 23:15:57 +03:00
Ryan VanderMeulen
908eceaa30 Backed out 9 changesets (bug 1016184) for frequent OSX Gip timeouts.
Backed out changeset 0893f2ef4b9a (bug 1016184)
Backed out changeset 93587ce1162b (bug 1016184)
Backed out changeset a52c9d674927 (bug 1016184)
Backed out changeset ca2fd0f41a12 (bug 1016184)
Backed out changeset 84dacf014e39 (bug 1016184)
Backed out changeset 16854e321f23 (bug 1016184)
Backed out changeset 8acd5e707c83 (bug 1016184)
Backed out changeset d0513eae0c97 (bug 1016184)
Backed out changeset 0d03cd217c64 (bug 1016184)
2014-07-31 13:29:30 -04:00
Nathan Froyd
12c76f15f7 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Ting-Yu Lin
f90b3d04c1 Bug 1016184 - part 3e - Fix test_reftests_with_caret.html. r=ehsan
Turn off the touch caret preference to fix test cases that ought to be
failed by definition of the touch caret behavior.

Thank Steven Lee <slee@mozilla.com> for the original WIP patch.
2014-07-27 00:19:00 +02:00
Ting-Yu Lin
a25784c965 Bug 1016184 - part 3d - Fix test_bug644768.html. r=ehsan
Rename test_bug644768.html to bug644768.html, and change the original
test_bug644768.html to an iframe container.

Thank Steven Lee <slee@mozilla.com> for the original WIP patch.
2014-07-27 00:18:00 +02:00
Ting-Yu Lin
ebba7aea48 Bug 1016184 part 3b - Revise touch caret visibility logic. f=pchang, r=ehsan
* Refactor UpdateTouchCaret() into smaller functions.
* Update touch caret in PresShell::DidDoReflow() and
  PresShell::UnsuppressAndInvalidate() if needed.
2014-07-27 00:15:00 +02:00
Ting-Yu Lin
c882c29267 Bug 1016184 part 3a - Fix typos and minor style changes. r=ehsan
Also group the private section together, and remove the protect section
since TouchCaret is a MOZ_FINAL class.
2014-07-27 00:13:00 +02:00
Robert O'Callahan
38abe3cebe Bug 1042104. Part 2: Set nsDisplayTransform's visible rect appropriately if we're prerendering it. r=tn
--HG--
extra : rebase_source : 20e95312e0b3b17098314647edc1ad9786c46eb9
2014-07-30 00:09:35 +12:00
Robert O'Callahan
cdaa7cd2e4 Bug 1042104. Part 1: Cache prerender flag in nsDisplayTransform. r=tn
--HG--
extra : rebase_source : 79f39bb1b0d29cc28b4d492fbf6a497f99ec9dac
2014-07-30 00:09:35 +12:00
Robert O'Callahan
372f537079 Bug 1013054. Don't propagate non-repaint change hints to the canvas frame. r=mattwoodrow
--HG--
extra : rebase_source : c5e9613baf7a444dafbb1b9677cf7b4bd5381140
2014-07-22 01:57:52 +12:00
Robert O'Callahan
eb7adfb6d1 Bug 1041530. Be more careful about contributing opaque areas to the window region. r=mattwoodrow
--HG--
extra : rebase_source : 3665198c22b44644a876332a5b6e8a480c64a3f5
2014-07-22 23:14:40 +12:00
Botond Ballo
7eadb0bce0 Bug 989403 - Invalidate inactive layer's region correctly in the presence of a resolution. r=roc
--HG--
extra : rebase_source : 899c27b493e1aabd65d512154e7ac6f345fdf6e1
2014-07-25 17:16:29 -04:00
Benoit Jacob
c50ccf8dba Bug 1044658 - 5/6 - remove asWeakPtr - r=froydnj 2014-07-30 15:52:05 -04:00
Wes Kocher
3c155637a3 Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky
6cf4dc1afd Bug 952977: More gfx::Matrix cleanup in FrameLayerBuilder r=nical 2014-07-29 19:18:52 -04:00
David Zbarsky
b967b647bf Bug 952977: More gfx::Matrix cleanup in nsDisplayTransform r=nical 2014-07-29 19:18:50 -04:00
Timothy Nikkel
728274599e Bug 1043644 - Use the frame bounds instead of the view bounds. r=kats 2014-07-29 14:50:48 -04:00
Kartikaya Gupta
917e8cd729 Bug 1043644 - Use the content viewer bounds instead of the view bounds if available. r=tn 2014-07-29 14:50:48 -04:00
Kartikaya Gupta
b69c2652f8 Bug 1016481 - Allow touch-end events to be cancelled and have them prevent dispatching click events. r=smaug 2014-07-29 11:59:19 -04:00
Birunthan Mohanathas
7e107d59a3 Bug 1044448 - Flatten view/{public,src}/ directories. r=roc
--HG--
rename : view/src/Makefile.in => view/Makefile.in
rename : view/src/nsView.cpp => view/nsView.cpp
rename : view/public/nsView.h => view/nsView.h
rename : view/src/nsViewManager.cpp => view/nsViewManager.cpp
rename : view/public/nsViewManager.h => view/nsViewManager.h
2014-07-28 18:02:44 -07:00
Morris Tseng
cc9241e019 Bug 987040 - Part 2: Add a flag indicate whether CollectClientRects should flush layout or not. r=ehsan 2014-07-23 23:06:00 +02:00
Morris Tseng
bdc2515786 Bug 987040 - Part 1: Implement mozbrowserselectionchange. r=vingtetun,ehsan,bugs. sr=bz 2014-07-28 01:21:00 +02:00
Matt Woodrow
21c89b906b Bug 1043961 - Disabled desktop display port changes for android. r=tn
--HG--
extra : rebase_source : d1de78af825bac1e7f06ff81c4394d70a75cc8fd
2014-07-29 12:07:36 +12:00
Rik Cabanier
1acd0f5427 Bug 1042411 - ASSERTION: It is assumed the initial operator is OPERATOR_OVER, when it is restored later. r=roc 2014-07-28 16:44:00 +02:00
Simon Montagu
b7f0fb4d8a Bug 1044198: convert margins from the frame's writing mode to the line's writing mode in nsBidiPresUtils::RepositionInlineFrames, r=jfkthame. 2014-07-28 01:20:58 -07:00
Matt Woodrow
bf15ddaf06 Bug 1039020 - Layerize background-attachment:fixed for all elements, not just the root one. r=roc 2014-07-25 20:37:50 +12:00
L. David Baron
364d06998b Bug 996796 patch 3 - Move the knowledge of when we last updated main-thread-suppressed animation styles into the restyle manager rather than have two separate but always equal timestamps for animations and transitions. r=birtles 2014-07-24 21:35:34 -07:00
L. David Baron
fe9af3ff1f Bug 996796 patch 2 - Change the public API to updating main-thread-suppressed animation styles (miniflush) in preparation for refactoring how it works. r=birtles
Later patches will combine the coalescing of restyling between the
miniflush performed for animations and for transitions into a single
RestyleTracker, which will coalesce the work better.  This patch changes
the API exposed for doing that so that the coalescing patch will contain
only the internals.
2014-07-24 21:35:34 -07:00
L. David Baron
b7a521a812 Bug 996796 patch 1 - Perform a miniflush on both animations and transitions before processing restyles. r=birtles
This affects the correctness of transitions that take over from a
running animation.  (In the current code this can happen on a single
element; once the cascading changes in bug 960465 are complete it can
only happen via inheritance.)

This version of the patch changes to do the test using opacity rather
than transform, since testing using transforms encountered issues
related to bug 1031688:  the presence of phantom transitions due to the
interaction of the computed value rules for transforms distinguishing
between values that the interpolation rules consider identical.  (These
problems only appear after patch 24 in this bug changes the coalescing
order between a parent with animations and a child with transitions so
that the parent is handled before the child, instead of transitions
being handled before animations.)

The final two added tests fail without the patch and pass with the patch.
(With the opacity version, the third to last test also fails without the
patch, probably due to the value not having yet been sent to the layer.
This was not an issue pre-patch with the original test using transform,
though.  I haven't tested that this happened with patch 0, though, so it
might have been the issue patch 0 fixes.)
2014-07-24 21:35:33 -07:00
Botond Ballo
fd0b0c0f0a Bug 1032880 - Disable 'transparent content with displayports' warning in tests. r=tn
--HG--
extra : source : 15adf5eda9a8f4576202b62ad0268c73bcdc4977
2014-07-22 17:01:50 -04:00
Jonathan Kew
76bdb9472c bug 1031241 pt 4 - Rename the {MIN,PREF}_WIDTH constants used to identify the type of intrinsic inline-size. r=smontagu 2014-07-24 18:03:26 +01:00
Jonathan Kew
55170c430a bug 1031241 pt 3 - Also rename Intrinsic{Width,Height} to Intrinsic{I,B}Size. r=smontagu 2014-07-24 18:03:26 +01:00
Jonathan Kew
8b67cdf704 bug 1031241 pt 2 - More renaming, e.g. where {Min,Pref}Width occurs within longer type and function names. r=smontagu 2014-07-24 18:03:25 +01:00
Jonathan Kew
ce9cbe4216 bug 1031241 pt 1 - Rename Get{Min,Pref}Width to Get{Min,Pref}ISize throughout layout. r=dbaron,smontagu 2014-07-24 18:03:25 +01:00
Ed Morley
59d4295a07 Backed out changeset ed7a32143aeb (bug 1041530) for OS X debug mochitest failures 2014-07-24 16:11:47 +01:00
Robert O'Callahan
dd83ee7f1e Bug 1041530. Be more careful about contributing opaque areas to the window region. r=mattwoodrow
--HG--
extra : rebase_source : 23f51dfbf716357310ac708a396b325864e41a67
2014-07-22 23:14:40 +12:00
Kartikaya Gupta
381ac68bc6 Bug 1043022 - Back out bug 1016481 for making it hard to click things in the browser. r=me 2014-07-24 07:57:53 -04:00
Simon Montagu
18c9f2f61a Bug 789096 patch 10: make Reflow set nsHTMLReflowMetrics.ISize and BSize instead of Width and Height. r=jfkthame 2014-07-24 01:30:07 -07:00
Simon Montagu
c3b44c4dad Bug 789096 patch 9: use logical coordinates in nsHTMLReflowState available size. r=jfkthame 2014-07-24 01:28:46 -07:00
Matt Woodrow
6f956abe14 Bug 1031107 - Part 7: Don't set ignore scroll frame without APZ. r=tn 2014-07-24 15:14:02 +12:00
Matt Woodrow
cf61976550 Bug 1031107 - Part 6: Subtract from the visible region in nsDisplayScrollLayer if we're not using APZ. r=tn 2014-07-24 15:13:23 +12:00
Matt Woodrow
26e1f42909 Bug 1031107 - Part 3: Skip display port visibility when computing plugin geometry. r=tn 2014-07-24 15:11:30 +12:00
Matt Woodrow
57456c50b6 Bug 1031107 - Part 2: Don't restrict out-of-flow frames dirty area to the viewport when not painting. r=tn 2014-07-24 15:10:44 +12:00
Matt Woodrow
90607a09dc Bug 1031107 - Part 1: Fix DoLogTestDataForPaint when using temporary layer managers. r=kats 2014-07-24 15:10:05 +12:00
Kartikaya Gupta
c5a403b4cf Bug 1041510 - Add some missing newlines when dumping display list sets, and include z-index in the dump. r=tn 2014-07-23 21:50:26 -04:00
Wes Kocher
50fa9c92c0 Backed out changeset 6ab8ef0895ca (bug 1032880) for bustage 2014-07-23 16:55:00 -07:00
Botond Ballo
a7f4a6dd87 Bug 1032880 - Disable 'transparent content with displayports' warning in tests. r=tn
--HG--
extra : rebase_source : 21ea67d322cb4a780b67584be4047f6ca8ac6690
2014-07-22 17:01:50 -04:00
Timothy Nikkel
3ace971252 Bug 1041510. Allow z-index overrides of 0 to work correctly on display items. r=roc 2014-07-23 18:07:18 -05:00
Alexandre Poirot
7ea4dd517f Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Botond Ballo
be603754de Bug 1035598 - Add gfx3DMatrix::ChangeBasis(), replacing nsLayoutUtils::ChangeMatrixBasis(). r=mattwoodrow 2014-07-22 18:05:13 -04:00