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

45530 Коммитов

Автор SHA1 Сообщение Дата
Neil Deakin 5500eadc0e Bug 1058712, e10s, support for copy image command, r=ehsan,mconley 2015-04-21 20:09:14 -04:00
Neil Deakin 894febc41a Bug 1155355, e10s, rewrite and reenable browser tests in layout/xul/test, don't show tooltips during a drag, use system event listeners for tooltips, r=billm 2015-04-21 20:09:14 -04:00
Neil Deakin 03cc3bcefa Bug 1152290 - "[e10s] "<select>" doesn't show selected value". r=roc
--HG--
extra : rebase_source : c37303d508d4fdee0952059c14e79145a503bb7f
2015-04-08 08:38:00 +02:00
L. David Baron 5b90d1fe31 Bug 1156111 patch 2 - Add BUG_COMPONENT metadata for tests in layout/reftests/. r=gps 2015-04-20 23:10:40 -07:00
L. David Baron 55d067f4a6 Bug 1156111 patch 1 - Give layout/reftests/ its own moz.build file. r=gps 2015-04-20 23:10:40 -07:00
L. David Baron 0007f88a82 Bug 1144885 - Add reftests for font-size:0 and font-size-adjust:0. r=jdaggett 2015-04-20 23:10:40 -07:00
L. David Baron 026c5518c7 Bug 1144885 - Treat font-size-adjust: none as separate from font-size-adjust: 0. r=jdaggett
Without the patch, the addition to property_database.js leads to
failures related to the "0.0" and "0" values in
layout/style/test/test_value_computation.html .
2015-04-20 23:10:40 -07:00
Jonathan Watt 10b49eebc0 Bug 1149990 - Support replaying of finished CSS transitions by supporting setting of currentTime/startTime. r=birtles 2015-04-06 23:48:55 +01:00
Wes Kocher afda1781f5 Merge m-c to inbound a=merge CLOSED TREE 2015-04-20 17:16:03 -07:00
Wes Kocher 9becf2d33f Backed out 3 changesets (bug 1141867) for reftest orange CLOSED TREE
Backed out changeset 8dcfc3ace301 (bug 1141867)
Backed out changeset aeaa345b9aeb (bug 1141867)
Backed out changeset b1091955192c (bug 1141867)
2015-04-20 14:12:41 -07:00
Jonathan Kew ddd0c9c133 Bug 1153510 - Improve handling of vertical writing mode in SVG text frames. r=longsonr 2015-04-20 18:05:47 +01:00
Boris Zbarsky ff8ef95ec2 Bug 1156197. Just use the return value of the cols DOM property for determining the default number of rendered columns for a textarea. r=ms2ger 2015-04-20 16:54:46 -04:00
Danilo Cesar Lemes de Paula d7e8379673 Bug 1146024 - Fix up input routing for APZ on Fennec. r=kats
nsWindow::ProcessUntransformedAPZEvent is the method that
deals with APZ Input, so it should receive it's events
2015-04-20 16:16:17 -04:00
Jonathan Kew 73be2c9a7d Bug 1141867 - patch 3 - Reftests for contiguous orthogonal floats. r=smontagu 2015-04-09 14:40:54 +01:00
Jonathan Kew a2b186a60b Bug 1141867 - patch 2 - If FloatMarginISize returns unconstrained, we need to do an early reflow on the orthogonal float to find out its real size. r=smontagu 2015-04-09 10:08:17 +01:00
Jonathan Kew 376b12d54c Bug 1141867 - patch 1 - Use the proper writing mode to return the inline-size from FloatMarginISize. r=smontagu 2015-04-09 08:41:49 +01:00
Morris Tseng 6184cd18a5 Bug 1021499 - Enlarge touch/selection carets touch area. r=roc
--HG--
extra : histedit_source : 86209694d0b0704554a3a61d08741d02ea1a57cc
2015-04-15 19:15:00 -04:00
Wes Kocher 10b0765a42 Merge m-c to inbound a=merge
--HG--
extra : rebase_source : 65e706214cf534170bf6cfe658eb394c0195cb81
2015-04-21 15:35:07 -07:00
Cameron McCormack ce18025dce Bug 1156988 - Update RestyleManager::{Change,Restyle}HintToString for recent changes. r=dbaron 2015-04-22 08:03:31 +10:00
Markus Stange ac4687cfc6 Bug 1151346 - Back out the important part again because of bug 1151889.
--HG--
extra : rebase_source : cabd715313acc03708fc73e816f7d318abf812f0
2015-04-21 16:41:58 -04:00
Markus Stange 20468742ef Bug 1148515 - Do the scrollbar thumb layer wrapping in nsSliderFrame so that the thumb's event region is wrapped, too. r=tn
--HG--
extra : rebase_source : 629c067595d3c7260b0f6b3c3a7f0b89e97b070a
2015-04-21 15:22:28 -04:00
Timothy Nikkel 8ff667521d Backout 3c3337ed60a1 (bug 1139306) for causing bug 1156918. 2015-04-21 15:09:48 -05:00
Ryan VanderMeulen 9b2bbc3d1a Bug 1141867 - Add OSX 10.10 fuzz to the newly-added tests. 2015-04-21 13:54:07 -04:00
Daniel Holbert 31279a26d4 Bug 1155412: Use mozilla::Maybe instead of hardcoded placement-new, for reflow state created in nsTableOuterFrame::OuterBeginReflowChild() and used by its caller. r=dbaron 2015-04-17 15:56:01 -07:00
Ehsan Akhgari d7b425cef6 Bug 1155359 follow-up: Disable the test on B2G and Mulet
Landed on a CLOSED TREE
2015-04-17 16:38:20 -04:00
Daniel Holbert 1e4637780c Bug 1155798: Drop end-of-line whitespace from C++ files in layout/tables. (whitespace-only, no review, DONTBUILD) 2015-04-17 11:42:05 -07:00
Ehsan Akhgari 6cff744014 Bug 1112469 - Part 4: Disable periodic updates of service workers when running tests; r=nsm
This is meant to avoid random issues with Gecko suddenly kicking off the
periodic updates in the middle of our test runs.  This uses a hidden pref
intentionally since nobody should be able to discover this pref by going
to about:config.
2015-04-17 14:06:02 -04:00
Ehsan Akhgari 41df4b9686 Bug 1112469 - Part 1: Implement an XPCOM service responsible to trigger daily updates of service workers; r=nsm
--HG--
rename : dom/base/nsDOMCID.h => dom/workers/ServiceWorkerPeriodicUpdater.cpp
rename : dom/base/nsDOMCID.h => dom/workers/ServiceWorkerPeriodicUpdater.h
2015-04-17 13:59:49 -04:00
Daniel Holbert 51fe298034 Bug 1155312: Convert flex container nsHTMLReflowMetrics/aDesiredSize-populating code to use logical coords. r=mats 2015-04-17 10:41:23 -07:00
Ehsan Akhgari 1024e50281 Bug 1155359 - Add a reftest; r=gw280 2015-04-17 13:03:11 -04:00
George Wright 9ac0794124 Bug 1155359 - Set NS_FRAME_IS_BIDI on nsTextBoxFrame if text direction is set to RTL r=roc 2015-04-15 16:00:29 -04:00
Carsten "Tomcat" Book d518336551 Backed out changeset 5ef9825777a2 (bug 1021499) 2015-04-17 13:14:13 +02:00
Alessio Placitelli 748aeb48ed Bug 1137252 - Make Telemetry retain pings even if sending is disabled. r=vladan 2015-03-05 08:47:00 +01:00
Morris Tseng 6176571161 Bug 1021499 - Enlarge touch/selection carets touch area. r=roc 2015-04-15 19:15:00 +02:00
L. David Baron 2e174d9799 Back out changeset 60b7888a323b (bug 947753 / bug 1122526) for Mac OS X mochitest-4 failure.
The failure was:
TEST-UNEXPECTED-FAIL | gfx/tests/mochitest/test_acceleration.html | Acceleration enabled on x86-64 OS X - didn't expect 0, but got it

I'm guessing this is because we're calling GetLayerManager earlier than
we were before.

