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