Commit Graph

45747 Commits

Author SHA1 Message Date
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
Boris Zbarsky
4d0e24cedf Bug 1161036 part 1. Stop setting the layout.css.font-loading-api.enabled preference to true in the test harness. r=heycam
--HG--
rename : layout/style/test/test_animations_async_tests.html => layout/style/test/file_animations_async_tests.html
2015-05-05 13:38:56 -04:00
Olli Pettay
bb9c4f4afa Bug 1149555 - Update resize event firing to follow the specs, dispatch right before rAF callbacks, r=dbaron
--HG--
extra : rebase_source : 4828758667591a52ef8d15fa4812c65475ca484f
2015-05-05 17:56:01 +03:00
Kartikaya Gupta
ad505c6fa4 Bug 1161040 - Add some assertions to guard against infinite loops in the handoff chains. r=botond 2015-05-05 08:36:52 -04:00
Jonathan Kew
00fa19fd33 Bug 1161033 - Use -moz-margin-start/end rather than margin-inline-start/end in UA stylesheets, to avoid being dependent on the writing-mode pref. r=jwatt 2015-05-05 12:20:42 +01:00
Cameron McCormack
75f1ec8916 Bug 1161325 - Make nsStyleVariables copy constructor behave more traditionally. r=dbaron 2015-05-05 19:57:34 +10:00
Cameron McCormack
91197585f6 Bug 1161366 - Correctly set referrer when loading fonts with |new FontFace()|. r=dbaron 2015-05-05 19:55:28 +10:00
Tim Taubert
c92a496a85 Bug 1160724 - Part 2: Test that we resolve a properly parented style context when looking up -moz-binding of a display:none XUL/plugin element. r=heycam 2015-05-04 11:14:26 +02:00
L. David Baron
7346ecbe5c Bug 1161021 patch 3 - Check that we don't get duplicate events for #seven::after. r=bzbarsky 2015-05-04 23:39:48 +02:00
L. David Baron
6fb9f72c75 Bug 1161021 patch 2 - Fix unbalanced start_test()/finished_test() calls. r=bzbarsky
This should fix the main failure mode in bug 1156451, which is results
from the transition on #four (the last transition that completes)
happening after SimpleTest.finish().
2015-05-04 23:39:48 +02:00
L. David Baron
1f9e31c08c Bug 1161021 patch 1 - Add comments for existing started_test() calls. r=bzbarsky 2015-05-04 23:39:48 +02:00
Jonathan Kew
19be5f97b1 Bug 1152941 - Reftest for orthogonal block with potentially overflowing content. r=dbaron 2015-05-04 19:51:58 +01:00
Jonathan Kew
786ce25f0b Bug 1152941 - Always use unconstrained block-size when reflowing an orthogonal child block, to avoid incomplete reflow across orthogonal boundary. r=dbaron 2015-05-04 19:51:56 +01:00
Timothy Nikkel
a792ad70d0 Bug 1159772. Don't let nsContainerFrame::SyncWindowProperties make widget calls that can result in synchronous painting during reflow or frame construction. r=mats
Specifically on Windows nsIWidget::SetTransparencyMode can result in sync painting.

