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

45740 Коммитов

Автор SHA1 Сообщение Дата
Lee Salzman cb744a37d3 Bug 1159273 - Update gkmedias symbol defs to catch up with the Cairo/Pixman renames. r=jrmuizel 2015-05-13 11:59:55 +09:00
Cameron McCormack bf9d92cf41 Bug 1163865 - Remove [Throws] from FontFaceSet.delete. r=smaug 2015-05-13 12:24:34 +10:00
Brian Birtles 3947001236 Bug 1161320 - Fix conflict between finishing and aborting a pause; r=jwatt
Animation::ResumeAt contains an assertion that, when we exit the play-pending
state, checks we either have a resolved start time or a resolved hold time.

That's normally true but if we are aborting a pause on animation that is
finished we can end up with a resolved start time (since we don't clear the
start time when we're aborting a pause) and a resolved hold time (either
because the regular finishing behavior set one, or, because play() applied
auto-rewinding behavior and set it).

In that case we should actually respect the hold time and update the start time
when resuming the animation. However, ResumeAt won't update the start time if it
is already set.

This patch fixes that by clearing the start time in DoPlay in the case where we
are aborting a pause and have a hold time.

--HG--
extra : rebase_source : 83f980d6cbc34375274f30f6527992b4fec7f639
2015-05-08 16:17:13 +09:00
Nicholas Nethercote ba79e01ad2 Bug 1161377 (part 3, attempt 2) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj.
--HG--
extra : rebase_source : 990907701818b7da2b4e8955c419bb61130e266f
2015-05-12 17:33:26 -07:00
Daniel Holbert cf76677b63 Bug 1158290 part 3: Convert GenerateFlexLines to use logical axes & sizes. r=mats 2015-05-12 13:34:25 -07:00
Daniel Holbert 44b034651d Bug 1158290 part 2: Use logical (not physical) skipsides & borderpadding when chipping away from available BSize. r=mats 2015-05-12 13:34:23 -07:00
Daniel Holbert f82cdd0c52 Bug 1158290 part 1: Use AvailableBSize instead of AvailableHeight, throughout flex layout. r=mats
This patch was auto-generated, with the following command:
  sed -i "s/vailableHeight/vailableBSize/g" nsFlexContainerFrame.*
2015-05-12 13:34:22 -07:00
Chris Manchester 82719046b5 Bug 1161270 - Add source manifest to reftest manifest representation in moz.build.;r=gps,roc 2015-05-11 16:35:39 -07:00
Daniel Holbert c238591c2f Bug 1110039 followup: Add 'override' keyword to Name() decl in AccessibleCaretEventHub's macro NS_IMPL_STATE_UTILITIES. rs=ehsan 2015-05-12 10:00:10 -07:00
Ehsan Akhgari d3ab4e755b Bug 1163397 - Convert PaintedLayerData::mLog to an nsCString in order to make it possible to safely store PaintedLayerData inside nsTArrays; r=roc 2015-05-12 10:12:01 -04:00
Kartikaya Gupta bdb998b9d4 Bug 1022080 - Split out the paint item dumping from the rest of the paint dumping. r=mattwoodrow 2015-05-12 09:16:54 -04:00
Carsten "Tomcat" Book f21bf9d148 Backed out changeset 1223b73d62dc (bug 1056479) 2015-05-12 12:21:09 +02:00
Carsten "Tomcat" Book 11670ea513 Backed out changeset 194a4c39c2a9 (bug 1056479) 2015-05-12 12:21:02 +02:00
Carsten "Tomcat" Book a1b476a5fa Backed out changeset 51287191cc06 (bug 1056479) 2015-05-12 12:20:53 +02:00
John Daggett e59faa6ed9 merge 2015-05-12 17:53:28 +09:00
Simon Montagu 18696dcf45 Bug 1139306: Add a small amount of fuzz to a test on Android, r=tn 2015-05-12 01:50:18 -07:00
Timothy Nikkel 1a91fe572c Bug 1139306. Adjust heights of scrollable area so scrollbar sizes almost match in reftests now that RTL scrollbars correctly show in these reftests. r=smontagu 2015-05-12 01:50:01 -07:00
Simon Montagu fe1d4e7e0d Bug 1139306: Fix margin sides for right-to-left scrollbars depending on the actual position of the scrollbar as determined by layout.scrollbar.side, r=tn 2015-05-12 01:49:25 -07:00
John Daggett 27c91674de Bug 1056479 p5 - fixup printpreview test. r=jfkthame 2015-05-12 17:44:26 +09:00
John Daggett 197c2170e0 Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-12 17:44:20 +09:00
John Daggett da0662d19f Bug 1056479 p2 - implement platform fontlist based on fontconfig. r=karlt
This patch implements a derived class of gfxPlatformFontList and a set of associated objects that uses fontconfig. It's a replacement for the existing gfxPangoFontGroup and gfxFontconfigUtils code. The fontconfig API is used to lookup all fonts on the system, which are grouped by family name.

