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

505554 Коммитов

Автор SHA1 Сообщение Дата
cku 09c56e6da6 Bug 1323912 - Part 2. Pass opacity down to imgIContainer::Draw. r=mstange
Each concrete class of imgIContainer is able to handle opacity already. All we
need to do is pass opacity value to them.

MozReview-Commit-ID: EMkLnG3YXA1

--HG--
extra : rebase_source : b0a0aad1fec0c2765e96d23ed9b627345c793795
2017-01-03 13:53:22 +08:00
cku 7ffd5790e1 Bug 1323912 - Part 1. Rename PaintBackground to PaintStyleImageLayer. r=mstange
MozReview-Commit-ID: GWuII34t0j7

--HG--
extra : rebase_source : 4b08672f76c57562b9ab46d6605611d99aa64cf0
2017-01-03 11:57:13 +08:00
Hiroyuki Ikezoe 0e03cf5f82 Bug 1328535 - Remove range-checking assertion for aDilutionRatio, in color animation code. r=dholbert
Some cubic-bezier functions, e.g. cubic-bezier(0,-0.5,0,0), produce values out
of range of [0, 1].

MozReview-Commit-ID: 9ZTsTRTcUaI

--HG--
extra : rebase_source : 7edf0c4d2702a502a9c0422be83ce7229751e815
2017-01-05 09:05:57 +09:00
Phil Ringnalda d105fd40fd Merge m-c to autoland 2017-01-04 19:01:49 -08:00
Iris Hsiao 53e5ead7ef Backed out changeset a44640701558 (bug 1323912) 2017-01-04 21:47:16 -05:00
Iris Hsiao c8e876e89c Backed out changeset c868ab532766 (bug 1323912) 2017-01-04 21:47:12 -05:00
Iris Hsiao f3fabb8956 Backed out changeset 71c136b30a4d (bug 1323912) 2017-01-04 21:47:08 -05:00
Iris Hsiao 6989ec2d7a Backed out changeset a2f133998adf (bug 1323912) 2017-01-04 21:47:05 -05:00
Iris Hsiao d569188dd7 Backed out changeset b3ad53915c5e (bug 1323912) 2017-01-04 21:47:01 -05:00
Iris Hsiao 5757a6b248 Backed out changeset 5de8385ec973 (bug 1323912) for bustage on OSX 2017-01-04 21:46:58 -05:00
Phil Ringnalda c83d1d7ce9 Merge m-i to m-c, a=merge
MozReview-Commit-ID: 51FMtH1yTe6
2017-01-04 18:33:32 -08:00
Wes Kocher ab53837a32 Backed out changeset a762568b0299 (bug 1328532) for clipboard bustage a=backout 2017-01-04 18:23:22 -08:00
Wes Kocher fb74e5d705 Backed out changeset e0378b0c798e (bug 1325801) for bustage a=backout 2017-01-04 18:21:32 -08:00
Dão Gottwald d6b3b14643 Bug 1322738 - Implement compact about:newtab tiles styling. r=gijs 2017-01-04 22:39:52 +01:00
Tom Schuster d08f86527e Bug 1328077 - Attach dense element hole IC even with zero dense elements. r=jandem,bhackett 2017-01-04 22:12:05 +01:00
Christoph Kerschbaumer 99eda5a50b Bug 1272594 - Remove special cookie policy handling within InternalRequest (r=bkelly) 2017-01-04 21:43:39 +01:00
Mats Palmgren 23f36915e8 Bug 1328095 - Reftest (also covers bug 1232194). 2017-01-04 21:35:19 +01:00
Mats Palmgren 51a67d7f24 Bug 1328095 - [writing-mode] Make JoinBoxesForVerticalSlice use logical coordinates (and rename it JoinBoxesForBlockAxisSlice accordingly). r=jfkthame 2017-01-04 21:35:19 +01:00
Boris Zbarsky e080ecc8e9 Bug 1298588 part 16. Remove StyleStructContext. r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky e95482db38 Bug 1298588 part 15, gecko piece. Rip out the initial() methods on style structs in stylo. r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky 85a6ca2630 Bug 1298588 part 10, gecko piece. Pass through useful default styles to apply_declarations(). r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky 99d2e96def Bug 1298588 part 9, gecko piece. Pass through useful default styles to cascade(). r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky eebd58fd31 Bug 1298588 part 7, gecko piece. Stop using initial_values in general in Gecko glue code. r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky bd53996269 Bug 1298588 part 6, gecko piece. Stop using initial_values when doing inheritance in Gecko glue code. r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky 9f8934b143 Bug 1298588 part 4, gecko piece. Recreate the default computed values for a document as needed. r=bholley 2017-01-04 14:52:27 -05:00
Boris Zbarsky 6104ba14f9 Bug 1298588 part 3, gecko piece. Add a default ComputedValues member to PerDocumentStyleData. r=bholley 2017-01-04 14:52:26 -05:00
Boris Zbarsky a3a6e58c68 Bug 1298588 part 2, gecko piece. Pass through an nsPresContext to the PerDocumentStyleData constructor. r=bholley 2017-01-04 14:52:26 -05:00
Boris Zbarsky d6ee8eb8a9 Bug 1298588 part 1. Make StyleStructContext work with a const nsPresContext. r=bholley 2017-01-04 14:52:26 -05:00
Boris Zbarsky 6d6f2704fc Bug 1326301. Put the global allocated by SimpleGlobalObject in the system zone, so we don't create tons of zones when we're converting JSON to dictionaries many times over. r=mccr8 2017-01-04 14:52:26 -05:00
Jim Chen a0b925e4e6 Bug 1319660 - 3. Add test for correctly adjusting last node in content iterator; r=masayuki
Add a test for the previous patch that makes sure querying selected text
in an edge case works correctly.
2017-01-04 14:46:10 -05:00
Jim Chen 7d16ef42f3 Bug 1319660 - 2. Use previous node instead of sibling when adjusting last node; r=masayuki r=smaug
nsContentIterator in pre mode adjusts its last node if the node is a
childless node like <br>. However, right now it's using GetPrevSibling,
which can lead to error in some edge cases such as:

<p></p><div><br></div>

In this case, if the last node is <br> with offset 0, GetPrevSibling
will return <p> because <p> is <br>'s parent's previous sibling, and the
last node will be set to <p>. However, the correct last node in this
case is <div>, because <br> with offset 0 refers to the position to the
left of <br>, which is <div> with offset 0. In this case, PrevNode
returns the correct <div> value, so we should set the last node to the
result of PrevNode.

For the first node, for a childless node in pre mode, GetNextSibling and
NextNode are the same, so there is no bug in this case. Nevertheless,
this patch changes the call to NextNode to be consistent with calling
PrevNode for the last node.
2017-01-04 14:46:10 -05:00
Jim Chen cdb5767ec4 Bug 1319660 - 1. Don't take shortcut if old replacement ranges don't match; r=esawin
The block at [1] is a shortcut we take when we reconcile Java text
changes with Gecko text changes. However, we only checked that the new
ranges are the same, i.e. that the new Gecko text is the same as the new
Java text. We should also be checking that the old ranges are the same,
i.e. that the replaced Gecko text is the same as the replaced Java text.

[1] https://dxr.mozilla.org/mozilla-central/rev/bbbd2f7539f224a482cc6d2dd10e6a5f31c8baf3/mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoEditable.java#1233
2017-01-04 14:46:10 -05:00
Lee Salzman 7267008bbf Bug 1309205 - part 3 - enable print_via_parent on Linux. r=bobowen
MozReview-Commit-ID: 7CX8ACMeNPa
2017-01-04 14:01:56 -05:00
Lee Salzman 3cff1c818b Bug 1309205 - part 2 - provide NativeFontResourceFontconfig so that print_via_parent works on Linux. r=jfkthame
MozReview-Commit-ID: 94XcLKgwTPq
2017-01-04 14:01:12 -05:00
Lee Salzman d5f91aa244 Bug 1309205 - part 1 - allow querying FT_Library from gfxPlatform so that Moz2d Factory can use it. r=jfkthame
MozReview-Commit-ID: 7kxseOOVvWi
2017-01-04 14:00:17 -05:00
Ehsan Akhgari 2877f826cb Bug 1328502 follow-up: Move the worker section out of job-defaults to make sure it doesn't apply to the Windows jobs
Landed on a CLOSED TREE
2017-01-04 13:22:07 -05:00
David Anderson 9560f318d9 Simplify calling SendUpdate/SendUpdateNoSwap. (bug 1325993, r=nical) 2017-01-04 12:58:58 -05:00
Ehsan Akhgari 7da8d19514 Bug 1328172 - Support downloading internal resources from tooltool in toolchain-script; r=dustin 2017-01-04 12:25:58 -05:00
Ehsan Akhgari 41aeee7a17 Bug 1328502 - Move the Windows static analysis builds to the static-analysis kind; r=dustin 2017-01-04 12:25:58 -05:00
Ehsan Akhgari 2ffc60ec46 Bug 1328457 - Link clang statically against the MSVCRT on Windows; r=mystor 2017-01-04 12:25:57 -05:00
cku e7cc649f98 Bug 1323912 - Part 6. Test cases. r=mstange
mask-opacity-1d.hmtl: vertify the change in Part 4. Before we land Part 4, the
rendering result in FF is not correct.
mask-opacity-1e.hmtl: vertify the change in Part 5.