So we give nsContainerFrame::SyncWindowProperties a sync or async option and use the view manager post pending update infrastructure to flush SyncWindowProperties calls async.
2015-05-04 14:29:19 -05:00
Kartikaya Gupta
acd04b0bda Bug 1161040 - Don't set a scrollparent on the root content document in the child process that points to itself. r=tn 2015-05-04 14:37:22 -04:00
Anthony Tseng
6fe5a1137f Bug 1158425 - Rename _SYNTH event names. r=smaug
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Kartikaya Gupta
4851563279 Bug 1157579 - Make sure the visual scroll port size includes the area of scrollbars when used in TryLayout. r=tn 2015-05-04 10:17:26 -04:00
Morris Tseng
42696f4b94 Bug 1156636 - Remove post scale multiplication for event regions. r=roc 2015-04-28 01:46:00 +02:00
Xidorn Quan
bf6ef0da30 Bug 1157569 part 12 - Remove useless m{Start,End}Side from BCMapCellInfo. r=roc
--HG--
extra : source : ac5101097059182858dc0f5d20fe0263b5d5ca7a
2015-05-04 19:09:25 +12:00
Xidorn Quan
1f8102a880 Bug 1157569 part 11 - Rename methods and fields in nsTableCellFrame from physicals to logicals. r=roc
--HG--
extra : source : fa5e5be043d1887ac62b8e2ab5b67366cf207058
2015-05-04 19:09:25 +12:00
Xidorn Quan
6ede83db64 Bug 1157569 part 10 - Add operator+= for LogicalMargin. r=jfkthame
--HG--
extra : source : 1d2c1844a8d1cc4cac15c2e8dc88e8367dd828d9
2015-05-04 19:09:25 +12:00
Xidorn Quan
79661faf79 Bug 1157569 part 9 - Rename methods and fields in nsTableRowFrame from physicals to logicals. r=roc
--HG--
extra : source : ce0fb2e11506e7aafffd88ee628bf8485648de24
2015-05-04 19:09:25 +12:00
Xidorn Quan
a6a99c50ec Bug 1157569 part 8 - Move some code in BCPaintBorderIterator::SetDamageArea for less computation. r=roc
--HG--
extra : source : ccac169ecb8651b6a9f598444f228bdf14866f2c
2015-05-04 19:09:25 +12:00
Xidorn Quan
df305b8624 Bug 1157569 part 7 - Rename methods and fields in nsTableColFrame from physicals to logicals. r=roc
--HG--
extra : source : 9f6e318183c92842dfe337aa6da9af62cfc45cd8
2015-05-04 19:09:25 +12:00
Xidorn Quan
ffd497f5a6 Bug 1157569 part 6 - Rename methods and fields in BCMapCellInfo from physicals to logicals. r=roc
--HG--
extra : source : 354bacf8949d29d8f44862b5b1b514da824d62ee
2015-05-04 19:09:25 +12:00
Xidorn Quan
ac14c15e2c Bug 1157569 part 5 - Convert GetColorAndStyle, GetPaintStyleInfo, and CompareBorders in nsTableFrame to accept writing mode and logical side. r=roc
This changes behavior of border collapse on RTL tables, but it seems
that there is no test coverage on those cases, and those cases should
have been broken before, due to the mix of m{Start,End}side and
physical sides in the methods. Hence this change should be fine, as
long as we are going to fix it in later patches.

--HG--
extra : source : b9e8bf39a62add595d939ebd3714d7e6a690af22
2015-05-04 19:09:25 +12:00
Xidorn Quan
4a5f54af06 Bug 1157569 part 4 - Replace mTableIsLTR with mTableWM in BCMapCellInfo & BCPaintBorderIterator. r=roc
--HG--
extra : source : 7e56026f20086c4b1c705609562b9dc43ccb2b91
2015-05-04 19:09:25 +12:00
Xidorn Quan
38812d4032 Bug 1157569 part 3 - Merge two GetColorAndStyle functions in nsTableFrame. r=roc
--HG--
extra : source : a2eef88e064cefd04b14409ac78245dafffbee7f
2015-05-04 19:09:25 +12:00
Xidorn Quan
bd0cb193a2 Bug 1157569 part 2 - Convert output parameters of GetColorAndStyle/GetPaintStyleInfo in nsTableFrame to use pointers. r=roc
--HG--
extra : source : cea85dbc11f7ea58e2c64be5d619c847bdcb368c
2015-05-04 19:09:25 +12:00
Xidorn Quan
48d1d4f3e5 bug 1157569 part 1 - Rename BC_BORDER_{TOP,RIGHT,BOTTOM,LEFT}_HALF* to BC_BORDER_{START,END}_HALF*. r=roc
--HG--
extra : source : 5a1c4c8f584b89b2d65c43f325ffa4a070a4f7b6
2015-05-04 19:09:25 +12:00
Ehsan Akhgari
74990d15e8 Bug 1137544 - Make a couple of tests more robust 2015-05-03 23:08:08 -04:00
Xidorn Quan
21b619291a Bug 1149009 - Suppress line break inside text frame if it is directly contained by ruby content box. r=dbaron
--HG--
extra : source : 27743ccd4b9be84847c7eb6590adcf96fb424999
2015-05-04 09:52:53 +12:00
Xidorn Quan
ffec696346 Backout df7c88910f47 (bug 1149009) for new patch.
--HG--
extra : source : f1d1ec017c872676ca90738f31f41d8f4a77f9cb
2015-05-04 09:52:53 +12:00
Sylvestre Ledru
9f25cd5d7e Bug 1160784 - Remove a misleading declaration r=smontagu 2015-05-03 17:49:37 +02:00
Simon Montagu
17fceb5cc4 Bug 1150614: place floats correctly in vertical writing modes with dir="rtl", r=jfkthame 2015-05-03 01:33:31 -07:00
Simon Montagu
4e99753a16 Fix test regressions from bug 1150614, r=jfkthame 2015-05-03 01:33:31 -07:00
Simon Montagu
38fee71eb0 Tests for bug 1150614, r=jfkthame 2015-05-03 01:33:31 -07:00
Robert O'Callahan
25dceb01f1 Bug 923193 - Avoid calling GetDeltaToPerspectiveOrigin for elements that don't have perspective. r=heycam 2015-05-02 02:25:51 +01:00
Wes Kocher
b492021bca Merge m-c to inbound a=merge 2015-05-01 17:23:32 -07:00
Wes Kocher
5ef0b7b6a7 Merge inbound to m-c a=merge 2015-05-01 17:19:28 -07:00
Ryan VanderMeulen
d6155ddbf6 Merge m-c to fx-team. a=merge 2015-05-01 13:00:21 -04:00
Ryan VanderMeulen
9440cb5e32 Merge m-c to inbound. a=merge
CLOSED TREE

