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

45120 Коммитов

Автор SHA1 Сообщение Дата
Bill McCloskey f2d972e4f2 Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-03-26 14:17:29 -07:00
Kearwood (Kip) Gilbert c654443e20 Bug 1035611 - Part 2: Test to ensure that transformed rects crossing the w=0 plane are clipped correctly. r=mattwoodrow
- An element is transformed such that its inverse projection transform
  results in a bounding box reaching an infinite / vanishing point.
2015-03-25 11:28:37 -07:00
Mats Palmgren a019652b87 Bug 1107786 - part 4, [css-grid] Reftests for the CSS 'order' property on grid items. 2015-03-26 18:57:39 +00:00
Mats Palmgren f07f4ec4e5 Bug 1107786 - part 3, [css-grid] Implement layout and painting per the CSS 'order' property for absolute positioned grid items. r=dholbert 2015-03-26 18:57:39 +00:00
Mats Palmgren 0311bd02c1 Bug 1107786 - part 2, [css-grid] Implement a DisplayList sorting function that sorts by CSS 'order'. r=dholbert 2015-03-26 18:57:39 +00:00
Mats Palmgren eec06d0223 Bug 1107786 - part 1, [css-grid] Implement layout and painting per the CSS 'order' property for normal flow grid items. r=dholbert 2015-03-26 18:57:39 +00:00
Mats Palmgren f1cf93f01b Bug 1145968 - [css-grid] Make grid items paint as inline-blocks and create a stacking context when 'z-index' != 'auto'. r=dholbert 2015-03-26 18:57:39 +00:00
Mats Palmgren 023c6e11ff Bug 1107783 - part 2, [css-grid] Reftest for basic placement and layout of abs.pos. grid items. 2015-03-26 18:57:39 +00:00
Mats Palmgren 22055216dd Bug 1107783 - part 1, [css-grid] Implement abs.pos. grid item placement and reflow. r=dholbert 2015-03-26 18:57:39 +00:00
Kartikaya Gupta 69c669cbeb Bug 1147552 - Add a yellow background on the active test item in the reftest analyzer. r=dbaron
DONTBUILD because NPOTB
2015-03-26 14:54:21 -04:00
Bevis Tseng e511c87731 Bug 1114935 - Part 5.1: Bind new nsIccService into MozIcc. r=echen, r=hsinyi
--HG--
extra : histedit_source : c4f30cabe18e4a2ef4f6a34745e95d46c5baaff7
2015-01-13 18:03:44 +08:00
Mike Hommey b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Daniel Holbert 64b999f2ed Bug 1149854: Use range-based "for" loops when iterating over child frames in nsFlexContainerFrame.cpp. r=xidorn 2015-03-31 21:50:46 -07:00
Brian Birtles 6fcd367da0 Bug 1109390 part 21 - Reuse GetAnimationsForCompositor in nsLayoutUtils; r=jwatt 2015-04-01 12:23:24 +09:00
Brian Birtles 6aae9afebc Bug 1109390 part 20 - Add an options flag to GetAnimationsForCompositor to control; r=jwatt
This patch adds an options flag to GetAnimationsForCompositor for two reasons.

a) We want to reuse this functionality in nsLayoutUtils.cpp rather than
   duplicating the same logic. To do that and maintain the existing behavior,
   however, we need to *not* update the active layer tracker when calling this
   from nsLayoutUtils.cpp.

b) It's surprising that GetAnimationsForCompositor also has this side effect of
   updating the active layer tracker. Adding this as an option makes it clear at
   the call site that this is what will happen.
2015-04-01 12:23:24 +09:00
Mats Palmgren 2fa6fbc270 Bug 1149785 - Make nsIWidget::ClientToWindowSize use LayoutDeviceIntSize instead of the unit-less nsIntSize. r=roc 2015-03-31 22:09:03 +00:00
Mats Palmgren 70fe7341e9 Bug 1149784 - Make nsSubDocumentFrame::GetMarginAttributes use CSSIntSize instead of the unit-less nsIntSize. r=roc 2015-03-31 22:09:02 +00:00
L. David Baron e90b72b9db Bug 847287 patch 13 - Apply animations/transitions on the layer in the order that reflects how they override, rather than the opposite. r=birtles
This independently would have fixed some of the problems fixed in this
bug.  It would not have fixed them fully, though, since it would not
have prevented us from sending animations being covered up by !important
rules to the compositor.
2015-03-31 15:05:55 -07:00
L. David Baron 1fe6a61ae9 Bug 847287 patch 12 - Check mWinsInCascade for all callers of GetAnimationOfProperty/HasAnimationOfProperty. r=birtles
This patch (after stepping through the call graph) affects the following
places:
 * CommonAnimationManager::GetAnimationsForCompositor, which is used
   only by nsDisplayListBuilder::AddAnimationsAndTransitionsToLayer,
   which already checks the individual animations (so really no change)
 * AnimationPlayerCollection::CanThrottleAnimation
 * ActiveLayerTracker::IsStyleAnimated
 * nsLayoutUtils::HasAnimationsForCompositor
 * nsLayoutUtils::HasAnimations (which is used only to check whether we
   can make the 0-opacity optimization)
I believe it makes sense to change all of these locations (although in
the long term we want to throttle (or similar) more animations).

Without this patch, I believe we're forcing the creation of an opacity
layer because we think we have animations to send to it.
2015-03-31 15:05:55 -07:00
L. David Baron d192a6e11d Bug 847287 patch 11 - Only check that we can throttle animations once per refresh cycle (or invalidation of style rule), to make it cheaper to call EnsureStyleRuleFor more than once per refresh cycle. r=birtles
This saves some extra work that we don't need to do.

Mechanically, the patch moves a chunk of code that is around the last
part of the function and converts it to an early return that's slightly
earlier than that last part, thus also including the skipping of the
throttling checks in what we skip for the early return.

I want to do this here since patch 9 introduces a new call to
EnsureStyleRuleFor.
2015-03-31 15:05:55 -07:00
L. David Baron 703ab1d2b9 Bug 847287 patch 10 - Only call CheckNeedsRefresh if we might have changed mNeedsRefreshes, to make it cheaper to call EnsureStyleRuleFor more than once per refresh cycle. r=birtles
This saves some extra work that we don't need to do.

I want to do this here since patch 9 introduces a new call to
EnsureStyleRuleFor.
2015-03-31 15:05:55 -07:00
L. David Baron cdb6523104 Bug 847287 patch 9 - Use fully-updated style rule for animations when updating cascade results for transitions. r=birtles
I don't have a test case that requires this, but it seems like a good
idea.  (It was an incorrect theory for fixing a test failure that I was
debugging, but still seems worth doing.)
2015-03-31 15:05:55 -07:00
L. David Baron 7a006d4d0a Bug 847287 patch 8 - Only update transition manager's cascade results when an animation starts or stops being in effect. r=birtles
This avoids some extra work that was added in bug 1125455 now that we
have a mechanism for detecting when animations start and stop being in
effect (introduced in patch 7).

This is also needed to prevent infinite recursion in patch 9.
2015-03-31 15:05:54 -07:00
L. David Baron df063f161f Bug 847287 patch 7 - Dynamically update cascade results when animations start or stop being in effect. r=birtles
This is an additional part of the main work in this bug; it keeps
mWinsInCascade updated in cases where we need to update it.
2015-03-31 15:05:54 -07:00
L. David Baron a7bdf3d859 Bug 847287 patch 6 - Set mWinsInCascade for CSS Animations. r=birtles
This is the main patch for the bug; it makes us use the mechanism added
in bug 1125455 to avoid sending animations that aren't currently
applying to the compositor.

