Nigel Babu
1da86b5dfd
Backed out changeset cad9316f0b50 (bug 739117) for R14 bustage on Android
...
--HG--
extra : commitid : EeHMYcnDCc5
2015-12-29 16:49:53 +05:30
Jonathan Kew
722e5d85bf
Backed out changeset a7c9fc3f1701 (bug 739117) for unexpected Core Text crashes.
2015-12-29 09:08:24 +00:00
Jonathan Kew
f90087f1fa
Bug 739117 - Avoid bidi-wrapping the text to be shaped if Core Text direction override API is available. r=jdaggett
2015-12-29 08:23:28 +00:00
Jonathan Kew
ec2448714b
Bug 739117 - Reftest for Arabic ligature in an AAT font. r=jdaggett
2015-12-29 08:23:26 +00:00
Phil Ringnalda
ab9868233e
Bug 1226750 - expand the assertion range for font-inflation-762332.html to include 0 for the cases when a previous test eats all its assertions
...
--HG--
extra : rebase_source : b26b86e414175afea42cab09a8f496a46674d013
2015-12-28 20:46:22 -08:00
Chris Peterson
83fb38f729
Bug 1235306 - Fix -Wimplicit-fallthrough warnings in layout/. r=dholbert
...
layout/base/nsCSSRendering.cpp:3913:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsCSSRendering.cpp:3943:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsCSSRendering.cpp:4066:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsCSSRendering.cpp:4096:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsCSSRenderingBorders.cpp:646:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsLayoutUtils.cpp:4639:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsLayoutUtils.cpp:4659:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsLayoutUtils.cpp:5004:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/nsLayoutUtils.cpp:5200:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/TouchManager.cpp:192:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/base/TouchManager.cpp:196:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFlexContainerFrame.cpp:2497:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFlexContainerFrame.cpp:2687:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFlexContainerFrame.cpp:2973:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFrame.cpp:4277:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFrame.cpp:4310:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFrame.cpp:4313:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFrame.cpp:6703:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsFrame.cpp:6751:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsGridContainerFrame.cpp:2649:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsGridContainerFrame.cpp:935:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsHTMLReflowState.cpp:1141:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsHTMLReflowState.cpp:1145:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsHTMLReflowState.cpp:1148:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsLineLayout.cpp:2942:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsLineLayout.cpp:2958:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsLineLayout.cpp:3134:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/generic/nsLineLayout.cpp:3150:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/printing/nsPrintPreviewListener.cpp:199:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/CSSLexer.cpp:129:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/Declaration.cpp:1069:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/Declaration.cpp:366:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/Declaration.cpp:442:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/Declaration.cpp:981:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsComputedDOMStyle.cpp:3597:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsComputedDOMStyle.cpp:3616:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsComputedDOMStyle.cpp:539:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsComputedDOMStyle.cpp:540:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsComputedDOMStyle.cpp:542:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10628:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10630:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10671:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10673:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10769:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10770:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10774:43 [-Wimplicit-fallthrough] fallthrough annotation does not directly precede switch label
layout/style/nsCSSParser.cpp:10775:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10776:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:10780:43 [-Wimplicit-fallthrough] fallthrough annotation does not directly precede switch label
layout/style/nsCSSParser.cpp:2542:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:2715:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:4124:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:4313:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9513:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9697:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9699:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9743:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9745:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9826:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9827:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9832:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9833:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsCSSParser.cpp:9980:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsRuleNode.cpp:160:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsRuleNode.cpp:187:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsRuleNode.cpp:722:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/nsRuleNode.cpp:753:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/StyleAnimationValue.cpp:139:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/StyleAnimationValue.cpp:1687:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/style/StyleAnimationValue.cpp:1869:7 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/FixedTableLayoutStrategy.cpp:264:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/FixedTableLayoutStrategy.cpp:267:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsCellMap.cpp:1043:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsCellMap.cpp:930:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsCellMap.cpp:953:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsCellMap.cpp:997:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:6943:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:6953:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:6959:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:6966:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:6974:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:7151:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:7161:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:7170:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:7177:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableFrame.cpp:7186:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/nsTableRowFrame.cpp:663:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/SpanningCellSorter.cpp:112:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/SpanningCellSorter.cpp:142:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/tables/SpanningCellSorter.cpp:157:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsResizerFrame.cpp:86:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsResizerFrame.cpp:87:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsResizerFrame.cpp:88:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsResizerFrame.cpp:90:13 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsSliderFrame.cpp:551:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsSliderFrame.cpp:560:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
layout/xul/nsXULPopupManager.cpp:2268:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-22 21:33:47 -08:00
Wes Kocher
341ab24f19
Backed out changeset 8e026b0e24a5 (bug 1215365) for gij failures
...
--HG--
extra : commitid : 2VjBdNfMdQv
2015-12-28 16:29:30 -08:00
Xidorn Quan
3549505a7d
Bug 1195788 - Set arithmetic composite clamp to true for D2D filter node. r=bas
...
--HG--
extra : source : 143122bf7036ee754e587fc99a049078d34eb936
2015-12-29 09:48:37 +11:00
Xidorn Quan
e829dc80d0
Bug 1215365 - Update ua style sheet of fullscreen element. r=heycam
...
--HG--
extra : source : ff9eaa77d71343351c685709573cb408302fac53
2015-12-29 09:48:37 +11:00
Daniel Holbert
f6eb7d2dcc
Bug 1234676 part 5: Update indentation & rewrap some nsComputedDOMStyle function-decls. rs=heycam
2015-12-28 14:42:09 -08:00
Daniel Holbert
d9019a66bc
Bug 1234676 part 4: Remove now-obsolete comment. r=heycam
2015-12-28 14:42:09 -08:00
Daniel Holbert
497e3d5ec0
Bug 1234676 part 3: Remove some now-unneeded local RefPtr variables. r=heycam
2015-12-28 14:42:09 -08:00
Daniel Holbert
e6f677af60
Bug 1234676 part 2: Make nsComputedDOMStyle getters return an already_AddRefed value, instead of a raw pointer with refcount of 0. r=heycam
2015-12-28 14:42:08 -08:00
Daniel Holbert
be2331081a
Bug 1234676 part 1: Give nsComputedDOMStyle a private typedef for mozilla::dom::CSSValue. r=heycam
2015-12-28 14:42:08 -08:00
Chris Peterson
e4bb03dc8f
Bug 1235186 - Part 2: Fix -Wclass-varargs warning in layout/. r=dholbert
...
layout/base/nsLayoutDebugger.cpp:189:36: warning: passing object of class type 'AnimatedGeometryRoot' through variadic constructor [-Wclass-varargs]
2015-12-22 18:29:35 -08:00
Chris Peterson
68d33ca9b5
Bug 1235186 - Part 1: Fix -Wformat warnings in layout/. r=dholbert
...
layout/base/AccessibleCaret.cpp:129:48 [-Wformat-extra-args] data argument not used by format string
layout/generic/nsContainerFrame.cpp:425:71 [-Wformat] more '%' conversions than data arguments
layout/style/FontFaceSet.cpp:798:10 [-Wformat] format specifies type 'int' but the argument has type 'size_type' (aka 'unsigned long')
layout/style/Loader.cpp:1817:12 [-Wformat] format specifies type 'unsigned int' but the argument has type 'nsICSSLoaderObserver *'
layout/style/Loader.cpp:1817:35 [-Wformat] format specifies type 'unsigned int' but the argument has type 'mozilla::css::SheetLoadData *'
layout/style/Loader.cpp:1827:12 [-Wformat] format specifies type 'unsigned int' but the argument has type 'nsICSSLoaderObserver *'
layout/style/Loader.cpp:1827:23 [-Wformat] format specifies type 'char *' but the argument has type 'mozilla::css::SheetLoadData *'
2015-12-24 16:04:20 -07:00
Olli Pettay
2b2b2cc690
Bug 1155730, implement History.scrollRestoration r=jst
2015-12-26 12:59:09 +02:00
Daniel Holbert
a1e28f28c1
Bug 1204897: Attempt to work around randomorange in test_bug332655-1.html by using an unthemed <input> widget. r=jfkthame
2015-12-24 13:08:32 -08:00
Thinker K.F. Li
7022b0f440
Bug 1226904 - Fix boundary checking for leaves collecting. r=roc
...
--HG--
extra : rebase_source : 6338083654b2ad0de0ef7aa4987de1323f44c4b5
2015-12-22 19:17:00 -05:00
Hiroyuki Ikezoe
ad26e984f4
Bug 1234966 - nsStylePosition::MaxDifference should include nsChangeHint_NeutralChange because CalcDiffrence returns it. r=heycam
...
--HG--
extra : commitid : FVjhKfDcAUz
2015-12-24 09:35:18 +09:00
Markus Stange
ccf4cdd575
Bug 1152049 - Apply all scroll clips when computing plugin clips in content. r=tn
...
--HG--
extra : commitid : INSbCLlrdE7
extra : rebase_source : 27433278adbb4d5252044dd2566391f7ca241ca6
2015-12-24 12:02:05 +01:00
Markus Stange
1e3c6a4c67
Bug 1152049 - Rename GetClippedBoundsUpTo into GetScrollClippedBoundsUpTo. r=tn
...
--HG--
extra : commitid : 5IM4iKZumy9
extra : rebase_source : d1c935ae3f9f11a5219e55c79ad12283adafeabb
2015-12-24 12:16:46 +01:00
Markus Stange
22ab8b4d6c
Bug 1234800 - Reinstate code that adjusts dirty rects for fixed-position frames in display ports. r=tn
...
--HG--
extra : commitid : ENo8RDm20HG
extra : rebase_source : 16fe189a06887e59c0644a18e09e482a33d692e9
2015-12-23 11:09:42 +01:00
Daniel Holbert
01654b9711
Bug 1234707: Make nsDOMCSSValueList::AppendCSSValue() take an already_AddRefed arg (instead of a raw pointer, usually with refcount of 0). r=heycam
2015-12-23 16:25:43 -08:00
Jan Horak
76cccd6b7d
Bug 1205643 - "Wrong scrollbar border prevents scrolling to cursor when mouse is on the screen edge". r=karlt
2015-12-22 05:05:00 +01:00
Daniel Holbert
f34ceefc52
Bug 1234409: Give percentage positions to the dummy transparent color-stops that we use to pad CSS -webkit-gradient() expressions. r=heycam
...
DONTBUILD because backed out & re-landed just to fix bug number
2015-12-22 22:48:16 -08:00
Daniel Holbert
c22644c819
Backed out changeset 6fb4628a5eeb because it landed with the wrong bug number
2015-12-22 22:49:30 -08:00
Daniel Holbert
b74e6e788f
Bug 1204897: Give percentage positions to the dummy transparent color-stops that we use to pad CSS -webkit-gradient() expressions. r=heycam
2015-12-22 22:48:16 -08:00
Mats Palmgren
c2658436b2
Bug 1118820 - Follow-up: disable the grid-repeat-auto-fill-fit-006.html reftest for now since it triggers a leak: bug 1234644. r=me
2015-12-23 01:45:08 +01:00
Mats Palmgren
36577daca6
Bug 1151243 part 5 - [css-grid] Reftests for abs. pos. static-position.
2015-12-22 23:03:16 +01:00
Mats Palmgren
a460027765
Bug 1151243 part 4 - Some code cleanup in nsHTMLReflowState::CalculateHypotheticalPosition, and make a few methods 'const' (idempotent patch). r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
1d8b5ec5e7
Bug 1151243 part 3 - [css-grid] Add a generic nsHTMLReflowState::STATIC_POS_IS_CB_ORIGIN flag to place the static-position at the CB origin, and make nsAbsoluteContainingBlock use it in Grid containers where the placeholder is a child too. r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
cb6c791e80
Bug 1151243 part 2 - [css-grid] Add a eIsGridContainerCB flag for nsAbsoluteContainingBlock::Reflow to trigger Grid specific code (rather than checking GetType()). r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
953043bd52
Bug 1151243 part 1 - Replace three bool params for nsAbsoluteContainingBlock::Reflow with a flag param (idempotent patch). r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
9e0a3e3bb5
Bug 1118820 part 6 - [css-grid] Reftests for 'repeat(auto-fill/auto-fit)'.
2015-12-22 23:03:16 +01:00
Mats Palmgren
aa1a02ded6
Bug 1118820 part 5 - [css-grid] Remove any empty 'repeat(auto-fit)' tracks at the end of its range and adjust affected grid area line numbers accordingly. r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
6c3dc42815
Bug 1118820 part 4 - [css-grid] Provide the sizes to use for CalculateRepeatFillCount. r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
6db102a5d8
Bug 1118820 part 3b - [css-grid] Implement the CalculateRepeatFillCount method that calculates the number of 'repeat(auto-fill/auto-fit)' tracks to use for the given sizes. r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
0fa25cd68c
Bug 1118820 part 3a - [css-grid] Modify TrackSizingFunctions to take a dynamic number of 'repeat(auto-fill/auto-fit)' tracks taking into account. r=dholbert
2015-12-22 23:03:16 +01:00
Mats Palmgren
6a0b77effc
Bug 1118820 part 2c+2d - [css-grid] Modify the LineNameMap::FindLine/RFindLine/FindNamedLine methods to take line names associated with 'repeat(auto-fill/auto-fit)' tracks into account. Instantiate and pass around a LineNameMap object instead of an array of line name arrays. r=dholbert
2015-12-22 23:03:15 +01:00
Mats Palmgren
1d19f2a174
Bug 1118820 part 2b - [css-grid] Move the static functions FindLine/RFindLine/FindNamedLine into the LineNameMap class (idempotent patch). r=dholbert
2015-12-22 23:03:15 +01:00
Mats Palmgren
8c1437aebd
Bug 1118820 part 2a - [css-grid] Add a LineNameMap class that lets us lookup line names with a dynamic number of 'repeat(auto-fill/auto-fit)' tracks taken into account. r=dholbert
2015-12-22 23:03:15 +01:00
Mats Palmgren
781441cd1d
Bug 1118820 part 1 (style system part) - [css-grid] Implement the 'auto-fill' and 'auto-fit' keywords in the repeat() function. r=dholbert
2015-12-22 23:03:15 +01:00
Mats Palmgren
b8b7cf9e56
Bug 1226697 part 2 - [css-grid] Add more tests that tests searching for lines in reverse, from the end of the grid, or from an *-end line and/or padding edge in the abs.pos. case.
2015-12-22 23:03:15 +01:00
Joel Maher
36efb552d7
Bug 1232981 - bidi/83958-1*.html reftests fail on new linux64 docker container. r=dbaron
2015-12-22 12:39:25 -08:00
Joel Maher
0d1b56549a
Bug 1232980 - many bidi/with-first-letter-*.html reftests fail on new linux64 docker container. r=jfkthame
2015-12-22 12:39:57 -08:00
Markus Stange
b22db3eab2
Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
...
--HG--
extra : commitid : 1j8QG2b0rIG
extra : rebase_source : 027065697e7e0ef445d8bcf7a81cf0270dcf7b8b
2015-12-22 16:54:19 +01:00
Markus Stange
30bf0a5627
Bug 1147673 - Use ancestor clip for root scrollable framemetrics clips. r=tn
...
--HG--
extra : commitid : Do9D8ZPMoLv
extra : rebase_source : 558a5311c4f2bceaf301a6c0c5e1233effdc2bd4
2015-11-05 17:54:44 +01:00
Jean-Yves Avenard
8f79430f0e
Bug 1234092: P1. Remove GStreamer support. r=kentuckyfriedtakahe
...
It was now unused by default.
2015-12-23 01:14:22 +11:00
Carsten "Tomcat" Book
717016fa6e
Merge mozilla-central to mozilla-inbound
2015-12-22 11:47:56 +01:00
Carsten "Tomcat" Book
d0f1701bc8
merge mozilla-inbound to mozilla-central a=merge
2015-12-22 11:47:07 +01:00
Carsten "Tomcat" Book
8f8a18e826
merge b2g-inbound to mozilla-central a=merge
2015-12-22 11:34:48 +01:00
Kartikaya Gupta
4a4a0bcf45
Bug 1234242 - Keep a RefPtr to the refresh driver to unregister the ScrollEvent, rather than relying on a chain of pointers remaining non-null. r=mstange a=KWierso
...
--HG--
extra : commitid : JouJUWdzJl6
2015-12-21 14:40:20 -05:00
Carsten "Tomcat" Book
aaad85ab2f
Merge mozilla-central to b2g-inbound
2015-12-21 12:01:32 +01:00
Carsten "Tomcat" Book
7ad45c0d65
merge mozilla-inbound to mozilla-central a=merge
2015-12-21 11:52:31 +01:00
Carsten "Tomcat" Book
f39a0181bb
merge fx-team to mozilla-central a=merge
2015-12-21 11:50:09 +01:00
Markus Stange
8d6e827631
Bug 1209970 - Fire scroll events early in the refresh tick. r=mats
...
With APZ we want to be firing scroll events to content more consistently, so
we tie them to the refresh driver tick rather than firing them on paint or
haphazardly on the next spin of the event loop.
Patch by Markus Stange, test fixes by Kartikaya Gupta
--HG--
extra : commitid : 7nnkRC8afAJ
2015-12-17 17:19:30 -05:00
Morris Tseng
3e61e4b4cf
Bug 1172796 - Part 7: Implements ImageBitmapRenderingContext. r=roc r=smaug
...
--HG--
extra : commitid : J5ynF4BHVHV
2015-12-18 14:52:17 +08:00
Morris Tseng
25c5294a43
Bug 1172796 - Part 5: Implements OffscreenCanvas::TransferImageBitmap. r=roc r=smaug
...
--HG--
extra : commitid : 4XzkGVfRcHJ
2015-12-18 14:52:17 +08:00
Morris Tseng
ef261c0b38
Bug 1215438 - Part 4: Rename CairoImage to SourceSurfaceImage. r=roc
...
--HG--
extra : commitid : H9H2n8GsBOK
2015-12-18 14:52:16 +08:00
Phil Ringnalda
83bca6f9cf
Back out changeset 698cda645acb (bug 1209970) for Gu failures in tag_visibility_monitor_test.js
2015-12-17 19:44:55 -08:00
Mantaroh Yoshinaga
9d36679a2a
Bug 1200133 - Part1 - Change mochitest using TV Simulator Service. r=seanlin
2015-12-17 15:41:00 +01:00
Ting-Yu Lin
4f08edc623
Bug 1221459 - Remove TouchCaret and SelectionCarets from marionette tests. r=mtseng
...
--HG--
extra : amend_source : 1252c855015cf8413fe2ba51ce2211f6b73a8aa6
2015-12-22 14:14:12 +08:00
Ting-Yu Lin
097bf2b9b7
Bug 1221459 - Remove TouchCaret and SelectionCarets prefs in test files. r=mtseng, r=roc
...
For test_bug648573.html and test_bug644768.html, we no longer need to
create an iframe to turn off the preferences. I move the content of
iframe.src back to the test files.
--HG--
extra : amend_source : eec926c474be934b99faeb604493c01c471066e7
2015-12-22 14:14:12 +08:00
Ting-Yu Lin
d477595b16
Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng, r=roc
...
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
2015-12-22 14:14:12 +08:00
Nigel Babu
fd9c9b233f
Backed out changeset 9f30d3caa231 (bug 1221459)
2015-12-22 14:03:21 +05:30
Nigel Babu
ca777970e8
Backed out changeset b61190bd4069 (bug 1121459)
2015-12-22 14:03:19 +05:30
Nigel Babu
27e07fcae4
Backed out changeset 218b4db3e21a (bug 1121459)
...
--HG--
rename : layout/base/tests/marionette/test_accessiblecaret_selection_mode.py => layout/base/tests/marionette/test_selectioncarets.py
rename : layout/base/tests/marionette/test_accessiblecaret_cursor_mode.py => layout/base/tests/marionette/test_touchcaret.py
2015-12-22 14:03:18 +05:30
Jim Mathies
1d3f8e839d
Bug 1229850 - Avoid unnecessary combobox dropdown calculations in the content process. r=dbaron
...
--HG--
extra : rebase_source : 8289321afb5a5c0a88ebc3d8a1b16fc8a021b1a7
2015-12-18 13:40:53 -06:00
Ting-Yu Lin
ac9fa26bf1
Bug 1230582 - Always show caret even if input is empty on Fennec. f=capella, r=roc
...
--HG--
extra : commitid : Jy7HHc69qxH
2015-12-21 01:01:00 +08:00
Ting-Yu Lin
749adb0ce3
Bug 1121459 - Remove TouchCaret and SelectionCarets from marionette tests. r=mtseng
...
--HG--
rename : layout/base/tests/marionette/test_touchcaret.py => layout/base/tests/marionette/test_accessiblecaret_cursor_mode.py
rename : layout/base/tests/marionette/test_selectioncarets.py => layout/base/tests/marionette/test_accessiblecaret_selection_mode.py
extra : rebase_source : 5d30a91c32a95fca4c1857fba57ef582b2fd2c06
2015-12-22 14:14:12 +08:00
Ting-Yu Lin
010e08ad0b
Bug 1121459 - Remove TouchCaret and SelectionCarets prefs in test files. r=mtseng,roc
...
For test_bug648573.html and test_bug644768.html, we no longer need to
create an iframe to turn off the preferences. I move the content of
iframe.src back to the test files.
--HG--
extra : rebase_source : 5cf321bf3280e032cc6645810e3e7faa7a6ff615
2015-12-22 14:14:12 +08:00
Ting-Yu Lin
0fd840e0d8
Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng,roc
...
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
--HG--
extra : rebase_source : b31db322130f665e7dda53d1061cfc40f81ce411
2015-12-22 14:14:12 +08:00
Matt Woodrow
aecd781a68
Bug 1230696 - Don't report perspective values that round to 0 app units as not having perspective. r=roc
2015-12-09 10:47:08 -05:00
Wes Kocher
29e422e6ea
Backed out changeset 0b616948a0f3 (bug 1214261) for 379461-3-container-xhtml.html failures CLOSED TREE
...
--HG--
extra : commitid : 3DxZrFjobHp
2015-12-17 16:38:49 -08:00
Wes Kocher
6ebc8a4b00
Backed out 10 changesets (bug 1082598) for 2d.path.arcTo.shape.curve1.html failures on OSX
...
Backed out changeset 018c2a3031f4 (bug 1082598)
Backed out changeset 8f60e42aca2e (bug 1082598)
Backed out changeset c4297c82165f (bug 1082598)
Backed out changeset c22c1bfd091a (bug 1082598)
Backed out changeset 8754fd718869 (bug 1082598)
Backed out changeset da976e4cd253 (bug 1082598)
Backed out changeset 3c8f87df8c68 (bug 1082598)
Backed out changeset 3183d30eb549 (bug 1082598)
Backed out changeset c239a7bc6cba (bug 1082598)
Backed out changeset aa3805015270 (bug 1082598)
--HG--
extra : commitid : LJSl0Bo8Hqr
2015-12-17 14:30:50 -08:00
Markus Stange
8449f0d092
Bug 1209970 - Fire scroll events early in the refresh tick. r=mats
...
With APZ we want to be firing scroll events to content more consistently, so
we tie them to the refresh driver tick rather than firing them on paint or
haphazardly on the next spin of the event loop.
Patch by Markus Stange, test fixes by Kartikaya Gupta
--HG--
extra : commitid : DpIZ6B0IF0c
2015-12-17 17:19:30 -05:00
Joel Maher
360ee0d8e8
Bug 1232979 - abs-pos/scrollframe-2.html fails on new linux64 docker container. r=ehsan
2015-12-17 13:31:08 -08:00
Lee Salzman
f5d37b9220
Bug 1082598 - Part 9: Fix test failures for Skia update. r=jrmuizel
2015-12-17 14:45:45 -05:00
David Anderson
8a7ec78385
Force a repaint after DXGI device resets. (bug 1188019, r=bas)
2015-12-17 11:20:08 -08:00
David Anderson
4d4d47ca92
Fix crash trying to allocate textures for oversize scrollbars. (bug 1214261, r=mstange)
2015-12-17 11:13:45 -08:00
Brian Birtles
98bde3e131
Bug 1232829 - Detach obsolete DocumentTimeline from refresh driver when the document is reset; r=smaug
2015-12-22 10:08:19 +09:00
Wes Kocher
a5249b6201
Backed out 25 changesets (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
...
Backed out changeset 31c0aadae8e7 (bug 1156742)
Backed out changeset f08df57ff700 (bug 1156742)
Backed out changeset 90c026d5dcb1 (bug 1156742)
Backed out changeset 8c6d14d80238 (bug 1156742)
Backed out changeset 72d86b0471c9 (bug 1156742)
Backed out changeset 363829accc09 (bug 1156742)
Backed out changeset 16360fe94d54 (bug 1156742)
Backed out changeset 5355c636a81a (bug 1156742)
Backed out changeset 18844d26b873 (bug 1156742)
Backed out changeset 99df86591613 (bug 1156742)
Backed out changeset 7ac1c7e15a11 (bug 1156742)
Backed out changeset de352000aae1 (bug 1156742)
Backed out changeset 4dd34ea230c6 (bug 1156742)
Backed out changeset 48c6ce65a5c2 (bug 1156742)
Backed out changeset dd52947f73c6 (bug 1156742)
Backed out changeset 5fe429ee880c (bug 1156742)
Backed out changeset dedca8fb19b0 (bug 1156742)
Backed out changeset d748b1354f92 (bug 1156742)
Backed out changeset 7f8e59588518 (bug 1156742)
Backed out changeset b90d302c57f6 (bug 1156742)
Backed out changeset 7a4da453572c (bug 1156742)
Backed out changeset a40eea914519 (bug 1156742)
Backed out changeset 99a8859afcdb (bug 1156742)
Backed out changeset 4934e88b2d7a (bug 1156742)
Backed out changeset 79733166f05e (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
--HG--
extra : amend_source : beeb6abbcc724b79ac166e828efa78dc4c5301da
2015-12-21 13:47:33 -08:00
Bob Owen
fb35888c83
Bug 1156742 Part 24: Add new Recorded event to record font data. r=bas
...
We create and destroy ScaledFonts for every piece of text we write.
That causes a huge amount of duplicated data within the recording.
This splits out the recording of the font data itself from the ScaledFont.
The key generated to determine uniqueness could probably be fairly easily faked, but for our purposes that doesn't matter.
2015-12-21 20:33:14 +00:00
Bob Owen
016d8435c1
Bug 1156742 Part 23: Assert in PrintTranslator when a lookup fails. r=bas
...
In theory these lookups should never fail.
The plan is to move them to release asserts when any bugs have been fixed, as failed lookups may be an indication of data being sent from a compromised renderer.
2015-12-21 20:33:14 +00:00
Bob Owen
61ff168ec9
Bug 1156742 Part 15: Add pref for turning on printing via the parent process. r=mconley
2015-12-21 20:33:14 +00:00
Bob Owen
7c7bc68d35
Bug 1156742 Part 14: Complete RemotePrintJob using PrintTranslator. r=mconley
2015-12-21 20:33:14 +00:00
Bob Owen
982220b6d8
Bug 1156742 Part 13: Create a Moz2D PrintTranslator. r=bas
...
A better solution to the ScaledFonts issue comes in Part 24.
2015-12-21 20:33:13 +00:00
Bob Owen
b1c615dd5b
Bug 1156742 Part 11: Allow RemotePrintJobChild to abort the print. r=roc
...
This is so the RemotePrintJobParent can abort the printing in the child when something goes wrong.
2015-12-21 20:33:13 +00:00
Bob Owen
48ebbb6b5a
Bug 1156742 Part 10: Allow RemotePrintJob to influence nsPagePrintTimer. r=roc
...
Adds a new timer for the RemotePrintJob to notify the nsPagePrintTimer when the last page has finished printing in the parent.
Changed the page delay timer to reset the watch dog count on every page to prevent timeouts due to remote printing.
2015-12-21 20:33:13 +00:00
Bob Owen
529a96f97d
Bug 1156742 Part 9: Add a new nsIDeviceContextSpec for proxied printing. r=roc
...
This also changes aPrintToFileName parameter for BeginDocument to an nsAString& from char16_t*.
Having a char16_t* caused a pain with VS2105 where wchar_t != char16_t (as on VS2103), after it had been sent over IPDL.
This could have been worked around with casting, but this seemed like the tidier solution.
2015-12-21 20:33:13 +00:00
Bob Owen
a3c64d5bb8
Bug 1156742 Part 6: Add RemotePrintJob to PrintSession and PrintData. r=roc, r=mconley
...
Someone knew that nsIPrintSession would come in handy one day.
2015-12-21 20:33:13 +00:00
Bob Owen
4797734560
Bug 1156742 Part 5: Add a skeleton RemotePrintJob. r=mconley
...
The methods will get filled out by later patches, this sets up the IPDL and lifetime management.
2015-12-21 20:33:13 +00:00
Karl Tomlinson
503849e75c
bug 1230025 remove declaration of non-existant NS_NewThumbFrame r=dholbert
...
--HG--
extra : rebase_source : 4a9b29189fd57fae34e8b2c19eca5c353a18fcd2
2015-12-03 14:07:46 +13:00
Daniel Holbert
921795f698
(no bug) Fix typo in grid style-struct comment: s/grid-columns-rows/grid-template-rows/. No review, DONTBUILD
2015-12-18 16:28:38 -08:00
L. David Baron
7cbc3ab55d
Bug 1233276 - Make css::Declaration::List more useful again, given that it degraded a bit in bug 978833 (/ bug 1221436). r=heycam
...
--HG--
extra : transplant_source : %F0%29w%87%DB%F7%D3%DD%3A%8B%9Dv7%1F%18%FB%24%F2%8F1
2015-12-21 13:11:32 -05:00
David Anderson
bbce6296fd
Turn apz.use_paint_duration off. (bug 1192919 part 4, r=kats)
...
--HG--
extra : commitid : 9gfykJXaFJE
2015-12-21 09:36:36 -05:00
David Anderson
bba1b2478f
Annotate FrameMetrics that are created for ScrollInfoLayers. (bug 1192919 part 1, r=kats)
...
--HG--
extra : commitid : 83SwqEe7GTb
2015-12-21 09:36:36 -05:00
Carsten "Tomcat" Book
537c84d51c
Merge mozilla-central to mozilla-inbound
2015-12-21 11:54:26 +01:00
Hiroyuki Ikezoe
29ee5a579b
Bug 1219543 - Part 2: Avoid the period that mIsRunningOnCompositor is false between restyling and building display list. r=bbirtles
...
Without this fix, mIsRunningOnCompositor will be unpredictable in
MutationObserver callbacks.
For example:
mIsRunningOnCompositor will be false if the micro task for
the MutationObserver is processed before building display list.
mIsRunningOnCompositor will be true if there is no room to process
the micro task before building display list.
2015-12-20 14:17:00 +01:00
Hiroyuki Ikezoe
1ffc0c63ea
Bug 1219543 - Part 1: isRunningOnCompositor flag is now a member of AnimationProperty. r=bbirtles
2015-12-20 14:16:00 +01:00
Kit Cambridge
f9c7a31d28
Bug 1219030 - Collect notification management telemetry. r=wchen,MattN; p=ally
...
--HG--
extra : commitid : JvHyMCNBrk9
extra : amend_source : 72c46fbd3ead7ed3f101dd98114cb435a691c706
2015-11-13 21:22:59 -08:00
Mats Palmgren
79555ba1f2
Bug 1226697 part 2 - [css-grid] Reftest fixes.
2015-12-17 04:12:09 +01:00
Mats Palmgren
bf96241100
Bug 1226697 part 1 - [css-grid] Fix off-by-one error when counting lines in reverse. r=dholbert
2015-12-17 04:12:09 +01:00
Avi Halachmi
9b56ccfb99
Bug 1228147: part 2: Add telemetry probe for synchronous scroll. r=kats
2015-12-16 20:06:40 +02:00
Mason Chang
4cd6379278
Bug 1230357. Enable subpixel text on skia content backends. r=lsalzman
2015-12-16 12:43:49 -08:00
Wes Kocher
0f6a2a587a
Backed out 2 changesets (bug 1228147) for build failures in histogram.h on a CLOSED TREE
...
Backed out changeset 35b4ba91e093 (bug 1228147)
Backed out changeset 8a2f45c8d25d (bug 1228147)
--HG--
extra : commitid : Atv8AVyyd9h
2015-12-16 09:27:37 -08:00
Avi Halachmi
7762c6b58a
Bug 1228147: part 2: Add telemetry probe for synchronous scroll. r=kats
2015-12-16 17:18:45 +02:00
Kartikaya Gupta
edc45db293
Bug 1232048 - Fix breakage in scroll snapping when snapping twice in a row to the same thing with non-smooth-scrolls in between. r=botond
...
--HG--
extra : commitid : HOoM79IZd2u
2015-12-16 10:42:49 -05:00
Bogdan Postelnicu
26ec0ae66f
Bug 1232271 - initialize local scalar mSolidColor with default value - NS_RGBA(0, 0, 0, 0). r=matt.woodrow
2015-12-14 04:06:00 +01:00
Carsten "Tomcat" Book
b2138a4f83
Backed out changeset 2391e16acb15 (bug 1226697) for android r14 test failures in clipPath-html-06.xhtml
2015-12-16 12:03:13 +01:00
Carsten "Tomcat" Book
01aca80825
Backed out changeset 14f29b2683c7 (bug 1226697)
2015-12-16 12:02:44 +01:00
Carsten "Tomcat" Book
66e5f0c4ab
Backed out changeset 04b102bec363 (bug 1147673)
2015-12-16 11:52:39 +01:00
Carsten "Tomcat" Book
27bbe6ec93
Backed out changeset 68b33692bed3 (bug 1147673)
2015-12-16 11:52:37 +01:00
Bogdan Postelnicu
0daf3a2e34
Bug 1232596 - initialize variable changed = false, flagged by Coverity. r=dbaron
2015-12-15 00:41:00 +01:00
Markus Stange
bf668586d7
Bug 1147673 - Make display items know about their scroll clips. r=tn, r=roc
...
--HG--
extra : commitid : 7KbOQKKSVq5
extra : rebase_source : d23daf86ed8d375bd5ab3ed7dfe3cff80bc0ff4c
extra : histedit_source : cce4ded91f0672142796a852d20d052e7b6247ce
2015-12-12 10:58:37 -05:00
Markus Stange
9079fbe047
Bug 1147673 - Use ancestor clip for root scrollable framemetrics clips. r=tn
...
--HG--
extra : commitid : 8i9bmvj9S6Y
extra : rebase_source : 6316afb1c7967fd944281f0686b2c6ba7379606f
extra : histedit_source : 1289a445613a59b213b79396a60076ebc4e83beb
2015-11-05 17:54:44 +01:00
Mats Palmgren
c2ead6a5d4
Bug 1226697 part 2 - [css-grid] Add more tests that tests searching for lines in reverse, from the end of the grid, or from an *-end line and/or padding edge in the abs.pos. case.
2015-12-16 04:27:12 +01:00
Mats Palmgren
d91ea7b40a
Bug 1226697 part 1 - [css-grid] Fix off-by-one error when counting lines in reverse. r=dholbert
2015-12-16 04:27:12 +01:00
Joel Maher
4a128fcb91
Bug 1232316 - reftest failures with text-emphasis marks. r=xidorn
2015-12-15 17:18:24 -08:00
Mats Palmgren
2cdeaad3ed
Bug 1230672 part 2 - Add reftest with -moz-column-fill:auto and overflow:hidden.
...
Relanded with fuzzy-if(OSX,32,1000) to ignore anti-aliasing differences
on OSX 10.10.
2015-12-15 23:23:46 +01:00
Wes Kocher
33acfbd407
Backed out changeset 5fa1b85831b7 (bug 1230672) for reftest bustage CLOSED TREE
...
--HG--
extra : commitid : Ka7KxJ2PcTI
2015-12-15 15:07:29 -08:00
Mats Palmgren
0877b3ce2b
Bug 1230672 part 2 - Add reftest with -moz-column-fill:auto and overflow:hidden.
...
Relanded with fuzzy-if(OSX,32,1000) to ignore anti-aliasing differences
on OSX 10.10.
2015-12-15 23:23:46 +01:00
Phil Ringnalda
ad1c25178b
Back out 950b5292fc5c (bug 1230672) for OS X 10.10 reftest bustage in olumnfill-auto.html
2015-12-14 21:33:27 -08:00
Nicholas Nethercote
59dfcb9a66
Bug 1231256 (part 11) - Remove unused parameter from HidePopupsInList(). r=roc.
...
--HG--
extra : rebase_source : 805d5cadfdd1cd357a1296d1ec2e6dc192fc4597
2015-12-08 20:06:04 -08:00
Nicholas Nethercote
a96e4ed3ee
Bug 1231256 (part 10) - Remove unused parameters from StartAPZDrag(). r=roc.
...
--HG--
extra : rebase_source : 32d54af512560923390228365801f2823cdea351
2015-12-08 20:05:13 -08:00
Nicholas Nethercote
175f0903af
Bug 1231256 (part 9) - Remove unused parameter from ShowPopup(). r=roc.
...
--HG--
extra : rebase_source : 0fd079c5bbbdb19c216bb712f319fbf24609468b
2015-12-08 20:04:37 -08:00
Nicholas Nethercote
26a1b45e38
Bug 1231256 (part 8) - Remove unused parameters from MouseClicked(). r=roc.
...
--HG--
extra : rebase_source : 0a4ec983943a80d62384974cab2612f852cad919
2015-12-07 15:30:05 -08:00
Nicholas Nethercote
fd01b68fac
Bug 1231256 (part 7) - Remove unused parameters from two layout functions. r=roc.
...
--HG--
extra : rebase_source : bd6a7d6e3478a1ee17a7ef4dc7f237d3ca3fe8a7
2015-12-07 15:27:01 -08:00
Nicholas Nethercote
b05b423429
Bug 1231256 (part 6) - Remove unused parameter from Damage functions. r=roc.
...
--HG--
extra : rebase_source : 1c5bce4cde56ce7cd63aa719d9952bf72164e634
2015-12-07 15:23:34 -08:00
Nicholas Nethercote
43de6de5c5
Bug 1231256 (part 1) - Remove unused nsBoxLayoutState parameters from many functions. r=roc.
...
--HG--
extra : rebase_source : d9b86154d4cfc8f195e7cd86b6e8e60af52efaa9
2015-12-07 10:17:47 -08:00
Mats Palmgren
cda27f9549
Bug 1230672 part 4 - Reftests for <fieldset> with multicol layout.
2015-12-15 02:51:03 +01:00
Mats Palmgren
6008c786f7
Bug 1230672 part 3 - Add support for multicol layout on <fieldset> elements. r=bz
2015-12-15 02:51:03 +01:00
Mats Palmgren
dc19903279
Bug 1230672 part 2 - Add reftest with -moz-column-fill:auto and overflow:hidden.
2015-12-15 02:51:03 +01:00
Mats Palmgren
c6b1fdaba5
Bug 1230672 part 1 - Make '-moz-column-fill:auto' work also when 'overflow' isn't 'visible'. r=bz
2015-12-15 02:51:03 +01:00
Mats Palmgren
3e5d9f0959
Bug 1230207 - A couple of simple reftests for grid/flexbox layout on a <fieldset>.
2015-12-15 02:51:03 +01:00
Mats Palmgren
028ecc5615
Bug 1230207 - Add support for display:grid/flex layout on <fieldset> elements. r=bz,dholbert
2015-12-15 02:51:02 +01:00
Kartikaya Gupta
0dcf99f8a4
Bug 1229052 - Log a warning when we detect a scroll-linked effect based on the scroll event. r=roc
2015-12-14 14:47:24 -05:00
Xidorn Quan
e46f5d8adf
Bug 1232157 - Fix reference mismatch errors in text-emphasis reftests caught by check-for-references. r=dbaron DONTBUILD
...
--HG--
extra : source : 2e7efc576be70018b456f5f2038cfa28e62cebc5
2015-12-15 10:45:42 +11:00
Kartikaya Gupta
6b0c32286a
Back out 5 csets from bug 1229052 on a CLOSED TREE for failing to fix the nonunified build error even after many attempts. r=backout
2015-12-14 15:52:31 -05:00
Kartikaya Gupta
fcb193563c
Bug 1229052 - Log a warning when we detect a scroll-linked effect based on the scroll event. r=roc
2015-12-14 14:47:24 -05:00
Xidorn Quan
b7d17c8e5b
Bug 1230508 - Always compute position to fixed for top layer elements for now. r=dbaron
...
Although the spec says absolute is allowed for top layer elements, and actually
other values should be computed to absolute, but this is mostly fine because
the only way we currently support for web content to use the top layer is via
the Fullscreen API, however, fullscreen elements are forced to be fixed by the
UA sheet.
Given only fixed is safe for top layer element currently, rather than doing
what the spec says, we should prefer always force it, until we really add
support for the other value.
--HG--
extra : source : 778b17ff659c0a392ead29afe7c0506acede5e6f
2015-12-14 12:31:23 +11:00
Nicholas Nethercote
16efa2c6ff
Bug 1231303 - Moz2Dify nsFilterInstance. r=roc.
...
--HG--
extra : rebase_source : d8d1cef32ac83dd9319fd812366e77c24a316aae
2015-12-13 14:02:34 -08:00
Phil Ringnalda
0d8048b1ff
Bug 1167155 etc. - skip abspos writing-mode reftests on Windows 7 for frequent waiting for onload scripts to complete timeouts, a=testonly
2015-12-12 13:55:05 -08:00
Botond Ballo
6de5b811f0
Bug 1176395 - Reftest. r=roc
...
--HG--
extra : rebase_source : c91d55dd38b30db785bd6064a380afeaffd57641
extra : amend_source : c45240b18db52bed554a9ef3f307f9512e8f1b15
extra : source : 7f98ea4b81c739abfe09e123838e9417e1415b0c
2015-12-10 17:07:36 -05:00
Botond Ballo
afe315b114
Bug 1176395 - When an element is both position:sticky and transformed, apply the position:sticky outside the transform. r=roc
...
Conceptually, the transformed content is position:sticky. position:fixed
behaves similarly.
--HG--
extra : rebase_source : 59a7ad3f86deb8249ed2d54bf56bdee7dbe375f9
extra : source : 0009daf6b443c80c4423fca7e3275277ca2f012a
2015-12-09 15:24:39 -05:00
Carsten "Tomcat" Book
8c8e1c0526
Merge mozilla-central to mozilla-inbound
2015-12-11 11:42:10 +01:00
Carsten "Tomcat" Book
b25476080d
merge mozilla-inbound to mozilla-central a=merge
2015-12-11 11:38:17 +01:00
Mark Capella
967e3dc2bd
Bug 1230613 - Long-press to trigger text selection should vibrate, r=snorp
2015-12-10 18:57:02 -05:00
Geoffrey Sneddon
f753e1d3e3
Bug 1231261 - Append plugins to extra profile files instead of overwriting. r=dbaron
2015-12-10 13:34:00 +01:00
Botond Ballo
17da85114e
Bug 1228597 - Disable a test that uses context menus on b2g. r=tn
...
Getting the test to pass would involve changing code that deals with
context menus to be aware of pres shell resolutions.
--HG--
extra : source : 1162028cf78db4749fb3672dd6555bbb1a6cfe4b
2015-12-08 16:49:46 -05:00
Mats Palmgren
44222f0fc0
Bug 1230695 - [css-grid] More abs.pos. grid alignment reftests.
2015-12-09 23:46:58 +01:00
Mats Palmgren
d7d5269f4c
Bug 1230695 - [css-grid] abs.pos. child spanning from an 'auto' start position to an end line should end on the start side of the gutter. r=dholbert
2015-12-09 23:46:58 +01:00
Mats Palmgren
6a61c6f7a4
Bug 1229999 - [css-grid] Reftest.
2015-12-09 23:46:58 +01:00
Mats Palmgren
0b4f94271c
Bug 1229999 - [css-grid] Clamp auto-placed lines to where kMaxLine is in the translated grid. r=dholbert
2015-12-09 23:46:58 +01:00
Kartikaya Gupta
e0c2c8e4f0
Bug 1228597 - Clean up code paths that (un)apply a pres shell resolution. r=tn,botond
...
A clear separation is introduced between paths that deal with a root
document resolution (at the process boundary in e10s setups) and paths
that deal with a non-root document resolution (elsewhere in Layout code).
This allows both code paths to run on all platforms.
--HG--
extra : source : 22bf09630803392dba3052a3f79691475af0c5e2
2015-11-30 19:13:20 -05:00
Botond Ballo
1cb64f6960
Bug 1228597 - Remove the MOZ_SINGLE_PROCESS_APZ define. r=tn
...
Code previously guarded by this (added in bug 1224015) will now run
unconditionally.
--HG--
extra : source : ce0f51f55572334002ddf1878db447540d4c9b82
2015-11-27 21:39:07 -05:00
Tobias Schneider
df13650f35
Bug 978212 - [css-grid] Resolved value of grid-template-{columns,rows} in px units. r=mats
2015-11-24 17:27:54 -08:00
Andrea Marchesini
c2230f21f8
Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking
2015-12-09 15:52:15 -05:00
Brian Birtles
885593747b
Bug 1230056 part 2 - Remove nsLayoutUtils::HasAnimationsForCompositor and call EffectCompositor::HasAnimationsForCompositor directly; r=dholbert
2015-12-09 16:28:10 -05:00
Brian Birtles
c70be15294
Bug 1230056 part 1 - Add EffectCompositor::HasAnimationsForCompositor; r=dholbert
2015-12-09 16:28:10 -05:00
Jonathan Kew
dacfaeae8e
Bug 1231175 - Missed change from Unicode 6.3 bidi algorithm update (ported from ICU's ubidi): include new ENL and ENR bidi pseudo-types in MASK_LTR. r=smontagu
2015-12-09 11:58:17 -05:00
Jonathan Kew
233f162796
Bug 1231175 - Reftest for failure to recognize mixed directionality in RTL para beginning with number within embed/isolate controls. r=smontagu
2015-12-09 11:57:44 -05:00
Kartikaya Gupta
6c7c3b6adf
Bug 1228407 - Avoid a scenario where content floods APZ with smooth-scroll requests and blocks it from syncing a new scroll offset back to the main thread. r=botond
...
--HG--
extra : commitid : 6YhRu80eZzC
2015-12-09 10:13:34 -05:00
Daniel Holbert
7330a6d04c
(no bug) Fix typo (repeated word) in comment. comment-only, no review, DONTBUILD
2015-12-09 09:52:12 -05:00
Andrea Marchesini
f503703375
Bug 1231094 - patch 1 - nsDOMFileReader to mozilla::dom::FileReader, r=sicking
...
--HG--
rename : dom/base/nsDOMFileReader.cpp => dom/base/FileReader.cpp
rename : dom/base/nsDOMFileReader.h => dom/base/FileReader.h
2015-12-09 06:22:40 -05:00
Kartikaya Gupta
9491a614c4
Back out three patches from bug 1228407 on a CLOSED TREE for causing various mochitest failures. r=backout
...
--HG--
extra : commitid : 7gaWjh5Noye
2015-12-08 21:00:30 -05:00
Boris Zbarsky
dd3649596b
Bug 930218 part 2. Account for the parent's box-sizing whe figuring out the percentage height of a kid with an intrinsic ratio for purposes of determining the parent's shrink-wrap width. r=dbaron
2015-12-08 14:56:20 -05:00
Boris Zbarsky
4f0644472a
Bug 930218 part 1. Factor out the computation of block-size taken up by box-sizing into a separate function so we can reuse it. r=dbaron
2015-12-08 14:56:04 -05:00
Boris Zbarsky
253dee13c4
Bug 1230466. Make sure to update our scrollbar styles when a <body> is removed from the DOM, since we might now need to propagate from some other element. r=roc
2015-12-08 14:55:50 -05:00
Kartikaya Gupta
56e9023bca
Bug 1228407 - Avoid a scenario where content floods APZ with smooth-scroll requests and blocks it from syncing a new scroll offset back to the main thread. r=botond
...
--HG--
extra : commitid : LdMBKbQQw7V
2015-12-08 14:56:26 -05:00
Xidorn Quan
4cc83dede7
Bug 1229278 - Fix dynamic changes to text-emphasis-style. r=dbaron
...
--HG--
extra : source : 07a894d90fe2fc1bc5d44ffe07cc6ce58a13c706
2015-12-08 12:55:01 -05:00
Xidorn Quan
8fcbcb9a04
Bug 1225018 part 5 - Add reftests for line height handling of text-emphasis. r=dholbert
...
--HG--
extra : source : 545889535e5f537c41feb7cca67ada5f411f1bc4
2015-12-08 12:55:01 -05:00
Xidorn Quan
21a2c4c2b3
Bug 1225018 part 4 - Ensure leading for emphasis marks of text directly inside block. r=jfkthame
...
--HG--
extra : source : 778a1de3e41583e1c8f0a885ca34efc12375396a
2015-12-08 12:55:01 -05:00
Xidorn Quan
272514670b
Bug 1225018 part 3 - Use font metrics of emphasis marks to compute required leading. r=jfkthame
...
--HG--
extra : source : 47345d7b24f414e278a3f8cc688d2f77132d73ef
2015-12-08 12:55:01 -05:00
Xidorn Quan
5e810b6b20
Bug 1225018 part 2 - Move GetFontMetricsOfEmphasisMarks to nsLayoutUtils. r=jfkthame
...
--HG--
extra : source : e075456775a4c65a021e084a8fdc1d331343db88
2015-12-08 12:55:01 -05:00
Xidorn Quan
d22519d81d
Bug 1225018 part 1 - Trigger reflow on some text emphasis changes for line height calculation. r=dbaron
...
--HG--
extra : source : 8c4032e171969a65f93ced233c66b3b3b6b55e12
2015-12-08 12:55:01 -05:00
Nigel Babu
f0c9c1d883
Backed out changeset c798c2576ad4 (bug 978212) for mochitest bustage
2015-12-08 15:55:13 +05:30
Mike Taylor
d643549fd6
Bug 1230426 - Remove support for -webkit-border-image longhand CSS property aliases. r=dholbert
...
It turns out Edge had added them at one point, but ended up removing them because they
were never shipped in WebKit/Blink browsers (oops).
2015-12-04 08:43:00 +01:00
Tobias Schneider
cbe699d03c
Bug 978212 - Resolved value of grid-template-{columns,rows} in px units. r=mats
2015-12-03 14:23:00 +01:00
L. David Baron
62a0eac326
Bug 1230701 - Add test that position does not create a fixed-position containing block. r=dholbert
...
I confirmed that the new test fails without the previous patch (since
the abspos element is 50px from the left edge of the viewport instead of
150px, and at the top edge instead of 100px from the top). The test
passes with the patch.
--HG--
rename : layout/reftests/w3c-css/submitted/will-change/will-change-fixpos-cb-height-1.html => layout/reftests/w3c-css/submitted/will-change/will-change-fixpos-cb-position-1.html
extra : commitid : 3xNLl9oUDJV
2015-12-07 18:39:41 -05:00
L. David Baron
d588bfd40b
Bug 1230701 - Make will-change:position create a containing block for absolutely-positioned elements. r=dholbert
...
--HG--
extra : commitid : 99HuPIkGhg5
2015-12-07 18:39:41 -05:00
Nicholas Nethercote
16cd9db041
Bug 1230863 - Remove unused nsPresContext args from many functions. r=roc.
2015-12-06 17:15:53 -08:00
Simon Montagu
c2726731e4
Bug 1162813: filter paragraph separators before passing text to SetPara, r=jfkthame
2015-12-07 21:18:35 +02:00
Simon Montagu
6c2badf68d
Test for bug 1162813, r=jfkthame
2015-12-07 21:18:29 +02:00
Nicholas Nethercote
ef7209c641
Bug 1230413 (part 5) - Pass a DrawTarget to Draw{Dashed,SolidBorder}Segment(). r=mattwoodrow.
...
Instead of an nsRenderingContext.
--HG--
extra : rebase_source : 1c6d8bba8af88f457d8310454daa4b40e09fc244
2015-12-06 14:13:58 -08:00
Nicholas Nethercote
ac18a09064
Bug 1230413 (part 4) - Remove unused nsRenderingContext argument from ForceBreak() and OptionallyBreak(). r=mattwoodrow.
...
--HG--
extra : rebase_source : 750496661635e7db65b26c625834f2d14a1b3e59
2015-12-06 14:13:57 -08:00
Nicholas Nethercote
937ca16d12
Bug 1230413 (part 1) - Pass a DrawTarget to several PaintFocus functions(). r=mattwoodrow.
...
Instead of an nsRenderingContext.
--HG--
extra : rebase_source : 8b36c4babd8324c775fcc459f9ed29e89f2030cd
2015-12-03 19:16:59 -08:00
Jonas Sicking
6cc5074df0
Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb
2015-12-06 18:33:14 -05:00
Sebastian Hengst
774236075d
Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout
2015-12-05 16:34:47 +01:00
Jonas Sicking
df33e62850
Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb
2015-12-05 01:46:20 -08:00
Lee Salzman
54897f1c6a
Bug 1082598 - Part 9: Fix test failures for Skia update. r=jrmuizel
2015-12-18 13:53:26 -05:00
Mason Chang
4300e45d71
Bug 1227216. Part 2: Fallback to blur destination rect if a large shadow offset occurs. r=mstange
2015-12-04 11:05:47 -08:00
Mason Chang
380d965bc0
Bug 1227216. Part 1: Only draw surface on inset box shadows if dest and src are equal sizes. r=mstange
2015-12-04 11:05:45 -08:00
Thinker K.F. Li
07d865de46
Bug 1230075 - Allow perspective items in hittest() for preserve-3d cases. r=mattwoodrow
2015-12-03 00:59:00 +01:00
Boris Zbarsky
1f6bbd4987
Bug 1230092. Make nsIDOMCustomEvent no longer inherit from nsIDOMEvent, so that CustomEvent doesn't end up with multiple inheritance from nsIDOMEvent. r=smaug
2015-12-04 09:51:04 -05:00
Xidorn Quan
ba1aea5e03
Bug 1229739 - Use the color of shadow if available for drawing emphasis marks in shadow. r=jfkthame
...
--HG--
extra : source : 2e07c6f0480005fea6ea2c0343726baef39d1bc6
2015-12-04 16:28:34 +11:00
Xidorn Quan
f723e98d21
Bug 1224013
part 3 - Add reftests for text-emphasis with ruby. r=jfkthame
...
--HG--
extra : source : 97428cf7cacc7177f7fc9efe297ea7d5f96f1886
2015-12-04 15:16:54 +11:00
Xidorn Quan
8e300673ba
Bug 1224013
part 2 - Render text-emphasis outside ruby. r=jfkthame
...
--HG--
extra : source : e725814ae1bb0ccdaf8852eccd3442a9103f7e3a
2015-12-04 15:16:54 +11:00
Xidorn Quan
aa54c2e7ff
Bug 1224013
part 1 - Enable text-emphasis in UA sheets. r=dbaron
...
The only usage of text-emphasis in UA sheets is to clear it on ruby text. Making
it enabled in UA sheets allows that rule to take effect without additional code
to reload html.css when the pref changes.
--HG--
extra : source : ed43e0efd1f4f8b4605732ff8740f88f1282eedc
2015-12-04 15:16:54 +11:00
Chris Peterson
46bb7c80dd
Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
...
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
Xidorn Quan
1ed71b2fe7
Backed out 8 changesets (bug 1225018, bug 1229278, bug 1224013
) for reftest failures on CLOSED TREE
...
--HG--
extra : amend_source : ee1d38ab6715e193cb1462614b3395c96ca06a0c
extra : histedit_source : 65b6dcb58b89c3cbcfe9a47834baf3181a2990c8%2Cc19e313c6800de1a1906c0db2f2bd4680fe67b78
2015-12-04 13:08:17 +11:00
Xidorn Quan
aba451034e
Bug 1224013
part 4 - Add reftests for text-emphasis with ruby. r=jfkthame
...
--HG--
extra : source : c472f74ba917a52d80125d7727ec1512dca1071a
2015-12-04 12:02:41 +11:00
Xidorn Quan
abc8fa2f7d
Bug 1224013
part 3 - Render text-emphasis outside ruby. r=jfkthame
...
--HG--
extra : source : 48dcb7fee1a27fe8d925fe59534261635a67928d
2015-12-04 12:02:41 +11:00
Xidorn Quan
45ebb9aa0e
Bug 1224013
part 2 - Move leading fix to ruby base container. r=dholbert
...
Per spec, the additional leading is added on side of ruby base container, not
ruby container. This could lead to some trivial behavior changes on edge cases.
--HG--
extra : source : 495e466ebdb628fecd9a546b539001ac316fc133
2015-12-04 12:02:41 +11:00
Xidorn Quan
86beb4e3aa
Bug 1224013
part 1 - Enable text-emphasis in UA sheets. r=dbaron
...
The only usage of text-emphasis in UA sheets is to clear it on ruby text. Making
it enabled in UA sheets allows that rule to take effect without additional code
to reload html.css when the pref changes.
--HG--
extra : source : 08e14a9afe4d6ad018c461fd58a48a74aa421759
2015-12-04 12:02:41 +11:00
Xidorn Quan
e0395eb608
Bug 1229278 - Fix dynamic changes to text-emphasis-style. r=dbaron
...
--HG--
extra : source : 88d4a7528fcf6835674c6556efc1aea740bec56e
2015-12-04 11:58:59 +11:00
Xidorn Quan
d507060be6
Bug 1225018 part 3 - Add reftests for line height handling of text-emphasis. r=dholbert
...
--HG--
extra : source : 256fbda58c8caccf32e8bfea4ffd3d852247c45c
2015-12-04 11:58:59 +11:00
Xidorn Quan
c66c20fcbf
Bug 1225018 part 2 - Ensure leading for emphasis marks of text directly inside block. r=jfkthame
...
--HG--
extra : source : ec7d4f32bc6ba7c8ea0e0f0441fabbf6f4e15672
2015-12-04 11:58:59 +11:00
Xidorn Quan
e0157f6d78
Bug 1225018 part 1 - Trigger reflow on some text emphasis changes for line height calculation. r=dbaron
...
--HG--
extra : source : 96f505fe488a4345906f362beab47db5af94e894
2015-12-04 11:58:59 +11:00
Wes Kocher
caf5976449
Merge m-c to inbound, a=merge
...
--HG--
extra : commitid : EpefkAb2K9L
2015-12-03 16:11:01 -08:00
Wes Kocher
c40454e094
Merge fx-team to central, a=merge
...
--HG--
extra : commitid : 4Zjf9SresVg
2015-12-03 16:07:50 -08:00
Brian Birtles
c663fcf129
Bug 1226118 part 14 - Rewrite GetAnimationCollection(nsIFrame*) in terms of the existing GetAnimationCollection; r=dholbert
...
This simply allows us to share the code that maps from pseudo-types to atoms.
2015-12-04 08:34:18 +09:00
Brian Birtles
7351fd75e6
Bug 1226118 part 13 - Move the GetAnimationCollection definitions side-by-side; r=dholbert
...
This is to match the order in the header file and because in the next patch I'd
like to somewhat re-implement one method in terms of the other and having them
side-by-side will make it easier to read the code.
This patch makes no code changes whatsoever besides shifting the placement of
the function definitions within the .cpp file.
2015-12-04 08:34:17 +09:00
Brian Birtles
f82ce867cf
Bug 1226118 part 12b - Rename CommonAnimationManager::GetAnimations to GetAnimationCollection; r=dholbert
...
This is to align with the existing GetAnimationCollection method that takes
a frame. Also, by making this name more specific hopefully it will be used less
since we are trying to move as much code as possible over to using EffectSet
instead of AnimationCollection.
2015-12-04 08:34:17 +09:00
Brian Birtles
e0492c55ba
Bug 1226118 part 12a - Make RestyleManager::GetMaxAnimationGenerationForFrame used frame-based GetAnimationCollection; r=dholbert
2015-12-04 08:34:17 +09:00
Brian Birtles
7cccaf3f92
Bug 1226118 part 11 - Remove CommonAnimationManager::GetAnimationsForCompositor; r=dholbert
2015-12-04 08:34:17 +09:00
Brian Birtles
13bc863699
Bug 1226118 part 10 - Use EffectCompositor::GetAnimationsForCompositor in nsLayoutUtils; r=dholbert
2015-12-04 08:34:17 +09:00
Brian Birtles
e56195af79
Bug 1226118 part 9 - Use EffectCompositor::GetAnimationsForCompositor in nsDisplayList; r=dholbert
...
The existing code contains a comment about needing to add transitions before
animations. However, this is unnecessary since the interaction between
transitions and animations is handled by the mWinsInCascade member that is
checked in AddAnimationsForProperty.
2015-12-04 08:34:17 +09:00
Brian Birtles
40c6c207b0
Bug 1226118 part 7 - Rename and rework KeyframeEffectReadOnly::CanAnimatePropertyOnCompositor to ShouldBlockCompositorAnimations; r=hiro
...
KeyframeEffectReadOnly::CanAnimatePropertyOnCompositor has a comment that says
it, "Returns true |aProperty| can be run on compositor for |aFrame|" but it
does nothing of the sort.
What it *does* do is check answer the question, "If there happened to be an
animation of |aProperty| on |aFrame|, should we still run animations on the
compositor for this element?".
This patch renames the method accordingly and moves the step where we iterate
over a given effect's animated properties from
AnimationCollection::CanPerformOnCompositor to inside this method, making this
method a class method rather than a static method at the same time.
As noted in the expanded comment, the approach of blocking opacity animations
in these situations seems unnecessary but for now this patch just preserves the
existing behavior.
2015-12-04 08:32:53 +09:00
Brian Birtles
a9efb98276
Bug 1226118 part 6 - Remove no longer used LayerAnimationRecord/Info code from AnimationCommon; r=dholbert
...
This code has now been moved to LayerAnimationInfo.{h,cpp} and is not used in
AnimationCommon.
2015-12-04 08:32:53 +09:00
Brian Birtles
fd98de719c
Bug 1226118 part 5 - Move LogAsyncAnimationFailure to AnimationUtils; r=dholbert
...
This patch also moves AnimationUtils out of the dom namespace since it seems
unnecessary. We typically only put actual DOM interfaces in the dom namespace.
2015-12-04 08:32:53 +09:00
Brian Birtles
7f1672cff8
Bug 1226118 part 4 - Use EffectSet in ActiveLayerManager's animated-scale checks; r=dholbert
2015-12-04 08:32:53 +09:00
Brian Birtles
a92b5ec6ab
Bug 1226118 part 3 - Use EffectSet in CommonAnimationManager::ClearIsRunningOnCompositor; r=hiro, r=dholbert
2015-12-04 08:32:53 +09:00
Brian Birtles
f409225f4c
Bug 1226118 part 2 - Use EffectSet in nsLayoutUtils animation functions; r=dholbert
2015-12-04 08:32:52 +09:00
Nicholas Nethercote
5a37352d4a
Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond.
...
--HG--
extra : rebase_source : 315ac98884f84f3b5d53f156f3e02ddde3a57dbc
2015-12-02 14:32:55 -08:00
Robert O'Callahan
0a93154cb8
Bug 927228 - Allow ImageLayerization for images using 'contain' and 'cover'. r=mstange
...
--HG--
extra : commitid : 7UUYvEXd4bI
extra : rebase_source : 861443bafb02c8b7ba9b890a6685846a242f651d
2015-12-03 17:36:40 +01:00
Markus Stange
21ce2dd228
Bug 1200611 - Size ImageLayers correctly for <img>s using object-fit. r=dholbert
...
This changes nsDisplayImage::GetDestRect and nsImageFrame::PredictedDestRect to return
the true dest rect of the image, without intersecting it with the image content box.
The only caller of these functions that actually requires a rectangle that's within
the image's content bounds is nsDisplayImage::GetOpaqueRegion, so I'm changing that
to intersect with the display item's bounds.
I'm pretty sure nsImageFrame::MaybeDecodeForPredictedSize() also prefers the unclipped
dest rect, because it cares about the scale at which the image is painted, and not
about which parts of the image are painted.
--HG--
extra : commitid : CDJJnfN7vF3
extra : rebase_source : 5b59f81ab60290f508b83db7e942559da621cb70
2015-12-03 15:20:10 +01:00
Jan Beich
814acd7ab8
Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium
2015-12-02 09:40:50 +00:00
Tom Tromey
98339c1437
Bug 1224121 - change getRelativeRuleLine to return 0 for line-less rules; r=heycam
2015-12-03 08:55:13 -07:00
Botond Ballo
ae1bdc7602
Bug 1069417 - Remove the explicit template argument of TransformTo() and related functions. r=kats
...
In this process, TransformTo() and UntransformTo() are renamed TransformedBy()
and UntransformBy() so calls to them continue to read sensibly.
--HG--
extra : rebase_source : a2a4b36514cc54533757c075fcf2c53ab3020939
extra : source : 826da3dc12baeb84b32be50f4b2c0591ca73ab37
2015-11-30 20:06:45 -05:00
Botond Ballo
70b749edea
Bug 1069417 - Modify TransformTo() and related functions to use typed matrices. r=kats
...
Call sites (all in APZ and related code) were modified accordingly. Some of
these modifications involved changing some matrices stored in APZ to be typed.
--HG--
extra : rebase_source : 6f1cf33a5550987097fcd386c77765d046f5ec34
extra : source : 8f66bdc8e6e86f482a06b9c7a160740026cf24b4
2015-11-30 20:14:31 -05:00
Botond Ballo
e67de552b9
Bug 1069471 - Add a ViewAs() overload for matrices. r=kats
...
--HG--
extra : rebase_source : ff3f0ee017b03fff77928f051a84c4c36f16f3ea
extra : source : 5af1814680b23cd05f4ab69f221d43b30bace786
2015-11-30 19:50:26 -05:00
Botond Ballo
62ee05c5f0
Bug 1069417 - Add typedefs for commonly used typed matrices. r=kats
...
--HG--
extra : rebase_source : 03dbc8c1ef79d105768bd083992ff14b21e5087f
extra : source : 7006935e03533321513fe5aa64dc00040117f4d1
2015-11-30 19:52:33 -05:00
Botond Ballo
0858698ac3
Bug 1069417 - Generalize Matrix4x4 into Matrix4x4Typed<SourceUnits, TargetUnits>. r=Bas
...
Matrix4x4 remains a typedef for Matrix4x4Typed<UnknownUnits, UnknownUnits>.
No client code needed changing, except for forward-declarations of Matrix4x4
as a class (since it's now a typedef).
--HG--
extra : rebase_source : ecd9470b9defcc55cfb9e7dbd26e928a6219c3e5
extra : source : 0fc99b5490830953f37a4d8769e42dad2d10bc6e
2015-12-02 18:52:00 -05:00
Nicholas Nethercote
81c4b5301c
Bug 1229237 (part 5) - Make Update{Opaque,WindowDragging}Region() take a LayoutDeviceIntRegion. r=botond.
...
--HG--
extra : rebase_source : 08d12c48bd6fb086a1d27a8169b1a423534e03f7
2015-11-25 21:42:59 -08:00
Nicholas Nethercote
400204beea
Bug 1229237 (part 4) - Make ThemeGeometry::mRect a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 3483ed8e2ff2e61ce8a74dcb59a7b43b46bf502d
2015-11-22 20:32:29 -08:00
Nicholas Nethercote
1fb25d8609
Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
...
--HG--
extra : rebase_source : 08407e76083534ad39dd34d2535ec09c95e506db
2015-11-16 00:35:18 -08:00
Nicholas Nethercote
722653b441
Bug 1229202
(part 4) - Remove an unused gfxContextAutoSaveRestore. r=mattwoodrow.
...
--HG--
extra : rebase_source : 2d999029ecf278bf94333f9ac1bebf8613f9bc6b
2015-12-02 15:32:16 -08:00
Nicholas Nethercote
757eb4ec8c
Bug 1229202
(part 3) - Make gfxContextAutoDisableSubpixelAntialiasing take a DrawTarget instead of a gfxContext. r=mattwoodrow.
...
--HG--
extra : rebase_source : 63851ac1725451c7607c00b345ce3334ff749246
2015-12-02 15:32:16 -08:00
Nicholas Nethercote
3993af028e
Bug 1229202
(part 1) - Remove some unused arguments in nsPrintEngine's functions. r=mattwoodrow.
...
The first four arguments of GetPageRangeForSelection() are not used usefully,
nor are the first two arguments of FindSelectionBounds() and
FindSelectionBoundsWithList(). (Mutual recursion between the latter two
obscured this fact.)
--HG--
extra : rebase_source : c36198d3a91ddb6aa5089c23c7dd5eb33c74a2c8
2015-12-02 15:32:16 -08:00
Markus Stange
96c1739213
Bug 1021845 - Before compositing, clip the visible region of a layer to the layer's clip rect. r=mattwoodrow
...
--HG--
extra : commitid : BFuXYwxFvPI
extra : rebase_source : 2b034d8cfac20df565bea456f202573cca99d24d
2015-12-02 22:54:03 +01:00
Robert Longson
e5adaf828f
Bug 1145195
part 1 - Create a helper function for PrependLocalTransformsTo in SVGContentUtils r=dholbert
2015-12-02 22:36:23 +00:00
Kartikaya Gupta
01ade73317
Bug 1229853 - Don't apply the displayport multiplier if we don't have a frame for the element the displayport is set on. r=tn
2015-12-02 16:44:21 -05:00
David Anderson
ca5122668a
Implement the DidComposite NPAPI callback. (bug 1217665 part 8, r=mattwoodrow)
...
--HG--
extra : rebase_source : 4df420dcfb01db1d5fc9136bbb4c428a7ea59266
2015-12-02 11:31:17 -08:00
Carsten "Tomcat" Book
4d753d4bde
Merge mozilla-central to mozilla-inbound
2015-12-02 15:22:37 +01:00
Carsten "Tomcat" Book
5adcabb340
merge mozilla-inbound to mozilla-central a=merge
2015-12-02 15:20:57 +01:00
Robert O'Callahan
3568d59638
Bug 1221043. Revert to including trailing whitespace for accessibility APIs. r=marcoz,mats
...
--HG--
extra : commitid : DBGsn68FsG4
extra : rebase_source : 7b8f6211c2719dd017fef7e47d4dcdb3aeadfde4
2015-12-01 02:21:25 +13:00
Robert O'Callahan
ef0cbe97ce
Bug 1224976. Recover from singular-matrix cairo errors. r=mattwoodrow
...
--HG--
extra : commitid : GIbNC6bzIJp
extra : rebase_source : 15643f58ae0f360a5b91c146c686b0a9a0c19a8a
2015-11-16 17:35:23 +13:00
Nicholas Nethercote
ddc78c3b0c
Bug 1229458 - Remove SizeOfIncludingThisMustBeUnshared() from string classes. r=mccr8.
...
The patch changes all uses of SizeOfIncludingThisMustBeUnshared() to
SizeOfIncludingThisIfUnshared(). This incurs the (tiny) cost of an unnecessary
IsReadonly() check for guaranteed-unshared strings, but avoids the possible
assertion failures that would occur when MustBeUnshared() was used incorrectly
on shared strings, which is an easy mistake to make.
--HG--
extra : rebase_source : b1e91f1c19bcbe0521b0ce461d6c90512ca938ef
2015-12-01 15:36:26 -08:00