--HG--
extra : amend_source : f158ed522808c8be66f918e7cd2d674a93e9e8b8
2015-05-01 10:50:07 -04:00
Boris Zbarsky
e707f3dd2c Bug 1159743 another followup. More issues on b2g with not all SpecialPowers objects being able to get prefs leading to a CLOSED TREE. 2015-05-01 10:02:20 -04:00
Boris Zbarsky
ca0723ea4a Bug 1159743. Stop forcing the dom.animations-api.core.enabled preference on in the test harness. r=birtles
--HG--
rename : dom/animation/test/css-animations/test_animation-cancel.html => dom/animation/test/css-animations/file_animation-cancel.html
rename : dom/animation/test/css-animations/test_animation-currenttime.html => dom/animation/test/css-animations/file_animation-currenttime.html
rename : dom/animation/test/css-animations/test_animation-finish.html => dom/animation/test/css-animations/file_animation-finish.html
rename : dom/animation/test/css-animations/test_animation-finished.html => dom/animation/test/css-animations/file_animation-finished.html
rename : dom/animation/test/css-animations/test_animation-pausing.html => dom/animation/test/css-animations/file_animation-pausing.html
rename : dom/animation/test/css-animations/test_animation-playstate.html => dom/animation/test/css-animations/file_animation-playstate.html
rename : dom/animation/test/css-animations/test_animation-ready.html => dom/animation/test/css-animations/file_animation-ready.html
rename : dom/animation/test/css-animations/test_animation-starttime.html => dom/animation/test/css-animations/file_animation-starttime.html
rename : dom/animation/test/css-animations/test_animations-dynamic-changes.html => dom/animation/test/css-animations/file_animations-dynamic-changes.html
rename : dom/animation/test/css-animations/test_effect-name.html => dom/animation/test/css-animations/file_effect-name.html
rename : dom/animation/test/css-animations/test_effect-target.html => dom/animation/test/css-animations/file_effect-target.html
rename : dom/animation/test/css-animations/test_element-get-animations.html => dom/animation/test/css-animations/file_element-get-animations.html
rename : dom/animation/test/css-transitions/test_animation-cancel.html => dom/animation/test/css-transitions/file_animation-cancel.html
rename : dom/animation/test/css-transitions/test_animation-currenttime.html => dom/animation/test/css-transitions/file_animation-currenttime.html
rename : dom/animation/test/css-transitions/test_animation-finished.html => dom/animation/test/css-transitions/file_animation-finished.html
rename : dom/animation/test/css-transitions/test_animation-pausing.html => dom/animation/test/css-transitions/file_animation-pausing.html
rename : dom/animation/test/css-transitions/test_animation-ready.html => dom/animation/test/css-transitions/file_animation-ready.html
rename : dom/animation/test/css-transitions/test_animation-starttime.html => dom/animation/test/css-transitions/file_animation-starttime.html
rename : dom/animation/test/css-transitions/test_effect-name.html => dom/animation/test/css-transitions/file_effect-name.html
rename : dom/animation/test/css-transitions/test_effect-target.html => dom/animation/test/css-transitions/file_effect-target.html
rename : dom/animation/test/css-transitions/test_element-get-animations.html => dom/animation/test/css-transitions/file_element-get-animations.html
rename : dom/animation/test/document-timeline/test_document-timeline.html => dom/animation/test/document-timeline/file_document-timeline.html
rename : dom/animation/test/mozilla/test_deferred_start.html => dom/animation/test/mozilla/file_deferred_start.html
rename : layout/style/test/test_animations_pausing.html => layout/style/test/file_animations_pausing.html
2015-04-30 14:25:03 -04:00
Danilo Cesar Lemes de Paula
a24ed2c0a4 Bug 1159405 - Fix "Found a non-root APZ with no handoff parent". r=botond 2015-04-30 06:06:00 -04:00
Danilo Cesar Lemes de Paula
8b923d9267 Bug 1156401 - Fix ContextMenu handling when building Fennec with C++ APZ. r=kats, r=botond
This commit deals with the situation where there's no scrollable element
on a fennec's page. It uses the Top Most root element (Xul viewport)
instead.