CLOSED TREE
2015-04-16 20:19:03 -07:00
L. David Baron c83c61bfca 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.
2015-04-16 18:36:29 -07:00
L. David Baron b3c27e4396 Bug 1153426 - Don't crash when doing an off-main-thread animation of a transform to or from the 'none' value. r=birtles
I confirmed locally (with ./mach mochitest-plain --e10s on Linux) that
the added test crashes without the patch and passes with the patch.
2015-04-16 18:13:15 -07:00
Cameron McCormack 84ff03514a Bug 1154149 - Remove nsPresContext arguments from a bunch of nsStyleSet methods. r=dbaron 2015-04-17 11:09:59 +10:00
Cameron McCormack 9e48addb00 Bug 1155030 - Fix asterix/asterisk misspelling. r=ehsan 2015-04-17 11:09:58 +10:00
Ryan VanderMeulen a4f44fd976 Merge m-c to inbound. a=merge 2015-04-16 16:21:05 -04:00
Ryan VanderMeulen 96f0034585 Merge inbound to m-c. a=merge 2015-04-16 16:18:13 -04:00
Jonathan Kew 3e35a581c5 Bug 1151993 followup - adjust fuzz annotation for reftest 1136557-2-nested-spans on Windows. no_r=orange 2015-04-16 20:57:31 +01:00
Carsten "Tomcat" Book b79fa6d217 Merge mozilla-central to fx-team 2015-04-16 12:49:21 +02:00
Xidorn Quan 61deda4f23 Bug 1154814 - Move font rules from 'rt' to 'rtc, rt' and make text-emphasis conditional. r=heycam
--HG--
extra : source : 1e1638a97e74b38b9e6fdce36af7371a12abe9d1
2015-04-16 13:42:56 +12:00
Xidorn Quan 7d994fe0ce Bug 1153764 - Avoid explicitly doing break before when there is ruby span. r=roc
--HG--
extra : source : c4436462f86b0c33f98254b9d067c173702b666a
2015-04-16 13:42:45 +12:00
Ryan VanderMeulen 4a1793fa7f Merge inbound to m-c. a=merge 2015-04-15 21:22:31 -04:00
Gijs Kruitbosch e3257e1ae0 Bug 1135545 - disable test on Win8 for frequent failures with no plausible explanation (showing start screen), rs=me
--HG--
extra : rebase_source : 715e1fb09b589d510b72c2264889fe67fe6fb72b
2015-04-16 10:12:46 +01:00
Nathan Froyd 1e6cdad33c Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Ryan VanderMeulen f4d90a3b7a Merge m-c to inbound. a=merge 2015-04-15 15:34:40 -04:00
Ryan VanderMeulen 22018c1631 Bug 1123563 - Remove extra space that was accidentally added. a=bustage 2015-04-15 15:33:19 -04:00
Ryan VanderMeulen 3ebfa611d7 Merge m-c to inbound. a=merge
IGNORE IDL