Changes due to this patch:
- font style matching, the mapping of style attributes to a specific font, is now handled by the same Gecko code that is used on other plaforms. fontconfig substitutions are handled but fontconfig style matching no longer used.
- downloadable fonts using unicode-range are now supported
- local fullname lookups are only done with the English name of the font, as per the CSS3 Fonts spec, and not only other localized fullnames
- size-specific bitmap fonts are no longer supported
- fonts lacking a Unicode character map are no longer supported
2015-05-12 17:44:16 +09:00
Morris Tseng a832ce6127 Bug 1161662 - Exclude post scale from layer.GetTransform(). r=roc
--HG--
extra : rebase_source : 7c6d495d597adf9e74963bb2799dc28230d4c649
2015-05-07 01:18:00 +02:00
Ting-Yu Lin 462dcbab78 Bug 1110039 - Part 5 - Reuse marionette tests for AccessibleCaret. r=roc
AccessibleCaret should behave like TouchCaret and SelectionCarets. I
refactor the setUp() to support both the old and new preferences.

Rename test_selectioncarets_multiplerange.py to test_selectioncarets2.py
since it now contains more than just multirange tests.

_test_handle_tilt_when_carets_overlap_to_each_other() is modified
because AccessibleCaret does not inflate the caret hit rectangle as
TouchCaret/SelectionCarets did. The point for tilt caret edges need to
shrink a bit.

In test_touchcaret.py, instead of setting _large_expiration_time, I just
disable caret timeout by default for every test. For those timeout
tests, use one second timeout to reduce test running time, and allow
1.5x margin to prevent intermittent failures.

Refine test case that move touch caret to front by using the real
position at the front rather than (0, 0).

Use skip_if_not_rotatable decorator for better log message.

--HG--
rename : layout/base/tests/marionette/test_selectioncarets_multiplerange.py => layout/base/tests/marionette/test_selectioncarets2.py
2015-05-07 07:55:00 +02:00
Ting-Yu Lin da5ef9e181 Bug 1110039 - Part 4 - Hook new classes into the system. r=roc
The necessary modifications are the same as SelectionCarets. For
convenience, Touch/SelectionCarets will be disabled whenever
AccessibleCaret preference is enabled.
2015-04-24 02:08:00 +02:00
Ting-Yu Lin f7bd43c314 Bug 1110039 - Part 3 - Add gtest for AccessibleCaretEventHub. r=roc 2015-05-10 03:37:00 +02:00
Ting-Yu Lin 85ce5ba320 Bug 1110039 - Part 2.5 - Add all files to build system. r=roc 2015-04-24 02:05:00 +02:00
Ting-Yu Lin 30e280820a Bug 1110039 - Part 2.4 - Add AccessibleCaretEventHub. r=roc
See AccessibleCaretEventHub.h for the class description.

Both TouchCaret and SelectionCarets have their event handling mechanism,
which lead to a lot of code duplication. Now AccessibleCaretEventHub
serves as the single entry point for all events and callbacks.

We also encountered performance issues in SelectionCarets because many
unnecessary events might be dispatched to Gaia driven by the selection
changed events. SelectionCarets did not have clear internal states to
avoid this. To solve it, AccessibleCaretEventHub implements state
classes, and rely on the current states to call the CopyPasteManager's
handler only when it's needed.

