Carsten "Tomcat" Book
c30b03e2f0
Merge mozilla-central to autoland
2017-01-16 16:45:16 +01:00
Jesse Ruderman
0b542426f1
Bug 606914 - Add a crashtest.
2017-01-16 02:09:21 +01:00
Jesse Ruderman
0401f89b1c
Bug 743469 - Add a crashtest.
2017-01-16 02:09:21 +01:00
cku
d476a5e983
Bug 1325865 - Part 1. Remove double transform. r=longsonr+218550
...
For an SVG container element(such as g/svg etc) used in mask, we apply
transform of it twice:
1. The first time is in nsSVGMaskFrame::GetMaskForMaskedFrame. We apply
transform by eAllTransforms(= eUserSpaceToParent + eChildToUserSpace)
2. The second time is in nsSVGDisplayContainerFrame::PaintSVG. We apply
transform by eChildToUserSpace
So, totally we apply 1 * eUserSpaceToParent + 2 * eChildToUserSpace. This
patch is trying to remove this one extra eChildToUserSpace.
MozReview-Commit-ID: 2pQCsrCIPNA
--HG--
extra : rebase_source : 27fe1648eb80d9c4d5111bbaec7ec38d80a0a8ac
2017-01-13 17:02:09 +08:00
Ting-Yu Lin
d5f5d96923
Bug 1311244 Part 4 - Extract the computation of circle radius as ComputeCircleRadius(). r=dbaron
...
MozReview-Commit-ID: LJNvNOoc7FI
--HG--
extra : rebase_source : 5dd6118f6e8e1605e89773b3b1e2bcbfa7704fd6
2017-01-06 16:36:05 +08:00
Ting-Yu Lin
9e79cb96f5
Bug 1311244 Part 3 - Extract the computation of center as ComputeCircleOrEllipseCenter(). r=dbaron
...
MozReview-Commit-ID: A6OTJ9PD43c
--HG--
extra : rebase_source : bcb53b7a0a966e2931c74db475ee8b7573354792
2017-01-06 16:35:53 +08:00
Ting-Yu Lin
0f4ae7069c
Bug 1311244 Part 2 - Create ShapeUtils, and move EnumerationToLength into it. r=dbaron
...
More functions in nsCSSClipPathInstance will be refactored and moved into
ShapeUtils in subsequent patches.
MozReview-Commit-ID: LmJUevY8YGr
--HG--
extra : rebase_source : 8888fa26fab541d06a3fccad9e4376bb3a66c043
2017-01-06 16:35:29 +08:00
Ting-Yu Lin
a080cb68d1
Bug 1311244 Part 1 - Use nsPoint type for center in nsCSSClipPathInstance. r=dbaron
...
|center| should be of nsPoint type since all the arguments of
ComputeObjectAnchorPoint() uses nsPoint and nsSize. We should only convert
center to Point (which is an an UnknownUnits type) for APIs requiring Point
type.
MozReview-Commit-ID: EDrQGPUZp6m
--HG--
extra : rebase_source : a5494f969dcb08c139af076e95584502f46f0b9e
2017-01-06 16:35:00 +08:00
cku
2ccbd7a896
Bug 1325038 - Part 1. Correct assertion logic. r=heycam
...
In the test case of bug 1324809:
1. A span is been broken into two continuation frames: FA and FB. FA is the first
connituation
2. Adding a filter effect to this span.
3. FA::FinishAndStoreOverflow is called. This function will call ComputeEffect:
if (nsSVGIntegrationUtils::UsingEffectsForFrame(aFrame)) {
aFrame->Properties().
Set(nsIFrame::PreEffectsBBoxProperty(), new nsRect(r)); // Now FA has
// PreEffectsBBoxProperty
// but FB does not
// have yet.
// ComputePostEffectsVisualOverflowRect will iterate all continuations from
// FA to FB. At this moment, FB does not carry PreEffectsBBoxProperty,
// assertion failure.
r = nsSVGIntegrationUtils::ComputePostEffectsVisualOverflowRect(aFrame, r);
}
4. FB::FinishAndStoreOverflow is called. But already too late.
MozReview-Commit-ID: 2c8OFzSLhfD
***
merge
MozReview-Commit-ID: C0lYQkKCYT6
--HG--
extra : rebase_source : d4777d5b60c9df78fd2ee1d734649b76579644c3
2017-01-12 16:38:48 +08:00
Carsten "Tomcat" Book
a03a61eaaa
Backed out changeset ad8e7493c933 (bug 1311244)
2017-01-12 14:19:28 +01:00
Carsten "Tomcat" Book
9ced0d536f
Backed out changeset d523b9c7c0bb (bug 1311244)
2017-01-12 14:19:26 +01:00
Carsten "Tomcat" Book
ee7d4daa84
Backed out changeset 61d064c78aa2 (bug 1311244)
2017-01-12 14:19:24 +01:00
Carsten "Tomcat" Book
5b0976bcc2
Backed out changeset b1d7a47b0c70 (bug 1311244)
2017-01-12 14:19:23 +01:00
Ting-Yu Lin
8b267972a6
Bug 1311244 Part 4 - Extract the computation of circle radius as ComputeCircleRadius(). r=dbaron
...
MozReview-Commit-ID: LJNvNOoc7FI
--HG--
extra : rebase_source : 5dd6118f6e8e1605e89773b3b1e2bcbfa7704fd6
2017-01-06 16:36:05 +08:00
Ting-Yu Lin
74706308e7
Bug 1311244 Part 3 - Extract the computation of center as ComputeCircleOrEllipseCenter(). r=dbaron
...
MozReview-Commit-ID: A6OTJ9PD43c
--HG--
extra : rebase_source : bcb53b7a0a966e2931c74db475ee8b7573354792
2017-01-06 16:35:53 +08:00
Ting-Yu Lin
2b3505661e
Bug 1311244 Part 2 - Create ShapeUtils, and move EnumerationToLength into it. r=dbaron
...
More functions in nsCSSClipPathInstance will be refactored and moved into
ShapeUtils in subsequent patches.
MozReview-Commit-ID: LmJUevY8YGr
--HG--
extra : rebase_source : 8888fa26fab541d06a3fccad9e4376bb3a66c043
2017-01-06 16:35:29 +08:00
Ting-Yu Lin
3f796f8016
Bug 1311244 Part 1 - Use nsPoint type for center in nsCSSClipPathInstance. r=dbaron
...
|center| should be of nsPoint type since all the arguments of
ComputeObjectAnchorPoint() uses nsPoint and nsSize. We should only convert
center to Point (which is an an UnknownUnits type) for APIs requiring Point
type.
MozReview-Commit-ID: EDrQGPUZp6m
--HG--
extra : rebase_source : a5494f969dcb08c139af076e95584502f46f0b9e
2017-01-06 16:35:00 +08:00
Cameron McCormack
9f99f387ac
Bug 1324663 - stylo: Adjust expectations now that we've disabled style context tree structure assertions. r=me
...
MozReview-Commit-ID: EORVNMWW7gu
2017-01-11 20:35:12 +08:00
cku
1d2f5b0218
Bug 1330286 - Part 1. Replace CAIRO draw target by platfrom specific target. r=mstange
...
MozReview-Commit-ID: LPOCgUxIONb
--HG--
extra : rebase_source : 89326ea1cb5e65bc36993696c1c2feaecfc36dc5
2017-01-11 18:14:16 +08:00
Iris Hsiao
0d0bc16680
Backed out changeset e54b0201b200 (bug 1330286)
2017-01-16 16:28:43 +08:00
cku
133f456101
Bug 1330286 - Part 1. Replace CAIRO draw target by platfrom specific target. r=mstange
...
MozReview-Commit-ID: LPOCgUxIONb
--HG--
extra : rebase_source : 595ddd92a259bbfb737f0c6fd92a9e376db536c2
2017-01-11 18:14:16 +08:00
Jonathan Kingston
91e141995c
Bug 1216893 - Add in disabled namespace for SVG r=hsivonen,smaug
...
MozReview-Commit-ID: 7Gum6wazraS
--HG--
extra : rebase_source : a2348710908e160cb09e48f15adfb50cd485f151
2016-12-01 07:41:22 +00:00
Cameron McCormack
9560e97767
Bug 1323665 - Part 2: Allow StyleSheet.disabled CSSOM access to disable/enable a ServoStyleSheet. r=xidorn
...
Now that bug 1290209 has landed, we can make StyleSheet.disabled work in Servo
styled documents. This fixes a bunch of test crashes due to the assertion no
longer firing.
MozReview-Commit-ID: 6sLrdrxWlvK
--HG--
extra : rebase_source : cf8ab29f98fbba6be837a38ffe2a03ed9b33b701
2017-01-09 17:44:30 +08:00
Phil Ringnalda
a52a0f5571
Backed out 8 changesets (bug 1311244) for OOM failures in Win7 debug R1
...
Backed out changeset d5411799a28f (bug 1311244)
Backed out changeset ff9c71e1dbc8 (bug 1311244)
Backed out changeset 96988ec5b81c (bug 1311244)
Backed out changeset 9d257713833a (bug 1311244)
Backed out changeset 2c33905ccb04 (bug 1311244)
Backed out changeset 20148e33d523 (bug 1311244)
Backed out changeset f36cd1532fdb (bug 1311244)
Backed out changeset 2ee4ea83a6b4 (bug 1311244)
2017-01-08 21:11:25 -08:00
Ting-Yu Lin
b78b4d97c4
Bug 1311244 Part 4 - Extract the computation of circle radius as ComputeCircleRadius(). r=dbaron
...
MozReview-Commit-ID: LJNvNOoc7FI
--HG--
extra : rebase_source : 1dd13c1727c2c31aad80995dcd4edaecf77819da
2017-01-06 16:36:05 +08:00
Ting-Yu Lin
93b5370abd
Bug 1311244 Part 3 - Extract the computation of center as ComputeCircleOrEllipseCenter(). r=dbaron
...
MozReview-Commit-ID: A6OTJ9PD43c
--HG--
extra : rebase_source : c8b16ffaaf00c4ed3ec722d7502262005e9e21ec
2017-01-06 16:35:53 +08:00
Ting-Yu Lin
e42b15fcf6
Bug 1311244 Part 2 - Create ShapeUtils, and move EnumerationToLength into it. r=dbaron
...
More functions in nsCSSClipPathInstance will be refactored and moved into
ShapeUtils in subsequent patches.
MozReview-Commit-ID: LmJUevY8YGr
--HG--
extra : rebase_source : 7cbfe60fec65833db3c7b7d7e9f3157b49b777eb
2017-01-06 16:35:29 +08:00
Ting-Yu Lin
8cddb87ec2
Bug 1311244 Part 1 - Use nsPoint type for center in nsCSSClipPathInstance. r=dbaron
...
|center| should be of nsPoint type since all the arguments of
ComputeObjectAnchorPoint() uses nsPoint and nsSize. We should only convert
center to Point (which is an an UnknownUnits type) for APIs requiring Point
type.
MozReview-Commit-ID: EDrQGPUZp6m
--HG--
extra : rebase_source : 813b8cb203752e6c63b0a405473f7d0cd9dbc3e6
2017-01-06 16:35:00 +08:00
cku
8ed218233f
Bug 1323912 - Part 5. Apply opacity in mask layer painting path. r=mstange
...
MozReview-Commit-ID: HX2Tcum2smO
--HG--
extra : rebase_source : 2c2f96aa28e21f79b5fafe12fac8daa3fe89eb21
2017-01-03 17:12:32 +08:00
cku
b10b619355
Bug 1323912 - Part 4. Apply opacity in indirect image mask painting path. r=mstange
...
MozReview-Commit-ID: IKKKMccyMsO
--HG--
extra : rebase_source : 701d84e241ba36aeaa30b8d9946c79515969ae95
2017-01-03 16:35:17 +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
Iris Hsiao
53e5ead7ef
Backed out changeset a44640701558 (bug 1323912)
2017-01-04 21:47:16 -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
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
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
cku
ccf62e0161
Bug 1324174 - Simplify context management logic in nsSVGIntegrationUtils::PaintMask. r=mstange
...
MozReview-Commit-ID: BwPSFlfqN8e
--HG--
extra : rebase_source : b16bad5f5baee1a469237b72ea6a23c341ebdb25
2016-12-30 02:07:04 +08:00
cku
706f1d717e
Bug 1314001 - (followup) give different color to different kind of mask. r=me
...
MozReview-Commit-ID: 5NtefGdSrUT
--HG--
extra : rebase_source : 2f1cbf149e6baa42829c6f50cb81c682865e2e81
2016-12-30 03:35:36 +08:00
Phil Ringnalda
419cda6127
Backed out changeset 6a9a6e524a7b (bug 1314001) for Windows -werror bustage
...
MozReview-Commit-ID: Gzhx80yqTnG
2016-12-28 22:00:49 -08:00
cku
50446c645c
Bug 1314001 - (followup) give different color to different kind of mask. r=me
...
MozReview-Commit-ID: Ko9MyTzMhL2
2016-12-29 11:36:39 +08:00
Wes Kocher
e28b562783
Merge m-c to inbound, a=merge
...
MozReview-Commit-ID: 3HW7YWDqTBQ
2016-12-23 14:40:42 -08:00
cku
df51b78be9
Bug 1313276
- Part 2. Add comment for bug 1323912. r=mstange
...
MozReview-Commit-ID: CetQxWIr1sq
--HG--
extra : rebase_source : c5941bdbd076197b13f2474160b67b9923048974
extra : source : d306c622c34e8290dc22212928eed6e817f0c182
2016-12-16 12:52:21 +08:00
cku
bedd21d45a
Bug 1313276
- Part 1. Draw clip-path-basic-shape onto mask layer. r=mstange
...
MozReview-Commit-ID: ICZiy84AFfi
--HG--
extra : rebase_source : 6a181c3d76d525b35bf3eae07c8f40cb9e1f2d95
extra : source : 9fe78d3eab3725c5838acf705843694c69197e05
2016-12-16 10:56:07 +08:00
Sebastian Hengst
8b13894203
Backed out changeset d539253e91ae (bug 1313276
) for failing own test paint-on-maskLayer-1c.html on Android debug. r=backout
2016-12-22 20:16:20 +01:00
Sebastian Hengst
dc41e31e4c
Backed out changeset d90a8fc45b74 (bug 1313276
)
2016-12-22 20:15:40 +01:00
cku
8abbd30968
Bug 1313276
- Part 2. Add comment for bug 1323912. r=mstange
...
MozReview-Commit-ID: CetQxWIr1sq
--HG--
extra : rebase_source : 64d7bde4138773f7923166db7120fe4683d357bc
extra : source : d306c622c34e8290dc22212928eed6e817f0c182
2016-12-16 12:52:21 +08:00
cku
f2114f97f8
Bug 1313276
- Part 1. Draw clip-path-basic-shape onto mask layer. r=mstange
...
MozReview-Commit-ID: ICZiy84AFfi
--HG--
extra : rebase_source : 9862f64480946e08edaa9157f26f7e82fc8ea5a8
extra : source : 9fe78d3eab3725c5838acf705843694c69197e05
2016-12-16 10:56:07 +08:00
Robert Longson
89c77adf8e
Bug 1325487 - Improve SVGContentUtils::ComputeNormalizedHypotenuse and use it more r=dholbert
2016-12-23 17:28:13 +00:00
cku
e7a4b94286
Bug 1311270 - Part 1. Move geomery box computing from nsCSSClipPathInstance to nsLayoutUtils.
...
Simply move ComputeHTMLReferenceRect and ComputeSVGReferenceRect from
nsCSSClipPathInstance to nsLayoutUtils to reuse the code in both clip-path and
mask.
MozReview-Commit-ID: 59LofAeEhKQ
--HG--
extra : rebase_source : d974c7e2170a43242ae839c34ae5cef946d4264a
2016-11-22 11:19:11 +08:00
Ting-Yu Lin
6c29f00e11
Bug 1325006 Part 2 - Convert NS_RADIUS_* to StyleShapeRadius enum class. r=heycam
...
The "default" case in EnumerationToLength() is not needed anymore because
StyleShapeRadius is an enum class, which cannot have other values.
MozReview-Commit-ID: GHkPAXXxqGZ
--HG--
extra : rebase_source : 8bc51d6f21cd70688d3b968bcd0a5ef12a6e3f47
2016-12-03 16:13:49 +08:00
Ting-Yu Lin
3251aeb9dd
Bug 1324713 - Fix integer overflow in CreateClipPathCircle(). r=dholbert
...
Before this patch, we did a sum-of-squares operation with nscoord variables,
which could overflow (to a negative value), and that would then produce NaN
when sqrt()'ed. We'll now avoid this by using 'double' variables & NS_hypot.
Without this patch, clip-path-circle-021.html will be rendered as a
rectangle.
MozReview-Commit-ID: 70xNvDdHUJc
--HG--
extra : rebase_source : 5d1d7eb788de9bde7bcc0dddbfc8a808fa40bea2
2016-12-20 15:54:18 +08:00
Carsten "Tomcat" Book
d1a09e06c8
Merge mozilla-central to autoland
2016-12-21 17:07:24 +01:00
Carsten "Tomcat" Book
e8b62ac15b
merge mozilla-inbound to mozilla-central a=merge
2016-12-21 16:57:08 +01:00
Cameron McCormack
d4d8ba1d5f
Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
...
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
cku
d25e2f154e
Bug 1324809 - Part 1. Fix wrong clip region while painting filter. r=mstange
...
MozReview-Commit-ID: Cqjo7VwtnlK
--HG--
extra : rebase_source : 0473eb6a9297d0cf0dee3e2e7b1e5f1ac8740bb1
2016-12-21 16:21:23 +08:00
cku
b8109179f1
Bug 1318266 - Part 1. Paint trivial clip-path onto mask layer. r=mstange
...
MozReview-Commit-ID: G2ghy7qGf5N
--HG--
extra : rebase_source : 3e090928ccc9ac58533162634f1269f76aba9131
2016-11-04 15:33:38 +08:00
Wes Kocher
aaaaf4e40c
Backed out 5 changesets (bug 1318266) for clipboard leaks a=backout
...
Backed out changeset a6d9ee58afd9 (bug 1318266)
Backed out changeset 47b22189955a (bug 1318266)
Backed out changeset 936cc01602c4 (bug 1318266)
Backed out changeset 95d7547ad1c3 (bug 1318266)
Backed out changeset a4c80aed15d8 (bug 1318266)
2016-12-20 11:30:26 -08:00
cku
baf48e8a2b
Bug 1318266 - Part 1. Paint trivial clip-path onto mask layer. r=mstange
...
MozReview-Commit-ID: G2ghy7qGf5N
--HG--
extra : rebase_source : b8e0c64cf251f09139cbd12c5e391daf4d0c949c
2016-11-04 15:33:38 +08:00
Iris Hsiao
e566e8864d
Backed out changeset b3eaebda3d9d (bug 1318266)
2016-12-19 16:17:22 +08:00
cku
5ba953493d
Bug 1318266 - Part 1. Paint trivial clip-path onto mask layer. r=mstange
...
MozReview-Commit-ID: G2ghy7qGf5N
--HG--
extra : rebase_source : 82443b6ac28d1afe93c376485368edbd141fa1d4
2016-11-04 15:33:38 +08:00
Phil Ringnalda
a6a339991d
Merge m-i to m-c, a=merge
...
MozReview-Commit-ID: DIIe4uRVqAO
2016-12-18 20:22:37 -08:00
Robert Longson
1bae76206e
Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
...
--HG--
rename : dom/svg/nsSVGPathGeometryElement.cpp => dom/svg/SVGGeometryElement.cpp
rename : dom/svg/nsSVGPathGeometryElement.h => dom/svg/SVGGeometryElement.h
rename : dom/svg/nsSVGPolyElement.cpp => dom/svg/SVGPolyElement.cpp
rename : dom/svg/nsSVGPolyElement.h => dom/svg/SVGPolyElement.h
rename : layout/svg/nsSVGPathGeometryFrame.cpp => layout/svg/SVGGeometryFrame.cpp
rename : layout/svg/nsSVGPathGeometryFrame.h => layout/svg/SVGGeometryFrame.h
2016-12-18 11:11:47 +00:00
Sebastian Hengst
cdeb642a1b
Backed out changeset 0b44e8715bf5 (bug 1239100) for build bustage (SVGGeometryElement.webidl missing). r=backout
...
--HG--
rename : dom/svg/SVGGeometryElement.cpp => dom/svg/nsSVGPathGeometryElement.cpp
rename : dom/svg/SVGGeometryElement.h => dom/svg/nsSVGPathGeometryElement.h
rename : dom/svg/SVGPolyElement.cpp => dom/svg/nsSVGPolyElement.cpp
rename : dom/svg/SVGPolyElement.h => dom/svg/nsSVGPolyElement.h
rename : layout/svg/SVGGeometryFrame.cpp => layout/svg/nsSVGPathGeometryFrame.cpp
rename : layout/svg/SVGGeometryFrame.h => layout/svg/nsSVGPathGeometryFrame.h
2016-12-18 11:42:51 +01:00
Robert Longson
783bfbb1e4
Bug 1239100 - Implement SVGGeometryElement interface. r=cam r=peterv
...
--HG--
rename : dom/svg/nsSVGPathGeometryElement.cpp => dom/svg/SVGGeometryElement.cpp
rename : dom/svg/nsSVGPathGeometryElement.h => dom/svg/SVGGeometryElement.h
rename : dom/svg/nsSVGPolyElement.cpp => dom/svg/SVGPolyElement.cpp
rename : dom/svg/nsSVGPolyElement.h => dom/svg/SVGPolyElement.h
rename : layout/svg/nsSVGPathGeometryFrame.cpp => layout/svg/SVGGeometryFrame.cpp
rename : layout/svg/nsSVGPathGeometryFrame.h => layout/svg/SVGGeometryFrame.h
2016-12-18 09:54:02 +00:00
Ryan VanderMeulen
f31546de18
Backed out 2 changesets (bug 1318266) for breaking tab drawing when a LWT is applied.
...
Backed out changeset 00bb4e2f5a3c (bug 1318266)
Backed out changeset 55790893cab4 (bug 1318266)
2016-12-17 21:59:10 -05:00
Ryan VanderMeulen
ae624d4fc9
Backed out 2 changesets (bug 1313276
)
...
Backed out changeset e505479a60e5 (bug 1313276
)
Backed out changeset efb9edd878f0 (bug 1313276
)
2016-12-17 21:58:03 -05:00
Ryan VanderMeulen
25d7744226
Backed out changeset 03090e5ca9b9 (bug 1318418)
2016-12-17 21:57:26 -05:00
cku
aa2f62a7c5
Bug 1318418 - Eliminate one extra copy in nsSVGIntegrationUtils::PaintMask when we have both mask and clip-path. r=mstange
...
MozReview-Commit-ID: LlF3ZKi356S
--HG--
extra : rebase_source : 344d722a7f6b8614638bb7b5f792b3b25ae2907b
2016-12-15 14:17:50 +08:00
cku
4819a41260
Bug 1318418 - Eliminate one extra copy in nsSVGIntegrationUtils::PaintMask when we have both mask and clip-path. r=mstange
...
MozReview-Commit-ID: LlF3ZKi356S
--HG--
extra : rebase_source : a394bbe894045953148f5efb3c98ce6f882525df
2016-12-15 14:17:50 +08:00
cku
bbb9cdf946
Bug 1313276
- Part 2. Add comment for bug 1323912. r=mstange
...
MozReview-Commit-ID: CetQxWIr1sq
--HG--
extra : rebase_source : 33c65b97a79f4bdface832fb9ba3e32425010e5d
2016-12-16 12:52:21 +08:00
cku
803f736c06
Bug 1313276
- Part 1. Draw clip-path-basic-shape onto mask layer. r=mstange
...
MozReview-Commit-ID: ICZiy84AFfi
--HG--
extra : rebase_source : 7ef14c85f8a93a952ac8d8a9bb2652b97b489dfd
2016-12-16 10:56:07 +08:00
cku
7cb6b79be7
Bug 1318266 - Part 1. Paint trivial clip-path onto mask layer. r=mstange
...
MozReview-Commit-ID: G2ghy7qGf5N
--HG--
extra : rebase_source : 064baa7d4815b7ddbccdc4c625156ec485418bb2
2016-11-04 15:33:38 +08:00
cku
6bfb4458b1
Bug 1322286 - Part 1. Check maskFrame pointer value before dereference. r=mstange
...
MozReview-Commit-ID: oXVxT8h1vz
--HG--
extra : rebase_source : 98412675f1a37dce330dcc1567e8b63198c8deb7
2016-12-06 17:09:11 -10:00
Cameron McCormack
366f6eb24d
Bug 1323892
- Disable currently crashing stylo crashtests. r=xidorn
...
MozReview-Commit-ID: 2BNjdBWdT5V
2016-12-16 18:54:41 +08:00
cku
e50551a66d
Bug 1323157 - Rename HasNoFilterOrHasValidFilter as HasNoOrValidFilter. r=longsonr+218550
...
MozReview-Commit-ID: GQzPf9Qy8LJ
--HG--
extra : rebase_source : d03d5609a8ed2eddaf596a019775a35bfd7d2f24
2016-12-13 19:40:27 +08:00
cku
65237b3417
Bug 1322330 - Part 3. Implement EffectProperties::HasInvalidMask. r=longsonr+218550
...
MozReview-Commit-ID: 7bEheewinTl
--HG--
extra : rebase_source : e695fae9a595c65a28b45e7e0f66690b9afb750c
2016-12-07 00:11:06 -10:00
cku
fb19c45aa9
Bug 1322330 - Part 2. Implement EffectProperties::HasInvalidClipPath. r=longsonr+218550
...
MozReview-Commit-ID: F3m4UZ0ET9x
--HG--
extra : rebase_source : aa11ea80bc566f287095ad91f721a2f70870c13c
2016-12-06 21:28:47 -10:00
cku
932164f048
Bug 1322330 - Part 1. Remove EffectProperties::GetFirstMaskFrame and implement EffectProperties::HasInvalidMaskOrClipPathResource. r=longsonr+218550
...
MozReview-Commit-ID: 4nfhL7btNFT
--HG--
extra : rebase_source : 37748f1858f9ea42e849cb02ef086183b8a52458
2016-12-06 16:12:36 -10:00
cku
a46dd4f00e
Bug 1320364 - Correct NS_ASSERTION failure condition in GetPreEffectsVisualOverflowRect. r=heycam
...
MozReview-Commit-ID: 4675cFLehK4
--HG--
extra : rebase_source : 5ff6778a558e2773b926d9317fef34cdd79e94e6
2016-11-28 16:26:34 +08:00
Daniel Holbert
ea97e57c32
Bug 1319343: Remove unused & broken SVG testcase/demo from layout/svg/tests. r=longsonr
...
MozReview-Commit-ID: CTERD7KfI8w
2016-12-04 23:06:57 -08:00
Tomislav Jurin
348bfffc19
Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj
2016-12-02 13:46:53 -08:00
Julian Seward
2a625e574c
Bug 1316556 - Remove zeroing allocation in class nsIPresShell. r=dbaron.
...
--HG--
extra : rebase_source : 203c4848cf0fe321b429c78ddf71acd662755e6d
2016-12-01 09:06:50 +01:00
cku
da357af099
Bug 1319667 - (follow-up) Remove incorrect assertion. r=me
...
If the size of mask is empty, we wil hit this assertion, which is wrong.
MozReview-Commit-ID: LgulkGPsjyH
--HG--
extra : rebase_source : fbf8fc05a0bfa16b28599726f8ee85d4468d5d86
2016-12-01 17:13:18 +08:00
Daniel Holbert
b054aefef7
Bug 1321056: Add includes/namespaces to fix latent unified bustage in layout/svg. r=TYLin
...
MozReview-Commit-ID: 8k3FSpKeKOa
--HG--
extra : rebase_source : 8a75ab94142f53181fa484ab5fd9750038993ef5
2016-11-29 11:41:16 -08:00
cku
5ee6e3966a
Bug 1319667 - Part 2. Move DrawResult from function parameter of PaintClipMask to the return value. r=mstange
...
Enlight by "Bug 1314536 - Part 1"
MozReview-Commit-ID: Iogdh7LWsWa
--HG--
extra : rebase_source : aacc88ac39551aeb5ffbb84a11580a0d2eec73cc
2016-11-24 00:08:13 +08:00
cku
6a4c5689f0
Bug 1319667 - Part 1. Allow mask longhands apply to SVG elements. r=mstange
...
Originally, we use the follwoing statement to determine whether generate mask
for an SVG element:
aUsage.shouldGenerateMaskLayer =
maskFrames.Length() == 1 && maskFrames[0];
maskFrames[0] is not null only if that mask resource is an SVG-mask. That means
we will not generate mask for image mask to any SVG one.
MozReview-Commit-ID: 4QiifC6J0UR
--HG--
extra : rebase_source : aa90599fc4955c0eb6e5d9d10c168b8643c32e03
2016-11-23 13:51:36 +08:00
Daniel Holbert
2254890482
Bug 1319428: Remove unused file svgBindings.xml. r=jwatt
...
(r=jwatt was granted on an earlier instance of this bug. Carrying forward.)
MozReview-Commit-ID: pix2vCqOcz
2016-11-22 13:21:35 -08:00
Ehsan Akhgari
aca985efab
Bug 1318805
- Move the code for the Web Painting module to layout/painting; r=mattwoodrow
...
This will help make it clearer that this code lives in a different
module for contributors.
--HG--
rename : layout/base/ActiveLayerTracker.cpp => layout/painting/ActiveLayerTracker.cpp
rename : layout/base/ActiveLayerTracker.h => layout/painting/ActiveLayerTracker.h
rename : layout/base/BorderCache.h => layout/painting/BorderCache.h
rename : layout/base/BorderConsts.h => layout/painting/BorderConsts.h
rename : layout/base/DashedCornerFinder.cpp => layout/painting/DashedCornerFinder.cpp
rename : layout/base/DashedCornerFinder.h => layout/painting/DashedCornerFinder.h
rename : layout/base/DisplayItemClip.cpp => layout/painting/DisplayItemClip.cpp
rename : layout/base/DisplayItemClip.h => layout/painting/DisplayItemClip.h
rename : layout/base/DisplayItemScrollClip.cpp => layout/painting/DisplayItemScrollClip.cpp
rename : layout/base/DisplayItemScrollClip.h => layout/painting/DisplayItemScrollClip.h
rename : layout/base/DisplayListClipState.cpp => layout/painting/DisplayListClipState.cpp
rename : layout/base/DisplayListClipState.h => layout/painting/DisplayListClipState.h
rename : layout/base/DottedCornerFinder.cpp => layout/painting/DottedCornerFinder.cpp
rename : layout/base/DottedCornerFinder.h => layout/painting/DottedCornerFinder.h
rename : layout/base/FrameLayerBuilder.cpp => layout/painting/FrameLayerBuilder.cpp
rename : layout/base/FrameLayerBuilder.h => layout/painting/FrameLayerBuilder.h
rename : layout/base/LayerState.h => layout/painting/LayerState.h
rename : layout/base/MaskLayerImageCache.cpp => layout/painting/MaskLayerImageCache.cpp
rename : layout/base/MaskLayerImageCache.h => layout/painting/MaskLayerImageCache.h
rename : layout/base/PaintTracker.cpp => layout/painting/PaintTracker.cpp
rename : layout/base/PaintTracker.h => layout/painting/PaintTracker.h
rename : layout/base/nsCSSRendering.cpp => layout/painting/nsCSSRendering.cpp
rename : layout/base/nsCSSRendering.h => layout/painting/nsCSSRendering.h
rename : layout/base/nsCSSRenderingBorders.cpp => layout/painting/nsCSSRenderingBorders.cpp
rename : layout/base/nsCSSRenderingBorders.h => layout/painting/nsCSSRenderingBorders.h
rename : layout/base/nsDisplayItemTypes.h => layout/painting/nsDisplayItemTypes.h
rename : layout/base/nsDisplayItemTypesList.h => layout/painting/nsDisplayItemTypesList.h
rename : layout/base/nsDisplayList.cpp => layout/painting/nsDisplayList.cpp
rename : layout/base/nsDisplayList.h => layout/painting/nsDisplayList.h
rename : layout/base/nsDisplayListInvalidation.cpp => layout/painting/nsDisplayListInvalidation.cpp
rename : layout/base/nsDisplayListInvalidation.h => layout/painting/nsDisplayListInvalidation.h
2016-11-21 20:01:15 -05:00
cku
03916132bb
Bug 1314536 - Part 3. Correct comment and add a test case for it. r=mstange
...
At the caller side of nsSVGMaskFrame::GetMaskForMaskedFrame(nsSVGIntegrationUtils
& nsSVGUtils), we do skip masked frame painting when this function return value
other then DrawResult::SUCCESS. So there is no need to return an empty surface
anymore.
And add a test case to verify it.
MozReview-Commit-ID: DHl6krJ1ABF
--HG--
extra : rebase_source : 46d653d4e35833e3e816d252ce3f08d2d8190602
2016-11-18 22:06:51 +08:00
cku
31495768f7
Bug 1314536 - Part 2. Implement MixModeBlender to simplify nsSVGUtils::PaintFrameWithEffects. r=mstange
...
MozReview-Commit-ID: JBlj7nApsbT
--HG--
extra : rebase_source : 470a6759cbd1725111c66f69fb32eab1653ec52e
2016-11-16 12:16:20 +08:00
cku
f1ae46cbdd
Bug 1314536 - Part 1. Implement/use nsSVGMaskFrame::MaskParams and add a test case for nested mask-mode usage in SVG mask. r=mstange
...
MozReview-Commit-ID: SkU6F5fJ9b
--HG--
extra : rebase_source : d25e8ab2bc0bc3efad78a04705c9aef40119f91f
2016-11-16 12:59:52 +08:00
Phil Ringnalda
7ab6adac90
Backed out 3 changesets (bug 1314536) for Android "'Pair' does not name a type" build bustage
...
Backed out changeset 16632b726b19 (bug 1314536)
Backed out changeset 2effc920decf (bug 1314536)
Backed out changeset b0aa89236bb2 (bug 1314536)
2016-11-18 18:48:49 -08:00
cku
5eb153c021
Bug 1314536 - Part 3. Correct comment and add a test case for it. r=mstange
...
At the caller side of nsSVGMaskFrame::GetMaskForMaskedFrame(nsSVGIntegrationUtils
& nsSVGUtils), we do skip masked frame painting when this function return value
other then DrawResult::SUCCESS. So there is no need to return an empty surface
anymore.
And add a test case to verify it.
MozReview-Commit-ID: DHl6krJ1ABF
--HG--
extra : rebase_source : a4e23896a84c5dd1b5df9c6e8505a2b32ee17b84
2016-11-18 22:06:51 +08:00
cku
da105994e1
Bug 1314536 - Part 2. Implement MixModeBlender to simplify nsSVGUtils::PaintFrameWithEffects. r=mstange
...
MozReview-Commit-ID: JBlj7nApsbT
--HG--
extra : rebase_source : 4fec950a0469b92ac4bef0391a6d100497d3d24b
2016-11-16 12:16:20 +08:00
cku
eee760be28
Bug 1314536 - Part 1. Implement/use nsSVGMaskFrame::MaskParams and add a test case for nested mask-mode usage in SVG mask. r=mstange
...
MozReview-Commit-ID: SkU6F5fJ9b
--HG--
extra : rebase_source : 129dc2d6abf5911ba42b459db20cfb54b83dfc0c
2016-11-16 12:59:52 +08:00
cku
67dee6966c
Bug 1317636 - Part 6. Use PaintClipMask in nsSVGIntegrationUtils::PaintMask. r=mstange
...
MozReview-Commit-ID: 6CibljSTeNj
--HG--
extra : rebase_source : d37076092b8ead6349ec008d251909a73730db24
2016-11-16 19:04:59 +08:00
cku
64b11841c6
Bug 1317636 - Part 5. Fix identation. r=mstange
...
MozReview-Commit-ID: 84aJzl6LrDC
--HG--
extra : rebase_source : 10ce4c40b1346cbd7f66bc10556b7647141a44de
2016-11-17 15:15:43 +08:00
cku
2f769773d3
Bug 1317636 - Part 4. Use nsSVGUtils::DetermineMaskUsage. r=mstange
...
MozReview-Commit-ID: JUAof5JvU4j
--HG--
extra : rebase_source : 387567cd33837ab49f5002797bd329dda426d530
2016-11-17 15:11:34 +08:00
cku
6174d59e7e
Bug 1317636 - Part 3. Implement ComposeExtraMask. r=mstange
...
CG is removed. By testing, D2D works fine with composing a mask by OP_IN mode.
MozReview-Commit-ID: Gs5rB6JachJ
--HG--
extra : rebase_source : 37cada77b33cd0f0265b0e1cb3e88ab8cc32e6e0
2016-11-17 12:42:14 +08:00
cku
a4e8c8d584
Bug 1317636 - Part 2. Extract PaintFrameIntoMask from nsSVGClipPathFrame::PaintClipMask. r=mstange
...
MozReview-Commit-ID: LgrortpuwN5
--HG--
extra : rebase_source : 428c0de82eda1301f499a84e8d6f70e06a9541b2
2016-11-16 16:58:59 +08:00
cku
e935229722
Bug 1317636 - Part 1. Implement nsSVGClipPathFrame::CreateClipMask and PaintClipMask. r=mstange
...
Simply split the code in nsSVGClipPathFrame::GetClipMask into two different
functions.
MozReview-Commit-ID: KMdVL3Wg8OC
--HG--
extra : rebase_source : 9a3e354378fe54bed26f8352450c423aa9b700b4
2016-11-17 14:50:35 +08:00
cku
92a1ecae0d
Bug 1313898 - Part 2. Paint non-trivial clip-path onto mask layer. r=mstange
...
MozReview-Commit-ID: HJUwhqsJ42M
--HG--
extra : rebase_source : 503b69a17e69b24c88830ae866c6d8aecc7baeb2
2016-11-04 14:48:11 +08:00
cku
efbebcc1a8
Bug 1250490 - Part 5. Use CreateBlendTarget/BlendToTarget. r=mstange
...
MozReview-Commit-ID: ERSXrcOW9PQ
--HG--
extra : rebase_source : 04f18848f51612e7d84570d026607e83aebf2366
2016-11-03 12:38:36 +08:00
cku
dcbcec68cf
Bug 1250490 - Part 4. Bring back CreateBlendTarget/BlendToTarget. r=mstange
...
MozReview-Commit-ID: DMSm5d2SI3j
--HG--
extra : rebase_source : a8108cd3088a5f530bded2e20c408f3b4787d658
2016-11-03 12:17:20 +08:00
cku
626b83ae89
Bug 1250490 - Part 3. Use DetermineMaskUsage in nsSVGUtils::PaintFrameWithEffects. r=mstange
...
MozReview-Commit-ID: 3CxHG0oB6f9
--HG--
extra : rebase_source : e13291f0c5277c1a10723be7a4665cf40b576947
2016-11-03 11:58:15 +08:00
cku
282a24594a
Bug 1250490 - Part 2. Remove DetermineMaskUsage and ComputeOpacity from nsSVGIntegrationUtils. r=mstange
...
MozReview-Commit-ID: 4gHW7PyMNhd
--HG--
extra : rebase_source : 68507df64232ebef68535e85cc9934833a428456
2016-11-03 11:16:46 +08:00
cku
511431abbf
Bug 1250490 - Part 1. Move DetermineMaskUsage and ComputeOpacity to nsSVGUtils. r=mstange
...
MozReview-Commit-ID: K06trG9nuvU
--HG--
extra : rebase_source : ad7651daa0752ba6c128853de19e758694705793
2016-11-03 11:08:06 +08:00
cku
8147e6d4e1
Bug 1314001 - Part 2. Draw mask by single opaque green. r=mstange
...
MozReview-Commit-ID: 12S5vBGYRpb
--HG--
extra : rebase_source : ef9bfa3251610732a0a6d2becb0e07737a40ac12
2016-11-04 12:25:33 +08:00
cku
bb74527cff
Bug 1234485 - Part 12. Extract PaintMaskSurface from GenerateMaskSurface. r=mstange
...
MozReview-Commit-ID: Bg4Kt6yCtNe
--HG--
extra : rebase_source : e13ce7753bede0e9edc58f8406c60d4120fbd329
2016-11-02 15:10:46 +08:00
cku
4d9495cf77
Bug 1234485 - Part 3. Implement nsSVGIntegrationUtils::PaintMask. r=mstange
...
Unlike nsSVGIntegrationUtils::PaintMaskAndClipPath, which paints masked content
onto aParam.ctx, nsSVGIntegrationUtils::PaintMask paints only mask, no content,
onto aParams.ctx.
MozReview-Commit-ID: BaRbtHpoHzj
--HG--
extra : rebase_source : 4a258b7332ba7a7edbffdc13c7f4b065fbe5eaa4
2016-10-19 17:31:36 +08:00
cku
999ca66251
Bug 1234485 - Part 2. Implement nsSVGIntegrationUtils::IsMaskResourceReady. r=mstange
...
We need this new function to determine whether paint mask onto mask layer.
MozReview-Commit-ID: IeEamPi9S8v
--HG--
extra : rebase_source : 993ae4bbe31c2c21704813c318f5328719194930
2016-10-30 21:41:06 +08:00
cku
882c5bf086
Bug 1234485 - Part 1. Extract DetermineMaskUsage from PaintMaskAndClipPath. r=mstange
...
Two reasons that we should do this:
1. Make PaintMaskAndClipPath even simpler.
2. We need this new function to determine LayerState of a nsDisplayMask later.
MozReview-Commit-ID: 2ga0VFOs6u3
--HG--
extra : rebase_source : 8a8c4da05acf5aa1cf13eb7366116944df9c8409
2016-10-19 13:38:35 +08:00
Wes Kocher
008fdd9329
Merge inbound to central, a=merge
2016-11-08 13:58:20 -08:00
cku
2fbd5c11c2
Bug 1258751 - followup: remove out-of-date comment. r=me DONTBUILD
...
MozReview-Commit-ID: 8M8yHsDc1Lg
--HG--
extra : rebase_source : 3f0d695e8307bb735d2026470dcec90c9887ec1a
2016-11-07 17:09:57 +08:00
Kartikaya Gupta
57f37706cc
Bug 1315477 - Add a AsBasicLayerManager() function and use instead of static_casts. r=mattwoodrow
...
MozReview-Commit-ID: DV6XZBEXw85
--HG--
extra : rebase_source : b82f2ea2d073292c2a9514ba8a4c2d0c8397d90a
2016-11-07 11:38:45 -05:00
Mats Palmgren
a6089b50fc
Bug 1300369 part 9 - Add a ComputeSizeFlags param to nsFrame::ComputeSizeWithIntrinsicDimensions (idempotent patch). r=dholbert
2016-11-05 02:57:06 +01:00
Mats Palmgren
ddb49488f0
Bug 1300369 part 8 - Move nsLayoutUtils::ComputeSizeWithIntrinsicDimensions to a nsFrame method (idempotent patch). r=dholbert
2016-11-05 02:57:06 +01:00
cku
37219ffb9a
Bug 1313570 - Change the parameter of ValidateSVGFrame. r=mstange
...
MozReview-Commit-ID: Brym9cbGRw8
--HG--
extra : rebase_source : 27e6795ed6b00377aa07124fea41c6db9e075d1f
2016-10-28 13:04:17 +08:00
cku
708f22a29a
Bug 1305253 - Part 2. Replace gfxContext::Save/Restore by gfxContext::PopClip. r=mstange
...
MozReview-Commit-ID: SPfZpRsBlo
--HG--
extra : rebase_source : 1d029c6ecee5c8c83c17a42b053eb80d4b89605f
2016-10-28 18:32:01 +08:00
cku
9d24e031f3
Bug 1305253 - Part 1. Use nsCSSClipPathInstance::ApplyBasicShapeClip when clip-path type is basic-shape or geometry-box. r=mstange
...
Before this patch, shouldApplyBasicShape will be set as true when the url of a
clip-path is not resolvable, for example:
clip-path: url("#non-exist-id");
So we call nsCSSClipPathInstance::ApplyBasicShapeClip and early return even if
the clip-path's type is StyleShapeSourceType::URL. This patch aims to correct
this wrong behavior: nsCSSClipPathInstance::ApplyBasicShapeClip shoud be used
only when the type of clip-path is StyleShapeSourceType::Shape or
StyleShapeSourceType::Box.
MozReview-Commit-ID: 1ON4dEY9pva
--HG--
extra : rebase_source : 88e89526f4b57bcbb0a1db585884d578682d118c
2016-10-28 23:56:07 +08:00
Jeremy Chen
aee90be343
Bug 1286468 followup - Fix naming issues.
...
MozReview-Commit-ID: C2PDA4R5k5F
2016-10-24 15:01:25 +08: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
Phil Ringnalda
7fd865b93f
Merge autoland to m-c, a=merge
...
MozReview-Commit-ID: 3nuTAHtJkkD
2016-10-19 18:25:54 -07:00
Mason Chang
cd84eadb22
Bug 1258751: Delete the CoreGraphics backend. r=mstange
2016-10-18 23:22:44 -04:00
Markus Stange
0853911668
Bug 1307740 - Properly handle filter input tainting with CSS filters and multiple filters. r=jwatt
...
MozReview-Commit-ID: HwOJ8SFhkUq
--HG--
extra : rebase_source : d3c4e8568513a0bf08d308f9f88232b19442ebd2
2016-10-19 11:32:02 -04:00
cku
07f31bbe99
Bug 1299715 - Part 7. Correct clip region for mask surface. r=mstange
...
MozReview-Commit-ID: 1MZA9uxO9Oi
--HG--
extra : rebase_source : cb23768fb82339b4641602ac90194d009446e1d2
2016-10-07 14:46:41 +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
837190aa4f
Bug 1299715 - Part 5. Correct clip region for opacity surface. r=mstange
...
MozReview-Commit-ID: 1wiQKsHKJsg
--HG--
extra : rebase_source : 47b58288cdde10d9fae42bec33082ea90604957b
2016-10-07 12:42:35 +08:00
cku
84d4f4c4c5
Bug 1299715 - Part 4. Correct clip region for clip-path mask surface. r=mstange
...
MozReview-Commit-ID: IOFOyS18yRm
--HG--
extra : rebase_source : e322b19333b6b97f879ed2e668faeffc6a1cc87c
2016-10-06 14:55:55 +08:00
Sebastian Hengst
22483d098a
Backed out changeset fa72646efc0a (bug 1299715)
2016-10-12 18:02:18 +02:00
Sebastian Hengst
ead934e26a
Backed out changeset c53086907356 (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
Sebastian Hengst
e1301411c3
Backed out changeset 4f0b13e4444a (bug 1299715)
2016-10-12 18:02:18 +02:00
cku
f00b30aac5
Bug 1299715 - Part 7. Correct clip region for mask surface. r=mstange
...
MozReview-Commit-ID: 1MZA9uxO9Oi
--HG--
extra : rebase_source : f0b635d4c945966b1e0bc3bd91b1911dcf81a6a6
2016-10-07 14:46:41 +08: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
a31601cee7
Bug 1299715 - Part 5. Correct clip region for opacity surface. r=mstange
...
MozReview-Commit-ID: 1wiQKsHKJsg
--HG--
extra : rebase_source : d07c35615119fdae64c0bffd4cbd6290630fbc4e
2016-10-07 12:42:35 +08:00
cku
9cd308352d
Bug 1299715 - Part 4. Correct clip region for clip-path mask surface. r=mstange
...
MozReview-Commit-ID: IOFOyS18yRm
--HG--
extra : rebase_source : b55a935500104c9a754dad8817d9bc3302944a5c
2016-10-06 14:55:55 +08:00
Cameron McCormack
b93ab3109e
Bug 1298774 - Part 9: Remove FragmentOrURL. r=cjku
...
MozReview-Commit-ID: Du10tRgKtQ4
--HG--
extra : rebase_source : 8092f86207b1fd91ba00beb088c894afd374bd56
2016-10-11 14:56:12 +08:00
Cameron McCormack
ccba4f429e
Bug 1298774 - Part 8: Make mask-image use css::URLValueData for url() storage instead of FragmentOrURL. r=cjku
...
MozReview-Commit-ID: 2Xm3IP3SXK0
--HG--
extra : rebase_source : e524bf9a7641a80ef591dc380f4832cbcb5944ba
2016-10-11 14:56:12 +08:00
Cameron McCormack
840196223a
Bug 1298774 - Part 7: Make nsStyleFilter use css::URLValue for url() storage instead of FragmentOrURL. r=cjku
...
MozReview-Commit-ID: FyhH9QG9vYq
--HG--
extra : rebase_source : 300a97e42ae9b27d83e7316e502295c597fad7cd
2016-10-11 14:56:12 +08:00
Cameron McCormack
e07dbc8da6
Bug 1298774 - Part 6: Make SVG marker properties use css::URLValue for storage instead of FragmentOrURL. r=cjku
...
MozReview-Commit-ID: 8OQWmDpP7Ax
--HG--
extra : rebase_source : f372d5d77481bc71d49d0f7446244f6e9162d0ac
2016-10-11 14:56:11 +08:00
Cameron McCormack
a9271aac63
Bug 1298774 - Part 5: Make nsStyleSVGPaint use css::URLValue for url() storage instead of FragmentOrURL. r=cjku
...
MozReview-Commit-ID: CkNcSxVToTL
--HG--
extra : rebase_source : 956149a0d12e7633aca15eb460704926a7db7371
2016-10-11 14:56:11 +08:00
Cameron McCormack
f1dcd6fc45
Bug 1298774 - Part 4: Make ShapeStyleSource use css::URLValue for url() storage instead of FragmentOrURL. r=cjku
...
MozReview-Commit-ID: CQy6ArR48Sp
--HG--
extra : rebase_source : 71203745bca616395daeffe5b47b288b0ce67b0b
2016-10-11 14:56:11 +08:00
Markus Stange
9183b4e1bd
Bug 1305259 - Use PushGroupAndCopyBackground for the masked group so that we can have subpixel AA inside the mask / clip-path. r=cjku, r=Bas
...
MozReview-Commit-ID: 3J9ncPn9sij
--HG--
extra : rebase_source : 6f6fdf624a68827a02696899fc46df8433b21565
2016-09-30 21:22:30 -04:00
vincentliu
4addf0c4b3
Bug 1301459 - In nsSVGMaskFrame::GetMaskForMaskedFrame, create surface by Factory::CreateDataSourceSurface. r=mstange
...
---
layout/svg/nsSVGMaskFrame.cpp | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
2016-10-04 09:33:43 +08:00
Carsten "Tomcat" Book
ba54333ac2
Merge mozilla-central to autoland
2016-09-30 12:11:06 +02:00
cku
818c1c0974
Bug 1302779 - Part 1. Resolve a local fragment against the current document that relative URLs are resolved against. r=heycam
...
MozReview-Commit-ID: 2vJDnfzoPiC
--HG--
extra : rebase_source : 3c43bd335caa918ac32f3ba1979f822db5319b11
2016-09-20 14:13:13 +08:00
cku
ec6eae0d07
Bug 1305636 - Part 2. Only apply opacity once in nsSVGUtils::PaintFrameWithEffects and nsSVGIntegrationUtils::PaintMaskAndClipPath. r=mstange.
...
MozReview-Commit-ID: 3eMlxEhNdCQ
--HG--
extra : rebase_source : 643fc601175eb4bbeda87345e6d22ff8c88d2d4d
2016-09-28 02:46:47 +08:00
cku
1637e35169
Bug 1305636 - Part 1. Revert the first patch in bug 1304991. r=me
...
MozReview-Commit-ID: 8sDINWlgPqu
--HG--
extra : rebase_source : bcd4d9ed5ed3fc0088e0f46c73f5946039769d3e
extra : amend_source : e972c04709573f2860372d49dc7ba0f48d65c8cc
2016-09-28 22:52:05 +08:00
Carsten "Tomcat" Book
b5206d37f5
Merge mozilla-central to mozilla-inbound
2016-09-28 16:25:01 +02:00
Paul Bignier
6f90f92498
Bug 1282408 - add ignore-initialization-check annotation to mSourceGraphicIndex and mSourceAlphaIndex from nsSVGFilterInstance. r=dbaron
2016-09-15 16:41:45 +02:00
cku
e9ac18ca58
Bug 1279409 - Part 1. Remove mix-blend-mode handling code in nsSVGIntegrationUtils.
...
MozReview-Commit-ID: DRxYU80ClwU
--HG--
extra : rebase_source : 2b88414c5eb032492cbd6d96ff56c0b63ad0fe8f
2016-09-29 11:07:51 +08:00
cku
55e1be9556
Bug 1304991 - Part 1. Remove aOpacity parameter of GenerateMaskSurface. r=mstange
...
MozReview-Commit-ID: D4vTSGobSMg
--HG--
extra : rebase_source : 290a12dd4b9b4af4ce3550a15734dc50b9afdea0
2016-09-26 18:35:18 +08:00
cku
f42e498549
Bug 1304011 - Part 7. Fix several coding convention violations. r=mstange
...
MozReview-Commit-ID: BYhiQnlfR3a
--HG--
extra : rebase_source : eba1a5fcec8f502cfaf4ff0e1d09a321e533131c
2016-09-18 23:16:35 +08:00
cku
447951cfbc
Bug 1304011 - Part 6. Handle nullptr returning from nsSVGClipPathFrame::GetClipMask. r=mstange
...
MozReview-Commit-ID: 2FBDE9fx1LT
--HG--
extra : rebase_source : d3b6ec7a36690002530da072f4fe9cdd5f4be8b8
2016-09-22 16:29:03 +08:00
cku
097d8da362
Bug 1304011 - Part 4. For css-mask, compute frame offset by the current frame. r=mstange
...
MozReview-Commit-ID: K6ZUoiA9jrC
--HG--
extra : rebase_source : 6a56e5d072062f06452e653187a0d6eb5d5c3eac
2016-09-22 13:38:55 +08:00
cku
07e41f0497
Bug 1304011 - Part 3. Add clip function in SetupContextMatrix, and give a frame to this function as the source of offset computing. r=mstange
...
MozReview-Commit-ID: 2ry6c1cECvb
--HG--
extra : rebase_source : 54fc13e3948179ec543b0c7f4c8cf342108992fd
2016-09-21 16:49:27 +08:00
cku
22ac005328
Bug 1304011 - Part 2. typedef nsSVGIntegrationUtils::PaintFramesParams to shorten code length. r=mstange
...
MozReview-Commit-ID: Iw7Khv8ee0r
--HG--
extra : rebase_source : d3f04ebed02703e5b37769baca312851c181e770
2016-09-22 11:12:54 +08:00
Makoto Kato
1ab5272de6
Bug 1298569 - Part 2. Replace -fpu=neon with CONFIG['NEON_FLAGS']. r=glandium
...
Use CONFIG['NEON_FLAGS'] on moz.build instead.
MozReview-Commit-ID: F6R532Hi5mg
--HG--
extra : rebase_source : 7243f316de3138c702f09b336f6d430e6c9c15b5
2016-09-14 18:34:19 +09:00
Kevin Chen
1560ed91a0
Bug 1298318 followup - Add notice comment in SVGImageContext. r=dholbert
...
Comment-only, so DONTBUILD (and KWierso says it's OK to land this on CLOSED TREE)
MozReview-Commit-ID: BKxFHeXxipf
2016-09-14 12:28:54 -07:00
Paul Bignier
a17cde8cff
Bug 1282408 - add ignore initialization check flag for mDashOffset mStrokeWidth from SVGContextPaint. r=dholbert
2016-09-13 14:59:33 +02:00
Paul Bignier
004c2b4943
Bug 1282408 - add ignore initialization check flag for mFrame from SVGContextPaintImpl::Paint. r=dholbert
2016-09-13 15:12:32 +02:00
Timothy Nikkel
0b6fd97ae9
Bug 1284350. Backed out changeset 69abdc731a99 (Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange)
2016-09-12 00:19:08 -05:00
Timothy Nikkel
cb67cca872
Bug 1284350. Backed out changeset d6a286242f2d (Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange)
2016-09-12 00:19:07 -05:00
Carsten "Tomcat" Book
c81bda3e2d
Merge mozilla-central to autoland
2016-09-09 12:19:59 +02:00
Carsten "Tomcat" Book
0f2c669a48
merge mozilla-inbound to mozilla-central a=merge
2016-09-09 12:02:43 +02:00
Ethan Lin
c7074a5f40
Bug 1275478 - Fix svg mask with D2D1 backend. r=mstange
2016-09-08 02:28:00 -04:00
Manish Goregaokar
aad318e17a
Bug 1300337
- Replace None_ variants from nsStyleConsts.h with None; r=heycam,TYLin
...
MozReview-Commit-ID: CxHzbEzjLxT
--HG--
extra : rebase_source : 232f90b8b107f7fb49f47a29a4e493660b8a7d87
2016-09-04 00:16:58 +05:30
cku
069847c2be
Bug 1295094 - Part 15. (follow up) Correct comments.(DONTBUILD) r=me
...
MozReview-Commit-ID: Kw8rrduASI2
--HG--
extra : rebase_source : c67b6b09563f223434889124d2c9f68e8a8fe9a9
extra : amend_source : dcb23bf43c12e527550f130793d61f10e4a395c1
2016-09-09 11:24:15 +08:00
Nicolas Silva
56e5119c61
Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas
2016-09-08 18:26:03 +02:00
cku
658b898375
Bug 1301353 - Map surface by WRITE type. r=mstange
...
MozReview-Commit-ID: 6vPaJh5EVCf
--HG--
extra : rebase_source : 56b46eadccc6f92f9adbbe4091a6b58ec2245cac
2016-09-07 16:39:43 +08:00
cku
56e3bcbb89
Bug 1300401 - Part 2. Add more comments and assertions. r=mstange
...
MozReview-Commit-ID: HywA9IrGhk2
--HG--
extra : rebase_source : 27dce66ccb4b0547b9c6332ebde99ebdc272565a
2016-09-05 12:46:56 +08:00
cku
86c378df38
Bug 1300401 - Part 1. Handle opacity in nsDisplayFilter. r=mstange
...
MozReview-Commit-ID: D4JXkDm64fN
--HG--
extra : rebase_source : 44ce4f92c2257a2303de2702af2ade3d8173c358
2016-09-05 11:47:18 +08:00
cku
6d9234622e
Bug 1289011 - Part 4. Handle stroke-box. r=heycam
...
MozReview-Commit-ID: BImaXBGds6l
--HG--
extra : rebase_source : 2da56a8d40f2ae3a92d3475c2d20dcd6dabc305e
2016-08-28 02:36:20 +08:00
cku
52058e0fbc
Bug 1289011 - Part 3. Handle view-box. r=heycam
...
MozReview-Commit-ID: 3GsivsTYPYK
--HG--
extra : rebase_source : 814a758605418893de60c2cb677ff4ee06671fe8
2016-08-30 10:27:30 +08:00
cku
0d3c265ce5
Bug 1289011 - Part 2. Implement ComputeSVGReferenceRect. r=heycam
...
MozReview-Commit-ID: G98lmo59AuB
--HG--
extra : rebase_source : 82ab3ff79e4aa606d1eb4e4dbc0bc4443868f2ae
2016-08-28 02:06:04 +08:00
cku
d07b0a64cb
Bug 1289011 - Part 1. Implement ComputeHTMLReferenceRect. r=heycam
...
MozReview-Commit-ID: DvlSF3L8yE0
--HG--
extra : rebase_source : 741e277ea5d5957a71b7121225e22846e454620e
2016-08-27 02:49:41 +08:00
Phil Ringnalda
51211ec1af
Backed out 9 changesets (bug 1289011) for Android failures in select-fieldset-legend-4.html
...
Backed out changeset 296f8c0b77e1 (bug 1289011)
Backed out changeset 869997798534 (bug 1289011)
Backed out changeset 3f1f0bc8c878 (bug 1289011)
Backed out changeset b3da5e487c2c (bug 1289011)
Backed out changeset fd404df10eed (bug 1289011)
Backed out changeset 8e3fc6d5237f (bug 1289011)
Backed out changeset 062cae507676 (bug 1289011)
Backed out changeset 43daa18916ce (bug 1289011)
Backed out changeset 632cf28211de (bug 1289011)
2016-09-03 13:32:40 -07:00
cku
9faac98f4b
Bug 1289011 - Part 4. Handle stroke-box. r=heycam
...
MozReview-Commit-ID: BImaXBGds6l
--HG--
extra : rebase_source : 89d559181ee4dadd978e4acb8711ebe688b86959
2016-08-28 02:36:20 +08:00
cku
bb5d15f610
Bug 1289011 - Part 3. Handle view-box. r=heycam
...
MozReview-Commit-ID: 3GsivsTYPYK
--HG--
extra : rebase_source : 450c93da72439c8332ec1892f81fbb3bf31ff3d7
2016-08-30 10:27:30 +08:00
cku
46610fd067
Bug 1289011 - Part 2. Implement ComputeSVGReferenceRect. r=heycam
...
MozReview-Commit-ID: G98lmo59AuB
--HG--
extra : rebase_source : 395d420883eb9a57a8f21618091e98b9af83c5dc
2016-08-28 02:06:04 +08:00
cku
07d59780f4
Bug 1289011 - Part 1. Implement ComputeHTMLReferenceRect. r=heycam
...
MozReview-Commit-ID: DvlSF3L8yE0
--HG--
extra : rebase_source : f3b0806247a342b7e4d3cc6e8a42ccd99c847ab3
2016-08-27 02:49:41 +08:00
Phil Ringnalda
c3de252482
Backed out 9 changesets (bug 1289011) for Win8 clip-path-* reftest failures
...
CLOSED TREE
Backed out changeset dea9d3f8bfe0 (bug 1289011)
Backed out changeset 03572962add4 (bug 1289011)
Backed out changeset 4b8d3be7bdf8 (bug 1289011)
Backed out changeset d1b4d0b38cdb (bug 1289011)
Backed out changeset aa59aca85397 (bug 1289011)
Backed out changeset 43d1ec007a49 (bug 1289011)
Backed out changeset a623cab8e4a7 (bug 1289011)
Backed out changeset 34e7dd6acb4c (bug 1289011)
Backed out changeset 900800f54055 (bug 1289011)
2016-09-02 19:46:39 -07:00
Wes Kocher
1c8f6396c3
Merge m-c to autoland, a=merge
2016-09-02 13:34:45 -07:00
cku
fecac37ed2
Bug 1295094 - Part 14. Skip any filter effect while generating glyph mask for bg-clip:text. r=jfkthame
...
MozReview-Commit-ID: CTzu7uhAaQM
--HG--
extra : rebase_source : cf935bf3e8cc2b7081bd016fea94b8d5062ad014
2016-09-01 14:54:11 +08:00
cku
78ca020a31
Bug 1295094 - Part 10. nsDisplayMask creation flow. r=mstange
...
MozReview-Commit-ID: Jk9B54WtThK
--HG--
extra : rebase_source : 199b71fef0cce209b048dc362f89ecd700fda3e9
2016-08-16 13:56:11 +08:00
cku
40076dcfa1
Bug 1295094 - Part 8. Implement nsSVGIntegrationUtils::PaintMaskAndClipPath r=mstange
...
MozReview-Commit-ID: EbIUVDXuHa0
--HG--
extra : rebase_source : f9c76291cfc78352268f9cf3a32376fcac96d018
2016-08-16 01:07:57 +08:00
cku
949553410d
Bug 1295094 - Part 7. Implement nsSVGIntegrationUtils::PaintFilter. r=mstange
...
MozReview-Commit-ID: DTcNsc2UNdu
--HG--
extra : rebase_source : 1370d3aa9f4d23086c0bc17d14a9c1fadb4d4db8
2016-08-16 00:59:35 +08:00
cku
9bf4d9c5cd
Bug 1295094 - Part 6. Implement CreateBlendTarget and BlendToTarget. r=mstange
...
MozReview-Commit-ID: 3C3hlje0QEw
--HG--
extra : rebase_source : aaf3527cd3e3fcf12efa20d91a5233c9828d2f1d
2016-08-16 01:28:07 +08:00
cku
8afbe7e2c0
Bug 1295094 - Part 5. Implement SetupContextMatrix r=mstange
...
MozReview-Commit-ID: AOPyRwUSr0A
--HG--
extra : rebase_source : 8f9eb6aad0ac0d4399000e7c9d0a548bb5df9a00
2016-08-16 00:33:35 +08:00
cku
1843b41cce
Bug 1295094 - Part 4. Implement ValidateSVGFrame r=mstange
...
MozReview-Commit-ID: GdO647a09Xo
--HG--
extra : rebase_source : cda0319ed0728fb705658055c9386eb108debef8
2016-08-16 00:05:10 +08:00
cku
33f7856d09
Bug 1295094 - Part 3. Implement ComputeOpacity r=mstange
...
MozReview-Commit-ID: ILdIFIvXFyi
--HG--
extra : rebase_source : 57f7c2a7594c487dbb9adca84146d19d01bcb33d
2016-08-15 23:57:45 +08:00
cku
4dd64993c5
Bug 1295094 - Part 2. Implement ComputeClipExtsInDeviceSpace r=mstange
...
MozReview-Commit-ID: 8BFy0y83MeG
--HG--
extra : rebase_source : 59b1fa5eabcbf64b32ef90821a5458e12501335b
2016-08-15 23:49:21 +08:00
cku
9ac4909e0a
Bug 1295094 - Part 1. Simplify the logic in nsSVGIntegrationUtils::PaintFramesWithEffects. r=mstange
...
MozReview-Commit-ID: HbQIrhtChCC
--HG--
extra : rebase_source : 3bea6d260495c87291142249d9dc12571ee62899
2016-08-15 23:04:50 +08:00
cku
f2373417b4
Bug 1289011 - Part 4. Handle stroke-box. r=heycam
...
MozReview-Commit-ID: BImaXBGds6l
--HG--
extra : rebase_source : 58a95532c74c007bbfb7b3ea1b1f83a534be2210
2016-08-28 02:36:20 +08:00
cku
235e174b8f
Bug 1289011 - Part 3. Handle view-box. r=heycam
...
MozReview-Commit-ID: 3GsivsTYPYK
--HG--
extra : rebase_source : da1fff2bb43f85b8d6e55ce4d490f1d872ddea45
2016-08-30 10:27:30 +08:00
cku
3db06f8095
Bug 1289011 - Part 2. Implement ComputeSVGReferenceRect. r=heycam
...
MozReview-Commit-ID: G98lmo59AuB
--HG--
extra : rebase_source : fa5a8ffaebb8dcc8f908ba5ade2f703c38fec03f
2016-08-28 02:06:04 +08:00
cku
8d3badbf14
Bug 1289011 - Part 1. Implement ComputeHTMLReferenceRect. r=heycam
...
MozReview-Commit-ID: DvlSF3L8yE0
--HG--
extra : rebase_source : 7f7742737f43133fbbb32019b4131d169310eed8
2016-08-27 02:49:41 +08:00
Ryan VanderMeulen
3611a7607d
Merge inbound to m-c. a=merge
2016-08-31 22:33:17 -04:00
Andi-Bogdan Postelnicu
0a0c65df1d
Bug 1299438 - avoid calling multiple times isEmpty. r=longsonr
...
MozReview-Commit-ID: EAZtP3EveVL
2016-08-31 15:43:55 +03:00
Kevin Chen
c8aa291733
Bug 1298318 - Add mIsPaintingSVGImageElement to operator==() and Hash() in SVGImageContext. r=dholbert
...
From 197b672a8bdffcd6abf2294cd6aad4b4d7167e2d Mon Sep 17 00:00:00 2001
MozReview-Commit-ID: Ji5tM02ykAp
2016-08-29 01:11:03 -07:00
tlin@mozilla.com
3100ef24af
Bug 1295084 Part 1 - Move FragmentOrURL into mozilla namespace. r=dholbert
...
--HG--
extra : rebase_source : 2d4be5845d11c03560c7cd3fd60417b47f2a6dac
2016-08-25 09:59:51 +00:00
Boris Chiou
443fceb6e7
Bug 1245751 - Part 10: Allow href without xlink on SVG Gradient elements. r=jwatt
...
MozReview-Commit-ID: IjLtYNb7bZp
--HG--
extra : rebase_source : 8cebeff6a2dea1276a891bca68275eff8a6c60cc
2016-07-07 14:26:57 +08:00
Boris Chiou
e7eb14fbe6
Bug 1245751 - Part 8: Allow href without xlink on SVG <textPath> elements. r=jwatt
...
MozReview-Commit-ID: KObkvkctP4L
--HG--
extra : rebase_source : 0a91f7826814e944c9ab440ff80d2d4fdc35dd10
2016-07-07 11:44:25 +08:00
Boris Chiou
002563a07c
Bug 1245751 - Part 6: Allow href without xlink on SVG <pattern> elements. r=jwatt
...
MozReview-Commit-ID: 4oODGIKEnE2
--HG--
extra : rebase_source : 3a8d49e4d5d29cadf99e590acd4a4807d2fbc1d5
2016-07-06 17:00:41 +08:00
Boris Chiou
d55ec37cf9
Bug 1245751 - Part 5: Allow href without xlink on SVG <feImage> elements. r=jwatt
...
MozReview-Commit-ID: 4h3mdwU4wwp
--HG--
extra : rebase_source : 2f2b8d74e80a1b5f1b011bf06ca8ab51d6934195
2016-07-07 14:22:57 +08:00
Boris Chiou
83c0774fd1
Bug 1245751 - Part 4: Allow href without xlink on SVG <filter> elements. r=jwatt
...
MozReview-Commit-ID: Idloqv5h2PT
--HG--
extra : rebase_source : 930cf5afa36d7e9e963873e87e30fea77283ee0b
2016-07-05 18:18:51 +08:00
Boris Chiou
a443d463c1
Bug 1245751 - Part 3: Allow href without xlink on SVG <image> elements. r=jwatt
...
MozReview-Commit-ID: 1DGZUcJsrDY
--HG--
extra : rebase_source : cc4d79388030d7ce2005f53cafe3cb57a2ce4065
2016-07-05 17:35:24 +08:00
Boris Chiou
31d2e935e7
Bug 1245751 - Part 2: Allow href without xlink on SVG <use> elements. r=jwatt
...
MozReview-Commit-ID: 28op2ZoRm6X
--HG--
extra : rebase_source : bbf7c129463009578f45560ebfe6ff94741761be
2016-07-05 16:37:17 +08:00
Jinank Jain
f2776091ea
Bug 712936 - Convert users of PR_STATIC_ASSERT to C++11 static_assert(). r=Ms2ger
...
--HG--
extra : rebase_source : b3e4c3e7c81799f2b1f3ec62ba3ff3b5d3adba27
2016-08-23 11:24:54 -04:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Manish Goregaokar
b83e274dee
Bug 1246762 - Add support for inset() in clip-path ; r=dholbert
...
MozReview-Commit-ID: 9AhkTu9gVVm
--HG--
extra : rebase_source : d9ee4f4b4f3654203d2cd1c0f915eea04374d5d0
2016-08-18 19:59:01 +05:30
cku
3cd159aa2b
Bug 1294171
- Part 1. Treat unresolvable mask as no mask before support image mask. r=mstange
...
MozReview-Commit-ID: 9f2k7NtpYuR
--HG--
extra : rebase_source : b39ef5f82382fd9d7f237d1dabd6d834b8bbefa0
2016-08-18 11:24:28 +08:00
Manish Goregaokar
0b438b8b77
Bug 1295895 - Correctly capitalize StyleFillRule; r=heycam
...
MozReview-Commit-ID: ZfHrllA9QV
--HG--
extra : rebase_source : d9b9303d21b3fb5977247ae403caabfd54d666f8
2016-08-17 12:13:26 +05:30
Manish Goregaokar
6519960758
Bug 1295177 - Convert STYLE_FILL_RULE_* to an enum class; r=xidorn
...
MozReview-Commit-ID: HnNFNyD4oVJ
--HG--
extra : rebase_source : 12dcee0023ec66a49ea2db673bb5ac85cd006c1e
2016-08-15 21:47:04 +05:30
cku
b901e4d14a
Bug 1293929 - Part 1. Treat unresolvable mask in svg frame as no-mask. r=mstange
...
MozReview-Commit-ID: IdiV5w9OrNF
--HG--
extra : rebase_source : 52ed8e68782685054207078a3bc1599398aba5c5
2016-08-10 15:52:38 +08:00
Carsten "Tomcat" Book
d9e0b4c565
merge mozilla-inbound to mozilla-central a=merge
2016-08-09 15:44:51 +02:00
Wes Kocher
78ec753b6f
Merge m-c to inbound, a=merge
2016-08-08 16:29:21 -07:00
Wes Kocher
d418284da4
Backed out 8 changesets (bug 1288626) for conflicting with bug 1291280, which merged to m-c first a=backout
...
Backed out changeset caee616ea09c (bug 1288626)
Backed out changeset eebda25d85cd (bug 1288626)
Backed out changeset 07e9cb8a46fd (bug 1288626)
Backed out changeset c5e4865819ff (bug 1288626)
Backed out changeset 74633b2735e0 (bug 1288626)
Backed out changeset 17f63bb7be11 (bug 1288626)
Backed out changeset 654556e45f5a (bug 1288626)
Backed out changeset be2c56decd65 (bug 1288626)
2016-08-08 16:19:30 -07:00
cku
e39570c057
Bug 1291280 - Part 2. Declare nsStyleImageLayers::Layer::mSourceURI as FragmentOrURI r=heycam
...
MozReview-Commit-ID: 6KFb7MjlLqj
--HG--
extra : rebase_source : 24ac046807f12e3bea6717baab962de94d8fafc5
2016-08-06 06:38:44 +08:00
Jonathan Watt
9f767c7d64
Bug 1058040, part 5 - Move the code from nsSVGUtils::SetupContextPaint and nsSVGUtils::GetContextPaint into SVGContextPaint. r=dholbert
...
--HG--
extra : rebase_source : 00c5ef270ff9591a16727a2e35405177f063c8e6
2016-07-25 17:34:18 +01:00
Jonathan Watt
17c835c445
Bug 1058040, part 4 - Rename SVGTextContextPaint to SVGContextPaintImpl. r=dholbert
...
--HG--
extra : rebase_source : aeb52029a8060fcedaefd69b1d0120d22a2c6741
2016-07-25 16:04:20 +01:00
Jonathan Watt
a6f638eeec
Bug 1058040, part 3 - Move SVGTextContextPaint into SVGContextPaint.h/.cpp. r=dholbert
...
--HG--
extra : rebase_source : 716c7586dcf6cd7c55df2cd6d0df40287a1b1374
2016-07-25 13:27:00 +01:00
Ting-Yu Lin
213646c667
Bug 1288626 Part 7 - Rename StyleClipShapeSizing to StyleClipPathGeometryBox. r=heycam
...
Change to geometry box to match the name in the spec.
https://drafts.fxtf.org/css-masking-1/#the-clip-path
MozReview-Commit-ID: 8jDTynCkJ4A
--HG--
extra : rebase_source : c2e165e320c1341012b32b48bfb03b3c9b4f56c5
2016-07-28 13:45:43 +08:00
Ting-Yu Lin
9ccd71a0c4
Bug 1288626 Part 6 - Generalize StyleClipPath to be template struct StyleShapeSource. r=heycam
...
The only difference between clip-path and shape-outside is the reference box
enum, so I generalize StyleClipPath to be a template struct StyleShapeSource to
accommodate both. I'll have to move all the method definition to the header to
make the linker happy.
The only logic change is calling operator==() instead of EqualURIs to compare
urls in StyleShapeSource::operator==().
MozReview-Commit-ID: LOBGVVpnnB
--HG--
extra : rebase_source : eca561500f8f8529cf6e7b5c04372a51c1b62862
2016-08-04 13:43:08 +08:00
Ting-Yu Lin
4ad0c1bbe3
Bug 1288626 Part 5 - Rename StyleClipPathType to StyleShapeSourceType. r=heycam
...
StyleClipPathType will be generalized to StyleShapeSourceType to match this
change.
MozReview-Commit-ID: Igaad2EoSSt
--HG--
extra : rebase_source : 517d7b968e90f8f83e1223d33bd9d59000e034fd
2016-08-04 11:51:20 +08:00
Ting-Yu Lin
e8946e534d
Bug 1288626 Part 4 - Rename nsStyleClipPath to StyleClipPath. r=heycam
...
MozReview-Commit-ID: 2iT4elvtTGd
--HG--
extra : rebase_source : 7a7cb977e288c7fab33e7bb83ad97e30e53844d9
2016-07-28 10:29:33 +08:00
Ting-Yu Lin
74392a7dec
Bug 1288626 Part 3 - Rename nsStyleBasicShape to StyleBasicShape. r=heycam
...
MozReview-Commit-ID: 9NUKpZ4s4kG
--HG--
extra : rebase_source : 52f688a06e9af2733f128a874147276c735db2f1
2016-07-27 18:14:36 +08:00
Ting-Yu Lin
d5b06eeac7
Bug 1288626 Part 2 - Use basic shape enum class defined in nsStyleConsts.h. r=heycam
...
Rename StyleBasicShape to StyleBasicShapeType in nsStyleConsts.h, and
replace the old enum nsStyleBasicShape::Type by the enum class
StyleBasicShapeType.
Also, replace NS_ASSERTION() by MOZ_ASSERT().
MozReview-Commit-ID: EuS4ZtYKsk6
--HG--
extra : rebase_source : b6cb68f91c545cef283c97de222111d3acb64b02
2016-07-27 17:59:33 +08:00
Ethan Lin
6e83aa737b
Bug 1273365 - Check IsForGenerateGlyphMask before doing mask. r=jfkthame
2016-07-18 03:09:00 +02:00
Emilio Cobos Álvarez
ff065c3a99
Bug 1288938: Allow passing different reasons to dirty a non display SVG text frame. r=heycam
...
Otherwise, when a glyph changes, we might end up doing too much work, destroying
the text-run and the observer that dirtied the frame, causing an assertion when
trying to delete it from the observer set.
MozReview-Commit-ID: LMQVr6pYFVM
2016-08-03 10:53:37 -07:00
cku
e5a7157308
Bug 652991 - Part 12. Correct pointer/refernce parameter convention. r=me
...
MozReview-Commit-ID: 2QTCJxnaAi2
--HG--
extra : rebase_source : e83d8d5afd9ecfbc5a685a3e5b7d4324f0333dce
extra : amend_source : c61aa20f453bdc9e76112d50beb7e07224709059
2016-08-02 19:06:14 +08:00
Carsten "Tomcat" Book
eeacfbeff0
merge mozilla-inbound to mozilla-central a=merge
2016-08-03 17:03:41 +02:00
cku
9e967a4f21
Bug 652991 - Part 9. Using FragmentOrURL to represent PanitServer url. r=heycam
...
MozReview-Commit-ID: IZf0fGantoB
--HG--
extra : rebase_source : 201786ad6a890bb96f5f4384b1420802c926373f
extra : source : 1a80ce736d77b1dba6d9cf53c8a20b5a6078ac6d
2016-07-05 01:00:15 +08:00
cku
856763a293
Bug 652991 - Part 7. Using FragmentOrURL to represent SVG filter url. r=heycam
...
MozReview-Commit-ID: F6BpTQfC82i
--HG--
extra : rebase_source : 07c2e6fb662b00c453a5d491722267f810ef3fa7
extra : source : 3e53712a3b48bb771a2faeafc1603eb10fbb851f
2016-07-23 16:16:59 +08:00
cku
185dbee93b
Bug 652991 - Part 6. Reftest for clip-path. r=heycam
...
MozReview-Commit-ID: 9ozNCH7nOsY
--HG--
extra : rebase_source : 4aae2a80018fcb6243cfa5050acb38d82321b830
extra : source : c791ea11591fd7a4a6a34ee8811c3fbde9132c4a
2016-07-24 03:45:38 +08:00
cku
25577ba9c8
Bug 652991 - Part 5. Using FragmentOrURL to represent SVG clippath. r=heycam
...
MozReview-Commit-ID: BErpWUQ5iQ1
--HG--
extra : rebase_source : 16ed0cd6bb1fd3bc7ac91b33078c9938306a69b6
extra : source : fd15e7962cffec5b2c1f101a36e32dcdce17146c
2016-07-05 00:59:57 +08:00
cku
385c8ddfb0
Bug 652991 - Part 3. Using FragmentOrURL to represent SVG maker url. r=heycam
...
MozReview-Commit-ID: IQDGL7j5p1q
--HG--
extra : rebase_source : 3dcfca05e5dd9056c6a332da1e4caa2e7aeaa4b3
2016-06-24 02:11:51 +08:00
Robert Longson
5d48332dcd
Bug 843480 - zoom on iframe is applied twice. r=jwatt
2016-08-03 07:37:35 +01:00
Jonathan Watt
db80f397f6
Bug 1058040, part 2 - Rename gfxTextContextPaint to SVGContextPaint and add some code comments. r=dholbert
2016-07-22 14:56:09 +01:00
Jonathan Watt
c5d930fd27
Bug 1058040, part 1 - Move gfxTextContextPaint to a separate file to enable use in imagelib. r=dholbert
2016-07-22 12:07:39 +01:00
Jonathan Watt
0e69308cc1
Bug 1290781 - Make the propagation of context paint to SVG glyphs much more robust. r=heycam
2016-07-21 14:33:11 +01:00
Matt Woodrow
fe3cfdc416
Bug 1281428 - Don't skip paint painting SVG effects due to 0 opacity if the opacity is being handled by a separate item. r=jwatt
2016-07-29 17:58:15 +12:00
Nicolas Silva
48805c9b3e
Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond
2016-07-26 16:48:30 +02:00
Manish Goregaokar
f4dffe63a1
Bug 1288383 - Replace NS_STYLE_CLIP_PATH_* with an enum class; r=heycam
...
MozReview-Commit-ID: H6nwOybonF3
--HG--
extra : rebase_source : db3ab986f7708540219cefa18a21b4624a2dc27a
2016-07-25 11:52:34 +05:30
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Ting-Yu Lin
40fcd21b9a
Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -r "s/$1/$2/g" "{}" \;
}
rename "([[:alpha:]]*)([rR])eflowState(s?)" "\1\2eflowInput\3"
MozReview-Commit-ID: ITFO7uMTkSb
--HG--
extra : rebase_source : c91a2e174a0baec60c1b0111ac7636295004ab35
2016-07-21 18:36:39 +08:00
Ting-Yu Lin
4053c4c028
Bug 1277129 Part 5c - Rename nsHTMLReflowMetrics to ReflowOutput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "nsHTMLReflowMetrics" "ReflowOutput"
MozReview-Commit-ID: 2HBb7DkooH5
--HG--
extra : rebase_source : acfa442a6483772fcb5748dc6f5e7072e599032a
2016-07-21 18:36:38 +08:00
Ting-Yu Lin
820f88de49
Bug 1277129 Part 1c - Rename nsHTMLReflowState to ReflowInput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename nsHTMLReflowState ReflowInput
MozReview-Commit-ID: 9r9vdVv1pXc
--HG--
extra : rebase_source : 623ec822996ba0ea0058dd137acf5a658cdea04a
2016-07-21 18:36:35 +08:00
Thomas Zimmermann
4bee1b2945
Bug 1288077: Forward declare arrays by including 'nsTArrayForwardDeclare.h', r=froydnj
...
MozReview-Commit-ID: 4RBeHDyhQgr
2016-07-20 17:29:36 +02:00
Carsten "Tomcat" Book
241ae512ec
Merge mozilla-central to autoland
2016-07-20 11:24:44 +02:00
Thomas Wisniewski
051c21928e
Bug 843579 - Unprefix -moz-any-link. r=bz
...
--HG--
extra : rebase_source : d5ad8227cc118491f130e1fef01829c594cc9477
2016-07-19 23:13:13 -04:00
Manish Goregaokar
8add405354
Bug 1287755 - Replace NS_STYLE_CLIP_SHAPE_SIZING_* with an enum class; r=heycam
...
MozReview-Commit-ID: KutLb8H9JOk
--HG--
extra : rebase_source : ae38fcb7ebc8c6d5a8c77c773c8706580e41040c
2016-07-20 11:12:42 +05:30
Olli Pettay
ef55583835
Bug 1286183 - Improve SVGEffects' unlinking. r=mstange
2016-07-15 02:40:30 +03:00
cku
99414ab73f
Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange
...
MozReview-Commit-ID: Eo8FzwOFAOT
--HG--
extra : rebase_source : 7da0ec5d1066067d5c1b22f0bc69b01cfd1131c5
2016-07-14 12:47:06 +08:00
cku
0e37181d38
Bug 1258510 - Part 1. Use the return value of nsCSSRendering::PaintBackgroundWithSC. r=mstange
...
MozReview-Commit-ID: D1gKBng8hnJ
--HG--
extra : rebase_source : 430c41d7bf5754169d5e485ea43ca96c8490efdd
2016-07-12 01:22:54 +08:00
Carsten "Tomcat" Book
32a806d5a1
Backed out changeset af828ca7cc58 (bug 1258510) on developers request
2016-07-13 08:37:37 +02:00
Carsten "Tomcat" Book
96d9ab7d51
Backed out changeset c43fa1320372 (bug 1258510)
2016-07-13 08:37:24 +02:00
cku
4ee5e3ab50
Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange
...
MozReview-Commit-ID: Eo8FzwOFAOT
--HG--
extra : rebase_source : f38801f37f09d6c82e365033bea40269850c32d1
2016-07-12 16:15:45 +08:00
cku
eed3cc3db3
Bug 1258510 - Part 1. Use the return value of nsCSSRendering::PaintBackgroundWithSC. r=mstange
...
MozReview-Commit-ID: D1gKBng8hnJ
--HG--
extra : rebase_source : 8eea6e07c30fcccaae8eb4a1876b3c23686bdb5d
2016-07-12 01:22:54 +08:00
Daosheng Mu
59c534ddde
Bug 1135329 - Reflow requests for nondisplay SVGTextFrame while its glyph is updated; r=heycam
...
MozReview-Commit-ID: 6QiRwx0FYKT
--HG--
extra : transplant_source : U%96%3D%AD%80-%E8%86X%1C%17%A3%F9%29%88H%DB%7Ds%A0
2016-06-24 16:02:44 +08:00
Kevin Chen
96f6cecc6b
Bug 1264809 - (Part 1) Decouple SetImageOverridePreserveAspectRatio from mIsPaintingSVGImageElement setting. r=dholbert
2016-07-01 00:41:00 +02:00
Brad Werth
bb6b3396a0
Bug 1243559
- Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron
2016-06-21 13:17:11 -07:00
Phil Ringnalda
28ae5ce216
Back out changeset 0bb00282a4c2 (bug 1243559
) for widespread SVG assertion failures
...
CLOSED TREE
2016-06-22 18:45:08 -07:00
Brad Werth
179aa18d0d
Bug 1243559
- Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron
...
--HG--
extra : rebase_source : fd19554f1611f8028a364ce93e833d8939688bfb
2016-06-21 13:17:11 -07:00
cku
3777b5cc5b
Bug 1272859: Part 1. Reduce mask surface's size r=mstange
...
MozReview-Commit-ID: GkADCkiElKy
--HG--
extra : rebase_source : 168bf0014fb0db453547ea77f13c555d8b4c376b
extra : source : c5d9e342b6a2b2ae7547f36e1f00b54b8bd12439
2016-06-18 00:24:26 +01:00
Jonathan Watt
06b29e4abf
Bug 1279628, part 2 - Switch all but one of the gfxASurface::CheckSurfaceSize calls to call Factory::CheckSurfaceSize. r=mstange
2016-06-10 13:32:01 +01:00
Phil Ringnalda
1cce1f61f8
Back out 2 changesets (bug 1279628) for reftest bustage
...
CLOSED TREE
Backed out changeset 07e4432bd6b3 (bug 1279628)
Backed out changeset 416fa9aeec55 (bug 1279628)
2016-06-11 00:44:51 -07:00
Jonathan Watt
8ea6b72d47
Bug 1279628, part 2 - Replace all gfxASurface::CheckSurfaceSize calls with Factory::CheckSurfaceSize and remove gfxASurface::CheckSurfaceSize. r=mstange
...
--HG--
extra : rebase_source : 314cf522b5760e63e176418ae170301fafa80f89
2016-06-09 15:31:24 +01:00
Jonathan Watt
b15368cfcb
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Matt Woodrow
565f5ee9a1
Bug 1263829 - Part 2: Don't apply opacity in PaintFramesWithEffects if we created an nsDisplayOpacity. r=jwatt
2016-06-08 17:12:35 +12:00
Jonathan Watt
426d4ee7b1
Bug 1278830, part 2 - Remove MaybeOptimizeOpacity. r=mstange
2016-06-01 09:17:23 +01:00
Jonathan Watt
b08e308df5
Bug 1278830, part 1 - Rename the 'opacity' variables in MakeFillPatternFor/MakeStrokePatternFor. r=mstange
2016-06-01 09:17:23 +01:00
Cameron McCormack
97ad9d5793
Bug 1277154 - Remove bitfields from nsStyleSVG to help with rust bindgen. r=xidorn
2016-06-03 17:16:39 +10:00
Nicholas Nethercote
4e8f3b6d6e
Bug 1276824 (part 2) - Fix up checks for calls to gfxContext::Create{,PreservingTransform}OrNull(). r=milan.
...
--HG--
extra : rebase_source : 80644c1a6658da553c13ae1ab3b8d03e916ee6e7
2016-06-07 11:17:48 +10:00
Nicholas Nethercote
a02611e830
Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
...
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.
--HG--
extra : rebase_source : a36bd9a2bcdfae281868959403f811f2bc690ad4
2016-06-07 09:39:56 +10:00
Wes Kocher
11d59fe446
Backed out changeset 14c8ec387dd2 (bug 1277154) because it seems like a good candidate for what broke reftests
...
--HG--
extra : rebase_source : 97d3f6df5465d848f3c5785eca7a01de8867e185
2016-06-03 14:11:05 -07:00
Cameron McCormack
832de75eca
Bug 1277154 - Remove bitfields from nsStyleSVG to help with rust bindgen. r=xidorn
...
--HG--
extra : rebase_source : 4f8bf468aff4b06e9c410f7197551baa254760f6
2016-06-03 17:16:39 +10:00
Jonathan Watt
2eb705bb3f
Bug 1277862, part 3 - Rename Moz2D's Filter to SamplingFilter in the rest of the tree. r=Bas
2016-05-25 17:01:18 +01:00
Phil Ringnalda
4ba56e35cf
Back out bb39628ebe69 (bug 1277154) for reftest bustage in svg-glyph-objectvalue.svg
...
CLOSED TREE
2016-06-02 20:06:13 -07:00
Cameron McCormack
e3581a9cba
Bug 1277154 - Remove bitfields from nsStyleSVG to help with rust bindgen. r=xidorn
2016-06-03 10:02:57 +10:00
Ting-Yu Lin
a649636701
Bug 1276870 - Rename parentReflowState to mParentReflowState in nsHTMLReflowState. r=dholbert
...
MozReview-Commit-ID: ETfT1Iow7kF
--HG--
extra : rebase_source : 0f679077ccb91a1873cb9be9def4008d55579725
2016-05-31 17:40:31 +08:00
cku
4c1e46c8ca
Bug 1275450 - Part 2. Reftest for unresolvable mask-reference r=mstange
...
MozReview-Commit-ID: Je2mJvwBiF7
--HG--
extra : rebase_source : ab20eada13e14363138dc5b234d5bc68a7d4b10e
2016-05-30 15:57:43 +08:00
cku
1ad8c294dd
Bug 1275450 - Part 1. Generate a transparent black mask layer when there is no resolvable mask source or image r=mstange
...
MozReview-Commit-ID: I2QlZnz07TL
--HG--
extra : rebase_source : accf30f8fe945d59d4fab84c2f9eb42df23c267c
2016-05-31 15:45:42 +08:00
Ethan Lin
29923a5e97
Bug 1275478 - Workaround for svg mask on windows. r=mstange
...
MozReview-Commit-ID: GilZz7AJTQX
2016-05-31 16:07:38 +08:00
Ting-Yu Lin
0dd7719112
Bug 1269175 - Convert nsStyleSVG::mStrokeDasharray to be nsTArray. r=heycam
...
MozReview-Commit-ID: 5TC8KBD5cO6
--HG--
extra : rebase_source : 5a1cc695279dc5c5f4d1799814613c3335a65196
2016-05-26 14:01:58 +08:00
Ting-Yu Lin
62e2bf343b
Bug 1288626 Part 7 - Rename StyleClipShapeSizing to StyleClipPathGeometryBox. r=heycam
...
Change to geometry box to match the name in the spec.
https://drafts.fxtf.org/css-masking-1/#the-clip-path
MozReview-Commit-ID: 8jDTynCkJ4A
2016-08-09 00:15:06 +08:00
Ting-Yu Lin
62e1c45e4b
Bug 1288626 Part 6 - Generalize StyleClipPath to be template struct StyleShapeSource. r=heycam
...
The only difference between clip-path and shape-outside is the reference box
enum, so I generalize StyleClipPath to be a template struct StyleShapeSource to
accommodate both. I'll have to move all the method definition to the header to
make the linker happy.
The only logic change is calling operator==() instead of EqualURIs to compare
urls in StyleShapeSource::operator==().
MozReview-Commit-ID: LOBGVVpnnB
2016-08-09 00:15:05 +08:00
Ting-Yu Lin
290bff0f81
Bug 1288626 Part 5 - Rename StyleClipPathType to StyleShapeSourceType. r=heycam
...
StyleClipPathType will be generalized to StyleShapeSourceType to match this
change.
MozReview-Commit-ID: Igaad2EoSSt
2016-08-09 00:15:05 +08:00
Ting-Yu Lin
c10998a42b
Bug 1288626 Part 4 - Rename nsStyleClipPath to StyleClipPath. r=heycam
...
MozReview-Commit-ID: 2iT4elvtTGd
2016-08-09 00:15:05 +08:00
Ting-Yu Lin
cdfcb937ce
Bug 1288626 Part 3 - Rename nsStyleBasicShape to StyleBasicShape. r=heycam
...
MozReview-Commit-ID: 9NUKpZ4s4kG
2016-08-09 00:15:05 +08:00
Ting-Yu Lin
829dd22e89
Bug 1288626 Part 2 - Use basic shape enum class defined in nsStyleConsts.h. r=heycam
...
Rename StyleBasicShape to StyleBasicShapeType in nsStyleConsts.h, and
replace the old enum nsStyleBasicShape::Type by the enum class
StyleBasicShapeType.
Also, replace NS_ASSERTION() by MOZ_ASSERT().
MozReview-Commit-ID: EuS4ZtYKsk6
2016-08-09 00:15:04 +08:00
Daosheng Mu
7fe155aa51
Bug 778654 - Display tabIndex outline.r=heycam
...
MozReview-Commit-ID: GRZzECINScl
--HG--
extra : transplant_source : %18%25%A9p%A8%2AT6%CAS%0A%04n%24%7B%CB%F4H%D7%9F
2016-05-24 12:23:22 +08:00
Tobias Schneider
2bf9b9a3e6
Bug 1174278 - Make filter tainting and canvas tainting. r=jrmuizel
...
--HG--
extra : rebase_source : 676ae4a6551246499d3a736ac9a35e6ac7f2c91c
2016-05-24 21:50:02 -07:00
CJKu
7bbf7cb277
Bug 1275451: Part 1. Respect mask-composite while composing a SVG mask layer r=mstange
...
MozReview-Commit-ID: 8m2xR4P30hq
--HG--
extra : rebase_source : ea2becbc6c4eb06237eede0e99857c1d4a132fcb
2016-05-26 16:07:43 +08:00
Jeremy Chen
685cf4c3d8
Bug 1273766 - part3: purge NS_UpdateHint inline. r=heycam
...
MozReview-Commit-ID: IIOT9jq8hOl
--HG--
extra : rebase_source : dfb3d874ce4419f32f13e662bd495e97ac9cac10
2016-05-23 11:26:03 +08:00
CJKu
fb8594dce2
Bug 1228280 - Part 8. Keep style consistent and stop doing null check for return value of operator new
...
MozReview-Commit-ID: GoK0xuCWTP
2016-05-19 15:44:42 +08:00
CJKu
9da6045c99
Bug 1228280 - Part 6. Single SVG mask optimization;
...
MozReview-Commit-ID: 7k1XRTpGbtH
2016-05-19 15:44:19 +08:00