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

16209 Коммитов

Автор SHA1 Сообщение Дата
Xidorn Quan 131121fc77 Bug 1311598 part 3 - Add include ServoBindings.h to files need it. r=heycam
MozReview-Commit-ID: 3fI0bt4p8Jd

--HG--
extra : rebase_source : 86fa88f15183d1503c92044afca3e86649ec2523
extra : source : 5acc7cffb73234e2664c31f8283fa8a50f0be1b5
2016-10-24 20:16:46 +11:00
Jeremy Chen aee90be343 Bug 1286468 followup - Fix naming issues.
MozReview-Commit-ID: C2PDA4R5k5F
2016-10-24 15:01:25 +08:00
Adam Velebil e7dddd42f0 Bug 1312173 - Convert NS_STYLE_USER_INPUT_* to an enum class; r=manishearth,xidorn
MozReview-Commit-ID: sYiJrZryrA

--HG--
extra : rebase_source : dbb7bae56bea6203176097af8de119cae0a6391c
2016-10-23 00:08:18 +02:00
Jeremy Chen 349eabf2f7 Bug 1286468 - Rename line related functions in nsBlockFrame. r=TYLin
1. Rename these functions to agree with Mozilla coding style.
2. Use singular naming instead of plural naming since each of these functions
returns an iterator pointing to a singular line.
3. Rename line() and rline() to BeginLineFrom() and RBeginLineFrom(), which
shall improve the readability.

MozReview-Commit-ID: txZjVnv9Yb

--HG--
extra : rebase_source : b4dae99ab7bf751bd9974616f8f8e6dfe6248fc2
2016-10-22 19:41:05 +08:00
Jeremy Chen a670e3349a Bug 1286468 - Rename line related typedefs in nsBlockFrame. r=TYLin
MozReview-Commit-ID: Cz9R3D4NzMc

--HG--
extra : rebase_source : 19da1e2a58abedf61fddd9c8e314830cf81a4602
2016-10-22 19:41:04 +08:00
Markus Stange c143496596 Bug 1312130 - Remove nsDisplayMathMLCharBackground and use nsDisplayBackgroundColor / Image instead. r=mattwoodrow
MozReview-Commit-ID: 4htHnUIGyk3

--HG--
extra : rebase_source : d3959d1f8084c0ab73aa56d179a277ec1516ad4a
2016-10-21 21:13:28 -04:00
Markus Stange 0f52e39563 Bug 1312123 - Remove some unused display item types. r=mattwoodrow
MozReview-Commit-ID: 1gDkqppF4R2

--HG--
extra : rebase_source : 507a5362a882b9301ae8add1d6448e0c5a503780
2016-10-21 17:19:49 -04:00
Ryan VanderMeulen 75888fe1aa Merge autoland to m-c on a CLOSED TREE. a=merge 2016-10-21 17:12:27 -04:00
Ryan VanderMeulen 5c4d7020f2 Merge m-c to inbound. a=merge 2016-10-21 11:08:45 -04:00
Ting-Yu Lin 7c761e8be7 Bug 1309445 - Convert FrameConstructionItemList::mItems to use mozilla::LinkedList. r=dholbert
The major change to the Iterator is due to the fact that the end of a
LinkedList is represented by nullptr.

Also delete the type conversion functions which are no longer needed.

MozReview-Commit-ID: 2lYtFW9pSon

--HG--
extra : rebase_source : c822e937679e57a9f2d3ab034e5147fc3aea9e8e
2016-10-18 15:50:27 +08:00
Ting-Yu Lin a8da0f6a97 Bug 1311277 Part 3 - Use LinkedList's move assignment in FCItemIterator::AppendItemsToList. r=froydnj
MozReview-Commit-ID: LLF519q9gcG

--HG--
extra : rebase_source : 161f0583f6b3e9d61532f29bc68d9c78daa5d6cb
2016-10-19 13:56:12 +08:00
Jessica Jong 41f4e7423a Bug 1304761 - add contextmenu event to the delayed event queue if it's suppressed. r=smaug 2016-10-19 01:58:00 +02:00
Cameron McCormack 74fdb2a2bf Bug 1288302 - Part 5: Make nsStyleImage use nsStyleImageRequest. r=bholley
This makes background-image, mask-image and border-image settable
from Servo.

Since imgRequestProxy resolution in nsStyleImages can now happen later than
at computed value setting time, and that resolution can fail,
nsStyleImage::GetImageData() might now return null.  So all of the users of
nsStyleImage now null check its result.