For example, when dragging a caret, we do not interest in
NotifySelectionChanged() for updating the carets. Since we've known a
caret is being dragging, we can call UpdateCarets() directly. Hence
DragCaretState does not override OnSelectionChanged().
2015-05-03 23:37:00 +02:00
Ting-Yu Lin 506bc5b7fb Bug 1110039 - Part 2.3 - Add AccessibleCaretManager. r=roc
See AccessibleCaretManager.h for the class description.

AccessibleCaretManager uses two AccessibleCarets to unify the
functionality provided by TouchCaret and SelectionCarets. It has
"cursor" mode and "selection" mode, which corresponds to TouchCaret and
SelectionCarets, respectively.
2015-04-30 00:59:00 +02:00
Ting-Yu Lin 034c5058c3 Bug 1110039 - Part 2.2 - Add AccessibleCaret. r=roc
See AccessibleCaret.h for the class description.

Technical difference between AccessibleCaret and Touch/SelectionCarets:
The anonymous dom element containing a caret image will be created by
AccessibleCaret by using the API landed in bug 1020244 instead of being
created by nsCanvasFrame.
2015-05-04 21:25:00 +02:00
Ting-Yu Lin bf11b2199b Bug 1110039 - Part 2.1 - Add logger facility. r=roc 2015-04-24 01:52:00 +02:00
Ting-Yu Lin 4d2a9a0ddd Bug 1110039 - Part 1 - Add nsLayoutUtils::ClampRectToScrollFrames. r=roc
ClampRectToScrollFrames generalizes IsRectVisibleInScrollFrames by
returning the clamped rect in scroll frames. IsRectVisibleInScrollFrames
could be implemented by checking whether the clamped rect is empty or
not.
2015-04-14 00:08:00 +02:00
Carsten "Tomcat" Book 1cc8234416 Backed out 10 changesets (bug 1056479) for bustage on a CLOSED TREE
Backed out changeset d5b1f2b78915 (bug 1056479)
Backed out changeset bcc65b714dd6 (bug 1056479)
Backed out changeset 0b35e8a463d2 (bug 1056479)
Backed out changeset 0933391809c9 (bug 1056479)
Backed out changeset 93bd67204fac (bug 1056479)
Backed out changeset 5260b93eb0b9 (bug 1056479)
Backed out changeset 130bea3f8623 (bug 1056479)
Backed out changeset 408e078cc18d (bug 1056479)
Backed out changeset a651c240979d (bug 1056479)
Backed out changeset d74ae8fcaac9 (bug 1056479)
2015-05-12 08:25:19 +02:00
John Daggett b735cfcba6 Bug 1056479 p5 - fixup printpreview test. r=jfkthame 2015-05-12 14:51:17 +09:00
John Daggett a92a57e31e Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-12 14:51:17 +09:00
John Daggett f2d632a4ef Bug 1056479 p2 - implement platform fontlist based on fontconfig. r=karlt
This patch implements a derived class of gfxPlatformFontList and a set of associated objects that uses fontconfig. It's a replacement for the existing gfxPangoFontGroup and gfxFontconfigUtils code. The fontconfig API is used to lookup all fonts on the system, which are grouped by family name.