Patch 7 is needed to make this code rerun in all the cases where we need
to rerun it, though.
2015-03-31 15:05:54 -07:00
L. David Baron 538784230b Bug 847287 patch 5 - Add method to update animations on layer. r=birtles
This does somewhat less work than PostRestyleForAnimation, although I
believe PostRestyleForAnimation would be a sufficient alternative.

This is used in patch 6.
2015-03-31 15:05:54 -07:00
L. David Baron 4fbe445174 Bug 847287 patch 4 - Add a method to nsRuleNode that reports the properties overriding a CSS animation. r=birtles
This is used in patch 6.
2015-03-31 15:05:54 -07:00
L. David Baron 320d6fe7aa Bug 847287 patch 3 - Add assertions about consistency of the flags for animating on the compositor. r=birtles
These flags were added in patch 2.
2015-03-31 15:05:54 -07:00
L. David Baron d5c71fb143 Bug 847287 patch 2 - Add flag for CSS properties that can be animated on the compositor. r=birtles
Patch 3 adds sanity-checks to check these flags against other equivalent
data.

This flag is used in patch 5 and patch 6.
2015-03-31 15:05:54 -07:00
L. David Baron 81ab847386 Bug 847287 patch 1 - Add additional tests. r=birtles
All of the todos will be fixed by later patches in this bug (as will
some already-existing todos in the same file).
2015-03-31 15:05:54 -07:00
L. David Baron aaa720c099 Bug 1123979 - Annotate known intermittent assertion on crashtest. No review. 2015-03-31 10:27:11 -07:00
Kearwood Gilbert 020a6fa9a6 Bug 969250 - Part 2: Tests for scroll snapping for scrollbars (v2 Patch), r=roc relanding on a CLOSED TREE
--HG--
extra : source : 3c1005c81e52b9b9d68bba8873c957180b94f1a3
extra : amend_source : 89c352098b0853f826883edf0ff472c9a60e5d42
2014-02-17 15:47:29 +13:00
Kearwood (Kip) Gilbert d1823e40bc Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc
--HG--
extra : source : 3ed9d5170d1386e5922df6ca06765922db08968c
2015-03-25 11:40:31 -07:00
Wes Kocher df05ff9297 Backed out 2 changesets (bug 969250) on the other theory that it broke lots of tests, forcing a prolonged CLOSED TREE
Backed out changeset 3c1005c81e52 (bug 969250)
Backed out changeset 3ed9d5170d13 (bug 969250)
2015-03-25 14:46:47 -07:00
Kearwood Gilbert 9d8557f842 Bug 969250 - Part 2: Tests for scroll snapping for scrollbars (v2 Patch), r=roc 2014-02-17 15:47:29 +13:00
Kearwood (Kip) Gilbert 398a89308c Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc 2015-03-25 11:40:31 -07:00
Kartikaya Gupta 52c482890f Bug 1143665 - Remove the ambiguous scroll position being passed around in scroll started/stop notifications. r=roc,ehsan 2015-03-25 07:52:37 -04:00
Ryan VanderMeulen d6595d8f5d Backed out changeset a6b9c152a7d1 (bug 1140293) for mochitest failures.
CLOSED TREE
2015-03-25 08:42:46 -04:00
Jonathan Kew bf1a543bba Bug 686225 - Reftest for Indic shaping with buggy OS X (AAT) fonts. r=jdaggett 2015-03-25 08:25:55 +00:00
David Anderson c6bf2fb124 Fix some tests that depend on synchronous scrolling. (bug 1140293 part 1, r=masayuki,mstange,kgilbert) 2015-03-25 01:03:48 -07:00
L. David Baron 07b447ebc4 Fix ruby reftest spec links to point to TR rather than dev.w3.org to fix errors. No bug.
This fixes errors that are currently reachable via:
http://test.csswg.org/shepherd/search/owner/dbaron/status/issue/
And listed on pages of the form:
http://test.csswg.org/shepherd/testcase/ruby-autohide-001/ (etc.)
2015-03-24 19:13:47 -07:00
L. David Baron 313a709b74 Bug 1090555 - Fix visited link test in test_animations_omta.html to wait for visited link coloring properly. r=birtles
This patch contains two changes:
 (1) The addition of refVisitedLink and the use of
     waitForVisitedLinkColoring() on it.
 (2) Changing the URL of the visited lisks (both visitedLink and
     refVisitedLink) from "" to window.top.location.href, since the
     former doesn't work for Android mochitests while it does work on
     Linux mochitest-e10s.

I tested locally that without the patch I get the failures, and with the
patch the failures go away, using:
./mach mochitest-plain --e10s --setpref layers.acceleration.force-enabled=true --setpref layers.offmainthreadcomposition.async-animations=true layout/style/test/test_animations_omta.html

Further, when running (and passing), I checked that
waitForVisitedLinkColoring() does go through one setTimeout cycle.

Also, I tested that if I effectively revert
https://hg.mozilla.org/mozilla-central/rev/d13154302d77 by changing the
third parameter to the GetContext call in
nsStyleSet::ResolveStyleWithReplacement to be nullptr instead of
visitedRuleNode, I get the failure:
TEST-UNEXPECTED-FAIL | layout/style/test/test_animations_omta.html | visited link background color after animation-only flush - got rgb(255, 255, 0), expected rgb(0, 0, 255)
which confirms that the test is still testing what it was designed to
test.
2015-03-24 19:13:47 -07:00
L. David Baron 6781d5a34e Back out changeset c30bce033d92 (bug 1145803) to reenable the tests from bug 1010675 on B2G in the hopes that enough mochitests have been added or removed since then (primarily by bug 1142360) that we won't get the same chunking problems. 2015-03-24 19:13:47 -07:00
David Anderson 1e87fb5a4b Clamp APZ wheel event deltas to the size of a page scroll. (bug 1146676, r=kats) 2015-03-24 14:59:41 -07:00
Trevor Saunders d5851ef31c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Mason Chang e53c6e48b7 Bug 1145327 Part 3: Re-enable css-animations/print-no-animations.html tests. r=me 2015-03-24 14:28:34 -07:00
Mason Chang 4be73126b0 Bug 1145327 Part 1: Skip refresh driver ticks if the timestamp is in the past. r=birtles,vlad 2015-03-24 14:28:34 -07:00
Kearwood (Kip) Gilbert f97c17593c Bug 1035611 - Part 1: Updated Matrix4x4::ProjectRectBounds to properly handle infinite values when untransformed rects cross the w=0 plane. r=mattwoodrow
- Added specialized rect clipping functionality to Matrix4x4::ProjectRectBounds
  so we don't have to return infinite values when rects cross the w=0 plane
  in homogenous coordinate space.
- Updated callsites of ProjectRectBounds to pass a clipping rect that is
  appropriate for the units that are returned.

