Commit Graph

25375 Commits

Author SHA1 Message Date
Bevis Tseng
829e1aa963 Bug 1114935 - Part 5.1: Bind new nsIccService into MozIcc. r=echen, r=hsinyi 2015-01-13 18:03:44 +08:00
Jeremy Chen
a9bfb0107b Bug 1140625 - Part 5: Move Flush_Layout to the right place in SelectionCarets::UpdateSelectionCarets. r=roc 2015-03-24 03:34:00 -04:00
Jeremy Chen
981eff6474 Bug 1140625 - Part 4: Fix scroll_selection_into_view test to make its function remain. r=roc 2015-03-24 01:21:00 -04:00
Morris Tseng
2b87005c88 Bug 1140625 - Recursive call GetFrameForNodeOffset if text node has no frame. r=roc 2015-03-19 02:47:00 -04:00
Jeremy Chen
f046b1e05c Bug 1140625 - Part 1: Add recursive call in GetFrameForNodeOffset. r=roc 2015-03-24 01:15:00 -04:00
Jonathan Kew
81803533f4 Bug 1133945 - Reftest for vertical-align with dominant centered baseline. r=smontagu 2015-03-26 12:35:15 +00:00
Jonathan Kew
343494dea5 Bug 1133945 - Fix behavior of vertical-align with a specified length, relative to dominant centered baseline in vertical mode. r=smontagu 2015-03-26 12:34:57 +00:00
Simon Montagu
d243d4c9ce Bug 1145546: take auto-direction into account in GetScrolledRect, r=jfkthame 2015-03-26 14:02:35 +02:00
Jonathan Kew
d7829110c2 Bug 1138356 - Reftests for button contents alignment in vertical writing modes. r=smontagu 2015-03-12 16:49:50 +00:00
Jonathan Kew
9462fb8267 Bug 1138356 - Correct the alignment of button contents in vertical-rl writing mode. r=smontagu 2015-03-12 13:09:30 +00:00
Cameron McCormack
4d8d636fc1 Bug 1147737 - Remove duplicate Selection.h entry from layout/generic/moz.build. r=dholbert 2015-03-26 16:26:05 +11:00
Seth Fowler
e1c6b2f450 Bug 1128467 - Take scale factors into account when computing image size even if we aren't snapping. r=roc 2015-03-25 18:12:58 -07:00
Kearwood Gilbert
8ba74ba11e Bug 969250 - Part 2: Tests for scroll snapping for scrollbars (v2 Patch), r=roc relanding on a CLOSED TREE 2014-02-17 15:47:29 +13:00
Kearwood (Kip) Gilbert
5fc1e25b4b Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc 2015-03-25 11:40:31 -07:00
Wes Kocher
bca2de3663 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
caf6f41d61 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
d784d32107 Bug 969250 - Part 1: Implement scroll snapping for scrollbars (v7 Patch),r=roc 2015-03-25 11:40:31 -07:00
Kartikaya Gupta
11f7426044 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
e55eb3d955 Backed out changeset a6b9c152a7d1 (bug 1140293) for mochitest failures.
CLOSED TREE
2015-03-25 08:42:46 -04:00
Jonathan Kew
b5a16eb447 Bug 686225 - Reftest for Indic shaping with buggy OS X (AAT) fonts. r=jdaggett 2015-03-25 08:25:55 +00:00
David Anderson
b745ff69a6 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
1471bf4409 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
43030dc26b 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
fc32c6518c 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
37a72c0133 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
98873cda27 bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Mason Chang
9f584ecfee 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
2429563580 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
dbbdba9a93 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.
2015-03-13 16:42:00 -04:00
Kushan Joshi
a3c4b7a023 Bug 1101627 - Add touch action regions. r=kats 2015-03-24 09:13:24 -04:00
Ryan VanderMeulen
558523180f 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
af5889e48d Bug 1140148 - Update reftest manifests for Android 4.3 emulator; r=dminor 2015-03-24 06:51:45 -06:00
Brian Birtles
f1111e7f5e Bug 1061364 - Don't force transitions to refresh their style rule; r=dbaron 2015-03-24 18:13:38 +09:00
Cameron McCormack
fa8d63b057 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
8a0d3f0454 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
56f28aad7e 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
8b470d8378 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
3f4df5d3ce 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
a323f97983 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
a1425aed03 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
00921d6fd6 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
06281c80fb Fix max texture size handling in displayport clamping. (bug 1135907 follow-up, r=kats) 2015-03-23 12:34:21 -07:00
Nicholas Nethercote
b9f87624af 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.
2015-03-22 20:19:18 -07:00
L. David Baron
1341082248 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
66d02884ad 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. 2015-03-22 10:51:08 -07:00
Simon Montagu
9bad487a2b 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
5cfb351f08 Bug 1143218 patch 2: Add LineLeft and LineRight accessors to LogicalRect, r=jfkthame 2015-03-22 11:44:48 +02:00
Simon Montagu
b857fb6843 Bug 1143218 patch 1: Back out the fix for bug 1105137, r=jfkthame 2015-03-22 11:44:48 +02:00
Simon Montagu
1f555a0daa 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
049e818efb Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00