Commit Graph

22188 Commits

Author SHA1 Message Date
Ed Morley
878ea184cf Backed out changeset 3ee28802c28c (bug 1024930) for causing B2G mochitest-debug-14 failures 2014-07-24 16:23:40 +01:00
Carsten "Tomcat" Book
01722066f7 Merge mozilla-central to b2g-inbound 2014-07-24 15:44:44 +02:00
William Chen
5545d56202 Bug 1041880 - Use GetParentElementCrossingShadowRoot() when initializing style scopes. r=heycam 2014-07-24 01:12:38 -07:00
Morris Tseng
1db8b1aa6a Bug 1024930 - Change text highlighting color. r=roc 2014-07-23 23:58:00 +02:00
Botond Ballo
e8f8e0c180 Bug 1035598 - Add gfx3DMatrix::ChangeBasis(), replacing nsLayoutUtils::ChangeMatrixBasis(). r=mattwoodrow 2014-07-22 18:05:13 -04:00
Max Vujovic
3a832415cc Bug 948265 - Support SourceAlpha keyword in SVG filter chains. r=mstange 2014-07-15 11:37:00 +02:00
Brian Birtles
fa65372e57 Bug 1002332 - Make AnimationTimeline record the last refresh time and use that when there is no refresh driver; r=bz
A document that belongs to an iframe that is display:none as no associated pres
context from which to get a refresh driver. However, in this case
document.timeline.currentTime should still never go backwards (since document
timelines are supposed to be monotonically increasing).

This patch makes AnimationTimeline record the last value returned for the
current time so that if the document becomes display:none we can still return
the most recently used time.
2014-07-24 13:37:38 +09:00
Matt Woodrow
8a776bf27a Bug 1031107 - Part 8: Set display ports on tiled scrollable layers. r=tn 2014-07-24 15:14:39 +12:00
Matt Woodrow
d5035d8cda Bug 1031107 - Part 7: Don't set ignore scroll frame without APZ. r=tn 2014-07-24 15:14:02 +12:00
Matt Woodrow
90542012df 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
1a49ad23c9 Bug 1031107 - Part 4: Union the display port dirty area in nsSubDocumentFrame. r=tn 2014-07-24 15:12:42 +12:00
Matt Woodrow
c2b57a0220 Bug 1031107 - Part 3: Skip display port visibility when computing plugin geometry. r=tn 2014-07-24 15:11:30 +12:00
Matt Woodrow
cb807dc805 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
1f399de1a2 Bug 1031107 - Part 1: Fix DoLogTestDataForPaint when using temporary layer managers. r=kats 2014-07-24 15:10:05 +12:00
Kartikaya Gupta
6bbaa9d496 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
412b5055fe Backed out changeset 6ab8ef0895ca (bug 1032880) for bustage 2014-07-23 16:55:00 -07:00
Botond Ballo
d8b1dd5509 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
0cb1901937 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
f5412abfea 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
76bb94c45c Bug 1007728 - Avoid calling APZCTreeManager::UpdatePanZoomControllerTree() on repeat transactions. r=kats,BenWa
--HG--
extra : rebase_source : 470498aae39f2f297cd181372413b197e5c71821
2014-05-30 18:52:43 -04:00
Carsten "Tomcat" Book
e7cc9c3602 Merge mozilla-central to mozilla-inbound 2014-07-23 16:12:02 +02:00
Carsten "Tomcat" Book
9f1293819a merge mozilla-inbound to mozilla-central a=merge 2014-07-23 15:50:58 +02:00
Matt Woodrow
c849fa3275 Bug 1042423 - Mark some tests fuzzy due to blending differences with mask layers. CLOSED TREE 2014-07-23 19:46:28 +12:00
Matt Woodrow
9cd49b4e7f Bug 1041894 - Make FindOpaqueBackgroundColorFor check the DisplayItemClip of items before selecting them. r=roc
--HG--
extra : rebase_source : 32dfac0c8050c06d40341c74d36a0f7e72aeabf9
2014-07-23 18:12:08 +12:00
Susanna Bowen
0e583bd0fd Bug 1021952 - Ensure that direct children of ruby elements are inline. r=bz 2014-07-22 19:08:13 -07:00
Susanna Bowen
270588e327 Bug 1021952 - Generate anonymous boxes to preserve proper ruby structure r=bz 2014-07-22 19:08:08 -07:00
Susanna Bowen
418dd85109 Bug 1021952 - Add ruby display values and ruby frames. r=dholbert,bz 2014-07-22 19:08:01 -07:00
cku@mozilla.com
f854f60f30 Bug 974242 - enable test cases which are passed on B2G. r=ahal 2014-07-23 04:27:00 +02:00
Matt Woodrow
e178a929ba Bug 1039926 - Exclude clips that have been converted to a mask layer from invalidation. r=roc 2014-07-23 18:03:52 +12:00
Matt Woodrow
159e5abfc5 Bug 1039926 - Refactor display list invalidation so that the majority happens after we've finished assigning items to ThebesLayers. r=roc 2014-07-23 18:03:24 +12:00
Matt Woodrow
7275aa256b Bug 1042423 - Part 5: Remove PaintBackgroundColor. r=roc 2014-07-23 17:23:38 +12:00
Matt Woodrow
2d03ba140b Bug 1042423 - Part 4: Clip background display items using DisplayItemClip. r=roc 2014-07-23 17:22:17 +12:00
Matt Woodrow
051aa42555 Bug 1042423 - Part 3: Don't build inactive mask layers. r=roc 2014-07-23 17:21:35 +12:00
Matt Woodrow
5449d918c1 Bug 1042423 - Part 2: Add DisplayItemClip constructor for rect + rounded rect. r=roc 2014-07-23 17:21:06 +12:00
Matt Woodrow
77b6d92bbc Bug 1042423 - Part 1: Clean up GetBackgroundClip and make it public. r=roc 2014-07-23 17:20:39 +12:00
Cameron McCormack
7e319341f4 Bug 1031206 - Part 2: Split out creation of font faces in nsUserFontSet. r=jdaggett 2014-07-23 15:05:50 +10:00
Cameron McCormack
301ffbc85a Bug 1031206 - Part 1: Split out creation and addition of font faces in gfxUserFontSet. r=jdaggett 2014-07-23 15:05:50 +10:00
Mike Hommey
171507509c Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey
5659a611dd Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Brian Birtles
0deb939253 Bug 1037316 part 2 - When updating animations, match existing animations one-by-one starting from the beginning of each list; r=dbaron
This patch changes the order in which we look for matches when updating existing
animations. Previously we would iterate through new animations in a forwards
direction but match old animations by going through the list of animations
backwards.

