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