So this fixes the situation when the tap/click was not being send to the
correct dom element.
2015-04-30 06:09:00 -04:00
Jonathan Watt
b9b0d2b3c3 Bug 923193, part 1 - Avoid calculation of the reference box for transforms unless they're actually needed. r=roc
--HG--
extra : rebase_source : 8ffca8102a9648642f9166c213ce9e964c34b2af
2015-04-28 19:55:42 +01:00
Mike Hommey
924c9eb636 Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Nicholas Nethercote
c8ff2d51c8 Bug 1159972 - Remove the fallible version of PL_DHashTableInit(). r=froydnj.
It's no longer needed now that entry storage isn't allocated there. (The other
possible causes of failures in that function are less interesting and simply
crashing is a reasonable thing to do for them.)

This also makes PL_DNewHashTable() infallible, so I removed some
now-unnecessary checks of its result.

--HG--
extra : rebase_source : 4c6ab0c449bc18e8bace8bf036b5bd78d3a2f1c4
2015-04-29 16:38:29 -07:00
Wes Kocher
fa3603804d Backed out changeset 4d85a02e9c28 (bug 1159743) under suspicion of breaking animation tests CLOSED TREE 2015-04-30 15:25:58 -07:00
Ted Clancy
1cde58afc9 Bug 1157726: Updated algorithm to match ICU implementation of support for bidi isolates. r=smontagu 2015-04-28 22:41:44 -04:00
Xidorn Quan
ef54b4b14f Bug 1159990 - Add TableArea struct and replace nsIntRect with it for table damage area. r=roc
--HG--
extra : source : bdc7bf00559b80ae6a4f9c60848e34542f438218
2015-05-01 09:46:59 +12:00
Daniel Holbert
d60e0e177e (no bug) Remove a stale reference to a fixed bug in a comment. DONTBUILD, comment-only 2015-04-30 11:42:15 -07:00
Mats Palmgren
167c7e473b Bug 1151201 - [css-grid] Update parsing of 'auto' in track-sizing functions to latest version of the spec. r=simon.sapin 2015-04-30 18:42:50 +00:00
Mats Palmgren
f247a57b0a Bug 1146051 part 9 - [css-grid] More grid placement tests and new grid clamping tests. 2015-04-30 18:42:50 +00:00
Mats Palmgren
8140bec714 Bug 1146051 part 8 - [css-grid] Iterate all items again instead of collecting the ones with a definite position in an array which wouldn't be much of win anyway. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren
ba5c6f4116 Bug 1146051 part 7 - [css-grid] Make LineRange::mStart/mEnd into a union with both a signed/unsigned members to make it clear when we're working with translated line numbers and when not. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren
fe5823cb40 Bug 1146051 part 6b - [css-grid] Clamp grid lines after resolving 'auto'. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren
998fe0239a Bug 1146051 part 6 - [css-grid] Make the grid zero-based after resolving definite lines. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren
fc5f8ce8f9 Bug 1146051 part 5b - [css-grid] Clamp resolved definite lines for abs.pos. to the untranslated grid bounds. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren
4a11f80b65 Bug 1146051 part 5 - [css-grid] Resolve definite lines such that they expand the implicit grid also to the top/left as needed. Also, implement the 'If not enough lines with that name exist, all lines in the implicit grid are assumed to have that name' spec change when resolving <custom-ident> with <integer> or span. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren
06a768fad0 Bug 1146051 part 4 - [css-grid] Translate the grid so that the top-/left-most implicit line becomes 1,1. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren
4fbe133028 Bug 1146051 part 3 - [css-grid] Simplify some code because ResolveLine() never returns kAutoLine. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren
2f3504012c Bug 1146051 part 2 - [css-grid] Remove dead code because ResolveLine() never returns kAutoLine. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren
e999493eb2 Bug 1146051 part 1 - [css-grid] Change the representation of 'auto' from zero to kAutoLine - an arbitrary number outside the range we clamp definite lines to. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren
6c806ea505 Bug 1147423 part 2 - [css-grid] Clamp grid lines to the -10000 .. 10000 range. r=dholbert 2015-04-30 18:42:50 +00:00
Mats Palmgren
c4cf89e642 Bug 1147423 part 1 - [css-grid] Use a signed integer type for some line variables in preparation for negative implicit lines. r=dholbert 2015-04-30 18:42:50 +00:00
Jonathan Watt
f73d9b5a0d Bug 1159053 - Cache SVG getBBox and objectBoundingBox calculations for better performance. r=heycam 2015-04-27 11:15:36 +01:00
David Major
8433a30b6f Bug 1155836: Template on aComputeData in the DoGetStyle* helpers. r=dbaron f=bz 2015-04-15 10:55:56 +12:00
Boris Zbarsky
5844aafa2d Bug 1159743. Stop forcing the dom.animations-api.core.enabled preference on in the test harness. r=birtles
--HG--
rename : dom/animation/test/css-animations/test_animation-cancel.html => dom/animation/test/css-animations/file_animation-cancel.html
rename : dom/animation/test/css-animations/test_animation-currenttime.html => dom/animation/test/css-animations/file_animation-currenttime.html
rename : dom/animation/test/css-animations/test_animation-finish.html => dom/animation/test/css-animations/file_animation-finish.html
rename : dom/animation/test/css-animations/test_animation-finished.html => dom/animation/test/css-animations/file_animation-finished.html
rename : dom/animation/test/css-animations/test_animation-pausing.html => dom/animation/test/css-animations/file_animation-pausing.html
rename : dom/animation/test/css-animations/test_animation-playstate.html => dom/animation/test/css-animations/file_animation-playstate.html
rename : dom/animation/test/css-animations/test_animation-ready.html => dom/animation/test/css-animations/file_animation-ready.html
rename : dom/animation/test/css-animations/test_animation-starttime.html => dom/animation/test/css-animations/file_animation-starttime.html
rename : dom/animation/test/css-animations/test_animations-dynamic-changes.html => dom/animation/test/css-animations/file_animations-dynamic-changes.html
rename : dom/animation/test/css-animations/test_effect-name.html => dom/animation/test/css-animations/file_effect-name.html
rename : dom/animation/test/css-animations/test_effect-target.html => dom/animation/test/css-animations/file_effect-target.html
rename : dom/animation/test/css-animations/test_element-get-animations.html => dom/animation/test/css-animations/file_element-get-animations.html
rename : dom/animation/test/css-transitions/test_animation-cancel.html => dom/animation/test/css-transitions/file_animation-cancel.html
rename : dom/animation/test/css-transitions/test_animation-currenttime.html => dom/animation/test/css-transitions/file_animation-currenttime.html
rename : dom/animation/test/css-transitions/test_animation-finished.html => dom/animation/test/css-transitions/file_animation-finished.html
rename : dom/animation/test/css-transitions/test_animation-pausing.html => dom/animation/test/css-transitions/file_animation-pausing.html
rename : dom/animation/test/css-transitions/test_animation-ready.html => dom/animation/test/css-transitions/file_animation-ready.html
rename : dom/animation/test/css-transitions/test_animation-starttime.html => dom/animation/test/css-transitions/file_animation-starttime.html
rename : dom/animation/test/css-transitions/test_effect-name.html => dom/animation/test/css-transitions/file_effect-name.html
rename : dom/animation/test/css-transitions/test_effect-target.html => dom/animation/test/css-transitions/file_effect-target.html
rename : dom/animation/test/css-transitions/test_element-get-animations.html => dom/animation/test/css-transitions/file_element-get-animations.html
rename : dom/animation/test/document-timeline/test_document-timeline.html => dom/animation/test/document-timeline/file_document-timeline.html
rename : dom/animation/test/mozilla/test_deferred_start.html => dom/animation/test/mozilla/file_deferred_start.html
rename : layout/style/test/test_animations_pausing.html => layout/style/test/file_animations_pausing.html
2015-04-30 14:25:03 -04:00
Ryan VanderMeulen
1d0ad1ef62 Backed out changesets 2bbe38dcb529 and f6bd5a0a047d (bug 1150614) for being the more-likely cause of B2G reftest failures.
CLOSED TREE
2015-04-30 09:08:20 -04:00
Brian Birtles
a606228cd8 Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly. r=smaug 2015-04-30 09:06:43 -04:00
Carsten "Tomcat" Book
b05d97c166 Backed out changeset 1b5fc672f0d4 (bug 1159082) for B2G ICS Emulator opt R6 test failures on a CLOSED TREE
--HG--
rename : dom/animation/AnimationEffectReadOnly.cpp => dom/animation/AnimationEffectReadonly.cpp
rename : dom/animation/AnimationEffectReadOnly.h => dom/animation/AnimationEffectReadonly.h
rename : dom/webidl/AnimationEffectReadOnly.webidl => dom/webidl/AnimationEffectReadonly.webidl
2015-04-30 13:15:04 +02:00
Frédéric Wang
6c069218c1 Bug 1156463 - Add a preference option to disable the scale transform applied to MathML operators. r=karl
--HG--
extra : rebase_source : 58f08a9ec0d3c8c9843d5fd0c3eccf81cc7e11d1
2015-04-25 00:48:00 +02:00
Jonathan Kew
a34e6fd938 Bug 1157951 patch 3 - Reftests for text-overflow with text decorations in vertical writing mode. r=roc 2015-04-28 12:50:21 +01:00
Xidorn Quan
0c5653824d Bug 1159101 part 5 - Initialize writing mode of desired mode of table cell frame from its table frame on a CLOSED TREE. r=roc
--HG--
extra : source : ad2134d545e36298124b6ec5aea600d3689022ad
extra : amend_source : 8bf117c8a17a8a9d0144a00709a8963f8b7efd14
2015-04-30 18:27:54 +12:00
Brian Birtles
4fb166f6b2 Bug 1159082 - Rename *Readonly animation interfaces to *ReadOnly; r=smaug
--HG--
rename : dom/animation/AnimationEffectReadonly.cpp => dom/animation/AnimationEffectReadOnly.cpp
rename : dom/animation/AnimationEffectReadonly.h => dom/animation/AnimationEffectReadOnly.h
rename : dom/webidl/AnimationEffectReadonly.webidl => dom/webidl/AnimationEffectReadOnly.webidl
extra : rebase_source : 5fb31684bf494a57e208d0cfbbc76f65b502fc0e
2015-04-28 10:16:45 +09:00
Simon Montagu
6f25cac84c Tests for bug 1150614, r=jfkthame 2015-04-29 22:07:32 -07:00
Simon Montagu
f4ea5d40c8 Bug 1150614: place floats correctly in vertical writing modes with dir="rtl", r=jfkthame 2015-04-29 22:07:30 -07:00
Ryan VanderMeulen
e7e6f40c2f Merge m-c to fx-team. a=merge 2015-04-30 14:05:10 -04:00
Georg Fritzsche
93609ecc96 Bug 1148500 - Part 4 (Fx 40): Disable Telemetry recording in reftests. r=dexter 2015-04-30 14:00:58 +02:00
Mark Finkle
ea1ba80c9b Bug 1159263 - Add support to nsCaret to stop blinking after a set of cycles r=roc r=snorp 2015-04-29 10:23:19 -04:00
Wes Kocher
926d795614 Backed out changeset b242594427fd (bug 1112014) for failing on b2g
IGNORE IDL