This patch makes us iterate through both lists in a backwards direction. That
means that if we have:

  animation: anim 100s

and later we make it

  animation: anim 100s, anim 100s

Then the new animation will be added to the *start* of the list, i.e. prepended,
and the resulting animation will not restart.
2014-07-23 10:51:12 +09:00
Brian Birtles
49b954f56a Bug 1037316 part 1 - Return the same object when updating animations; r=dbaron
Previously when updating animations we'd generate a new list of animation
objects then try to match up animations from the existing list and copy across
state such as start times and notification flags. However, this means that from
the API we end up returning different objects.

This patch makes us maintain the same object identity when updating an existing
animation. It does this by looking for matching animations in both lists. If it
finds a match it copies the necessary information from the *new* animation to
the *existing* animation (but preserving the start time, last notification
etc.). Then, finally, it puts the *existing* animation in the list of *new*
animations and removes the corresponding *new* animation. The existing
animation is also removed from the list of existing animations so that it only
matches once.

The method used for matching is probably not intuitive but this is addressed in
a subsequent patch in this series.
2014-07-23 10:51:12 +09:00
Daniel Holbert
e5dbe72026 Bug 946167: crashtest for this bug. (no review) 2014-07-22 08:24:38 -07:00
Daniel Holbert
cdc8f0b4ce Bug 1015474 part 7: Explicitly set min-[width|height]:0 on flex items, in flexbox-flex-flow-* reftests. (no review) 2014-07-22 08:24:37 -07:00
Daniel Holbert
d7fbfec203 Bug 1015474 part 6: Remove tests for old "min-width:auto" behavior which are no longer correct (and/or obsoleted by newer tests). (no review) 2014-07-22 08:24:37 -07:00
Daniel Holbert
69da3c8a73 Bug 1015474 part 5: Add reftests for interaction between "min-[width|height]:auto" & "overflow-x"/"overflow-y". r=dbaron
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-003-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-003-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-003.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-003.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-003-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-004-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-003.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-004.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-003-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-004-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-003.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-004.html
2014-07-22 08:24:37 -07:00
Daniel Holbert
c2e44f82ef Bug 1015474 part 4: Add reftests for interaction between "min-width:auto" & "overflow-x". r=dbaron 2014-07-22 08:24:37 -07:00
Daniel Holbert
4aa6dbeb7f Bug 1015474 part 3: Add reftests for new "min-height:auto" sizing behavior on flex items. r=dbaron
--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-001-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-001-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-001.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-001.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-002-ref.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-002-ref.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-002a.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-002a.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-002b.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-002b.html
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-min-width-auto-002c.html => layout/reftests/w3c-css/submitted/flexbox/flexbox-min-height-auto-002c.html
2014-07-22 08:24:37 -07:00
Daniel Holbert
df9dae268e Bug 1015474 part 2: Add reftests for new "min-width:auto" sizing behavior on flex items. r=dbaron 2014-07-22 08:24:37 -07:00
Daniel Holbert
2f8e9dec2a Bug 1015474 part 1: Update behavior of "min-width:auto"/"min-height:auto" to match current spec text. r=mats
This updates min-width:auto / min-height:auto to now take several more things
into account, beyond just a flex item's min-content size. Now we'll also
consider its used 'flex-basis', its main max-size property ('max-width' or
'max-height'), and its intrinsic ratio & any constraints in the other
dimension.
2014-07-22 08:24:37 -07:00
Daniel Holbert
17b1051d8a Bug 1037177 part 5: Update documentation for GenerateFlexItemForChild & helpers. (comment-only, no review) 2014-07-22 08:24:36 -07:00