Commit Graph

48970 Commits

Author SHA1 Message Date
Daniel Holbert
09939ec3c9 Bug 1245406: In ReflowBlockFrame, use Maybe<> to destroy & reconstruct a stack-allocated object, instead of an explicit call to destructor & placement 'new'. r=dbaron 2016-02-03 12:37:23 -08:00
Carsten "Tomcat" Book
83c31cd8fe Merge mozilla-central to mozilla-inbound 2016-02-03 12:27:02 +01:00
Carsten "Tomcat" Book
5461ec9a92 merge mozilla-inbound to mozilla-central a=merge 2016-02-03 11:59:20 +01:00
Christoph Kerschbaumer
d8d683d81b Bug 1195173 - Test asyncopen2 security checks for stylesheets (r=bz,ehsan) 2016-02-02 20:35:42 -08:00
Christoph Kerschbaumer
c53a2ff8b7 Bug 1195173 - Apply CSP to preloaded styles within layout/style/Loader.cpp (r=bz) 2016-02-02 20:35:30 -08:00
Christoph Kerschbaumer
de9089189c Bug 1195173 - Use channel->ascynOpen2 layout/style/Loader.cpp (r=bz) 2016-02-02 20:35:02 -08:00
Ting-Yu Lin
7d02ded5a1 Bug 1240917 - Do not show caret in empty input on Fennec. r=roc
Per request in bug 1240917 comment 15, we decided not to show caret when
single press on an empty input. This effectively reverts the work in Bug
1230582.

--HG--
extra : commitid : IjKGpqAR6zP
extra : rebase_source : d476618b4f419cf2d96bb33264cfd8ccb6e3fa61
2016-02-02 14:32:31 +08:00
Oriol
4a14d64ea2 Bug 1243125 - Reftest for floats overflowing container, with diverse writing-modes. r=jfkthame 2016-02-03 09:24:29 +00:00
Jonathan Kew
a2574a52b6 Bug 1243125 - patch 2 - Don't ever set NS_FRAME_TRUNCATED for orthogonal flows. r=dholbert 2016-02-03 09:24:28 +00:00
Oriol
4fcfda5536 Bug 1243125 - patch 1 - Check block size instead of height when detecting truncated frames. r=jfkthame 2016-02-03 09:24:26 +00:00
Jonathan Kew
cb9de60a4d Bug 1243125 - patch 0 - Relax overly-harsh writing mode assertions in nsReflowMetrics size accessors. r=dholbert 2016-02-03 09:24:24 +00:00
William Chen
96cc20f039 Bug 1241575 - Use transform property syntax to parse WebKitCSSMatrix transform list. r=heycam 2016-02-01 16:45:09 -08:00
David Anderson
7b6e752abc Add software mix-blend mode support to the D3D9 compositor. (bug 1243071 part 3, r=bas,mattwoodrow) 2016-02-01 16:28:00 -08:00
Jim Mathies
7adc2da448 Bug 1243413 - Avoid hiding windowed plugins that aren't contained within the active scroll frame. r=roc 2016-02-01 16:50:57 -06:00
Geoff Brown
6fe30ec610 Bug 1241907 - Grant runtime permissions before running browser tests; r=jmaher 2016-02-01 15:52:34 -07:00
Alexander Surkov
08db3d66c1 Bug 1220502 - ignore not visible text nodes for tree update, r=tbsaunde, roc 2016-02-01 17:05:45 -05:00
Daniel Holbert
870d8a05e3 Bug 1244166: Don't ignore stroke/fill properties in high-contrast mode, since doing so can produce icons that are invisible or whose colors are unrelated to the user's chosen high-contrast colors. r=longsonr 2016-02-01 11:23:09 -08:00
Nicholas Nethercote
6462925455 Bug 1244992 - Avoid double-counting in various refcounted types related to nsCSSValue. r=heycam.
Also, GridTemplateAreasValue::SizeOfIncludingThis() wasn't measuring |this|, so
the patch fixes that.