--HG--
extra : amend_source : 12884c3f4b8d591e7639658069738d7fe1d5c55c
2015-05-01 11:26:24 -07:00
Jet Villegas
bfb3d11b2f Bug 1146561 - Add back the visibility check for Mac plugins. r=jmuizelaar
--HG--
extra : rebase_source : 54d5c31102bca7035b4060eefdfc48f89e13cae0
extra : histedit_source : 94bf4ef4a0e87b63e02588876fbe5360265b78ae
2015-04-24 17:44:00 -04:00
Markus Stange
e72a2b1b6a Bug 1147194 - Do scroll info layer hoisting when building the display list. r=tn
--HG--
extra : amend_source : 35ca22eae3b3088eaae5143af8c47177bf601800
2015-04-30 14:54:48 -04:00
L. David Baron
c0b0aac286 Bug 947753 / Bug 1122526 - Don't claim to support off-main-thread animations when the nearest widget is not using OMT compositing. r=birtles
This moves the test for whether off-main-thread compositor is enabled
*earlier* in CanPerformOnCompositorThread, since
CanAnimatePropertyOnCompositor is called only from
CanPerformOnCompositorThread.  This change means we're using a more
accurate test for whether we actually have off-main-thread compositing
than the pref, since in some cases we won't use off-main-thread
compositing for certain widgets (e.g., transparent widgets on Windows)
even when the pref is enabled.