MozReview-Commit-ID: FMRUrC3SfOs
2016-10-20 08:36:25 +08:00
Cameron McCormack 0387dc2875 Bug 1288302 - Part 2: Pass ImageTracker to style struct image tracking methods instead of nsPresContext. r=xidorn
MozReview-Commit-ID: AsGfXliHLRf
2016-10-20 08:36:16 +08:00
Kris Maglione a6c6580702 Bug 1294442: Part 1 - Allow calculating content size with constraints. r=smaug
MozReview-Commit-ID: 4AyootQ5icK

--HG--
extra : rebase_source : 8d2421263e7636c99cecd1f7cf9dda2da20be6f3
2016-10-19 13:10:18 -07:00
Neil Deakin 918a9cbcbe Bug 1301673, use css pixels for the drag region, add each rectangle to the clip region so that tree drag feedback in drawn properly, r=tn 2016-10-19 15:01:39 -04:00
Neil Deakin 68ac95182c Bug 1301673, use device pixels for the supplied drag position and the computed dragrectangle, r=tn 2016-10-19 15:01:39 -04:00
Xidorn Quan 3c3f76a8e1 Bug 1309868 part 2 - Use const nsIContent pointer in some layout utils. r=heycam
MozReview-Commit-ID: 5GMave4FS48

--HG--
extra : source : 60d203eaa11b53f14a8c3736498f991d8e3615b1
2016-10-18 15:29:03 +11:00
Carsten "Tomcat" Book d6850a3a86 merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
Andrea Marchesini 9215b7b957 Bug 1307122 - Introducing a timeout for sync XHR when unload events are dispatched, r=smaug 2016-10-16 08:46:10 +02:00
Jorg K 4bb58198d9 Bug 1263357 - When the caret is placed after visible line break, associate caret with frame on the next line instead. r=mats
--HG--
extra : amend_source : a0068b0c841189204e07cc6c0a19f83d5dac8da3
2016-10-14 14:21:00 -04:00
Dhanesh B. Sabane a2ef7b10a8 Bug 1308137 - Remove code around IBMBIDI_SUPPORTMODE_*. r=xidorn
MozReview-Commit-ID: 96g2DBfpfX9

--HG--
extra : rebase_source : e8a299ab8ca6af6e93cf29ab9351282076e2aa1d
2016-10-16 18:05:17 +05:30
Wes Kocher 727d0de706 Merge m-c to inbound, a=merge CLOSED TREE 2016-10-14 14:51:44 -07:00
stefanh@inbox.com 3a689f8b9a Bug 1192053 - Implement NS_THEME_MAC_SOURCE_LIST_SELECTION and NS_THEME_MAC_ACTIVE_SOURCE_LIST_SELECTION. r=mstange. 2016-10-14 22:45:29 +02:00
Stone Shih ba4920de67 Bug 1307707 - Part 2: [Pointer Event] Remove redundant member variable PointerCaptureInfo::mPrimaryState. r=masayuki
MozReview-Commit-ID: 4YoGKiAjxth

--HG--
extra : rebase_source : e742fd430b9e2203bbb82f43147bd7799fdac164
2016-10-14 10:16:39 +08:00
Stone Shih ad4a2218e7 Bug 1307707 - Part 1: [Pointer Event] Refine pointer events related codes with modern our style. r=masayuki
MozReview-Commit-ID: 1aRwP7FsiB0

--HG--
extra : rebase_source : 9b63b22c4356d02ce3ae49996cdb10e53b9ab43c
2016-10-05 15:16:02 +08:00
Hiroyuki Ikezoe 9df227139a Bug 1223658 - Part 8: Drop nsLayoutUtils::HasActiveAnimationOfProperty. r=birtles
MozReview-Commit-ID: 3uI5wQoviqK

--HG--
extra : rebase_source : a0e81fb9e33e33fd9eefa42b12d777ddfd418965
2016-10-14 19:14:12 +09:00
Hiroyuki Ikezoe ca0f6e0ff5 Bug 1223658 - Part 5: Send animations to compositor even though it's in delay phase. r=birtles
To send animations to compositor in the delay phase we need to
modify Animation::IsPlaying returning true in the delay phase.

Note about background-position-in-delay.html:
After this patch, background-position animation also creates an active layer
from its delay phase.

Also note about test cases in test_animations_omta.html:
After landing bug 1279071, getOMTAStyle() returns the style value only
specified by animations, also in this patch we don't apply any opacity or
transform values in the delay phase, as a result we can't tell animating
value during delay phase on the compositor.