Changes due to this patch:
- font style matching, the mapping of style attributes to a specific font, is now handled by the same Gecko code that is used on other plaforms. fontconfig substitutions are handled but fontconfig style matching no longer used.
- downloadable fonts using unicode-range are now supported
- local fullname lookups are only done with the English name of the font, as per the CSS3 Fonts spec, and not only other localized fullnames
- size-specific bitmap fonts are no longer supported
- fonts lacking a Unicode character map are no longer supported
2015-05-12 14:51:17 +09:00
Josh Matthews d8f37388bd Bug 1135812 - Make picture element react to viewport changes. r=dbaron,johns 2015-05-11 18:07:49 -04:00
Eric Rahm 42c69a4135 Bug 1162673 - Part 2: Wrap expensive calls in PR_LOG_TEST. r=froydnj
Check that logging is enabled before performing potentially expensive
operations.
2015-05-11 13:53:21 -07:00
Eric Rahm e1ce2b6323 Bug 1162673 - Part 1: Remove instances of #ifdef PR_LOGGING in layout. r=froydnj
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-11 13:53:18 -07:00
Jonathan Kew f4b7722ec6 Bug 1161900 - Basic reftest to check that Balinese two-part vowel characters are shaped properly. r=jdaggett 2015-05-11 19:57:32 +01:00
Jonathan Kew 0b6c2066f3 Bug 1159305 - patch 2 - Clean up layout code by using the new accessors. r=smontagu 2015-05-11 11:37:46 +01:00
Jonathan Kew 28d878bacb Bug 1159305 - patch 1 - Provide logical accessors for nsStylePosition and nsStyleSides fields. r=dbaron 2015-05-11 11:35:47 +01:00
Jonathan Kew a31e645b09 Bug 1162485 - Ensure the vertical-text.enabled pref is set for reftests that involve vertical writing modes. r=smontagu 2015-05-11 11:35:40 +01:00
Jonathan Kew 1c0633cbb6 Bug 1159729 - Reftest to check that text decoration is properly offset when needed. r=smontagu 2015-05-11 11:33:45 +01:00
Jonathan Kew 2eb879c3ac Bug 1159729 - Use the adjusted |offset| value in GetTextDecorationRectInternal, instead of ignoring it. r=smontagu 2015-05-11 11:32:55 +01:00
Mike Taylor 34a5833776 Bug 1160281 - Add support for -webkit-transform-origin via CSS Unprefixing Service. r=dholbert
--HG--
extra : rebase_source : cfeb214d5e1e49c173aac2bd86ca6a4b15e0a677
2015-05-08 12:28:00 +02:00
Jonathan Kew 918442bd01 Bug 1157758 - Reftest for Arabic text in vertical-upright mode. r=jdaggett 2015-05-11 06:58:28 +01:00
Nicholas Nethercote 0323a0a1b5 Backout c375efe78e07 (bug 1161377 part 3) for (probably) increasing the static constructor count and regressing Fennec start-up time. r=me. 2015-05-10 22:16:18 -07:00
Cameron McCormack 45163479b0 Bug 1163446 - Followup to add the actual test. 2015-05-11 12:27:08 +10:00
Cameron McCormack 8f153827fb Bug 1163446 - Drop reference to FontFace once a FontFaceBufferSource is loaded. r=jdaggett 2015-05-11 11:24:49 +10:00
Cameron McCormack 9ee0f2b698 Bug 1163449 - Remove OOM check when creating new nsFontFaceLoader. r=jdaggett 2015-05-11 11:24:48 +10:00
Simon Montagu 5ed2b90d17 Move reftests for bug 645642 to w3-css/submitted and add CSS test metadata
--HG--
rename : layout/reftests/text/text-align-match-parent-01.html => layout/reftests/w3c-css/submitted/text3/text-align-match-parent-01.html
rename : layout/reftests/text/text-align-match-parent-02.html => layout/reftests/w3c-css/submitted/text3/text-align-match-parent-02.html
rename : layout/reftests/text/text-align-match-parent-03.html => layout/reftests/w3c-css/submitted/text3/text-align-match-parent-03.html
rename : layout/reftests/text/text-align-match-parent-04.html => layout/reftests/w3c-css/submitted/text3/text-align-match-parent-04.html
rename : layout/reftests/text/text-align-match-parent-ref.html => layout/reftests/w3c-css/submitted/text3/text-align-match-parent-ref.html
rename : layout/reftests/text/text-align-match-parent-root-ltr-ref.html => layout/reftests/w3c-css/submitted/text3/text-align-match-parent-root-ltr-ref.html
rename : layout/reftests/text/text-align-match-parent-root-ltr.html => layout/reftests/w3c-css/submitted/text3/text-align-match-parent-root-ltr.html
rename : layout/reftests/text/text-align-match-parent-root-rtl-ref.html => layout/reftests/w3c-css/submitted/text3/text-align-match-parent-root-rtl-ref.html
rename : layout/reftests/text/text-align-match-parent-root-rtl.html => layout/reftests/w3c-css/submitted/text3/text-align-match-parent-root-rtl.html
2015-05-10 00:42:46 -07:00
Geoff Brown 4bb32f5282 Bug 1140454 - Skip some tests on Android 4.3 Debug for intermittent failures; r=me,trivial 2015-05-09 20:04:44 -06:00
Cameron McCormack e5aebc613f Bug 1162855 - Traverse FontFaceSet's mUserFontSet's pointer back to the FontFaceSet. r=smaug 2015-05-09 14:48:04 +10:00
Cameron McCormack 167b35116f Bug 1154150 - Only create a FontFaceSet if we find @font-face rules. r=jdaggett 2015-05-09 14:47:09 +10:00
Cameron McCormack 184c096a54 Bug 1154148 - Create a FontFaceSet's UserFontSet eagerly. r=jdaggett 2015-05-09 14:46:49 +10:00
Cameron McCormack de60edbd6b Bug 1152647 - Part 2: Ignore requests to add/delete a rule-backed FontFace to/from a FontFaceSet. r=jdaggett 2015-05-09 14:46:31 +10:00
Cameron McCormack 4a5c18c675 Bug 1152647 - Part 1: Test. r=jdaggett 2015-05-09 14:46:22 +10:00
Ehsan Akhgari 5c6c077a96 Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan
--HG--
rename : layout/base/tests/bug646382-1.html => editor/reftests/spellcheck-non-latin-arabic-ref.html
2015-05-08 22:45:16 -04:00
Olli Pettay bf115e16cf Backout Bug 1149555 because of tresize regression, a=backout
--HG--
extra : rebase_source : dba4dca78f80ac6971ef03d519abbd8fe6919ace
2015-05-08 20:12:41 +03:00
Daniel Holbert 91fe116984 Bug 1162608: Import cssfixme's radial-gradient unprefixing fix into CSSUnprefixingService. r=hallvors
Source:
 https://github.com/hallvors/css-fixme/issues/9
 92d9e44a38