--HG--
extra : amend_source : 0f286f6d05a1ebe706c14dba94ae35449ea898c9
2015-04-16 18:36:29 -07:00
Botond Ballo
1b108ac0db Bug 1154478 - Rename gfxPrefs::LayoutEventRegionsEnabled to LayoutEventRegionsEnabledDoNotUseDirectly. r=kats
--HG--
extra : source : a993f4ed89d7aa36f1c48b85810319374f7bf671
2015-04-23 01:25:00 -04:00
Tom Tromey
5adfab6bb9 Bug 1112014 - Avoid false negatives in CssPropertySupportsType. r=heycam
IGNORE IDL

--HG--
extra : rebase_source : f2bc30f0fe334823c334f04e42e89971c07e157b
2015-04-29 09:11:00 -04:00
Xidorn Quan
b67d865b08 Bug 1159101 part 4 - Override GetWritingMode() in nsTable{{Col,Row}{,Group},Cell}Frame. r=roc
--HG--
extra : source : 4b8d51cfa3331c052ede29b56bb7172088e47873
2015-04-30 16:24:59 +12:00
Xidorn Quan
82e7b5cf9f Bug 1159101 part 3 - Replace most of nsTableFrame::GetTableFrame() usage with new GetTableFrame() methods. r=roc
--HG--
extra : source : 626bc4d2a946d0499a529f974abe2711c0174241
2015-04-30 16:24:59 +12:00
Xidorn Quan
e30901b6a0 Bug 1159101 part 2 - Add GetTableFrame() for table inner frames. r=roc
--HG--
extra : source : c470aa2508be969b203ec686f8375383a5de6959
2015-04-30 16:24:59 +12:00
Xidorn Quan
b076220a42 Bug 1159101 part 1 - Alter dependencies among headers of table struct frames. r=roc
--HG--
extra : source : 47d27fc19bd60b57a2d910c60c48ae047c66c65c
2015-04-30 16:24:59 +12:00
Timothy Nikkel
4351a73f8e Bug 1159056. Fix typo. 2015-04-29 19:16:34 -05:00
ziyunfei
e1db0f779e Bug 1102219 - Part 4: Replace String.prototype.contains with String.prototype.includes in chrome code. r=till 2015-04-30 00:32:05 +09:00