--HG--
extra : rebase_source : 9b1088a77e88259e2c32379ade23fbc2236596fb
2015-03-13 16:42:00 -04:00
Kushan Joshi 98880a696a Bug 1101627 - Add touch action regions. r=kats 2015-03-24 09:13:24 -04:00
Ryan VanderMeulen 8d602517b5 Backed out 3 changesets (bug 1061364, bug 1117603) for B2G xpcshell permafail.
Backed out changeset aaf374ba062f (bug 1061364)
Backed out changeset 67fece279049 (bug 1117603)
Backed out changeset fe8ba59678a2 (bug 1117603)

CLOSED TREE
2015-03-24 09:13:06 -04:00
Geoff Brown 24b2cd5f48 Bug 1140148 - Update reftest manifests for Android 4.3 emulator; r=dminor 2015-03-24 06:51:45 -06:00
Brian Birtles 929ee03319 Bug 1061364 - Don't force transitions to refresh their style rule; r=dbaron 2015-03-24 18:13:38 +09:00
Cameron McCormack d5e3314ffe Bug 1146199 - Return empty string from FontFace.family if the FontFace was constructed with an invalid family name. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack 09e31f980e Bug 1144450 - Part 5: Fix/add tests for not firing loadingdone/loadingerror when adding an already-loaded/error FontFace to a FontFaceSet. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack fc1e3c1406 Bug 1144450 - Part 4: Replace uses of mReadyIsResolved with mStatus, as they're equivalent. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack 8f5e101baf Bug 1144450 - Part 3: Replace uses of mDispatchedLoadingEvent with mStatus, as they're equivalent. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack 3c7a55819e Bug 1144450 - Part 2: Don't replace a FontFaceSet's ready promise when there are no loading FontFaces. r=jdaggett 2015-03-24 19:34:32 +11:00
Cameron McCormack 498c37afe0 Bug 1144450 - Part 1: Fix a typo in test_font_loading_api.html. r=jdaggett 2015-03-24 19:34:32 +11:00
Brian Birtles d9bedafede Bug 1117603 part 2 - Don't unregister from the refresh driver unless we are also queueing events; r=dbaron 2015-03-24 09:06:06 +09:00
Brian Birtles b1f0188e81 Bug 1117603 part 1 - Don't assume style rules have been refreshed in GetAnimationRule; r=dbaron
Typically when GetAnimationRule is called, at least for CSS Animations, the
animation style rule will have been refreshed. However, in some cases such as
when the Web Animations API is used, the style rule will be marked as needing
to be refreshed outside of the usual flow. This rule will be refreshed when
nsAnimationManager::WillRefresh flushes animations but if the refresh driver
for the chrome document fires first, we will visit GetAnimationRule before
this happens.

This patch removes the assertion that expects animations to have been
refreshed by the time we reach GetAnimationRule causing it to update
the animation style rule as necessary.
2015-03-24 09:06:06 +09:00
David Anderson c7317dc748 Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats)
--HG--
extra : rebase_source : 3225e248e7d870d41f74897ede54acb5c531a0c4
2015-03-23 12:34:21 -07:00
Nicholas Nethercote 521cb022b6 Bug 1129786 (part 1) - Instantiate RuleHash::m*Table eagerly. r=bz.
Now that empty PLDHashTables don't allocate any entry storage, we can undo the
lazification of RuleHash::m*Table from bug 700914.

--HG--
extra : rebase_source : 167d2519f59ddf7dab182601f9a581c872fd7998
2015-03-22 20:19:18 -07:00
L. David Baron 79853b7624 Bug 1146145 - Revert previous fix and give the tests position:relative so they have the same z-ordering as the references. 2015-03-22 12:53:09 -07:00
L. David Baron f3e1c17d82 Bug 1146145 - Give references z-index:-1 so that they have the same z-ordering characteristics as the tests, for the case when edges of the text overlap the floats.
--HG--
extra : transplant_source : %13%292G%E7%28%97%12%80%A4%EE%1E%9C%E9q%E9%0F%AEXW
2015-03-22 10:51:08 -07:00
Simon Montagu 13be932c72 Bug 1143218 patch 3: a better fix for bug 1105137 using line-left and line-right to place floats, r=jfkthame 2015-03-22 11:44:48 +02:00
Simon Montagu f66d48dc0f Bug 1143218 patch 2: Add LineLeft and LineRight accessors to LogicalRect, r=jfkthame 2015-03-22 11:44:48 +02:00
Simon Montagu 4454a1b4b5 Bug 1143218 patch 1: Back out the fix for bug 1105137, r=jfkthame 2015-03-22 11:44:48 +02:00
Simon Montagu 28b9e2ff78 Mark the failing reftests from bug 1114329 as passing (fixed by bug 1143218). r=jfkthame 2015-03-22 11:44:48 +02:00
David Anderson fba0c47c1f Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00
David Anderson 302fa4036d End APZ wheel transactions when the mouse moves out of frame. (bug 1142866 part 2, r=kats,botond) 2015-03-22 00:42:25 -07:00
L. David Baron f4c0b8f24d Bug 1142360 followup - Use better condition for failure annotation that avoids also including Windows XP reftests. 2015-03-21 16:39:00 -07:00
L. David Baron 64d26163bd Bug 1142360 followup - Annotate 3 tests as failing on Windows reftest-no-accel, on a CLOSED TREE. 2015-03-21 13:52:33 -07:00
Ehsan Akhgari 9dd681b4ab Bug 1142360 - Move the mochitests for bugs 441782, 467672 and 570378 to the reftest framework; r=dbaron
This will help fix an intermittent test failure as explained in bug
1142360 comment 301.  It also has the additional benefit of making
things faster overall, since the reflows of the huge mochitest test
runner page every time the bidi.numeral pref changes are very expensive,
and such overhead doesn't exist in the reftest framework.