--HG--
extra : rebase_source : e3460dbcfd79daf08fa275e58a08e98a3a657f3c
2016-02-02 15:18:16 +11:00
David Anderson
3af026a7f5 Add full mix-blend mode support to the D3D11 compositor. (bug 1238496, r=bas) 2016-02-02 16:33:13 -08:00
Timothy Nikkel
a1bd256618 Bug 1238337. If the intrinsic size of the image hasn't changed then we don't need to do a new predictive image decode. r=mats
nsImageFrame::OnSizeAvailable will update the intrinsic ratio and ask for a reflow. Then nsImageFrame::NotifyNewCurrentRequest will be called when the image is finished loading. It previously would do a predictive decode if the intrinsic size hadn't changed.

This was a mistake in http://hg.mozilla.org/mozilla-central/rev/146f1bea4147 (bug 1151359).

OnSizeAvailable has this structure:

  if (intrinsicSizeChanged && gotInitialReflow) {
    if (!sizeConstrained) {
      requestReflow();
    }
  }

NotifyNewCurrentRequest has this structure:

  if (gotInitialReflow) {
    if (!sizeConstrained && intrinsicSizeChanged) {
      requestReflow();
    }
  }

Bug 1151359 added a predictive decode in a new else branch to both inner if statements. The meaning of this is obviously quite different.
2016-02-02 16:51:52 -06:00
Tobias Schneider
f19e21de56 Bug 1207914: Add some debug logging to mochitest test_bug632379.xul, to help diagnose its timeouts. 2016-01-20 10:09:05 -08:00
Birunthan Mohanathas
e00f212825 Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-02-02 17:36:31 +02:00
Birunthan Mohanathas
690e6fe38b Bug 1235261 - Part 3: Switch remaining uses of AutoFallibleTArray to AutoTArray. r=froydnj
This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-02-02 17:36:30 +02:00
Birunthan Mohanathas
9137955c65 Bug 1235261 - Part 2: Switch some uses of AutoFallibleTArray to AutoTArray. r=froydnj
This changes some function signatures to take a nsTArray<T>& instead of a
FallibleTArray<T>& because AutoTArray does not inherit from FallibleTArray.

This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-02-02 17:36:30 +02:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Hiroyuki Ikezoe
95ad195e01 Bug 1235478 - Part 3: Make weightmapping-12579.html fuzzy on MacOS 10.10. r=jdaggett
This refrest fails on MacOS 10.10 debug build on try server.

* This failure can not be reproduced on local MacOS 10.10. (as far as I tried)
* Removing all '東京特許許可局' in the table does not cause the intermittent failure.
* Removing all words whose font is thinner than 500 does not cause the intermittent failure.
* Using only one downloadable(mplus-1p-medium) font does not cause the intermittent failure.

I am going to investigate the failure reason in the future when I get to know more about layout codes.
2016-01-29 03:58:00 +01:00
Hiroyuki Ikezoe
af498ca1af Bug 1235478 - Part 2: Don't update mMostRecentRefresh when nsRefreshDriver::ScheduleViewManagerFlush is called. r=mchang
--HG--
extra : transplant_source : %86e%80%9D%07%B0K%16%EB%FC%5D%9B%CA%D6%A1_%D2y%A0%7E
2016-01-05 12:50:59 +09:00
Hiroyuki Ikezoe
ea151185f0 Bug 1235478 - Part 1: Rename eAdjustingTimer to eForceAdjustTimer. r=mchang
--HG--
extra : transplant_source : 0%E9%E1%19%05%3F3%12%95%C3%A1%CE%22VI%EFe%97%A4%C9
2016-01-05 12:50:59 +09:00
Hiroyuki Ikezoe
4b31027fae Bug 1216842 - Part 7: Add easing function to laryer::Animation. r=cam 2016-01-26 21:19:00 +01:00
Hiroyuki Ikezoe
ba1bb81b2e Bug 1216842 - Part 3: Change ComputedTimingFunction* to Maybe<ComputedTimingFunction>. r=cam
Nothing() represents linear function, i.e. skip calculation.
ParseEasing is changed to return a Maybe<ComputedTimingFunction>,
if timing function is linear function, ParseEasing returns Nothing().
2016-01-29 14:44:00 +01:00
Hiroyuki Ikezoe
8c08c46bf6 Bug 1216842 - Part 1: Add null_t into TimingFunction to skip calculation of linear timing function. r=cam
This is a patch for compositor side to represent linear function as null_t/Nothing().