2015-05-08 09:09:00 -07:00
L. David Baron 050fe71475 Bug 1161049 patch 3 - Don't send animations to a layer if we're not using off-main-thread compositing. r=mstange
This refixes bug 947753 in a way that leads to fewer complications,
since we don't need to predict what kind of layer manager an element's
layer will have before the layer is actually created.  It has the
disadvantage that
AnimationPlayerCollection::CanPerformOnCompositorThread isn't really
telling the truth in cases where we won't have an layer that does
off-main-thread compositing.  This means that we will force the creation
of a layer to receive the animations (which might actually be good),
although it may have some disadvantages.

It also means that the additional (unlanded) patch in bug 947753 still
isn't needed, since we never set the animation generation on the layer,
so we will never try to throttle (suppress main thread execution) of
animations.
2015-05-08 15:56:37 +02:00
L. David Baron aeb644fc87 Bug 1161049 patch 2 - Add comments reflecting what CanPerformOnCompositorThread doesn't check. r=birtles 2015-05-08 15:56:36 +02:00
L. David Baron 41e16d701f Bug 1161049 patch 1 - Back out changeset 962e15b81684 (part of bug 947753) in order to fix the bug a different way. r=mstange
This patch seems to be leading to too many complications; it requires us
to predict whether a layer that would be created for an element will use
off-main-thread compositing prior to the creation of that layer, which
has led to complications on both Mac (fixed by the other patches in bug
947753) and Android (bug 1161049).
2015-05-08 15:56:36 +02:00
Simon Montagu 053c0ed3af Bug 1103348 - Part 2: Test case; r=ehsan 2015-05-08 08:43:22 -04:00
Geoff Brown 550cacb4e3 Bug 1162285 - Remove unused environment vars on Android; r=jmaher 2015-05-07 18:49:15 -06:00
Nicholas Nethercote 17348fdef0 Bug 1161377 (part 3) - Convert some easy PL_DHashTable{Init,Finish} cases. r=froydnj.
This patch converts easy cases, i.e. where the PL_DHashTableInit() call occurs
in a constructor and the PL_DHashTableFinish() call occurs in a destructor.
2015-05-04 22:59:24 -07:00
Nicholas Nethercote 77943547dc Bug 1161377 (part 2) - Remove PL_NewDHashTable() and PL_DHashTableDestroy(). r=froydnj.
They're not needed now that there is an initializing constructor and a
destructor.
2015-05-04 22:59:24 -07:00
Kartikaya Gupta e237a366e0 Bug 1160566 - Make FrameMetrics.mCompositionBounds private and add a getter/setter for it. r=botond 2015-05-07 14:44:03 -04:00
Kartikaya Gupta 1b70cf8a52 Bug 1160250 - Fix up the rect being used for the composition size calculation. r=tn 2015-05-07 14:44:03 -04:00
Kartikaya Gupta 905ed37047 Bug 1160250 - Put in a missing transfomToAncestor scaling factor. r=botond,tn 2015-05-07 14:44:02 -04:00
Kartikaya Gupta d90090ea1b Bug 1160250 - Collapse the code from CalculateRootCompositionSize into UpdateCompositionBounds. r=botond,tn 2015-05-07 14:39:20 -04:00
Kartikaya Gupta 76561c0f08 Bug 1160250 - Extract a helper function from the triplicated composition-bounds-updating code. r=botond,tn 2015-05-07 14:39:20 -04:00
Kartikaya Gupta aa18869ddf Bug 1160250 - Extract a helper method from the triplicated comp-bounds function to determine if we need to deflate the scrollbars. r=botond,tn 2015-05-07 14:39:19 -04:00
Simon Montagu 7125c3b356 Bug 645642: use text-align: match-parent in list items, options and file inputs, r=dbaron 2015-04-28 22:56:22 -07:00
Simon Montagu 28f7cf644c Bug 645642: implement text-align: match-parent, r=dbaron 2015-05-07 11:25:16 -07:00
Simon Montagu 032164dfb2 Tests for bug 645642, r=dbaron 2015-05-07 11:25:16 -07:00
Seth Fowler fdc5ab88b6 Bug 1162282 - When canvas.drawImage is called on a corrupt image that's not in the broken state, don't throw. r=gw280 2015-05-07 09:25:10 -07:00
Daniel Holbert e51467c3d8 Bug 1132748 part 4: Extend CSS unprefixing mochitest to cover -webkit prefixed gradient expressions. (no review) 2015-05-07 09:04:42 -07:00
Daniel Holbert c985dbd7a5 Bug 1132748 part 3: Tweak imported cssfixme code to fit CSSUnprefixingService API. r=hallvors 2015-05-07 09:04:42 -07:00
Daniel Holbert 491e78592b Bug 1132748 part 2: Import cssfixme gradient-unprefixing code. r=hallvors
Source: https://github.com/hallvors/css-fixme/blob/fd91a1e259/cssfixme.htm
2015-05-07 09:04:42 -07:00
Daniel Holbert 07645d8b7d Bug 1132748 part 1: Add CSSUnprefixingService API for handling prefixed gradient expressions, with stub JS implementation. r=dbaron 2015-05-07 09:04:42 -07:00
Daniel Holbert 7788a8ede7 Bug 1162319: Refactor mochitest for CSS Unprefixing Service, to support testcases with different serialization in specified vs. computed style. (no review, test-only) 2015-05-07 09:04:42 -07:00
Boris Zbarsky 7b0970e937 Bug 1161034. Make test_animations_pausing pass even when we're doing mainthread compositing. r=birtles 2015-05-07 11:08:34 -04:00
Cameron McCormack e567ca4a56 Bug 1162366 - Fix spelling of nsPresContext::mSupressResizeReflow and associated methods. r=dholbert
--HG--
extra : rebase_source : dac8dd0f388b5f14231572f57608052439f14951
2015-05-06 20:56:00 -04:00
Tom Tromey 8e26488934 Bug 1152033 - Expose CSS lexer to js. r=heycam, r=bz
--HG--
extra : rebase_source : 1eaabcb6629c185f2e18f27b8c09d9a11611869a
2015-05-04 10:28:00 -04:00
Tom Tromey fb09be63fd Bug 1112014 - Avoid false negatives in CssPropertySupportsType. r=heycam
IGNORE IDL

