Xidorn Quan
8de7838e67
Bug 1326209 part 2 - Change background-color to use complex color. r=dholbert
...
MozReview-Commit-ID: 1n3TC3CVY7U
2016-12-30 02:03:29 +11:00
Ryan VanderMeulen
e2aa9b723c
Merge m-c to autoland. a=merge
2016-12-27 00:01:54 -05:00
Timothy Nikkel
0c57e03aee
Bug 1317562. Make style images use async image notifications when requesting decoding. r=aosmond
2016-12-25 00:18:08 -06:00
Jeremy Chen
9e2ea144ef
Bug 1328540 - convert NS_STYLE_HYPHENS_* to an enum class. r=xidorn
...
MozReview-Commit-ID: BwTzbA29Y3H
2017-01-04 23:55:16 +08:00
Cameron McCormack
6af3fcfa3f
Bug 1315155 - Part 2: Make nsStyleContentData use nsStyleImageRequest for images. r=xidorn
...
MozReview-Commit-ID: 80gQBdNrGq1
2016-10-21 08:14:56 +08:00
Cameron McCormack
b0bc3dd2b1
Bug 1315155 - Part 1: Encapsulate nsStyleContentData. r=xidorn
...
MozReview-Commit-ID: LfEMxyM5meF
2016-10-20 10:22:46 +08:00
Timothy Nikkel
2c127a3224
Bug 1325297. Create a variant of imgIContainer::StartDecoding that returns if the current image frame is complete. r=aosmond
...
During painting we do some image decoding, but we want to send the image progress notifications from that decoding async. The CSS image renderer checks if the image is complete before painting it. So if the decoding we did during painting resulted in the images becoming complete there is no way to tell that during the same paint. Thus making that decoding a waste of time.
So we add a limited way of telling if the result of a StartDecoding call has resulting in an image that is ready to paint so we can get that result during the same paint.
I would have prefered to change StartDecoding to just return a bool but that would have made the bool an outparam, which would make every StartDecoding call uglier with extra code. Changing it to a notxpcom function would have fixed that, but I'm not sure if that is safe.
2016-12-23 01:07:45 -06:00
cku
b00f9ec88d
Bug 1311270 - Part 3. Replace {bg|mask}-origin/{bg|mask}-clip constants by StyleGeometryBox.
...
MozReview-Commit-ID: DYokhDa9fFQ
2016-11-22 15:30:01 +08:00
Xidorn Quan
7749bec582
Bug 1063162 part 2 - Implement caret-color property. r=dholbert
...
MozReview-Commit-ID: DH7CX1d477R
2016-12-22 11:04:15 +11:00
Robert Longson
29661e49d9
Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
2016-12-18 11:11:47 +00:00
Sebastian Hengst
35ac5ad5d2
Backed out changeset 0b44e8715bf5 (bug 1239100) for build bustage (SVGGeometryElement.webidl missing). r=backout
2016-12-18 11:42:51 +01:00
Robert Longson
7691b0761b
Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
2016-12-18 09:54:02 +00:00
Daniel Holbert
c4fc8bad5f
Bug 1321495 part 2: Add needed "using namespace" declarations to several .cpp files in layout/style, to preemptively fix unified-build bustage. r=TYLin
...
MozReview-Commit-ID: 5p6DhiZ5YFg
2016-12-01 10:37:44 -08:00
Jeremy Chen
d5f515435d
Bug 1320239 - use nscoord instead of nsStyleCoord for outline-width. r=heycam
...
MozReview-Commit-ID: CaM12OvYeSW
2016-11-29 20:08:08 +08:00
Jeremy Chen
bf66a904c1
Bug 1320239 - use nscoord instead of nsStyleCoord for -webkit-text-stroke-width. r=heycam
...
MozReview-Commit-ID: 94fL7YgZqCl
2016-11-29 20:08:08 +08:00
Thomas Wisniewski
11bbab08f4
Bug 943918 - Part 1: style system support for tab-size:<length> and tab-size:<number>. r=heycam
2016-11-24 23:23:14 -05:00
Sebastian Hengst
522acb2d7f
Backed out changeset 8a6c538cf61a (bug 943918) for failing own test tab-size-length.html on at least Windows 8 x64 opt+debug and OS X debug. r=backout
2016-11-28 00:41:19 +01:00
Thomas Wisniewski
1b2eecfd95
Bug 943918 - Part 1: style system support for tab-size:<length> and tab-size:<number>. r=heycam
2016-11-24 23:23:14 -05:00
Sebastian Hengst
366269838f
Backed out changeset 39e0069c673e (bug 1317562) for failing reftest 368020-1.html on OS X and Windows. r=backout
2016-11-27 14:07:18 +01:00
Timothy Nikkel
d4b22f4a5c
Bug 1317562. Make style images use async image notifications when requesting decoding. r=aosmond
2016-11-27 01:33:02 -06:00
Timothy Nikkel
9a90c8dd14
Bug 1317562. Allow flags to be passed to StartDecoding for the sole purpose of allowing async notifications to be requested. r=aosmond
2016-11-26 01:56:26 -06:00
Cameron McCormack
bd52701fdf
Bug 1310560 - Part 2: Remove unused EqualImages and EqualURIs functions. r=xidorn
...
MozReview-Commit-ID: 28nyrNMcxXq
2016-11-21 14:34:15 +08:00
Cameron McCormack
317693f39e
Bug 1310560 - Part 1: Make cursor use nsStyleImageRequest for url() value storage. r=xidorn
...
MozReview-Commit-ID: JU76TS3kxbz
2016-11-21 14:34:11 +08:00
cku
58b049d0de
Bug 1234485 - Part 6. Implement nsStyleImageLayers::operator=. r=mstange
...
nsStyleImageLayers::operator= is required by the next patch.
MozReview-Commit-ID: CE1j2qW9TIY
2016-11-07 22:32:15 +08:00
Cameron McCormack
16d1855f49
Bug 1310463 - Part 1: Make list-style-image use nsStyleImageRequest for storage. r=xidorn
...
MozReview-Commit-ID: ENTo2HNbBpN
* * *
[mq]: x
MozReview-Commit-ID: 2SNJ4bXYpTH
2016-11-03 09:40:53 +08:00
Cameron McCormack
b302cfb7d3
Bug 1288302 - Part 5.1: Merge Track and Lock flags so we don't set them together. r=xidorn
...
MozReview-Commit-ID: ASSWXvsczvc
2016-11-02 16:58:32 +08:00
Cameron McCormack
17a4006815
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-11-02 16:58:32 +08:00
Cameron McCormack
f2c884af9b
Bug 1288302 - Part 3: Add nsStyleImageRequest. r=xidorn,bholley
...
MozReview-Commit-ID: F763Dv0Nfzp
2016-11-02 16:58:31 +08:00
Cameron McCormack
65a2feb563
Bug 1288302 - Part 2: Pass ImageTracker to style struct image tracking methods instead of nsPresContext. r=xidorn
...
MozReview-Commit-ID: AsGfXliHLRf
2016-11-02 16:58:31 +08:00
Cameron McCormack
5d59a3458e
Merge backout.
2016-11-01 08:43:23 +08:00
Cameron McCormack
1fc3436c96
Back out a0488e9c0024..5ebcedea1fa5 (bug 1288302 and bug 1310463) for Talos RSS regressions.
...
MozReview-Commit-ID: JB5uwDeO0We
2016-11-01 08:42:49 +08:00
Cameron McCormack
01a9551268
Backed out changeset 288d92c34790 (bug 1311921) for being an inadequate Talos regression fix.
...
MozReview-Commit-ID: DMQ4Hibdm6h
2016-11-01 08:33:26 +08:00
Cameron McCormack
9716f55b56
Bug 1310463 - Part 1: Make list-style-image use nsStyleImageRequest for storage. r=xidorn
...
MozReview-Commit-ID: ENTo2HNbBpN
---
layout/style/nsRuleNode.cpp | 8 ++++----
layout/style/nsStyleStruct.cpp | 15 +++++++++++++--
layout/style/nsStyleStruct.h | 18 ++++++------------
3 files changed, 23 insertions(+), 18 deletions(-)
2016-10-20 08:53:45 +08:00
Cameron McCormack
b874e422c9
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
b2af7454a9
Bug 1288302 - Part 3: Add nsStyleImageRequest. r=xidorn,bholley
...
MozReview-Commit-ID: F763Dv0Nfzp
2016-10-20 08:36:21 +08:00
Cameron McCormack
3f9607e7d4
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
Adam Velebil
72138e6b9f
Bug 1313565 - Convert NS_STYLE_ORIENT_* to enum class ; r=manishearth,xidorn
...
MozReview-Commit-ID: LHT6Aa2ojlf
2016-10-28 06:17:20 +02:00
Adam Velebil
76d136e726
Bug 1313565 - Convert NS_STYLE_WINDOW_DRAGGING_* to enum class ; r=manishearth,xidorn
...
MozReview-Commit-ID: 7I7Z4q7mLtC
2016-10-29 10:51:05 +02:00
Adam Velebil
8425f11c26
Bug 1313565 - Convert NS_STYLE_USER_MODIFY_* to enum class ; r=manishearth,xidorn
...
MozReview-Commit-ID: IA4bGLgRxd6
2016-10-23 22:41:49 +02:00
Cameron McCormack
be15f6f37d
Bug 1311921 - Store base and relative URIs explicitly in nsStyleImageRequests for comparison purposes, rather than use css::ImageValues. r=bholley
...
MozReview-Commit-ID: 5aArKCI7Rhx
2016-10-28 14:34:33 +08:00
cku
8e3d719b1c
Bug 1309646 - Part 3. Use nsChangeHint_UpdateBackgroundPosition in position mask. r=mstange
...
MozReview-Commit-ID: CeLPAN8OdhF
2016-10-13 18:35:35 +08:00
L. David Baron
532b9389f2
Bug 1307853 - Set inline-resize flag when the content-box size is changing (in addition to border-box). r=mats
...
MozReview-Commit-ID: FjUwuQB8g5j
2016-10-13 11:41:52 -07:00
Ting-Yu Lin
4d21b059b4
Bug 1309813 - Reland list-initialization for array. r=heycam
...
This effectively reverts this patch.
https://hg.mozilla.org/mozilla-central/rev/cf209d9bc29c
MozReview-Commit-ID: GQSvTiKvoaC
2016-10-13 03:33:00 +08:00
Cameron McCormack
92e70f0cf6
Bug 1309082 - Part 2: Rename some ImageTracker members. r=bholley
...
MozReview-Commit-ID: 6yOIKKl8npT
2016-10-13 15:04:19 +08:00
Cameron McCormack
a8ce0e16c4
Bug 1309082 - Part 1: Extract image tracking from nsDocument into a separate, refcounted object. r=bholley
...
This is refcounted as we'll need to hold strong references to the ImageTracker
from style structs that load images.
MozReview-Commit-ID: 994gE9tOjAn
2016-10-13 15:04:15 +08:00
cku
dcd73f0282
Bug 1308963 - Part 3. Set initial value of mask-position as (0, 0). r=xidorn
...
MozReview-Commit-ID: DN7q6FrGEMA
2016-10-13 23:13:11 +08:00
cku
42b203b91b
Bug 1308963 - Part 1. Set initial value of mask-repeat as repeat. r=xidorn
...
MozReview-Commit-ID: 8VrPiEyKF4n
2016-10-13 22:57:10 +08:00
Cameron McCormack
a9fde7344c
Bug 1298774 - Part 9: Remove FragmentOrURL. r=cjku
...
MozReview-Commit-ID: Du10tRgKtQ4
2016-10-11 14:56:12 +08:00
Cameron McCormack
433830e46c
Bug 1298774 - Part 8: Make mask-image use css::URLValueData for url() storage instead of FragmentOrURL. r=cjku
...
MozReview-Commit-ID: 2Xm3IP3SXK0
2016-10-11 14:56:12 +08:00
Cameron McCormack
1a1523e02c
Bug 1298774 - Part 7: Make nsStyleFilter use css::URLValue for url() storage instead of FragmentOrURL. r=cjku
...
MozReview-Commit-ID: FyhH9QG9vYq
2016-10-11 14:56:12 +08:00