MozReview-Commit-ID: ILYKig3c08d

--HG--
extra : rebase_source : 5715c1f9ec43da3c8374f08cdca82e2ca29fe474
2016-10-14 19:14:12 +09:00
Hiroyuki Ikezoe 949de6422d Bug 1223658 - Part 3: Consider fillMode in compositor thread as well. r=birtles
We need to consider fill mode in compositor thread as well as other properties
because pulling the animation back from the compositor thread is sometimes
delayed due to the main thread busyness.  In such situations, if there is
another animation running on the main thread on the same element, users can
easily notice a gap between both of animations.

MozReview-Commit-ID: 1i7YTWboira

--HG--
extra : rebase_source : 036ca7707d07200af7435e027607503cd03f547e
2016-10-14 19:14:11 +09:00
Hiroyuki Ikezoe d8ec730df8 Bug 1223658 - Part 2: Pass delay property to compositor. r=birtles
The check of negative elapsedDuration is basically no longer valid since
animation delay is not factored into start time any more.  But still we have
somtimes met negative elapsedDuration sice we use a previous vsync time stamp
for async animations to make the animations more sync.  This is not a problem
in most cases but makes two reftests intermitent failure because both of them
used steps(1, start), the steps(1, start) composed different results in the
before phase and in the active phase. To avoid this difference this patch
replace the steps(1, start) with steps(1, end).

Once we incorpolate playbackRate into GetCurrentOrPendingStartTime, we don't
need to call AnimationTimeToTimeStamp for deviding delay by playbackRate since
the time passed to AnimationTimeToTimeStamp does not contain delay any more.

MozReview-Commit-ID: IVE2IFfNgm0

--HG--
extra : rebase_source : 7cb42e57067c21451706bd89284016d996dc8b12
2016-10-14 19:14:01 +09:00
Carsten "Tomcat" Book b474cb6353 merge mozilla-inbound to mozilla-central a=merge 2016-10-14 11:59:12 +02:00
Kartikaya Gupta fa397ea897 Bug 1304689 - Ensure frame reconstructions don't clobber a 'stronger' scroll origin with a 'weaker' one. r=tnikkel
If, within a single refresh driver tick, the scroll position is updated by JS
explicitly, and then subsequently also updated by a frame reconstruction, the
scroll origin from the former (nsGkAtoms::other) can get clobbered by the latter
(to nsGkAtoms::restore). The restore scroll origin is "weaker" in that it can
be ignored by the APZ code in some circumstances. This is undesirable because
it means the JS scroll update also gets ignored. This patch ensures that when
setting the scroll origin we don't do this clobbering of stronger origins with
weaker origins.

MozReview-Commit-ID: DA4EHp1Debu

--HG--
extra : rebase_source : 99fd1f91698a605792b2a622450f1ff31bc89101
2016-10-11 09:36:22 -04:00
cku abdaa5d307 Bug 1309646 - Part 3. Use nsChangeHint_UpdateBackgroundPosition in position mask. r=mstange
MozReview-Commit-ID: CeLPAN8OdhF

--HG--
extra : rebase_source : cdd4808fe3b42a4cf6e610c8f106732744afe330
2016-10-13 18:35:35 +08:00
cku bba6d2557f Bug 1309646 - Part 2. Add TODO comment in nsCSSRendering::ComputeImageLayerPositioningArea. r=mstange
MozReview-Commit-ID: AX5LIKKDn92

--HG--
extra : rebase_source : 05784b2bf60df98bb633a60fd53923ee6aa1c628
2016-10-13 17:11:41 +08:00
cku e634bcc9b1 Bug 1309646 - Part 1. Narrow down the condition of invalid whole boundary. r=mstange
MozReview-Commit-ID: GWpSXAPcZAF

--HG--
extra : rebase_source : 919b694f365996d755232f47c59f16b3d06ada65
2016-10-13 16:12:24 +08:00
cku d0631c37d0 Bug 1309804 - Part 3. Fix trailing space. r=mstange
MozReview-Commit-ID: FNR08ApEG10

--HG--
extra : rebase_source : 8ea25f5554b4b32d0b7db5e52961b4228cd4d8d6
2016-10-13 15:40:47 +08:00
cku e4e5d0010d Bug 1309804 - Part 2. Split invalid region computation into nsDisplayMask & nsDisplayFilter. r=mstange
MozReview-Commit-ID: IOL7S2Y6Hhm