--HG--
extra : rebase_source : 97bfb3d5faadf2969a317510a909656c809c33ed
2015-05-04 07:39:00 -04:00
Ryan VanderMeulen 37e75ba5e6 Backed out changesets 230adc57e016 and 61bd6e2c6e72 (bug 1072898) for reftest failures.
CLOSED TREE
2015-05-06 11:27:32 -04:00
Kearwood (Kip) Gilbert 66343b53f7 Bug 1072898 - Part 2: Enable reftest for non-accelerated layers. r=mattwoodrow
- A reftest added to Bug 1035611 has been enabled for non-accelerated
  layer rendering, to test the same issue in the BasicCompositor.
2015-04-27 14:55:00 -04:00
L. David Baron c8c50385b3 Bug 1153539 patch 2 - Compute scale for rasterizing off-main-thread transform animations based on ratio to display size in addition to maximum and minimum scale. r=roc
This fixes bug 1153539 with the Firefox download arrow being pixellated
(verified by testing locally).

I also confirmed what happens on a flame device with the transform
unlocking the Firefox OS homescreen (bug 945082 / bug 972310).  For that
transform (which had a maximum scale of 2), I see four calls to
GetSuitableScale:
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000000
  GetSuitableScale: aMaxScale=2.000000, displayVisibleRatio=1.000586