--HG--
rename : layout/base/tests/bug570378-arabic-1-ref.html => layout/reftests/bidi/numeral/arabic-1-ref.html
rename : layout/base/tests/bug570378-arabic-1.html => layout/reftests/bidi/numeral/arabic-1.html
rename : layout/base/tests/bug570378-arabic-2-ref.html => layout/reftests/bidi/numeral/arabic-2-ref.html
rename : layout/base/tests/bug570378-arabic-2.html => layout/reftests/bidi/numeral/arabic-2.html
rename : layout/base/tests/bug570378-arabic-3-ref.html => layout/reftests/bidi/numeral/arabic-3-ref.html
rename : layout/base/tests/bug570378-arabic-3.html => layout/reftests/bidi/numeral/arabic-3.html
rename : layout/base/tests/bug570378-arabic-4-ref.html => layout/reftests/bidi/numeral/arabic-4-ref.html
rename : layout/base/tests/bug570378-persian-4.html => layout/reftests/bidi/numeral/arabic-4.html
rename : layout/base/tests/bug570378-arabic-5-ref.html => layout/reftests/bidi/numeral/arabic-5-ref.html
rename : layout/base/tests/bug570378-arabic-5.html => layout/reftests/bidi/numeral/arabic-5.html
rename : layout/base/tests/bug441782-1-ref.html => layout/reftests/bidi/numeral/bug441782-1-ref.html
rename : layout/base/tests/bug441782-1.html => layout/reftests/bidi/numeral/bug441782-1.html
rename : layout/base/tests/bug441782-2-ref.html => layout/reftests/bidi/numeral/bug441782-2-ref.html
rename : layout/base/tests/bug441782-2.html => layout/reftests/bidi/numeral/bug441782-2.html
rename : layout/base/tests/bug441782-3-ref.html => layout/reftests/bidi/numeral/bug441782-3-ref.html
rename : layout/base/tests/bug441782-3.html => layout/reftests/bidi/numeral/bug441782-3.html
rename : layout/base/tests/bug441782-4-ref.html => layout/reftests/bidi/numeral/bug441782-4-ref.html
rename : layout/base/tests/bug441782-4.html => layout/reftests/bidi/numeral/bug441782-4.html
rename : layout/base/tests/bug441782-5-ref.html => layout/reftests/bidi/numeral/bug441782-5-ref.html
rename : layout/base/tests/bug441782-5.html => layout/reftests/bidi/numeral/bug441782-5.html
rename : layout/base/tests/bug467672-1-ref.html => layout/reftests/bidi/numeral/bug467672-1-ref.html
rename : layout/base/tests/bug467672-1.html => layout/reftests/bidi/numeral/bug467672-1.html
rename : layout/base/tests/bug467672-2-ref.html => layout/reftests/bidi/numeral/bug467672-2-ref.html
rename : layout/base/tests/bug467672-2.html => layout/reftests/bidi/numeral/bug467672-2.html
rename : layout/base/tests/bug467672-3-ref.html => layout/reftests/bidi/numeral/bug467672-3-ref.html
rename : layout/base/tests/bug467672-3.html => layout/reftests/bidi/numeral/bug467672-3.html
rename : layout/base/tests/bug467672-4-ref.html => layout/reftests/bidi/numeral/bug467672-4-ref.html
rename : layout/base/tests/bug467672-4.html => layout/reftests/bidi/numeral/bug467672-4.html
rename : layout/base/tests/bug467672-5-ref.html => layout/reftests/bidi/numeral/bug467672-5-ref.html
rename : layout/base/tests/bug467672-5.html => layout/reftests/bidi/numeral/bug467672-5.html
rename : layout/base/tests/bug570378-persian-1-ref.html => layout/reftests/bidi/numeral/persian-1-ref.html
rename : layout/base/tests/bug570378-persian-1.html => layout/reftests/bidi/numeral/persian-1.html
rename : layout/base/tests/bug570378-persian-2-ref.html => layout/reftests/bidi/numeral/persian-2-ref.html
rename : layout/base/tests/bug570378-persian-2.html => layout/reftests/bidi/numeral/persian-2.html
rename : layout/base/tests/bug570378-persian-3-ref.html => layout/reftests/bidi/numeral/persian-3-ref.html
rename : layout/base/tests/bug570378-persian-3.html => layout/reftests/bidi/numeral/persian-3.html
rename : layout/base/tests/bug570378-persian-4-ref.html => layout/reftests/bidi/numeral/persian-4-ref.html
rename : layout/base/tests/bug570378-arabic-4.html => layout/reftests/bidi/numeral/persian-4.html
rename : layout/base/tests/bug570378-persian-5-ref.html => layout/reftests/bidi/numeral/persian-5-ref.html
rename : layout/base/tests/bug570378-persian-5.html => layout/reftests/bidi/numeral/persian-5.html
2015-03-21 12:37:01 -04:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Wes Kocher 14f75f943c Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Mason Chang 54a7aa0235 Bug 1145327. Mark css-animations/print-no-animations.html as random on OS X on CLOSED TREE. r=dbaron. a=Kwierso 2015-03-20 15:14:40 -07:00
L. David Baron 83f8dbcde4 Bug 1145803 - Skip the reftests added in bug 1010675 on B2G because they change the test chunking and trigger an unrelated failure, on a CLOSED TREE. 2015-03-20 14:05:08 -07:00
Geoff Brown 3336b867e0 Bug 1145364 - Use more portable ps command line for orphan cleanup; r=kmoir 2015-03-20 13:50:14 -06:00
Mason Chang b1223497cf Bug 1145327 - Disable css-animations/print-no-animations.html on osx 10.10. r=dbaron 2015-03-20 11:53:41 -07:00
Kartikaya Gupta bd98be2c55 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Jeremy Chen 8610c13659 Bug 1140994 - Notify gaia to hide selection bubble when scrolling without APZ. r=roc 2015-03-16 22:09:00 -04:00
L. David Baron b64dc1a002 Bug 1010675 - Stop allowing button contents to overflow into the CSS padding and border (although still allow them to overflow into our internal focuspadding when the min-content width says the contents don't fit). r=dholbert
Note that this replaces the code that allows eroding the space with new
code that reduces the focusPadding value.

(Also, we previously didn't count the focusPadding towards what could be
eroded, which meant we wouldn't quite get to the edge of the padding and
border, because we weren't counting the extra for the focusPadding.)

The existing reftests that I'm changing from == to != are ones that were
specifically testing issues related to erosion of padding.

The change to 491180-{1,2}-ref.html is because we now *do* erode the
focusPadding, which is 3px in the horizontal dimensions (see the
button::-moz-focus-inner styles in forms.css), and that was the only
nonzero style on the button in 491180-{1,2}.html.

CLOSED TREE (per RyanVM)
2015-03-20 10:27:09 -07:00
Ryan VanderMeulen 00a19ca0b0 Backed out changesets f33123f726b6 and c2724e2f9de9 (bug 1010675) for B2G reftest failures.
CLOSED TREE
2015-03-20 12:25:49 -04:00
L. David Baron a55a5f0676 Bug 1010675 followup - fix reftest failure annotation to fix Mac OS X 10.6 reftest orange. No review. 2015-03-20 08:39:27 -07:00
Stéphane SCHMIDELY b271c86e15 Bug 1144619 - Variable 'nextX' is created in the wrong scope. r=dbaron 2015-03-19 21:00:03 +01:00
Alexandre Lissy 77d1e01b3c Bug 1144080 - Disable mochitests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Alexandre Lissy 16ab34d6ec Bug 1144080 - Disable reftests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Xidorn Quan 6c553b0e05 Bug 1143535 - Fix condition of ruby leading/trailing whitespace trimming. r=bz a=kwierso
--HG--
extra : source : e3099e6a148be5c0e78e99686d313cf3b5eaa910
extra : amend_source : fce4db18aa4724df434f2f129d568b34896026db
2015-03-20 09:45:41 +11:00
Geoff Brown 09006b9294 Bug 1084614 - Clean up orphan servers before starting mochitests or reftests; r=kmoir 2015-03-19 11:01:01 -06:00
Boris Zbarsky dc24477d79 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Kartikaya Gupta ed6d55e8d9 Bug 1122090 - Send the allowed behaviour notification to APZ for touch blocks when touch-action is enabled. r=botond 2015-03-19 06:33:33 -04:00
Carsten "Tomcat" Book c3568f0392 Backed out changeset cb73c395a78d (bug 1135907) for crashtest failures due to assertions
--HG--
extra : rebase_source : 8244bb95c9a09d7da5587a43d598d602ea36b115
2015-03-19 10:40:42 +01:00
Xidorn Quan 96db36c21e Bug 1112474 part 2 - Fix ruby-position reftests with bsize adjustment. r=dholbert
--HG--
extra : rebase_source : 51c27b69f29ce299954ddafc6140a91fc508b917
extra : source : 5cb02c09512316d63f6a3fbda81d04a081cf2907
extra : histedit_source : 01eccfaa0faf1d92e45324e3bb296334fbd53449
2015-03-19 19:04:50 +11:00
Xidorn Quan a85af6a361 Bug 1112474 part 1 - Make utils of CSS Ruby reftests writing-mode aware. r=dholbert
--HG--
extra : rebase_source : 5a4be10876e45a8bb17edcca6e25be4dd5a31c0c
extra : source : 3d79017794b0718d7a382e7197e79544d00e25b4
2015-03-19 19:04:50 +11:00
David Anderson 8ebd1684f7 Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats)
--HG--
extra : rebase_source : f6b399fe5f877fa88613236778e971c1c41d5ea3
2015-03-17 14:04:36 -07:00
Morris Tseng 80129ca85d Bug 1143139 - Cancel all timer when SelectionCarets are terminated. r=roc 2015-03-17 21:31:00 +01:00
d39aa7d3f1 Bug 1120705 - Part 2: Tests (v2 Patch), r=roc
- Ensure that the scrollbar button scrolling is limited
  by the page size, to maintain context when scrolling
  small scroll frames.
2015-03-18 18:36:00 +01:00
1079a8625f Bug 1120705 - Part 1: Limit scrollbar button scrolls to one page per click. r=roc
- When using the scrollbar buttons to scroll a very small scroll frame,
  it is possible to scroll more than one page.  When this occurs, we
  now scroll by a page instead to maintain context between scrolls.
- When scrolling with scrollbar buttons, the
  "toolkit.scrollbox.verticalScrollDistance" and
  "toolkit.scrollbox.horizontalScrollDistance" were swapped,
  resulting in too much scrolling when scrolling vertically and too
  little scrolling when scrolling horizontally.  This has been fixed in
  ScrollFrameHelper::ScrollByLine.
2015-03-18 14:32:00 +01:00
Seth Fowler 0dbe29fdc0 Bug 935850 - Add a little more fuzz to box-sizing-replaced-003.xht. r=me 2015-03-18 18:45:42 -07:00
Seth Fowler 509eb48a54 Bug 1019840 - Use cached intrinsic size in nsImageFrame::ComputeSize unless the image loader has a size. r=tn 2015-03-18 18:29:32 -07:00
Seth Fowler a2a5a162ea Bug 1141376 - Do not call OnSizeAvailable in nsImageFrame::Init. r=tn 2015-03-18 18:29:32 -07:00
Wes Kocher 7be54b949f Merge b2g-inbound to m-c a=merge CLOSED TREE 2015-03-18 15:53:00 -07:00
Gregor Wagner fa698fe8a9 Backout Bug 1114935 for causing bug 1144567. 2015-03-18 11:48:52 -07:00
Botond Ballo d70b1ea0e6 Bug 1043013 - Introduce IntRegionTyped. r=jrmuizel
--HG--
extra : rebase_source : 109fe53588254256b5575e082f709a0cb71fe877
extra : source : d7db1f0cb75b689316da6671bed37d496d17e90c
2015-03-16 13:42:15 -04:00
Carsten "Tomcat" Book 47fe95d629 Backed out 7 changesets (bug 1125455) for test failures in m1 test_animation-player-ready.html on a CLOSED TREE
Backed out changeset 8a316064caff (bug 1125455)
Backed out changeset ad326dbcbd03 (bug 1125455)
Backed out changeset 83dab9578e23 (bug 1125455)
Backed out changeset 5bd86c20cd02 (bug 1125455)
Backed out changeset 751177025dcb (bug 1125455)
Backed out changeset f60c5b4adf84 (bug 1125455)
Backed out changeset 326ef9a86c85 (bug 1125455)
2015-03-18 16:32:54 +01:00
Ting-Yu Lin 61a15823c0 Bug 1140238 - Part 3: Clear maintain selection when dragging caret. r=mats
After double-clicking to select a word on browser, we cannot drag caret
to change the selection within a word. We should clear the maintained
selection.

--HG--
extra : rebase_source : 5577ef1ee92591a58d1812130f2ad29e8ec18d32
2015-03-17 00:57:00 -04:00
Ting-Yu Lin b79c10f9e3 Bug 1140238 - Part 2: Adjust ranges after changing selection direction. r=mats
When dragging the second caret (eDirNext) over non-selectable elements,
the last range is not generated. Therefore when dragging the first
caret, we will change the selection direction to eDirPrevious, the last
range will be excluded by AutoPrepareFocusRange.

We add a new function to adjust generated bit and anchor focus range
after changing selection direction.

--HG--
extra : rebase_source : 1622818b9cbbc82e02188ec7ea8ac7951ba6f634
2015-03-18 03:26:00 -04:00
Ting-Yu Lin 1afed065de Bug 1140238 - Part 1: Add a test to drag first caret over non-selectable. r=automatedtester
The original test had dragged the second SelectionCaret over
non-selectable elements. After that, we should further drag the first
SelectionCaret over non-selectable elements, and confirm that the
selection ranges are correct.

--HG--
extra : rebase_source : d2cb9d4e2234f2b1f92cb7ff4a1730f1f408d275
2015-03-10 20:40:00 -04:00
L. David Baron 634de3488b Bug 1125455 patch 7 - For compositor-thread application of transitions, don't apply transitions when animations are also running. r=birtles
I've verified locally that this patch (not others in this series) fixes
the test failures that match the test changes in this patch.
2015-03-18 07:35:30 -07:00
L. David Baron 00a88de17f Bug 1125455 patch 6 - Only search the properties list of the animation once when adding animations to the compositor. r=birtles
This removes the duplication where AddAnimationsForProperty calls
HasAnimationOfProperty which goes over the list once, and then
AddAnimationForProperty searches the list again and skips all but the
item found before.

It also makes it easier, in patch 7, to perform additional tests on the
item that we found.
2015-03-18 07:35:30 -07:00
L. David Baron 8f015c4370 Bug 1125455 patch 4 - For main-thread application of transitions, don't apply transitions when animations are also running. r=birtles
I've verified locally that this patch (not others in this series) fixes
the test failures that match the test changes in this patch.
2015-03-18 07:35:30 -07:00
L. David Baron 9d97e616c7 Bug 1125455 patch 3 - Add mochitests for animations overriding transitions. r=birtles
Note that (at this stage) some of the tests in both files fail (which I
have verified locally), as noted by the todos and FIXMEs in the test,
which will be removed in later patches in this bug, as the failures are
fixed.
2015-03-18 07:35:30 -07:00
L. David Baron 3be5178484 Bug 1125455 patch 2 - Set mWinsInCascade for transitions based on whether there are animations. r=birtles 2015-03-18 07:35:30 -07:00
L. David Baron 065aeaa603 Bug 1125455 patch 1 - Add boolean for whether an animation of a property wins in the CSS cascade. r=birtles 2015-03-18 07:35:29 -07:00
Avi Halachmi 971e1cf05d bug 1142079: disable refresh driver telemetry on Android. r=froydnj 2015-03-18 08:59:01 +02:00
Mats Palmgren ae4574f84f Bug 1139539 - part 4, [css-grid] Tests for simple track sizing and grid item layout. 2015-03-18 09:02:32 +00:00
Mats Palmgren 814afba2b9 Bug 1107778 - part 2, [css-grid] Some reftests for grid item placement with auto positions. 2015-03-18 09:02:32 +00:00
Mats Palmgren a99584fe32 Bug 1009776 - part 7, [css-grid] Some reftests for grid item placement with definite positions. 2015-03-18 09:02:32 +00:00
Mats Palmgren 58b99a313e Bug 1139539 - part 3, [css-grid] Fix a couple of typos in the CSS Grid tests. 2015-03-18 09:02:32 +00:00
Mats Palmgren 666f29058a Bug 1139539 - part 2, [css-grid] Implement grid item containing block calculations and reflow (initial version). r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren 57c724ba23 Bug 1139539 - part 1, [css-grid] Implement primitive grid track sizing. r=dholbert
Basically just 11.4 "Initialize Track Sizes" in:
http://dev.w3.org/csswg/css-grid/#algo-init
2015-03-18 09:02:32 +00:00
Mats Palmgren 63f6e5c364 Bug 1107778 - part 1, [css-grid] implement automatic grid item placement. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren edcb32eb0e Bug 1009776 - part 6, [css-grid] Update the spec reference in a comment. 2015-03-18 09:02:32 +00:00
Mats Palmgren 079c9c2c4f Bug 1009776 - part 5, [css-grid] Fill the cell map if the grid area is definite. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren 18c26fbdc7 Bug 1009776 - part 4, [css-grid] Add a cell map to keep track of which grid cells are occupied. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren 7dc47c3510 Bug 1009776 - part 3, [css-grid] Store the grid item's grid area on a frame property. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren e6838ac9ee Bug 1009776 - part 2, [css-grid] Add a method to inflate the implicit grid to include a given grid area. r=dholbert 2015-03-18 09:02:32 +00:00
Mats Palmgren c6cd95c637 Bug 1009776 - part 1, [css-grid] Implement line-based placement. r=dholbert 2015-03-18 09:02:32 +00:00
Timothy Nikkel 7836769148 Bug 1143974. When converting the anchor rect for a xul popup make sure to actually convert for app units differences. r=mats
ConvertAppUnitsRoundOut returns the result, it doesn't modify |this|.
2015-03-18 03:55:01 -05:00
Cameron McCormack 54558bd97b Bug 1144507 - Fix incorrect Promise usage in test_font_loading_api.html. r=jdaggett 2015-03-18 19:54:01 +11:00
Carsten "Tomcat" Book bbf229d607 Backed out changeset 6b528bd3294c (bug 1039926) for R20 test failures on a CLOSED TREE 2015-03-18 09:12:41 +01:00
Markus Stange 9bd0f5b094 Bug 1039926 - Add a test for not invalidating stuff inside mask layers. 2015-03-17 15:47:45 -04:00
Markus Stange 0605c44412 Bug 1144307 - Destroy scroll info layer items when we're done with them. r=tn 2015-03-17 22:04:33 -04:00
Seth Fowler 726d770b60 Bug 1125055 - Sync decode layerized images if necessary. r=roc,tn 2015-03-17 19:40:16 -07:00
Seth Fowler 38b5cf43f0 Bug 1143267 - Make nsDisplayAltFeedback use nsGenericImageGeometry. r=tn 2015-03-17 19:40:16 -07:00
Seth Fowler 12e9117824 Bug 1143506 - Give up on sync decoding if we get DrawResult::BAD_IMAGE. r=tn 2015-03-17 13:56:49 -07:00
Ryan VanderMeulen f5eb4d6f87 Merge m-c to inbound. a=merge
CLOSED TREE
2015-03-17 14:28:42 -04:00
Ryan VanderMeulen 0acc56d335 Merge b2g-inbound to m-c. a=merge
CLOSED TREE
2015-03-17 14:22:40 -04:00
Daniel Holbert 082fd9cd7f Bug 1142841: Convert all nsRefPtr<nsIRunnable> to nsCOMPtr<nsIRunnable>. r=ehsan
This patch was generated by a script.  Here's the source of the script for
future reference:

find . \( -iname "*.cpp" -o -iname "*.h" \) | \
  xargs -n 1 sed -i "s/nsRefPtr<nsIRunnable>/nsCOMPtr<nsIRunnable>/g"
2015-03-17 09:29:17 -07:00
Xidorn Quan e0e366baf0 Bug 1143558 part 3 - Reftests for line break suppression inside ruby. r=roc
--HG--
extra : source : 137d41af8d488e58d1a786c8ca2098f026520f8a
2015-03-17 19:10:15 +11:00
Xidorn Quan 99e52bd419 Bug 1143558 part 2 - Convert suppressed line break to whitespace. r=roc
--HG--
extra : source : df417e029054082fdb07fdf918ce178e0e085bca
2015-03-17 19:10:15 +11:00
Xidorn Quan 25df7941eb Bug 1143558 part 1 - Fix line break suppression when newline is significant. r=roc
--HG--
extra : source : c700ba786622769700d740c6761ca5a66879b761
2015-03-17 19:10:15 +11:00
Cameron McCormack 9713270999 Bug 1143953 - Fix typo in test_font_loading_api.html where it incorrectly returns document.fonts.read. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack 52e8c418c6 Bug 1143537 - Part 5: Test status of FontFace and FontFaceSet with @font-face rules. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack 8e9682a746 Bug 1143995 - Remove unnecessary layout flushes from test_font_loading_api.html. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack 9184107ef6 Bug 1143537 - Part 4: Serialize FontFace unicodeRange and fontFeatureSettings with proper defaults. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack fe3694d846 Bug 1143537 - Part 3: Serialize unicode-range without leading zeroes. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack 222af9be41 Bug 1143537 - Part 2: Test descriptor getters for CSS-connected FontFaces when the descriptor isn't present. r=jdaggett 2015-03-17 18:15:42 +11:00
Cameron McCormack a1e1bf9cc2 Bug 1143537 - Part 1: Fix test numbering. r=jdaggett 2015-03-17 18:15:42 +11:00
dvander@alliedmods.net 9215e781e3 Don't expand displayports beyond the maximum texture size. (bug 1135907, r=kats)
--HG--
extra : rebase_source : 95178166bfb1aac79836808e4e5ebaa123145d9f
2015-03-16 22:59:29 -07:00
Markus Stange 4fe0677dda Bug 1141595 - Make scroll info display item hoisting work after bug 913443. r=tn
--HG--
extra : rebase_source : 7e13f848ec50f5c6a91876dc1e618d0fe31ffab2
2015-03-16 18:37:04 -04:00
Markus Stange 235900b2b8 Bug 1141089 - Add some release assertions to gather more data. r=roc
--HG--
extra : rebase_source : 1575191a4bf2ebebb3e15fc82ac3c2addffa67d6
2015-03-16 16:04:00 -04:00
Botond Ballo 2eb9751320 Bug 1139675 - Simplify the APIs for getting and setting the pres shell resolution. r=mstange,mattwoodrow
--HG--
extra : rebase_source : 18444e5f9304bbf9c2c14903be6aa4ebf8a08af3
extra : source : 60fe56e752d984a8d074af1bec1dfcd40a41e5f6
2015-03-06 18:07:59 -05:00
Jeff Muizelaar 735ab827c5 Bug 1143789. Remove unnecessary cast to BasicLayerManager. r=mstange
--HG--
extra : rebase_source : ca8d18b5aae563a74f913f5b112c6e7c2bcea8f6
2015-03-16 14:19:32 -04:00
Kearwood (Kip) Gilbert 4100987cc3 Bug 1140623 - Correct mochitest failures that occur when the layout.css.scroll-snap.enabled preference is enabled (V3 Patch). r=cam
- CSS scroll snapping related attributes are now sorted correctly
- Now passes mochitests with CSS scroll snapping enabled:
  - layout/style/test/test_bug657143.html
  - layout/style/test/test_compute_data_with_start_struct.html
  - layout/style/test/test_property_syntax_errors.html
  - layout/style/test/test_style_struct_copy_constructors.html
  - layout/style/test/test_value_computation.html

--HG--
extra : rebase_source : fe217c528da6806b245c935597855022b3ea2d4b
2015-03-13 18:00:00 +01:00
Kartikaya Gupta f735ff5b59 Bug 962594 - Add tests. r=heycam 2015-03-15 20:28:52 -04:00
Kartikaya Gupta f64fcefe30 Bug 962594 - Don't build CSS animations for elements that are in a display:none subtree. r=heycam 2015-03-15 20:28:49 -04:00
Timothy Nikkel 223470bfe4 Bug 1130400. Part 1. Pass the passed in anchor frame to SetPopupPosition in nsMenuPopupFrame::LayoutPopup if we have one. r=enndeakin
Bug 562740 combined nsMenuFrame::DoLayout and nsPopupSetFrame::DoLayout to create nsMenuPopupFrame::LayoutPopup.

nsMenuPopupFrame::LayoutPopup called SetPopupPosition with this (the nsMenuFrame) as the anchor and then laid out the menu popup frame. nsPopupSetFrame::DoLayout laid out the menu popup frame and then called SetPopupPosition with the anchor argument as null.

When these were combined into nsMenuPopupFrame::LayoutPopup both SetPopupPosition call were included, the second one always passing null for the anchor even though there may be a non-null anchor passed in from the caller.

This patch simply passes the passed in anchor frame to SetPopupPosition.
2015-03-14 01:11:04 -05:00
Daniel Holbert d2fb7e676f Bug 1142686: check flex item's content-box size (not border-box size) when deciding whether to skip final reflow. r=mats 2015-03-13 23:08:21 -07:00
Daniel Holbert 326494d266 Backed out changeset 6cd4d71818ee (bug 1142686) because it wasn't quite the final patch version 2015-03-13 23:07:57 -07:00
Daniel Holbert 877422a643 Bug 1142686: check flex item's content-box size (not border-box size) when deciding whether to skip final reflow. r=mats
--HG--
rename : layout/style/test/test_dynamic_change_causing_reflow.html => layout/style/test/test_flexbox_reflow_counts.html
2015-03-13 23:00:37 -07:00
Xidorn Quan 7a8ca2a01e Bug 1141928 part 3 - Reftest for simple RTL case. r=jfkthame
The added test only tests the position of ruby text and ruby text container. The position of text inside is not correct yet, which will be fixed in bug 1141931.

--HG--
extra : source : 16ff39aeb8e30223d664355963f25b8bbec17102
2015-03-14 16:46:33 +11:00
Jonathan Kew 382e4487fa Bug 1141928 part 2 - Correct the position of ruby text frames. r=roc
--HG--
extra : source : 914513f894ef001ff8fc593cd36f5e702d49f184
2015-03-14 16:46:33 +11:00
Xidorn Quan b5c74cb24b Bug 1141928 part 1 - Correct the position of ruby text containers in RTL text. r=jfkthame
This patch uses the logical version of FinishReflowChild instead, so that we are able to keep the consistent logical rect, and then fix the rect with correct container width after the whole line is reflowed.

--HG--
extra : source : e944e283799cd04b87c1ed52a3fca68174bf4439
2015-03-14 16:46:33 +11:00
Xidorn Quan b806fae66c Bug 1141928 part 0 - Change line relative dir mapping code to return LogicalSide instead of physical side. r=jfkthame
This also fixes the line relative dir mapping code for inline axis direction.

--HG--
extra : source : 49a69e2193006dd6571765af0f6e464af9fec5b4
2015-03-14 16:46:33 +11:00
Cameron McCormack 9d635d78ad Bug 1123523 - Part 9: Dispatch an nsIAnimationObserver notification when an animation is changed. r=birtles 2015-03-14 16:34:40 +11:00
Cameron McCormack d648fe467f Bug 1123523 - Part 8: Dispatch nsIAnimationObserver notifications when an animation is added or removed. r=birtles 2015-03-14 16:34:40 +11:00
Cameron McCormack 7edb0d374f Bug 1123523 - Part 3: Store a flag on AnimationPlayer for whether it is exposed by Element.getAnimationPlayers(). r=birtles 2015-03-14 16:34:40 +11:00
Xidorn Quan 6b6684aace Bug 1141919 part 2 - Drain overflow list of ruby content frame if line break suppression fails somewhere. r=dbaron
--HG--
extra : source : 53e33afd621af625133b87eb5d44fa521570c40d
2015-03-14 16:29:06 +11:00
Xidorn Quan 5193b10097 Bug 1141919 - Fix incomplete line break suppression in ruby. r=dbaron
--HG--
extra : source : 15d558f97b7d2523fa946925e753326dda51467c
2015-03-14 16:29:06 +11:00
L. David Baron cf9dd93a66 Bug 1142360 - Make bidi_numeral_test.js use assertSnapshots rather than using compareSnapshots directly so that it dumps images on failure. r=ehsan
Note that this adds a parameter to the callback function so that we can
keep track of which canvas is for the test and which is for the
reference; previously we didn't care.

It also puts testfile and reffile in local variables so that they can be
reused, and then appends the extra bidi numeral information to reffile
when calling assertSnapshots so that the messages contain the same (or
more) data as before.

--HG--
extra : transplant_source : %86%C0%96N%0E%C9%DB%3A%A8%A1%7DJ%85%04A%10%3A%96%8EY
2015-03-13 22:24:10 -07:00
Daniel Holbert 908a699328 Bug 1132743: Only allow CSS Unprefixing Service to be activated for hosts on a small, hardcoded whitelist. r=dbaron f=bz
--HG--
rename : layout/style/test/test_unprefixing_service.html => layout/style/test/unprefixing_service_iframe.html
2015-03-13 13:15:09 -07:00
Wes Kocher bbd726bf8c Backed out 2 changesets (bug 1132743) for asan mochitest-e10s-1 bustage CLOSED TREE
Backed out changeset 4e00f10f5a2d (bug 1132743)
Backed out changeset 720842726906 (bug 1132743)
2015-03-13 15:16:33 -07:00
Daniel Holbert aff7407e30 Bug 1132743: Only allow CSS Unprefixing Service to be activated for hosts on a small, hardcoded whitelist. r=dbaron f=bz
--HG--
rename : layout/style/test/test_unprefixing_service.html => layout/style/test/unprefixing_service_iframe.html
2015-03-13 13:15:09 -07:00
Ryan VanderMeulen 9cf01b9c13 Merge m-c to inbound. a=merge 2015-03-13 16:12:34 -04:00
Ryan VanderMeulen 29c79b8b0b Merge fx-team to m-c. a=merge 2015-03-13 16:09:58 -04:00
Alexandre Lissy b2ce088272 Bug 1142928 - Make 1090168-3.html fuzzy on Mulet as on B2G. r=jfkthame
--HG--
extra : rebase_source : 2f6cf02b8e43c2569802f20f66fbdd0165d6b1c5
2015-03-13 06:25:00 -04:00
Botond Ballo 70559e5194 Bug 1139464 - In GetNearestScrollableFrame(), associate the root APZC with the root scroll frame of the root document (whether chrome or content), not the root content document. r=kats,tn
--HG--
extra : source : 2ab85f9edf4d74962ca6bede6669cfc28b6b8e15
2015-03-11 17:10:15 -04:00
Carsten "Tomcat" Book 2d961b94ee Backed out changeset ef3881f8d1a3 (bug 1140623) for causing perma m20 failures on b2g
--HG--
extra : rebase_source : 95c46b1f74ba2a7852d2c1648af170c3ca8c9276
2015-03-13 16:32:50 +01:00
Gijs Kruitbosch 0c1e2d28ae Bug 1135545 - add logging to figure out bug 1135545, rs=test-only-logs 2015-03-13 13:41:37 +00:00
Jim Mathies d6d7d5c6d6 Bug 1082510 - When we detect a chrome popup at the current event coordinates and remote content has the mouse captured, release capture. r=Enn 2015-03-12 14:32:20 -05:00
Robert O'Callahan 72f3e0b5cb Bug 1141252. Don't mark the TablePainter display item as having background-attachment:fixed content if the background-attachment:fixed image will be painted by a dedicated nsDisplayTableCellBackground. r=mats
--HG--
extra : rebase_source : 4e932f88532896f4a65ffd86445c623ba1b66ec6
2015-03-12 15:08:26 +13:00
Robert O'Callahan 843379803a Bug 69787. Implement MouseEvent.offsetX/Y. r=mats,smaug
--HG--
extra : rebase_source : 0120fa29fb94c1c2f992b4e3bae63c5120b90f4b
2015-03-14 00:50:10 +13:00
Botond Ballo cda50e28d3 Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
--HG--
extra : rebase_source : bbdd433260c2e5244602275aa8516723f87d5740
extra : source : a2dbf7ec87c50f35a089470e39d6b4b448992e3d
2015-03-06 13:54:10 -05:00
Botond Ballo 4f5da1dd25 Bug 1036967 - Introduce ScaleFactors2D. r=kats,Bas
--HG--
extra : rebase_source : e137820f9992c23f65aab1e40fb7390c9125b04a
extra : source : 1f79257b3df7fb146a1d4f7248905e0ac88f89d0
2015-03-06 13:53:47 -05:00
Kearwood (Kip) Gilbert c25ae95f1b Bug 1140623 - Correct mochitest failures that occur when the layout.css.scroll-snap.enabled preference is enabled (V2 Patch). r=heycam
- CSS scroll snapping related attributes are now sorted correctly
- Now passes mochitests with CSS scroll snapping enabled:
  - layout/style/test/test_bug657143.html
  - layout/style/test/test_compute_data_with_start_struct.html
  - layout/style/test/test_property_syntax_errors.html
  - layout/style/test/test_style_struct_copy_constructors.html
  - layout/style/test/test_value_computation.html
2015-03-12 11:22:00 +01:00
Jonathan Griffin d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Markus Stange dee805a312 Bug 1142211 - Add layerization testing mechanisms to reftest. r=roc
This adds support for class="reftest-opaque-layer" and for
reftest-assigned-layer="some-layer-name" to the reftest harness.

From reftest/README.txt:

Opaque Layer Tests: class="reftest-opaque-layer"
================================================

If an element should be assigned to a PaintedLayer that's opaque, set the class
"reftest-opaque-layer" on it. This checks whether the layer is opaque during
the last paint of the test, and it works whether your test is an invalidation
test or not. In order to pass the test, the element has to have a primary
frame, and that frame's display items must all be assigned to a single painted
layer and no other layers, so it can't be used on elements that create stacking
contexts (active or inactive).

Layerization Tests: reftest-assigned-layer="layer-name"
=======================================================

If two elements should be assigned to the same PaintedLayer, choose any string
value as the layer name and set the attribute reftest-assigned-layer="yourname"
on both elements. Reftest will check whether all elements with the same
reftest-assigned-layer value share the same layer. It will also test whether
elements with different reftest-assigned-layer values are assigned to different
layers.
The same restrictions as with class="reftest-opaque-layer" apply: All elements
must have a primary frame, and that frame's display items must all be assigned
to the same PaintedLayer and no other layers. If these requirements are not
met, the test will fail.
2015-03-11 14:51:59 -04:00
Markus Stange 59f454bb84 Bug 1141281 - Don't put empty Info: lines into the layers dump. r=BenWa 2015-03-09 00:41:11 -04:00
Markus Stange 0a619bf51b Bug 1141408 - Don't include the display item's memory address in the profile label. r=BenWa 2015-03-07 18:40:03 -05:00
Robert Longson 42783f00a8 Bug 1141636 - "Dubious loop test in nsSVGElement::GetAnimatedLengthListValues". r=cam f=longsonr
--HG--
extra : rebase_source : be584aae6e5b242feea81056dab7684cf0476d39
2015-03-12 00:39:00 +01:00
Alexandre Lissy aa609d8ba1 Bug 1139893 - Disable reftest bugs/1062108-1.html on mulet. r=jfkthame
There is a real issue underlying, tracked in bug 1141535
2015-03-10 06:59:00 -04:00
Carsten "Tomcat" Book 3f60990baf Backed out changeset 5ad9cc334725 (bug 1141636) for suspicion of causing failures in wr tests 2015-03-12 13:05:40 +01:00
Jonathan Kew 49e2f2f158 Bug 1136557 - Reftests with nested spans in vertical mode. r=smontagu 2015-03-12 10:48:12 +00:00
Jonathan Kew 5ed866f8fa Bug 1134598 - Enable the vertical writing-mode reftest directory. r=smontagu 2015-02-19 13:37:42 +00:00
Xidorn Quan c0df2e2d3b Bug 1142400 - Separate padding calculation in Get{Min,Pref}ISize and Reflow of nsBulletFrame. r=dbaron
--HG--
extra : source : bb4e850d9a1d2f86395cc2c4880c65073c7fd0e4
2015-03-12 20:53:54 +11:00
Robert Longson 40c622e1ff Bug 1141636 - call GetAnimatedLengthListValues with valid arguments. r=heycam 2015-03-12 09:04:47 +00:00
Xidorn Quan a0cff90eee Bug 1142369 - Include padding of generated image in intrinsic isize of bullet frame. r=roc
--HG--
extra : source : 16afdc3d6f1e987f086bb0a378e98ab747699e15
2015-03-12 16:57:08 +11:00
Robert O'Callahan 77972f304e Bug 1125767. Clarify aContextFrame parameter to nsStylePosition::IsFixedPosContainingBlock and nsStylePosition::HasTransform and make nsCSSFrameConstructor actually honor it. r=mats
--HG--
extra : rebase_source : e71b72254a56d54fe95410c5ccb7855b7d42d675
extra : histedit_source : ffddeedc9f2ec5a4ccdfcc41444c28a1a9da01f3
2015-03-11 00:18:49 +13:00
Robert O'Callahan 0eaf4ed6de Bug 1125767. CSS/SVG filters on an element should make it a containing block for fixed-pos and abs-pos descendants. r=mats
--HG--
extra : rebase_source : 0ff5c8df669024ad487ff6360fef38519830ee64
extra : histedit_source : 2166fc8916cf44001e0b9344153d7bba8dcd10ac
2015-03-09 23:44:49 +13:00