cku
f2d7c22318
Bug 1336480 - Part 1. Apply suface limitation in nsFilterInstance::ComputeNeededBoxes. r=mstange
...
There is no need to limit output space bounds in
nsFilterInstance::OutputFilterSpaceBounds(), it's just far too early.
MozReview-Commit-ID: 9i9huKDGxq6
2017-02-21 00:08:38 +08:00
Daniel Holbert
49732213e7
(no bug) Tweak some source files in layout to have correct number of newline characters at the end (exactly 1). (no review, whitespace-only, DONTBUILD)
...
MozReview-Commit-ID: 1hEEkCMy0pL
2017-02-22 08:58:50 -08:00
cku
b4a5630d6f
Bug 1287492 - (followup) Rename GetNearestSVGParent backto GetNearestSVGViewport. r=me
...
According to jwatt's suggestion, rename back to original name.
MozReview-Commit-ID: 8dUo7ZWoac6
2017-02-14 23:19:58 +08:00
cku
b2cf8318f7
Bug 1287492 - Part 2. Rewrite nsSVGUtils::GetNearestSVGViewport r=mstange
...
GetNearestSVGViewport is not used anymore, rewrite it, Part 3 will need this new
version.
MozReview-Commit-ID: GNJXICG9akj
2017-02-09 22:36:17 +08:00
cku
fa06d27be0
Bug 1224207 - Part 6. Move GetCSSPxToDevPxMatrix to nsSVGUtils. r=mstange
...
To use GetCSSPxToDevPxMatrix in nsFilterInstance, pull this untility function down
to nsSVGUtils; Otherwise, we have to include nsSVGIntegrationUtils header in
nsFilterIntance, which is ok but not good I think.
MozReview-Commit-ID: 6SGtwj4EE1S
2017-01-24 23:22:43 +08:00
Iris Hsiao
8ec4557f01
Backed out 8 changesets (bug 1224207) for Win8 Reftest failures
...
Backed out changeset 2fce8d53b105 (bug 1224207)
Backed out changeset c31e96bf56d0 (bug 1224207)
Backed out changeset 587cde853b75 (bug 1224207)
Backed out changeset 7faefd871e00 (bug 1224207)
Backed out changeset 15f62c3ec366 (bug 1224207)
Backed out changeset 9448e628569e (bug 1224207)
Backed out changeset 958379e4f61c (bug 1224207)
Backed out changeset d23079bc188e (bug 1224207)
2017-02-08 17:53:07 +08:00
cku
bbcf69236e
Bug 1224207 - Part 6. Move GetCSSPxToDevPxMatrix to nsSVGUtils. r=mstange
...
To use GetCSSPxToDevPxMatrix in nsFilterInstance, pull this untility function down
to nsSVGUtils; Otherwise, we have to include nsSVGIntegrationUtils header in
nsFilterIntance, which is ok but not good I think.
MozReview-Commit-ID: 6SGtwj4EE1S
2017-01-24 23:22:43 +08:00
cku
5769adfc42
Bug 1334554 - Handle the return value of nsFilterInstance::PaintFilteredFrame r=mstange
...
MozReview-Commit-ID: 79gddAmRjnp
2017-01-28 02:54:38 +08:00
Jonathan Watt
5488523326
Bug 1058040, part 10 - Allow SVGImageContext to store an SVGContextPaint and have VectorImage propagate it. r=dholbert
2017-01-11 01:48:29 +00:00
cku
108141edd0
Bug 537623 - Part 1. Remove extra translation for <use> element in nsSVGUtils. r=longsonr+218550
...
For nsSVGUtils::FrameSpaceInCSSPxToUserSpace:
If we give a nsSVGUseFrame to this function, it will return <use>'s x/y as
translation vector, which is not necessary. A point (a, b) in frame's
coordinate space should keep (a, b) in <use>'s coordinate space with no change.
Since we remove extra translation in nsSVGUtils::FrameSpaceInCSSPxToUserSpace,
aslo update nsSVGUtils::GetBBox accordingly.
MozReview-Commit-ID: BMjSonjoWd2
2017-01-17 17:06:16 +08:00
Iris Hsiao
40af1d1640
Backed out changeset e32814fc5ab6 (bug 537623)
2017-01-18 11:25:25 +08:00
cku
f25566c30d
Bug 537623 - Part 1. Remove extra translation for <use> element in nsSVGUtils.
...
For nsSVGUtils::FrameSpaceInCSSPxToUserSpace:
If we give a nsSVGUseFrame to this function, it will return <use>'s x/y as
translation vector, which is not necessary. A point (a, b) in frame's
coordinate space should keep (a, b) in <use>'s coordinate space with no change.
Since we remove extra translation in nsSVGUtils::FrameSpaceInCSSPxToUserSpace,
aslo update nsSVGUtils::GetBBox accordingly.
MozReview-Commit-ID: BMjSonjoWd2
2017-01-17 17:06:16 +08: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
cku
5e511579f5
Bug 1322286 - Part 1. Check maskFrame pointer value before dereference. r=mstange
...
MozReview-Commit-ID: oXVxT8h1vz
2016-12-06 17:09:11 -10:00
cku
7b6575cf4d
Bug 1322330 - Part 2. Implement EffectProperties::HasInvalidClipPath. r=longsonr+218550
...
MozReview-Commit-ID: F3m4UZ0ET9x
2016-12-06 21:28:47 -10:00
cku
9833099111
Bug 1322330 - Part 1. Remove EffectProperties::GetFirstMaskFrame and implement EffectProperties::HasInvalidMaskOrClipPathResource. r=longsonr+218550
...
MozReview-Commit-ID: 4nfhL7btNFT
2016-12-06 16:12:36 -10:00
cku
37bcfa046c
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
2016-11-24 00:08:13 +08:00
cku
444d9f810f
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
2016-11-23 13:51:36 +08:00
cku
005f587d24
Bug 1314536 - Part 2. Implement MixModeBlender to simplify nsSVGUtils::PaintFrameWithEffects. r=mstange
...
MozReview-Commit-ID: JBlj7nApsbT
2016-11-16 12:16:20 +08:00
cku
047250c6be
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
2016-11-16 12:59:52 +08:00
Phil Ringnalda
3dd4ea0f5b
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
4c8a152111
Bug 1314536 - Part 2. Implement MixModeBlender to simplify nsSVGUtils::PaintFrameWithEffects. r=mstange
...
MozReview-Commit-ID: JBlj7nApsbT
2016-11-16 12:16:20 +08:00
cku
7b54d251fd
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
2016-11-16 12:59:52 +08:00
cku
ab412f25c2
Bug 1250490 - Part 5. Use CreateBlendTarget/BlendToTarget. r=mstange
...
MozReview-Commit-ID: ERSXrcOW9PQ
2016-11-03 12:38:36 +08:00
cku
35289f32cf
Bug 1250490 - Part 4. Bring back CreateBlendTarget/BlendToTarget. r=mstange
...
MozReview-Commit-ID: DMSm5d2SI3j
2016-11-03 12:17:20 +08:00
cku
b924063622
Bug 1250490 - Part 3. Use DetermineMaskUsage in nsSVGUtils::PaintFrameWithEffects. r=mstange
...
MozReview-Commit-ID: 3CxHG0oB6f9
2016-11-03 11:58:15 +08:00
cku
f97e2b15a1
Bug 1250490 - Part 1. Move DetermineMaskUsage and ComputeOpacity to nsSVGUtils. r=mstange
...
MozReview-Commit-ID: K06trG9nuvU
2016-11-03 11:08:06 +08:00
Cameron McCormack
7e89cd1f28
Bug 1298774 - Part 5: Make nsStyleSVGPaint use css::URLValue for url() storage instead of FragmentOrURL. r=cjku
...
MozReview-Commit-ID: CkNcSxVToTL
2016-10-11 14:56:11 +08:00
cku
3ca07e7125
Bug 1305636 - Part 2. Only apply opacity once in nsSVGUtils::PaintFrameWithEffects and nsSVGIntegrationUtils::PaintMaskAndClipPath. r=mstange.
...
MozReview-Commit-ID: 3eMlxEhNdCQ
2016-09-28 02:46:47 +08:00
Nicolas Silva
fdb7ab259e
Bug 1301027 - Remove the matrix * point operator and replace it with TransformPoint methods. r=Bas
2016-09-08 18:26:03 +02:00
Kan-Ru Chen
a9b19d0584
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
2016-08-24 14:47:04 +08:00
Jonathan Watt
c5b5282199
Bug 1058040, part 5 - Move the code from nsSVGUtils::SetupContextPaint and nsSVGUtils::GetContextPaint into SVGContextPaint. r=dholbert
2016-07-25 17:34:18 +01:00
Jonathan Watt
830f8bdb55
Bug 1058040, part 4 - Rename SVGTextContextPaint to SVGContextPaintImpl. r=dholbert
2016-07-25 16:04:20 +01:00
Carsten "Tomcat" Book
9d18c1a685
merge mozilla-inbound to mozilla-central a=merge
2016-08-03 17:03:41 +02:00
cku
31c970fe69
Bug 652991 - Part 9. Using FragmentOrURL to represent PanitServer url. r=heycam
...
MozReview-Commit-ID: IZf0fGantoB
2016-07-05 01:00:15 +08:00
Jonathan Watt
751215faad
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
3b3f844b38
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
169e8e39b7
Bug 1290781 - Make the propagation of context paint to SVG glyphs much more robust. r=heycam
2016-07-21 14:33:11 +01:00
cku
bb426c5864
Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange
...
MozReview-Commit-ID: Eo8FzwOFAOT
2016-07-14 12:47:06 +08:00
Carsten "Tomcat" Book
85da581596
Backed out changeset c43fa1320372 (bug 1258510)
2016-07-13 08:37:24 +02:00
cku
d2ecfb0579
Bug 1258510 - Part 2. Use the return value of nsLayoutUtils::DrawSingleImage & DrawSingleUnscaledImage. r=mstange
...
MozReview-Commit-ID: Eo8FzwOFAOT
2016-07-12 16:15:45 +08:00
Brad Werth
69ccb7e3db
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
ae1f6b874d
Back out changeset 0bb00282a4c2 (bug 1243559) for widespread SVG assertion failures
...
CLOSED TREE
2016-06-22 18:45:08 -07:00
Brad Werth
665cd94da6
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
Jonathan Watt
693a4df952
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
8c9ca22137
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
4df2fe5523
Bug 1279628, part 2 - Replace all gfxASurface::CheckSurfaceSize calls with Factory::CheckSurfaceSize and remove gfxASurface::CheckSurfaceSize. r=mstange
2016-06-09 15:31:24 +01:00
Jonathan Watt
0218ca5f52
Bug 1278830, part 2 - Remove MaybeOptimizeOpacity. r=mstange
2016-06-01 09:17:23 +01:00