--HG--
extra : amend_source : 778e98f1365079cf61c444c6e9b3114e069c5b7b
2015-04-15 15:15:32 -04:00
Ryan VanderMeulen 12b90de11b Bug 1123563 - Annotate test-animated-image-layers.html and test-animated-image-layers-background.html as random on Android and Linux. 2015-04-15 14:45:05 -04:00
Botond Ballo 148a784118 Bug 1152479 - Extract the implementations of layout-related nsIDOMWindowUtils APIs used by APZ into nsLayoutUtils. r=ehsan
--HG--
extra : rebase_source : 175254c3f78cd06bf72e2a25da12eff7a174f87e
extra : source : 0bf92001a2f715b5c20aefc039c30e926b9789c0
2015-04-14 13:19:10 -04:00
Ehsan Akhgari b45984a848 Bug 1004383 follow-up: Mark ElementPropertyTransition::AsTransition() as override 2015-04-15 11:49:59 -04:00
Geoff Brown 1fedc52d16 Bug 1133833 - Disable a few tests on Android 4.3 for intermittent failures; r=trivial 2015-04-14 21:05:40 -06:00
peter chang d37e7341cc Bug 1144990 - Dump display items with class id and name, r=roc 2015-04-15 10:07:45 +08:00
peter chang db3a383adb Bug 1127170 - Add TYPE_RENDERS_NO_IMAGES for display item with transform type to bypass invalidation during image decode. r=mattwoodrow
--HG--
extra : histedit_source : 374a26e432e9da4cde638befd12bfff54e9c9c60
2015-03-22 23:32:00 -04:00
Nathan Froyd d876b3e545 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Brian Birtles 6120d1a6c4 Bug 1153734 part 4 - Rename other uses of 'source' and 'source content'; r=jwatt
This patch also tightens up a one or two references to 'target effect' replacing
them with just 'effect'. This is because 'target effect' is longer and easily
confused with 'target element'. 'effect' should be sufficient. 'target element'
is a term from the Web Animations specification and in that context, simply
referring to the 'effect' would sound a little odd.
2015-04-15 08:48:21 +09:00
Brian Birtles 2d26fd38cb Bug 1153734 part 3 - Rename AnimationPlayer.source to AnimationPlayer.effect; r=smaug
There are still some other references to "source" in AnimationPlayer such as
HasInPlayerSource and UpdateSourceContent. These are renamed in a subsequent
patch (that doesn't require DOM peer review).
2015-04-15 08:48:21 +09:00
Brian Birtles 63e2382338 Bug 1153734 part 2 - Rename Animation to KeyframeEffectReadonly; r=smaug
We define KeyframeEffectReadonly in KeyframeEffect.cpp since Web Animations also
defines KeyframeEffect and when we come to implement that I expect we'll define
it in the same class, maybe even using the same object.

This patch also adds a few missing includes in places where
KeyframeEffectReadonly is used so that we're not just cargo-culting it in.

--HG--
rename : dom/animation/Animation.cpp => dom/animation/KeyframeEffect.cpp
rename : dom/animation/Animation.h => dom/animation/KeyframeEffect.h
rename : dom/animation/test/css-animations/test_animation-name.html => dom/animation/test/css-animations/test_effect-name.html
rename : dom/animation/test/css-animations/test_animation-target.html => dom/animation/test/css-animations/test_effect-target.html
rename : dom/animation/test/css-transitions/test_animation-name.html => dom/animation/test/css-transitions/test_effect-name.html
rename : dom/animation/test/css-transitions/test_animation-target.html => dom/animation/test/css-transitions/test_effect-target.html
rename : dom/webidl/Animation.webidl => dom/webidl/KeyframeEffect.webidl
2015-04-15 08:48:21 +09:00
Brian Birtles d5b5205359 Bug 1153734 part 1 - Remove AnimationEffect; r=smaug
Most of this is fairly obvious. However, the addition of 'override' to
ElementPropertyTransition::Name() is not strictly necessary. It was simply added
because while making these changes I accidentally dropped the 'virtual' keyword
from the method in the superclass and the compiler didn't complain. Adding this
will hopefully make it harder to create the same bug in the future.

--HG--
rename : dom/animation/test/css-animations/test_animation-effect-name.html => dom/animation/test/css-animations/test_animation-name.html
rename : dom/animation/test/css-transitions/test_animation-effect-name.html => dom/animation/test/css-transitions/test_animation-name.html
2015-04-15 08:48:20 +09:00
Cameron McCormack 87eb48be41 Bug 1153628 - Break FontFaceSet <-> UserFontSet cycle when a document's pres shell is going away. r=mccr8 2015-04-15 09:40:12 +10:00
Cameron McCormack 5ed02337c8 Bug 1146101 - Call ClearCachedInheritedStyleDataOnDescendants on more style contexts that had structs swapped out from them. r=dbaron a=abillings 2015-04-15 08:13:45 +10:00
Wes Kocher af34e14f2b Backed out changeset 050848a5273c (bug 1153988) for Windows build bustage CLOSED TREE 2015-04-14 14:42:59 -07:00
Nathan Froyd 4e3c075424 Bug 1153988 - create nsNullPrincipals directly, rather than going through do_CreateInstance; r=smaug
There's a better way to create null principals than
do_CreateInstance("@mozilla.org/nullprincipal;1").  Let's do that and
save ourselves some XPCOM overhead.
2015-04-13 14:47:41 -04:00
Jan Beich cfd87b0f40 Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker r=dholbert r=mstange 2015-04-14 19:38:47 +02:00
Ryan VanderMeulen 4fa8326641 Backed out 3 changesets (bug 1137252) for suspicion of causing frequent B2G mochitest timeouts.
Backed out changeset bbb1b526cb56 (bug 1137252)
Backed out changeset 0c3d670f0c14 (bug 1137252)
Backed out changeset 1e0fa4ab7c6f (bug 1137252)

CLOSED TREE
2015-04-14 13:33:28 -04:00
Maksim Lebedev f60627631d Bug 979497 - Once DispatchPointerFromMouseOrTouch is called, aFrame can be deleted. r=smaug
--HG--
extra : rebase_source : 9556dce20748b3b581f8e39df6992513e90f62ff
2015-04-14 11:46:39 -04:00
Ying-Ruei Liang (KK) f17daf9c2a Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.

* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect

--HG--
extra : rebase_source : ca0c60404a28b7418df88104b863760033289910
2015-04-11 22:03:00 -04:00
Kartikaya Gupta 4ea64b3332 Bug 1152211 - Fuzz a now-expected permaorange when APZ is enabled. r=mstange 2015-04-14 11:30:48 -04:00
Ehsan Akhgari f5a2ba31bf Bug 956530 follow-up: Fix the test failure on Windows 8 caused by the text box having a glowing outline as a result of being clicked on
Landed on a CLOSED TREE
2015-04-14 10:54:00 -04:00
Carsten "Tomcat" Book 807db18b59 Merge mozilla-central to mozilla-inbound 2015-04-14 16:15:02 +02:00
Ryan VanderMeulen 612dc2a6ee Merge inbound to m-c. a=merge 2015-04-14 10:06:03 -04:00
Ms2ger f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Ehsan Akhgari 51fd5c3de1 Bug 956530 - Clear the delayed caret data when clicking on a selected part of a text control if the focus event handler selects the control; r=roc 2015-04-14 08:29:11 -04:00
Carsten "Tomcat" Book 662ed27b62 merge fx-team to mozilla-central a=merge 2015-04-14 14:27:14 +02:00
Mark Capella 6f1202dd58 Bug 1153076 - Add NS_MOUSE_MOZLONGTAP support in Fennec, r=kats, tylin 2015-04-13 22:33:02 -04:00
Wes Kocher 5e9e8610ab Merge central to b2ginbound a=merge 2015-04-13 17:28:59 -07:00
Wes Kocher 381ed5c1ba Merge inbound to m-c a=merge 2015-04-13 17:13:10 -07:00
Alexandre Lissy 366fdcfa2e Bug 1153574 - Re-enable Mulet reftests taskcluster-specific disables. r=ahal, a=test-only 2015-04-13 14:26:00 -04:00
Alexandre Lissy d9b693d281 Bug 1140394 - Protect standard output from interleaving. r=ahal 2015-04-12 14:01:00 -04:00
Olli Pettay c3dca4be1e Backout Bug 930793 because of talos regressions,r=backout
--HG--
extra : rebase_source : bf5d4de1b80e114d3e2172a205bf850f68019d38
2015-04-13 19:02:27 +03:00
David Rajchenbach-Teller b08ce98d2a Bug 1083361 - Exposing a PromiseDebugging API to monitor uncaught DOM Promise. r=bz
--HG--
extra : rebase_source : cba2fc37d263d431c3008739a89a4fe47d10b7da
2015-04-10 17:27:57 +02:00
Olli Pettay eb314fb48f Bug 930793 - Remove favor performance mode, r=avih,roc
--HG--
extra : rebase_source : a112b660baa240afd5f0022cd869c96b59418789
2015-04-12 23:08:55 +03:00
Mats Palmgren a9f328bbc0 Bug 1107778 - Remove a couple of unused test files that landed accidentally. r=me 2015-04-11 00:21:06 +00:00
Mats Palmgren 2f31bdf840 Bug 1143299 - Make frame insertion methods deal with aPrevFrame being on an overflow list. r=roc a=abillings 2015-04-11 00:21:06 +00:00
Timothy Nikkel cf95787e0b Bug 1147038. Mark some reftests as passing. CLOSED TREE 2015-04-10 16:12:04 -05:00
Daniel Holbert a55ee7cc16 Bug 1152913 part 2: Convert flexbox 'IsAxisHorizontal' checks to use new logical-axis member data. r=mats 2015-04-10 13:35:42 -07:00
Daniel Holbert 4d8faad43f Bug 1152913 part 1: Make FlexboxAxisTracker store the WritingMode & representation of how flex axes map to it. r=mats 2015-04-10 13:35:15 -07:00
Timothy Nikkel b027b743ae Bug 1147038. Use the correct clip for root scroll frames in root content documents. r=mstange
Normally a document would size itself to the size of it's "container". If the document is a subdocument it will use the size of the iframe. If it's a root document it will use the size of the widget it is in. Overriding the viewport breaks this link, the document is now sized to whatever size the last call to nsIDOMWindowUtils::SetCSSViewport had. Of course this would produce a weird display on screen so we use this in conjunction with setting a resolution on the document. This means that the layout viewport (the size of the root frame and also approximately mScrollPort) is different from the visual viewport (what's visible on screen). The visual viewport is the composition bounds.
2015-04-09 23:48:00 -05:00
Wes Kocher 7eb544ddbb Merge central to inbound a=merge 2015-04-13 17:27:59 -07:00
Brian Birtles 121b831ff7 Bug 1122414 part 2 - Return the transitionProperty from Animation.name for CSS transitions; r=jwatt
This is a bit awkward. We lazily set mName to the transition property and then
return it. The reasons for this approach are:

* We don't really want to eagerly fill in mName for all transitions since in
  99% of cases we'll never use it and this will lead to wasted allocations.

* The signature of Name() returns a const nsString reference. This is because
  Name() is used when building CSS Animations (to compare different copies of
  the same animation when updating). For that case we don't really want to
  generate unnecessary copies of nsString objects so we return a reference.
  However, that means for transitions as well we need to return a reference so
  we can't just generate a temporary string on-demand.

  As a result we also have to const-cast ourselves so we can update the mName
  member. We could make mName mutable but seeing as it's only set once, the
  const_cast seems more appropriate.
2015-04-14 09:13:27 +09:00
Brian Birtles f03b224d8c Bug 1122414 part 1 - Factor out a TransitionProperty method in ElementPropertyTransition; r=jwatt 2015-04-14 09:11:44 +09:00
Xidorn Quan b7d5622b6a Bug 1153634 - Weaken the assertion condition to make it match the condition before. r=roc
--HG--
extra : source : 5c7523cabf470da3aa4b1a6434b9dbc7521c85f4
2015-04-14 09:11:28 +12:00
Kartikaya Gupta 26c74e1f41 Bug 1148889 - Fuzz some android tests. r=mstange 2015-04-08 11:57:17 -04:00
Kartikaya Gupta b9a14bea3c Bug 1148889 - Treat subclasses of scrollframes as animated geometry roots. r=mstange 2015-04-13 16:11:08 -04:00
Markus Stange 266307725b Bug 1141089 - Check that we're unsetting sDestroyedFrame correctly. r=roc
--HG--
extra : rebase_source : 7e88934f0bfe1753423925d96917db1ff85d8e7c
2015-04-10 17:34:28 -04:00
Markus Stange 591611146d Bug 1141089 - Turn these two assertions into release assertions. r=roc
--HG--
extra : rebase_source : dbdaa24b17ce6c6b6746233cbd7c1c3fe3efa03d
2015-04-10 17:34:04 -04:00
Markus Stange 1cc08a8e75 Bug 1141089 - Use const nsTArray* in all the places where we don't change the array's contents. r=roc
--HG--
extra : rebase_source : 4fa139270347b9fa031c2d63c423b333b19f2ff7
2015-04-10 17:42:42 -04:00
Markus Stange d40c904a58 Bug 1141089 - Add a few more MOZ_RELEASE_ASSERT(mLayer) checks, just for fun. r=roc
--HG--
extra : rebase_source : 8f8c75dd60f08aac6beaea088c3bd9210898d799
2015-04-10 17:30:09 -04:00
Markus Stange f3f481c41f Bug 1141089 - Remove unused DisplayItemData copy constructor. r=roc
--HG--
extra : rebase_source : 50f0d21ccd6fdac5769caeebf8ec95a2d7174d2d
2015-04-10 17:23:22 -04:00
Markus Stange af62baff7f Bug 1141089 - Initialize DisplayItemData with a non-null mLayer, so that mLayer is non-null throughout the object's whole lifetime. r=roc
--HG--
extra : rebase_source : 5d924989657f4356e25f02be3b2df725f9ff39af
2015-04-10 17:11:04 -04:00
Nathan Froyd 2b1ae6e2ca Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan 2015-03-31 10:03:49 -04:00
Nathan Froyd 0bc5179e71 Bug 1153253 - move nsImageBoxFrame::mRequestRegistered to pack better with other members; r=dholbert
Given alignment requirements on most platforms, there will be at least 3
bytes of padding after mRequestRegistered in its current location, and
at least one unused byte at the end of the structure.  We can move
mRequestRegistered after mLoadFlags so that it packs properly with the
boolean flags already there for less wasted space.
2015-04-09 12:56:25 -04:00
Botond Ballo 353b27bbd9 Bug 1039818 - Extract the implementation of nsIDOMWindowUtils::GetResolution into nsLayoutUtils. r=ehsan 2015-04-10 19:33:56 -04:00
Alessio Placitelli 77e10bc782 Bug 1137252 - Make Telemetry retain pings even if sending is disabled. r=vladan 2015-03-05 08:47:00 +01:00
Gijs Kruitbosch 097186ab0b Bug 1135545 - further debug by requesting complete logs so we can see success cases, rs=me 2015-04-13 15:39:33 +01:00
Mats Palmgren dfa684fd40 Bug 1153478 part 2 - Remove useless assertions. r=roc 2015-04-16 09:04:19 +00:00
Mats Palmgren 13e90d6835 Bug 1153478 part 1 - Add nsInlineFrame::StealFrame and make it deal with being called on the wrong parent for aChild (due to lazy reparenting). r=roc 2015-04-16 09:04:19 +00:00
Morris Tseng 8b1d489941 Bug 1147279 - Get correct translation when layer optimize away. r=roc
--HG--
extra : rebase_source : e9e56fe3a0f1d8a88de1e0b40151ed2e452e4ff9
2015-04-14 22:39:00 +02:00
Cameron McCormack 5c5b8c9484 Bug 1153693 - Followup test change. 2015-04-13 16:36:14 +10:00
David Anderson 01d5761755 Fix tests that depend on synchronous scrolling. (bug 1140293, r=mstange,masayuki,kgilbert) 2015-04-13 00:51:43 -04:00
Cameron McCormack df13ff4889 Bug 1153693 - Only call ReleaseRef on nsStyle{ClipPath,Filter} once when setting a new value. r=dbaron 2015-04-13 12:34:15 +10:00
David Anderson e8a7d33638 Scrollbar thumbs can overlap scrollbar arrows during APZ scrolling. (bug 1152469, r=botond,mstange) 2015-04-12 23:03:02 -04:00
Brian Birtles 6b5fcefb36 Bug 1152171 part 2 - Rename AnimationTimeline to DocumentTimeline; r=smaug
And then re-add AnimationTimeline as an abstract super-interface of
DocumentTimeline.

--HG--
rename : dom/animation/AnimationTimeline.cpp => dom/animation/DocumentTimeline.cpp
rename : dom/animation/AnimationTimeline.h => dom/animation/DocumentTimeline.h
rename : dom/animation/test/animation-timeline/test_animation-timeline.html => dom/animation/test/document-timeline/test_document-timeline.html
rename : dom/animation/test/animation-timeline/test_request_animation_frame.html => dom/animation/test/document-timeline/test_request_animation_frame.html
2015-04-10 10:34:22 +09:00
Daniel Holbert 938764f65f Bug 1152951: Delete the copy-constructor and reassignment operator for FlexboxAxisTracker & PositionTracker state-management classes. r=mats 2015-04-10 09:27:54 -07:00
Jonathan Kew 380aacac63 Bug 1079164 - Initial testcases for CSS grid in vertical writing mode. r=mats 2015-04-10 16:56:23 +01:00
Jonathan Kew d64d28a42d Bug 1153140 - dir=rtl versions of a couple of the grid reftests. r=mats 2015-04-10 16:56:23 +01:00
Jonathan Kew 55f32f5016 Bug 1153140 - Include borderPadding width in the containerWidth for grid item placement. r=mats 2015-04-10 16:56:23 +01:00
Jonathan Kew 744a3ec0e6 Bug 742176 - Remove/reduce fuzz annotations for tests that no longer appear to be affected by bad overflow areas. r=ehsan 2015-04-10 12:42:00 +01:00
Carsten "Tomcat" Book 1c47faafb7 Backed out changeset 1f8ed1063d26 (bug 1151821) 2015-04-10 11:10:58 +02:00
Makoto Kato e9c2da8c5f Bug 723197 - Remove a workaround of VS2010 PGO bug. r=dbaron 2015-04-10 17:09:11 +09:00
Bas Schouten 53c959e4f6 Bug 1151821 - Test: Test whether simple canvas globalCompositeOperators work when a clip is set. r=jrmuizel 2015-04-10 07:09:31 +02:00
Ryan VanderMeulen ea5c01418c Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-09 23:00:24 -04:00
Ryan VanderMeulen a59888777c Backed out changeset 3366d180e8ee (bug 1145439) for test_scroll_event_ordering.html failures. 2015-04-09 22:59:10 -04:00
Ryan VanderMeulen 23b2440390 Merge inbound to m-c. a=merge 2015-04-09 22:43:57 -04:00
Wes Kocher 7c4595242e Backed out changeset 84ebfdd3c94c (bug 1151829) for windows build bustage CLOSED TREE 2015-04-09 13:40:50 -07:00
Seth Fowler c432df0af0 Bug 1145439 - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-09 17:52:23 -07:00
Cameron McCormack acd763f9f6 Bug 1149042 - Call AttributeWillChange before a style="" attribute gets created when touching element.style. r=smaug 2015-04-10 10:41:35 +10:00
Jan Beich eb62c291f5 Bug 1151829 - Unbreak build on non-SPS platforms after bug 1093934. r=rbarker 2015-04-07 17:26:00 -04:00
James Cheng d7b40ea760 Bug 1026350 - Part 1: Inputport API implementation. r=baku 2015-04-08 03:07:00 -04:00
Ryan VanderMeulen 016b169721 Merge m-c to b2g-inbound. a=merge 2015-04-09 12:08:54 -04:00
Thomas Zimmermann 053dba23b3 Bug 1146355: Prepare build system to support Bluetooth APIs v1 and v2, r=shuang
This patch adds support for both Bluetooth interfaces to the build
system. The actual interface must be selected at compile time.
2015-04-09 15:57:40 +02:00
Thomas Zimmermann 5b0221d66d Bug 1146355: Move Bluetooth legacy interface into sub-directory bluetooth1/, r=joliu
--HG--
rename : dom/bluetooth/BluetoothAdapter.cpp => dom/bluetooth/bluetooth1/BluetoothAdapter.cpp
rename : dom/bluetooth/BluetoothAdapter.h => dom/bluetooth/bluetooth1/BluetoothAdapter.h
rename : dom/bluetooth/BluetoothCommon.h => dom/bluetooth/bluetooth1/BluetoothCommon.h
rename : dom/bluetooth/BluetoothDevice.cpp => dom/bluetooth/bluetooth1/BluetoothDevice.cpp
rename : dom/bluetooth/BluetoothDevice.h => dom/bluetooth/bluetooth1/BluetoothDevice.h
rename : dom/bluetooth/BluetoothHfpManagerBase.h => dom/bluetooth/bluetooth1/BluetoothHfpManagerBase.h
rename : dom/bluetooth/BluetoothHidManager.cpp => dom/bluetooth/bluetooth1/BluetoothHidManager.cpp
rename : dom/bluetooth/BluetoothHidManager.h => dom/bluetooth/bluetooth1/BluetoothHidManager.h
rename : dom/bluetooth/BluetoothInterface.cpp => dom/bluetooth/bluetooth1/BluetoothInterface.cpp
rename : dom/bluetooth/BluetoothInterface.h => dom/bluetooth/bluetooth1/BluetoothInterface.h
rename : dom/bluetooth/BluetoothInterfaceHelpers.cpp => dom/bluetooth/bluetooth1/BluetoothInterfaceHelpers.cpp
rename : dom/bluetooth/BluetoothInterfaceHelpers.h => dom/bluetooth/bluetooth1/BluetoothInterfaceHelpers.h
rename : dom/bluetooth/BluetoothManager.cpp => dom/bluetooth/bluetooth1/BluetoothManager.cpp
rename : dom/bluetooth/BluetoothManager.h => dom/bluetooth/bluetooth1/BluetoothManager.h
rename : dom/bluetooth/BluetoothProfileController.cpp => dom/bluetooth/bluetooth1/BluetoothProfileController.cpp
rename : dom/bluetooth/BluetoothProfileController.h => dom/bluetooth/bluetooth1/BluetoothProfileController.h
rename : dom/bluetooth/BluetoothProfileManagerBase.h => dom/bluetooth/bluetooth1/BluetoothProfileManagerBase.h
rename : dom/bluetooth/BluetoothPropertyContainer.cpp => dom/bluetooth/bluetooth1/BluetoothPropertyContainer.cpp
rename : dom/bluetooth/BluetoothPropertyContainer.h => dom/bluetooth/bluetooth1/BluetoothPropertyContainer.h
rename : dom/bluetooth/BluetoothReplyRunnable.cpp => dom/bluetooth/bluetooth1/BluetoothReplyRunnable.cpp
rename : dom/bluetooth/BluetoothReplyRunnable.h => dom/bluetooth/bluetooth1/BluetoothReplyRunnable.h
rename : dom/bluetooth/BluetoothRilListener.cpp => dom/bluetooth/bluetooth1/BluetoothRilListener.cpp
rename : dom/bluetooth/BluetoothRilListener.h => dom/bluetooth/bluetooth1/BluetoothRilListener.h
rename : dom/bluetooth/BluetoothService.cpp => dom/bluetooth/bluetooth1/BluetoothService.cpp
rename : dom/bluetooth/BluetoothService.h => dom/bluetooth/bluetooth1/BluetoothService.h
rename : dom/bluetooth/BluetoothSocketObserver.h => dom/bluetooth/bluetooth1/BluetoothSocketObserver.h
rename : dom/bluetooth/BluetoothUtils.cpp => dom/bluetooth/bluetooth1/BluetoothUtils.cpp
rename : dom/bluetooth/BluetoothUtils.h => dom/bluetooth/bluetooth1/BluetoothUtils.h
rename : dom/bluetooth/BluetoothUuid.cpp => dom/bluetooth/bluetooth1/BluetoothUuid.cpp
rename : dom/bluetooth/BluetoothUuid.h => dom/bluetooth/bluetooth1/BluetoothUuid.h
rename : dom/bluetooth/ObexBase.cpp => dom/bluetooth/bluetooth1/ObexBase.cpp
rename : dom/bluetooth/ObexBase.h => dom/bluetooth/bluetooth1/ObexBase.h
rename : dom/bluetooth/ipc/BluetoothChild.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothChild.cpp
rename : dom/bluetooth/ipc/BluetoothChild.h => dom/bluetooth/bluetooth1/ipc/BluetoothChild.h
rename : dom/bluetooth/ipc/BluetoothMessageUtils.h => dom/bluetooth/bluetooth1/ipc/BluetoothMessageUtils.h
rename : dom/bluetooth/ipc/BluetoothParent.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothParent.cpp
rename : dom/bluetooth/ipc/BluetoothParent.h => dom/bluetooth/bluetooth1/ipc/BluetoothParent.h
rename : dom/bluetooth/ipc/BluetoothServiceChildProcess.cpp => dom/bluetooth/bluetooth1/ipc/BluetoothServiceChildProcess.cpp
rename : dom/bluetooth/ipc/BluetoothServiceChildProcess.h => dom/bluetooth/bluetooth1/ipc/BluetoothServiceChildProcess.h
rename : dom/bluetooth/ipc/BluetoothTypes.ipdlh => dom/bluetooth/bluetooth1/ipc/BluetoothTypes.ipdlh
rename : dom/bluetooth/ipc/PBluetooth.ipdl => dom/bluetooth/bluetooth1/ipc/PBluetooth.ipdl
rename : dom/bluetooth/ipc/PBluetoothRequest.ipdl => dom/bluetooth/bluetooth1/ipc/PBluetoothRequest.ipdl
rename : dom/bluetooth/tests/marionette/head.js => dom/bluetooth/bluetooth1/tests/marionette/head.js
rename : dom/bluetooth/tests/marionette/manifest.ini => dom/bluetooth/bluetooth1/tests/marionette/manifest.ini
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_discovery.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_discovery.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_getters.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_getters.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_pair.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_pair.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothAdapter_setters.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothAdapter_setters.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothManager_adapteradded.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothManager_adapteradded.js
rename : dom/bluetooth/tests/marionette/test_dom_BluetoothManager_enabled.js => dom/bluetooth/bluetooth1/tests/marionette/test_dom_BluetoothManager_enabled.js
2015-04-09 15:57:40 +02:00
Jim Mathies 1535724754 Bug 1128238 - Ajust NPP_SetWindow and synth native event coords to account for the chrome offset of remote tabs. Prior to this the content process always assumed the tab was the window origin. r=aklotz 2015-04-08 11:51:49 -05:00
Robert Longson 7407a9449d Bug 1142982 - implement dominant-baseline=middle properly. r=heycam 2015-04-08 16:18:33 +01:00
Mats Palmgren 8525913029 Bug 1143130 - Initialize nsIFrame::ContentOffsets members, and some additional cleanup. r=roc 2015-04-09 17:57:34 +00:00
Mats Palmgren 946b96cca9 Bug 1145768 - Use the right begin() iterator to compare with. r=roc
Using the wrong begin() means that RFindLineContaining would hang
in the case the frame isn't on the overflow list.  We should always
find it there though, if it wasn't found on the principal list, so
the bug is harmless apart from the assertion.
2015-04-09 17:57:34 +00:00
Carsten "Tomcat" Book 4861b6d51f Backed out changeset 1158acbea753 (bug 1140293) for frequent windows m-oth test failures in test_wheeltransaction.xul 2015-04-08 10:22:34 +02:00
Bobby Holley 1571be1aab Bug 1151656 - Do static initialization explicitly. r=mattwoodrow 2015-04-08 21:33:18 -07:00
Daniel Holbert e3066d1874 Bug 1152913 part 3: Make flexbox's PositionTracker classes track whether axis is reversed, & directly convert flex item final sizes/positions to logical coords. r=mats 2015-04-16 12:01:14 -07:00
Jonathan Kew 91b3f58803 Bug 1152254 - Handle vertical text frames when clipping display list for drag image. r=smontagu 2015-04-08 11:36:05 +01:00
Jonathan Kew 88640056a8 Bug 1151993 - Fix the reference for 1124636-2-fieldset-min-height to match new behavior. r=smontagu 2015-04-08 09:18:33 +01:00
Jonathan Kew 72d09817a0 Bug 1151993 - Reftest for inline-sizing of orthogonal block frames. r=smontagu 2015-04-07 22:50:48 +01:00
Jonathan Kew e54c9bd678 Bug 1151993 - Apply shrink-wrapping to block frames that are orthogonal to their containing block. r=smontagu 2015-04-07 19:56:58 +01:00
Jonathan Kew 5da8fb24f9 Bug 1144501 - Reftest for sizing of orthogonal frame after block-end margin. r=smontagu 2015-04-07 16:54:07 +01:00
Jonathan Kew a97792aed1 Bug 1144501 - Take account of orthogonal writing modes when adjusting available size to reflow a child frame. r=smontagu 2015-04-07 15:35:30 +01:00
Timothy Nikkel 7f088bfbe8 Bug 1155025. Make the root layer on fennec have null scroll id with containerless scrolling. r=mstange
On Android we want the root xul document to get a null scroll id so that the root content document gets the first non-null scroll id.
2015-04-16 12:34:17 -05:00
Kearwood (Kip) Gilbert f7ef919657 Bug 1148219 - Improve reliability of the test_scroll_snapping.html mochitest. r=roc
- The test_scroll_snapping.html mochitest now waits up to 30 frames for
  scrolling to start before giving up and reporting a failure.
2015-04-06 13:32:00 +02:00
Timothy Nikkel e4cf81f574 Bug 1150021. Make sure that boxes inside vertical RTL boxes are placed on the right. r=roc
nsSprocketLayout::Layout lays out its children by looping from first child to last child updating local variables x, y as it goes that keep track of the position where to layout the current child.

If the box is horizontal it works left-to-right or right-to-left according to wheather the direction of the box is normal or not. Vertical boxes work similarly top-to-bottom or bottom-to-top. Vertical boxes also respond to CSS direction styles, so that in an LTR box the child boxes are laid out flush left, but flush right in an RTL box. Herein lies the bug, some code assumes the child boxes are laid out flush right in RTL, but the code to actually position the children positions them flush left.

The code that assumes the child are laid out flush right is HandleBoxPack, which determines the origin to start laying out children at, and the code which uses HandleBoxPack to determine if the origin changed during the laying out of the children, and then shifts the children by the amount the origin shifted. The size of our box changing will, in general, change the position of the origin. So the children aren't laid out to the origin that HandleBoxPack expects they will get moved to wrong positions.
2015-04-07 02:28:57 -05:00
Cameron McCormack 895c5552ec Bug 1152023 - Null check root frame when marking frames dirty in response to a user font load. r=jdaggett 2015-04-08 13:01:38 +10:00
Markus Stange 32393dc505 Bug 932958 - Use the Skia Software backend by default for canvas on OS X. r=jrmuizel
--HG--
extra : rebase_source : c52270e748c7f25821c1635d2c004536d1cfe947
extra : source : 1d3a58326caa70fe49374f5c236594a51ca11b44
2015-04-07 22:23:02 -04:00
Seth Fowler 2b28b2ad66 Bug 1150704 - Use the same dest rect calculation for nsDisplayImage::GetOpaqueRegion and nsDisplayImage::GetDestRect. r=dholbert 2015-04-07 18:55:28 -07:00
Seth Fowler ea22de2fd8 Bug 1150774 (Part 2) - Use the correct units in nsDisplayImageContainer::ConfigureLayer and related code. r=botond 2015-04-07 18:55:28 -07:00
Seth Fowler d1dffb1a14 Bug 1150774 (Part 1) - Add helpers to simplify using typed units in ConfigureLayer. r=botond 2015-04-07 18:55:28 -07:00
dvander@alliedmods.net d6e650ec3e Fix tests that depend on synchronous scrolling. (bug 1140293, r=mstange,masayuki,kgilbert) 2015-04-07 18:20:43 -07:00
Xidorn Quan 4284d4d732 Bug 1141931 followup - Fix reftest failure on OSX 10.10. 2015-04-08 13:10:21 +12:00
Wes Kocher 92bd69914a Backed out changeset b1ba9eec8e44 (bug 1148889) 2015-04-07 17:42:40 -07:00
Xidorn Quan 25da0b552a Bug 1141931 patch 10 - Revert to pass container size instead of only isize for bidi reordering. r=smontagu
--HG--
extra : source : 85a623e012b8deb2a41dc2e633a41223727bfe50
2015-04-08 11:22:34 +12:00
Xidorn Quan 9fc158dfad Bug 1141931 part 9 - Reftest for ruby frames reordering. r=jfkthame
--HG--
extra : source : deed9ed82a2a6795f2773b75ead723562a3a7292
2015-04-08 11:22:34 +12:00
Xidorn Quan 98f15072a3 Bug 1141931 part 8 - Reorder ruby frames regarding their direction. r=jfkthame
--HG--
extra : source : 2ab8fdf15b09df128e03998c2daf26c48187851d
2015-04-08 11:22:34 +12:00
Xidorn Quan 59d1864c8a Bug 1141931 part 7 - Move [Auto]RubyTextContainerArray to RubyUtils and merge RubyTextContainerIterator into AutoRubyTextContainerArray. r=dholbert
--HG--
extra : source : 89ae2f9a195fe10f4db19d0a51fd3ec7bafb0ecc
2015-04-08 11:22:34 +12:00
Xidorn Quan 966ef97045 Bug 1141931 part 6 - Move Ruby{Segment,Column}Enumerator to RubyUtils. r=dholbert
--HG--
extra : source : 2327584c7a0740617388bc544d2bb8433d034fe7
2015-04-08 11:22:34 +12:00
Xidorn Quan ddd0a788fa Bug 1141931 part 5 - Eliminate unnecessary includes in header files of ruby frames. r=dholbert
--HG--
extra : source : 860c66b5f319ed0744decf84c8c2145efd85ce83
2015-04-08 11:22:34 +12:00
Xidorn Quan 7ed44c4442 Bug 1141931 part 4 - Make bidi reordering always in frame order. r=jfkthame,smontagu
--HG--
extra : source : dc2ce78ff7bc9e2b5ccb7308609a83feca6a1c22
2015-04-08 11:22:34 +12:00
Xidorn Quan e581fcaf13 Bug 1141931 part 3 - Adjust some parameters of functions in nsBidiPresUtils. r=jfkthame
Includes two changes:
* aContainerSize of ReorderFrames, RepositionInlineFrames, RepositionFrame are changed to aContainerISize;
* the type of aContainuationStates in the functions above is changed to const pointer.

--HG--
extra : source : 41336b712d88a843b15015321cae9f878aa08427
2015-04-08 11:22:34 +12:00
Xidorn Quan 9576de22a9 Bug 1141931 part 2 - Eliminate writing-mode mismatch in ruby reflow. r=dholbert
--HG--
extra : source : f74929af31891aa223da8a7d0ff01d9ccd19cacd
2015-04-08 11:22:34 +12:00
Xidorn Quan 06272c8efd Bug 1141931 part 1 - Compute unicode-bidi property to proper values for ruby boxes. r=heycam
--HG--
extra : source : 7078930df197d7cf9d7d8b972c57632b4a0cf380
2015-04-08 11:22:34 +12:00
Xidorn Quan 85fe2c1a16 Bug 1147459 - Update rule of fullscreen iframe to meet the spec. r=roc
--HG--
extra : source : b5eab78c88f58a735ad812c73e11f5d59b2a1264
2015-04-08 11:22:17 +12:00
Wes Kocher 74f58c915e Backed out 10 changesets (bug 1141931) for mochitest-5 failures CLOSED TREE
Backed out changeset c90940067de6 (bug 1141931)
Backed out changeset 96b48288abab (bug 1141931)
Backed out changeset 87281c7ded34 (bug 1141931)
Backed out changeset 6a914ba0b8ec (bug 1141931)
Backed out changeset 9cfea55b5e95 (bug 1141931)
Backed out changeset f432612b6475 (bug 1141931)
Backed out changeset 48cf9568a4b1 (bug 1141931)
Backed out changeset f1ab848b3fa6 (bug 1141931)
Backed out changeset 8a3c71a3b525 (bug 1141931)
Backed out changeset 119d3c0fd0f6 (bug 1141931)
2015-04-07 14:23:57 -07:00
Wes Kocher afd31847d3 Backed out changeset 26118238484f (bug 1147459) 2015-04-07 14:23:24 -07:00
Kartikaya Gupta 0f4cd2b27f Bug 1148889 - Treat subclasses of scrollframes as animated geometry roots. r=mstange 2015-04-07 16:53:41 -04:00
Xidorn Quan 73b2737565 Bug 1147459 - Update rule of fullscreen iframe to meet the spec. r=roc
--HG--
extra : source : b5eab78c88f58a735ad812c73e11f5d59b2a1264
2015-04-08 08:41:29 +12:00
Xidorn Quan ff332f3d74 Bug 1141931 patch 10 - Revert to pass container size instead of only isize for bidi reordering. r=smontagu
--HG--
extra : source : 999cbb6740648762984e57d5ce764499381ccd5b
2015-04-08 08:40:31 +12:00
Xidorn Quan e98d5b973b Bug 1141931 part 9 - Reftest for ruby frames reordering. r=jfkthame
--HG--
extra : source : 7a078551c85fa9a29109a2222634d66f7bcc7fac
2015-04-08 08:40:31 +12:00
Xidorn Quan 8a236c4404 Bug 1141931 part 8 - Reorder ruby frames regarding their direction. r=jfkthame
--HG--
extra : source : 1cd39beced7297440bf4e8df906c5264302ac16d
2015-04-08 08:40:31 +12:00
Xidorn Quan 53a7f5a9f8 Bug 1141931 part 7 - Move [Auto]RubyTextContainerArray to RubyUtils and merge RubyTextContainerIterator into AutoRubyTextContainerArray. r=dholbert
--HG--
extra : source : 89ae2f9a195fe10f4db19d0a51fd3ec7bafb0ecc
2015-04-08 08:40:31 +12:00
Xidorn Quan 1bbf61d898 Bug 1141931 part 6 - Move Ruby{Segment,Column}Enumerator to RubyUtils. r=dholbert
--HG--
extra : source : 2327584c7a0740617388bc544d2bb8433d034fe7
2015-04-08 08:40:31 +12:00
Xidorn Quan 27d78f6b41 Bug 1141931 part 5 - Eliminate unnecessary includes in header files of ruby frames. r=dholbert
--HG--
extra : source : 860c66b5f319ed0744decf84c8c2145efd85ce83
2015-04-08 08:40:31 +12:00
Xidorn Quan 3e7300ba91 Bug 1141931 part 4 - Make bidi reordering always in frame order. r=jfkthame,smontagu
--HG--
extra : source : dc2ce78ff7bc9e2b5ccb7308609a83feca6a1c22
2015-04-08 08:40:31 +12:00
Xidorn Quan 8a3d0926c5 Bug 1141931 part 3 - Adjust some parameters of functions in nsBidiPresUtils. r=jfkthame
Includes two changes:
* aContainerSize of ReorderFrames, RepositionInlineFrames, RepositionFrame are changed to aContainerISize;
* the type of aContainuationStates in the functions above is changed to const pointer.

--HG--
extra : source : 41336b712d88a843b15015321cae9f878aa08427
2015-04-08 08:40:31 +12:00
Xidorn Quan 3d1eed1f20 Bug 1141931 part 2 - Eliminate writing-mode mismatch in ruby reflow. r=dholbert
--HG--
extra : source : f74929af31891aa223da8a7d0ff01d9ccd19cacd
2015-04-08 08:40:31 +12:00
Xidorn Quan b4f1b79dcd Bug 1141931 part 1 - Compute unicode-bidi property to proper values for ruby boxes. r=heycam
--HG--
extra : source : 7078930df197d7cf9d7d8b972c57632b4a0cf380
2015-04-08 08:40:31 +12:00
Vladimir Vukicevic 72b8ab88fb Bug 1151905; remove unnecessary gfxVR.h includes; r=ehsan 2015-04-07 12:39:09 -04:00
Ryan VanderMeulen 08ab36610a Backed out changeset d23df90fc306 (bug 1150021) for frequent B2G reftest failures. 2015-04-07 11:27:14 -04:00
Nicolas Silva 0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Jonathan Kew cce04361df Bug 1012640 - patch 3 - Reftest for line break after inline element with white-space:nowrap and whitespace inside the element. r=roc 2015-04-07 09:28:02 +01:00
Jonathan Kew f3049c0bf6 Bug 1130907 - patch 4 - Reftest for container-frame intrinsic size involving borders. r=smontagu 2015-04-07 09:24:04 +01:00
Jonathan Kew 3e95d19359 Bug 1130907 - patch 3 - Reftest for contribution of border widths to intrinsic size. r=smontagu 2015-04-07 09:24:04 +01:00
Jonathan Kew ff64054d39 Bug 1130907 - patch 2 - Account for writing-mode in nsContainerFrame::DoInlineIntrinsicISize. r=smontagu 2015-04-07 09:24:04 +01:00
Jonathan Kew ad55c30e75 Bug 1130907 - patch 1 - Account for writing-mode when incorporating border widths into intrinsic size. r=smontagu 2015-04-07 09:24:04 +01:00
Chris Peterson 231f921c34 Bug 1083499 - Remove obsolete layout/analysis/pixel-conversion.js and simple-match.js scripts. r=roc 2015-03-23 20:43:27 -07:00
Robert Longson a15bae4903 Bug 1047973 - pattern with patternUnits=objectBoundingBox and preserveAspectRatio=... meet stretches to the size of a shape. r=dholbert 2015-04-07 08:45:59 +01:00
Timothy Nikkel 8f0c930600 Bug 1150021. Make sure that boxes inside vertical RTL boxes are placed on the right. r=roc
nsSprocketLayout::Layout lays out its children by looping from first child to last child updating local variables x, y as it goes that keep track of the position where to layout the current child.

If the box is horizontal it works left-to-right or right-to-left according to wheather the direction of the box is normal or not. Vertical boxes work similarly top-to-bottom or bottom-to-top. Vertical boxes also respond to CSS direction styles, so that in an LTR box the child boxes are laid out flush left, but flush right in an RTL box. Herein lies the bug, some code assumes the child boxes are laid out flush right in RTL, but the code to actually position the children positions them flush left.

The code that assumes the child are laid out flush right is HandleBoxPack, which determines the origin to start laying out children at, and the code which uses HandleBoxPack to determine if the origin changed during the laying out of the children, and then shifts the children by the amount the origin shifted. The size of our box changing will, in general, change the position of the origin. So the children aren't laid out to the origin that HandleBoxPack expects they will get moved to wrong positions.
2015-04-07 02:28:57 -05:00
Phil Ringnalda 4401b580e1 Back out 1d3a58326caa (bug 932958) for reftest bustage
CLOSED TREE
2015-04-06 20:28:02 -07:00
Markus Stange a5bacaa2f4 Bug 932958 - Use the Skia Software backend by default for canvas on OS X. r=jrmuizel
--HG--
extra : rebase_source : 503c3c2d430f7a0812b99b9950dd822c3b93d184
2015-04-06 16:16:38 -04:00
L. David Baron d82c7d2130 Bug 1149848 patch 2 - Remove no-longer-needed flags to GetAnimationsForCompositor. r=birtles
This reverts all of bug 1109390 part 20 (except for a whitespace change
and a comment removal that patch 1 made irrelevant) and some of part 21.
2015-04-06 18:13:48 -07:00
L. David Baron b0193d991a Bug 1149848 - Stop calling NotifyAnimated (and thus repeatedly cycling layer activity) when sending OMT animations to the compositor. r=birtles
I checked in gdb that with the patch, we're no longer calling
PresShell::Paint repeatedly on the testcase (whereas we are without the
patch).
2015-04-06 18:13:48 -07:00
Ryan VanderMeulen b79ce1078e Merge m-c to inbound. a=merge
CLOSED TREE
2015-04-06 18:48:20 -04:00
Ted Mielczarek 581f9ce759 bug 1139922 - Fix loading mozinfo in runreftest.py. r=dbaron
--HG--
extra : rebase_source : e3f6ebeec022b991e0135538903784e676b6d442
2015-04-06 15:10:20 -04:00
Felipe Gomes 8beb4c1fa1 Bug 1147156 - Re-enable e10s by default for Nightly users who may have disabled it. r=poirot,mconley 2015-04-06 15:06:46 -03:00
Phil Ringnalda fa3a91e936 Merge m-i to m-c, a=merge 2015-04-04 09:59:17 -07:00
Alexandre Lissy cf63651ca5 Bug 1150536 - Mark object-position-png-001e.html as fuzzy (intermittent). r=ahal, a=me 2015-04-02 08:10:00 -04:00
Alexandre Lissy 99ca13f666 Bug 1150492 - Mark object-position-png-001o.html as fuzzy (intermittent). r=ahal 2015-04-02 06:28:00 -04:00
Alexandre Lissy f406232634 Bug 1150486 - Disable B2G failing test on Mulet for green R4. r=ahal 2015-04-02 06:09:00 -04:00
Tooru Fujisawa 62e60b5bf9 Add explicit keyword to AsyncScrollBase constructor to fix static analysis build (bug 1139220 part 6, r=shu) 2015-04-03 18:33:51 +09:00
Jan Beich d8a32020cb Bug 1145988 - Unbreak build on non-SPS platforms after bug 1129249. r=dholbert f=chiajung 2015-04-02 21:43:48 +02:00
Tooru Fujisawa 2f82fd85a0 Bug 1097922 - Remove temporary aliases for -moz-text-decoration-*. r=dbaron 2015-04-03 17:47:38 +09:00
David Anderson 208919a3e4 Use the main-thread key spline animation logic for Desktop APZ. (bug 1139220 part 3, r=kats,kgilbert) 2015-04-01 23:42:40 -07:00
David Anderson 0dccb5ef39 Factor the guts of AsyncScroll into a base helper class. (bug 1139220 part 2, r=kgilbert) 2015-04-01 23:17:22 -07:00
Brian Birtles 564d5464c7 Bug 1117603 part 2 - Don't unregister from the refresh driver unless we are also queueing events; r=dbaron 2015-03-24 09:06:06 +09:00
Brian Birtles 37c243eddc Bug 1117603 part 1 - Don't assume style rules have been refreshed in GetAnimationRule; r=dbaron
Typically when GetAnimationRule is called, at least for CSS Animations, the
animation style rule will have been refreshed. However, in some cases such as
when the Web Animations API is used, the style rule will be marked as needing
to be refreshed outside of the usual flow. This rule will be refreshed when
nsAnimationManager::WillRefresh flushes animations but if the refresh driver
for the chrome document fires first, we will visit GetAnimationRule before
this happens.

This patch removes the assertion that expects animations to have been
refreshed by the time we reach GetAnimationRule causing it to update
the animation style rule as necessary.
2015-03-24 09:06:06 +09:00
Markus Stange 9d5633949a Bug 1151145 - Add a reftest. r=jrmuizel
--HG--
extra : rebase_source : 93bf28dd4194fef5be00da7966ee656130646bf3
2015-04-04 18:07:53 -04:00
Ryan VanderMeulen 81c2e4fd75 Backed out changeset 8882af540247 (bug 1029451) for intermittent timeouts in the newly-added test. 2015-04-06 11:22:00 -04:00
Wes Kocher b485a53afc Backed out changeset b0de9cef013b (bug 1145439) for Gu orange 2015-04-03 14:11:11 -07:00
Mats Palmgren 7349c8b964 Bug 1150042 - Make nsLayoutUtils::DrawSingleUnscaledImage use CSSIntSize instead of unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Daniel Holbert 9713645c88 Bug 1149222 part 2 - Make nsSVGImageFrame::PaintSVG use LayoutDeviceSize & LayoutDevicePixel::ToAppUnits, when setting up its dest-rect. r=mats 2015-04-03 19:48:12 +00:00
Mats Palmgren eb4243e0c6 Bug 1149222 part 1 - Make nsLayoutUtils::DrawBackgroundImage and SVGImageContext use CSSIntSize instead of unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Mats Palmgren 035bf0bc77 Bug 1149215 - Remove nsLayoutUtils::GetWholeImageDestination that use unitless nsIntSize. r=dholbert 2015-04-03 19:48:12 +00:00
Seth Fowler c2f0fefa86 Bug 1145439 - Throttle requestAnimationFrame for non-visible iframes. r=mstange,mchang 2015-04-03 11:51:11 -07:00
Robert Longson 1738032ea7 Bug 1149516 - draw continuous stroke if stroke-dasharray = 0. r=jwatt 2015-04-03 18:58:05 +01:00
Markus Stange 1e93b914e1 Bug 1150941 - Disable animated-position reftests for intermittent failures / unexpected passes.
--HG--
extra : rebase_source : f8868dcc60b87060a2e43ffb1f369d047f7f51e5
2015-04-03 13:01:56 -04:00
Tom Tromey fe559bb884 Bug 1029451 - Preserve mIsSynthesizedForTests on mouse events. r=ehsan 2015-04-03 08:17:00 -04:00
Cameron McCormack 78af8ddb6c Bug 1149542 - Part 2: Track undisplayed characters before empty text frames properly. r=dholbert 2015-04-06 09:12:06 -04:00
Cameron McCormack 9970f9a1af Bug 1149542 - Part 1: Return early from SVG text layout if we discover mPositions is not long enough. r=dholbert 2015-04-06 09:11:55 -04:00
Mats Palmgren 0de26abcb4 Bug 1151220 - [css-grid] Fix a couple of typos in InitializeTrackSize. r=dholbert 2015-04-04 08:50:00 -04:00
Markus Stange d793667adb Bug 1151306 - Add a reftest. r=roc
--HG--
extra : rebase_source : 34bdc440825d8d44446ab47f6a5601a4524af359
2015-04-05 17:57:25 -04:00
Markus Stange ab28a4f0c8 Bug 1151346 - Make ActiveLayerTracker::IsOffsetOrMarginStyleAnimated respect CSS animations. r=roc
--HG--
extra : rebase_source : a3594dcb2d8733b6f545c6cf713178ea0d953889
2015-04-05 22:53:51 -04:00
Markus Stange f7f6e94e3e Bug 1151306 - Add a missing check during background color pulling. r=roc
--HG--
extra : rebase_source : cf647fb460c0f8e9f83e540e27055ef563af0d50
2015-04-05 14:05:44 -04:00
Brian Birtles db3793a49f Bug 1061364 - Don't force transitions to refresh their style rule; r=dbaron 2015-04-06 09:13:20 +09:00
Kartikaya Gupta abf7415cef Bug 1149260 - Guard against trying to draw a drag image with zero length. r=enndeakin 2015-04-02 20:45:50 -04:00
Markus Stange a0daf378c7 Bug 1148855 - Tweak reftest fuzziness. 2015-04-02 17:29:35 -04:00
Markus Stange 7992a7d2ae Bug 1148855 - Add some tests. r=roc
--HG--
extra : rebase_source : 869011e2d53740a54b71a5d8d13a46264ed9ca8c
2015-04-02 14:19:42 -04:00
Markus Stange 192ff01616 Bug 1148855 - Rework how display items are assigned to PaintedLayers and make it work the same way with and without APZ. r=roc
--HG--
extra : rebase_source : e6f246f2ee67e4b3478f5687774fb257f40dc5b4
2015-04-02 14:22:40 -04:00
Markus Stange e2ab5a8c41 Bug 1148855 - Intermediate state that unifies APZ and non-APZ layerization behavior somewhat.
--HG--
extra : rebase_source : a5ec7aab3b588c6c5967cfbf1cebc607f6e24953
2015-04-01 17:31:56 -04:00
Markus Stange cd1c8ccd7f Bug 1148855 - Mark some ContainerState methods as const. r=roc
--HG--
extra : rebase_source : a25baee09a55ab02032c37bdf2ddfc005313203a
2015-03-25 18:08:56 -04:00
Markus Stange 6d2f0151ad Bug 1148022 - When frame metrics are attached to the container layer of the root scroll frame, make sure that its scroll frame is active. r=tn
--HG--
extra : rebase_source : bb0f77645cd023a6c4f086a54c89a3338bf4faee
2015-04-02 14:28:42 -04:00
Nathan Froyd 8bef8d02b7 Bug 1150049 - tidy up nsImageBoxFrame::Init a little bit; r=dholbert
We don't need to use manual NS_{ADDREF,RELEASE} here when nsRefPtr will
do that for us.  The manual QueryInterface invocation only serves to do
an expensive static_cast and increase the refcount; we can forget our
reference into mListener to achieve the same effect.
2015-03-11 13:19:43 -04:00
Carsten "Tomcat" Book daaba64d03 Backed out changeset 15b7c48af4c8 (bug 1139220) 2015-04-02 09:13:25 +02:00
Carsten "Tomcat" Book dfac4e74d5 Backed out changeset fce26111e6f0 (bug 1139220) 2015-04-02 09:13:20 +02:00
David Anderson 13e12b0304 Use the main-thread key spline animation logic for Desktop APZ. (bug 1139220 part 3, r=kats,kgilbert)
--HG--
extra : rebase_source : 17514c0bcaf4ac61c53ab1729a5084fd55b8ee11
2015-04-01 23:42:40 -07:00
David Anderson be29505871 Factor the guts of AsyncScroll into a base helper class. (bug 1139220 part 2, r=kgilbert)
--HG--
extra : rebase_source : 13755c2cff91efce8e10920a00e9bd36251cd886
2015-04-01 23:17:22 -07:00
L. David Baron 708af8df5f Bug 980770 followup - Use requestLongerTimeout(2) in test_animations_omta.html to fix intermittent Android timeout. 2015-04-01 22:11:03 -07:00
Jonathan Kew d4076f899e Bug 1145218 followup - Mark 1136557-*-nested-spans reftests fuzzy on Windows. no_r=me 2015-04-01 23:14:45 +01:00
Jonathan Kew 8ecb8c5e7f Bug 1145218 - Require a new float manager if a block frame has a different writing-mode to its parent's. r=dbaron 2015-04-01 16:43:59 +01:00
Jonathan Kew 5959a44b6d Bug 1145218 - Make the float manager's writing-mode field debug-only, and assert that it matches what callers are passing in. r=smontagu 2015-04-01 16:43:58 +01:00
Jonathan Kew d9a4b2e744 Bug 1123654 - Replace use of [deprecated] GetStockObject(DEFAULT_GUI_FONT) with newer API; results in use of Tahoma in place of Microsoft Sans Serif in various contexts. r=jmathies 2015-01-21 22:12:18 +00:00
Bill McCloskey 6bba9d317a Bug 1150151 - Set leak threshold for reftests (r=mccr8) 2015-04-01 14:42:37 -07:00
David Parks 3fe715e93a Bug 1075670 - Make event.screen[XY] work in content processes (r=smaug,kats,tn,joshmoz) 2015-04-01 12:36:41 -07:00