(Presumably the first and third are for width, and the second and fourth
are for height.)  I believe this shows that bug 972310 will remain fixed
with this patch.

I chose to use the pres context's visible area rather than the screen
size because it seemed more appropriate, and also because (if memory
serves correctly) it's much cheaper to get.
2015-05-06 08:52:20 +02:00
L. David Baron 1bc23d9acc Bug 1153539 patch 1 - Improve comments for nsLayoutUtils::ComputeSuitableScaleForAnimation. r=roc 2015-05-06 08:52:20 +02:00
L. David Baron 52c44314e3 Bug 1160635 patch 2 - Stop making image resizing optimization when image has percent width or height. r=dholbert
The reftests pass with the patch, based on local testing.
2015-05-06 08:52:19 +02:00
L. David Baron 4f7b3165ac Bug 1160635 patch 1 - Add reftests. r=dholbert
I confirmed that without patch 2, the reftests fail in the expected way
(with the image in the test having 100px height/width instead of 50px).
2015-05-06 08:52:19 +02:00
Mats Palmgren e19fd63d88 Bug 1161038 - [css-grid] Make kAutoLine not clash with translated grid lines. r=dholbert 2015-05-05 21:53:22 +00:00
Mats Palmgren a639471627 Bug 1009214 part 2 - [css-grid] Update the reference for a few tests that wrapped placeholders in anonymous grid items. 2015-05-05 21:53:22 +00:00
Mats Palmgren 57c61bb7d9 Bug 1009214 part 1 - [css-grid] Don't wrap placeholders in an anonymous grid item. r=dholbert 2015-05-05 21:53:22 +00:00
Mats Palmgren 6064c8ce7a Bug 1151316 part 2 - [css-grid] Tests for relative positioning of grid items. 2015-05-05 21:53:22 +00:00
Mats Palmgren f2eae86aa2 Bug 1151316 part 1 - [css-grid] Implement relative positioning for grid items. r=roc 2015-05-05 21:53:22 +00:00
Daniel Holbert 3899eae2cc Bug 1161731: Remove newline characters from the ends of NS_WARNING messages in /gfx and /layout. r=mstange 2015-05-05 13:57:47 -07:00
Timothy Nikkel 0b89fa1ea8 Bug 1133905. Add some reftests. 2015-04-20 15:33:27 -05:00
Timothy Nikkel bcd55d9b6f Bug 1133905. Make layout place scrollbars at the scroll position clamping scrollport size when one is set so that scrollbars are positioned properly on b2g. r=mstange 2015-05-05 14:31:51 -05:00