Commit Graph

41733 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
acae829094 merge mozilla-inbound to mozilla-central a=merge 2014-07-23 15:50:58 +02:00
Matt Woodrow
951c7a954d 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
4aae0aad74 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
2b29530598 Bug 1021952 - Ensure that direct children of ruby elements are inline. r=bz 2014-07-22 19:08:13 -07:00
Susanna Bowen
bf06af5d74 Bug 1021952 - Generate anonymous boxes to preserve proper ruby structure r=bz 2014-07-22 19:08:08 -07:00
Susanna Bowen
a3e95afeef Bug 1021952 - Add ruby display values and ruby frames. r=dholbert,bz 2014-07-22 19:08:01 -07:00
Matt Woodrow
b38affe776 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
8bae8c6efc 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
14faf75e9b Bug 1042423 - Part 5: Remove PaintBackgroundColor. r=roc 2014-07-23 17:23:38 +12:00
Matt Woodrow
8028bbe23b Bug 1042423 - Part 4: Clip background display items using DisplayItemClip. r=roc 2014-07-23 17:22:17 +12:00
Matt Woodrow
999711a01a Bug 1042423 - Part 3: Don't build inactive mask layers. r=roc 2014-07-23 17:21:35 +12:00
Matt Woodrow
b6b423b959 Bug 1042423 - Part 2: Add DisplayItemClip constructor for rect + rounded rect. r=roc 2014-07-23 17:21:06 +12:00
Matt Woodrow
1b1819d095 Bug 1042423 - Part 1: Clean up GetBackgroundClip and make it public. r=roc 2014-07-23 17:20:39 +12:00
Cameron McCormack
f7f51e7111 Bug 1031206 - Part 2: Split out creation of font faces in nsUserFontSet. r=jdaggett 2014-07-23 15:05:50 +10:00
Cameron McCormack
d134a8e4ee 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
95063176fa 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
5fab42fcaf 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
b846442afc 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
8e8054d839 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
1ab2988a6e Bug 946167: crashtest for this bug. (no review) 2014-07-22 08:24:38 -07:00
Daniel Holbert
4be16b7c59 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
05aea28df3 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
ce44cd2d51 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
03cfc77864 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
ba0b9eb7c3 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
3f4eab8d4f 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
5a5a3f91dc 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
52ee9264f1 Bug 1037177 part 5: Update documentation for GenerateFlexItemForChild & helpers. (comment-only, no review) 2014-07-22 08:24:36 -07:00
Daniel Holbert
3226ed5912 Bug 1037177 part 4: Call ResolveAutoFlexBasisAndMinSize at the end of GenerateFlexItemForChild, instead of just after it. r=mats 2014-07-22 08:24:36 -07:00
Daniel Holbert
9fb7acb17b Bug 1037177 part 3: Split out flexbox's auto-height-measuring code into its own dedicated function. r=mats 2014-07-22 08:24:36 -07:00
Daniel Holbert
4b3514805d Bug 1037177 part 2: Rename ResolveFlexItemMaxContentSizing to ResolveAutoFlexBasisAndMinSize. r=mats 2014-07-22 08:24:36 -07:00
Daniel Holbert
8aa5b6ff7b Bug 1037177 part 1: Make FlexItem() constructor take a reflow state as a parameter, to reduce arg-count and get faster access to style structs. r=mats 2014-07-22 08:24:36 -07:00
Daniel Holbert
c8994e5a15 Bug 984711 part 9: Rename file_flexbox_min_size_auto.html to test_flexbox_min_size_auto.html, now that its obsolete wrapper is gone. (no review)
--HG--
rename : layout/style/test/file_flexbox_min_size_auto.html => layout/style/test/test_flexbox_min_size_auto.html
2014-07-22 08:24:36 -07:00
Daniel Holbert
8ef16d75fb Bug 984711 part 8: Remove pref-setting mochitest wrapper for min-[size]:auto mochitest. (no review; tweaking existing test) 2014-07-22 08:24:35 -07:00
Daniel Holbert
f9efd30d2e Bug 984711 part 7: Add back mochitest for min-[size]:auto. (no review; just an unbitrotted backout)
This reverts changeset edd98255e81d from bug 848539.
2014-07-22 08:24:35 -07:00
Daniel Holbert
eaec3c09b3 Bug 984711 part 6: Add back special handling for min-width:auto in nsHTMLReflowState & getComputedStyle. (no review; just an unbitrotted backout)
This reverts changeset 1eae876d6c3a from bug 848539.
2014-07-22 08:24:35 -07:00
Daniel Holbert
8830237118 Bug 984711 part 5: Add back handling for min-height:auto to nsFlexContainerFrame. r=mats
This conceptually reverts changeset 7a289f49170f from bug 848539, though the code being modified looks a bit different now.
2014-07-22 08:24:35 -07:00
Daniel Holbert
5e5bbcdeba Bug 984711 part 4: Add back handling for nsStylePosition::mMinHeight having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout)
This reverts changeset 5db313632268 from bug 848539.
2014-07-22 08:24:35 -07:00
Daniel Holbert
54db21c8c7 Bug 984711 part 3: Add back handling for nsStylePosition::mMinWidth having "eStyleUnit_Auto" in style system & general layout code. (no review; just an unbitrotted backout)
This reverts changeset f8b5090d02e5 from bug 848539.
2014-07-22 08:24:34 -07:00
Daniel Holbert
c254eb4d6f Bug 984711 part 2: Add back min-width:auto & min-height:auto in the parser and as default value (just computing to '0' for now). (no review; just an unbitrotted backout)
This reverts changeset e7a9e30409eb from bug 848539.
2014-07-22 08:24:34 -07:00
Daniel Holbert
904907cda2 Bug 984711 part 1: Revert tweaks to unit tests, now that 'min-width:auto' support is coming back. (no review; just an unbitrotted backout)
This reverts changeset afe27d80eeef from bug 848539.
2014-07-22 08:24:34 -07:00
Ting-Yu Lin
7063a3388c Bug 1041926 - Remove NS_HIDDEN introduced by selection carets. r=roc
Bug 1015664 had removed almost all NS_HIDDEN in gecko. Selection carets
must be landed after it.
2014-07-22 00:35:00 -04:00
Kartikaya Gupta
0df3a31848 Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
Jonathan Griffin
1c5d8636ac Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Carsten "Tomcat" Book
a6994f42c4 Backed out changeset a0ffaeafbe7e (bug 1013054) for reftest failure 2014-07-22 09:34:36 +02:00
Robert O'Callahan
291d28f350 Bug 1013054. Don't propagate non-repaint change hints to the canvas frame. r=mattwoodrow 2014-07-22 01:57:52 +12:00
Robert O'Callahan
91f1cc1251 Bug 1041200. Ensure nsDisplayZoom and friends compute mVisibleRect relative to their reference frame. r=mattwoodrow 2014-07-22 17:50:11 +12:00
Timothy Nikkel
082b872d01 Bug 995519. Enable overlay scrollbars on root scrollframes in root content documents. r=roc 2014-07-15 00:09:24 -05:00
Timothy Nikkel
cf6fba3496 Bug 995519. Limit the widths of some divs in the test part of a reftest so they don't generate a scrollbar that the ref doesn't have. r=matt.woodrow 2014-07-21 22:42:52 -05:00
Susanna Bowen
088ac60470 Bug 1038928 - Mochitests for CSS 2.1 9.7. r=bz 2014-07-21 18:28:04 -07:00