Also the first argument of ToTimingFunction changes to a Maybe<ComputedTimingFunction>.
As a result of this change we can also use ToTimingFunction for animation
effect's timing function.
2016-01-26 21:14:00 +01:00
Nicholas Nethercote
ac9a8bf77c Bug 1181444 (part 1.5) - Remove dead PLDHashOperator declarations. r=froydnj.
--HG--
extra : rebase_source : 82888ad8037a6024508b042030469fac5a8f5fa4
2016-01-28 14:08:19 -08:00
Phil Ringnalda
543a769809 Merge m-c to m-i 2016-01-31 17:58:26 -08:00
Phil Ringnalda
efb0e5df11 Merge m-i to m-c, a=merge 2016-01-31 17:53:22 -08:00
Cameron McCormack
c3c9182dd9 Bug 1244585 - Remove unused Declaration::HasVariableDeclaration method. r=xidorn 2016-02-01 12:19:13 +11:00
Kartikaya Gupta
6f5c11bbbf Back out 3 csets from bug 1242690 for causing bug 1244549. r=backout
--HG--
extra : commitid : G7hFhHC4YDt
2016-01-31 14:44:58 -05:00
Phil Ringnalda
d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
b00cdd6088 Bug 1235261 - Part 6: Rename AutoInfallibleTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Birunthan Mohanathas
720fce4f80 Bug 1235261 - Part 3: Switch remaining uses of AutoFallibleTArray to AutoTArray. r=froydnj
This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-01-31 17:12:12 +02:00
Birunthan Mohanathas
53bb27f2a4 Bug 1235261 - Part 2: Switch some uses of AutoFallibleTArray to AutoTArray. r=froydnj
This changes some function signatures to take a nsTArray<T>& instead of a
FallibleTArray<T>& because AutoTArray does not inherit from FallibleTArray.

This is effectively a no-op because the affected array operations already use
`mozilla::fallible`.
2016-01-31 17:12:12 +02:00
Birunthan Mohanathas
373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Markus Stange
77d52c0a79 Bug 1241275 - Change the way -moz-window-dragging works. r=heycam,roc
This adds the value -moz-window-dragging: default as the initial value of the property,
and makes it a [reset] property. This allows us to change the way the window dragging
region is calculated: Elements with -moz-window-dragging: no-drag will now always be
undraggable, even if they are overlapped by -moz-window-dragging: drag elements. That
way we can keep the region calculation simple and don't have to add code to respect
z-ordering.

--HG--
extra : commitid : GX3ApAyzKi7
extra : rebase_source : 61cab4e535c6c5da75fe79eb1886b6c5b7d136ea
extra : amend_source : 0f461782b8f65eca1009c2f6c192b5b80b908233
2016-01-27 11:58:33 +01:00
Phil Ringnalda
a39d6e46e4 Merge m-c to m-i 2016-01-30 09:43:42 -08:00
Phil Ringnalda
985ff5df04 Merge m-i to m-c, a=merge 2016-01-30 09:28:35 -08:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Mark Capella
1cccfbae8e Bug 1240286 - Deleting text with backspace causes the action bar to glitch, r=smaug, TYLin, jchen 2016-01-30 00:08:55 -05:00
Botond Ballo
00b092b742 Bug 1238571 - Async scroll reftest with scrolled container inside position:fixed element. r=mstange
--HG--
extra : amend_source : 7433e3df8b2f13d6f5f87d189997b208671e8a8b
2016-01-13 19:06:11 -05:00
Kartikaya Gupta
8ddb8a831b Bug 1242690 - Make sure that synthetic mouse events have a reasonable guid so that the callback transform can get unapplied properly. r=botond
--HG--
extra : commitid : mUihwmdWYX
2016-01-29 16:31:15 -05:00
Ting-Yu Lin
2f7ddb73d6 Bug 1227927 Part 4 - Add comment to nsFrameList::GetLength() to warn it's O(n). r=mats
--HG--
extra : commitid : H0nct5arwsJ
extra : rebase_source : c6810483931d49f730618815642e8a582c26e35f
2016-01-29 22:42:15 +08:00
Ting-Yu Lin
2d02ad0652 Bug 1227927 Part 3 - Use ranged-based for-loop to rewrite some simple loops in part 2. r=mats
--HG--
extra : commitid : CcdpGdlMNIk
extra : rebase_source : 9c184cb8107bf6276c237d03d240f8755fd61553
2016-01-29 22:42:15 +08:00