MozReview-Commit-ID: GcbDCvr9ttF

--HG--
extra : rebase_source : 842616602e1511cfebd7db5294c3937a6adb50e2
2017-01-04 14:16:06 +08:00
Karl Tomlinson 9202053bc8 bug 1328352 set alpha component appropriately in operator over for -moz-field r=stransky+263117
MozReview-Commit-ID: AP9JfZTKDse

--HG--
extra : rebase_source : 1f92499b10d16670aa114a624c810846161ca386
2017-01-04 08:43:20 +13:00
cku 8c03e0e5d4 Bug 1323912 - Part 5. Apply opacity in mask layer painting path. r=mstange
MozReview-Commit-ID: HX2Tcum2smO

--HG--
extra : rebase_source : 8a28c67b898efbea304d71709c0fd13e25632032
2017-01-03 17:12:32 +08:00
cku 1aaf3f65d2 Bug 1323912 - Part 4. Apply opacity in indirect image mask painting path. r=mstange
MozReview-Commit-ID: IKKKMccyMsO

--HG--
extra : rebase_source : aaaf45dacac16fae7dc1a05529125b195de1b3cd
2017-01-03 16:35:17 +08:00
cku c834e9f24d Bug 1323912 - Part 3. Pass opacity in gradient-mask painting path. r=mstange
MozReview-Commit-ID: E2RdOHGoia8

--HG--
extra : rebase_source : 5242b694dc33121fc10fa1933a8168f0aa444723
2017-01-04 01:05:05 +08:00
cku adab9bea9f Bug 1323912 - Part 2. Pass opacity down to imgIContainer::Draw. r=mstange
Each concrete class of imgIContainer is able to handle opacity already. All we
need to do is pass opacity value to them.

MozReview-Commit-ID: EMkLnG3YXA1

--HG--
extra : rebase_source : 080a843b34cc1ca27831310d474243b4066f59f2
2017-01-03 13:53:22 +08:00
cku e36c492419 Bug 1323912 - Part 1. Rename PaintBackground to PaintStyleImageLayer. r=mstange
MozReview-Commit-ID: GWuII34t0j7

--HG--
extra : rebase_source : f74e9d242e2ef505790575cd12e0a58cc07ec44f
2017-01-03 11:57:13 +08:00
Daosheng Mu dbdc492881 Bug 1305873 - Upgrade Oculus SDK to 1.10.1; r=kip
MozReview-Commit-ID: 9eu2G2elvYM

--HG--
extra : rebase_source : d9afdc3cb01ac8974c5ee8eb151472bf1a1ee563
2017-01-03 17:01:49 +08:00
Xidorn Quan 97d13f46a3 Bug 1303241 part 2 - Make GetVisitedDependentColor use style structs directly. r=dbaron
I think there are three advantages of this change:
1. removes some dependencies from layout / painting code to pre-computed
   value stuff in the style system;
2. makes it easier to audit usage of specific fields in style structs
   (which is probably a side effect of the first one);
3. potentially improves performance since it doesn't go through the
   unnecessary general logic in ExtractComputedValue.

Also, combined with the part before, we get a unified list for visited-
dependent properties so that we can ensure the assertion here and the
style difference calc code are consistent.

MozReview-Commit-ID: 5B9aN7CfRgI

--HG--
extra : rebase_source : ac80eaea2474b9ec4b47b1cc9a5bdd2e61f6ec4d
2016-12-31 00:57:37 +11:00
Xidorn Quan 801cd27579 Bug 1303241 part 1 - Move visited-dependent style fields into a list file. r=dbaron
MozReview-Commit-ID: K4kc8ByNGoT

--HG--
extra : rebase_source : 0225be937ea2706ec43f56211550b966859afc8c
2017-01-05 11:22:36 +11:00