--HG--
extra : rebase_source : 3579f5280dbbbf8273b82b12a1b6454b712db46c
2016-10-13 15:36:48 +08:00
cku 2ecc9f55dc Bug 1309804 - Part 1. Rename nsDisplaySVGEffectsGeometry to nsDisplayMaskGeometry. r=mstange
MozReview-Commit-ID: 9RtT7kbMlbM

--HG--
extra : rebase_source : 9913549628fd0f140704f98c59510aa6526d274a
2016-10-13 15:14:50 +08:00
cku 0d557e384c Bug 1299715 - Part 6. Move ComputeMaskGeometry from nsSVGIntegrationUtils to nsDisplayMask. r=mstange
MozReview-Commit-ID: 4uLfaGDXGyE

--HG--
extra : rebase_source : f6a72f1067d32287e68b3cc7a84dd5a0c8384e1a
2016-10-11 13:12:00 +08:00
cku bedd15c17a Bug 1299715 - Part 3. Clip the target context by visible region of nsDisplayMask. r=mstange
MozReview-Commit-ID: HuqQBdY2M0O

--HG--
extra : rebase_source : c387c0b7745add2bb6bca185d2e7d91734d3e716
2016-10-07 11:47:45 +08:00
cku 2a0c6d5e7c Bug 1299715 - Part 2. Correct the value of nsDisplayMask::mVisibleRect. r=mstange
In nsDisplayItem::RecomputeVisibility, we compute and assign the value of
mVisibleRect base on the return value of nsDisplayMask::GetBounds.
Before this patch, the region of out-of-flow descendants is discarded.

MozReview-Commit-ID: JEeegiO1a6J

--HG--
extra : rebase_source : 0e66c0765d7eb7700592ab947c92a705a7281ea5
2016-10-06 17:53:19 +08:00
cku a73d4a3f35 Bug 1299715 - Part 1. Replace ContainerItemType::eSVGEffects by ContainerItemType::eFilter. r=mstange
MozReview-Commit-ID: 73mxBsY3W0p

--HG--
extra : rebase_source : 4f9ac3d5400584c7d892c56a7c8b6dbfeae8e42f
2016-10-05 23:23:40 +08:00
Sebastian Hengst f1659f19b4 Backed out changeset 221d9d15395f (bug 1299715) for failing reftest clipPath-and-mask-on-outflowElement-01a.html on Windows 8 x64. r=backout 2016-10-12 18:02:18 +02:00
Sebastian Hengst 162bba7f14 Backed out changeset aad315d1eb89 (bug 1299715) 2016-10-12 18:02:18 +02:00
Sebastian Hengst 39f37cfc06 Backed out changeset bf2428d58601 (bug 1299715) 2016-10-12 18:02:18 +02:00
Sebastian Hengst f984f3a888 Backed out changeset b91db6687d19 (bug 1299715) 2016-10-12 18:02:18 +02:00
Olli Pettay 97b9917978 Bug 1308459 - Rename RefreshDriver::PresContext() to hint about its behavior, r=tnikkel
--HG--
extra : rebase_source : 50cf1fd7f1ee052e182ae3fa84ce8648e46143cd
2016-10-12 14:27:38 +03:00
cku faa1874701 Bug 1299715 - Part 6. Move ComputeMaskGeometry from nsSVGIntegrationUtils to nsDisplayMask. r=mstange
MozReview-Commit-ID: 4uLfaGDXGyE

--HG--
extra : rebase_source : 136a87f3b23578d6a3a2cf95474463edb6a53708
2016-10-11 13:12:00 +08:00
cku 74299516a8 Bug 1299715 - Part 3. Clip the target context by visible region of nsDisplayMask. r=mstange
MozReview-Commit-ID: HuqQBdY2M0O

--HG--
extra : rebase_source : bd1bf1b7fbbd6dd660f9f8d1609e5c6c6c07a368
2016-10-07 11:47:45 +08:00
cku 5617bfd116 Bug 1299715 - Part 2. Correct the value of nsDisplayMask::mVisibleRect. r=mstange
In nsDisplayItem::RecomputeVisibility, we compute and assign the value of
mVisibleRect base on the return value of nsDisplayMask::GetBounds.
Before this patch, the region of out-of-flow descendants is discarded.

MozReview-Commit-ID: JEeegiO1a6J

--HG--
extra : rebase_source : 2adcf657f53983375ae67e5d99e1a55d563ec301
2016-10-06 17:53:19 +08:00