Граф коммитов

2677 Коммитов

Автор SHA1 Сообщение Дата
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
CJKu 27969c0e19 Bug 1228280 - Part 5. Paint multiple SVG and image masks;
MozReview-Commit-ID: FOgcnR9cYlH
2016-05-19 15:44:07 +08:00
CJKu 936ab8c243 Bug 1228280 - Part 4. Create nsSVGMaskProperty to carry multiple mask info;
MozReview-Commit-ID: LPTqls7wvqJ
2016-05-19 15:43:55 +08:00
CJKu 5cec98da52 Bug 1228280 - Part 3. Move mask painting out of nsSVGIntegrationUtils::PaintFramesWithEffects;
MozReview-Commit-ID: Iwcqhy7qYR2
2016-05-19 15:43:43 +08:00
CJKu b4f5e64881 Bug 1228280 - Part 2. Change the parameters of nsSVGIntegrationUtils::PaintFramesWithEffects;
MozReview-Commit-ID: CaOINlG7HD6
2016-05-19 15:43:32 +08:00
CJKu be0a6b927b Bug 1228280 - Part 1. Change the parameter of nsCSSRendering::PaintBackground;
MozReview-Commit-ID: 41KgAlkx9oZ
2016-05-19 15:43:20 +08:00
Chris Peterson 89c0478b18 Bug 1273363 - Fix -Wshadow warnings in layout/svg/. r=dholbert
layout/svg/SVGTextFrame.cpp:4198:28 [-Wshadow] declaration shadows a local variable
layout/svg/nsSVGClipPathFrame.cpp:388:18 [-Wshadow] declaration shadows a local variable
layout/svg/nsSVGIntegrationUtils.cpp:562:15 [-Wshadow] declaration shadows a local variable
layout/svg/nsSVGIntegrationUtils.cpp:586:26 [-Wshadow] declaration shadows a local variable
layout/svg/nsSVGIntegrationUtils.cpp:620:15 [-Wshadow] declaration shadows a local variable

--HG--
extra : rebase_source : d8652b0c6bc2532119f351d7b0dc860987b32677
2016-05-16 22:02:08 -07:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Jonathan Watt eef9767c21 No bug - Mark some SVG classes as final. r=sparky 2016-05-06 17:25:55 +01:00
Seth Fowler 180fb0583d Bug 1268348 - Pass the previous visibility state to OnVisibilityChange(). r=mstange 2016-05-11 19:27:27 -07:00
Robert Longson 4236a89dfc Bug 1260032 - drop support for altGlyph as a tspan. r=cam r=peterv (DOM Peer) 2016-05-10 10:02:20 +01:00
Matt Woodrow 47cde44daf Bug 1243610 - Refactor UpdateOverflow to separate out local overflow from that contributed by descendants. r=dbaron 2016-05-04 12:27:43 +12:00
Nicholas Nethercote 2511b2c327 Bug 1267550 (part 2) - Rename MOZ_WARN_UNUSED_RESULT as MOZ_MUST_USE. r=froydnj.
It's an annotation that is used a lot, and should be used even more, so a
shorter name is better.

MozReview-Commit-ID: 1VS4Dney4WX

--HG--
extra : rebase_source : b26919c1b0fcb32e5339adeef5be5becae6032cf
2016-04-27 14:16:50 +10:00
Ting-Yu Lin 3256e20da1 Bug 1267209 - Convert nsLayoutUtils::PaintFrame flags to be an enum class. r=jfkthame
MozReview-Commit-ID: 4IFOlP9oVHl

--HG--
extra : rebase_source : 012b15e5e7b7489cf8ea9a2c812719ed009ef72e
2016-04-27 12:01:54 +08:00
CJKu f75bface0f Bug 1265715 - Part 2. Add nsDisplayListBuilderMode parameter into nsLayoutUtils::PaintFrame; r=jfkthame
MozReview-Commit-ID: 1jkJOOH8KCi

--HG--
extra : rebase_source : c3a67cf66bb1f19cb3a0acc0cab3a45f1f02ea00
2016-04-26 00:26:40 +08:00
Kyle Huey c73656947b Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj 2016-04-25 17:23:21 -07:00
Jonathan Watt debbbba148 Bug 752638, part 1 - Move SVGTextFrame::SetupContextPaint to nsSVGUtils. r=heycam 2016-04-22 11:52:19 +01:00
Jeremy Chen a9eb6cfaa2 Bug 1248708 - Part2.1: use mfbt/TypedEnumBits.h for DrawMode. r=jwatt
--HG--
extra : rebase_source : 23577723d8b5b8a5d6c4797bae797b47c195e9e5
2016-04-21 23:27:39 +08:00
Jonathan Watt c7da421b17 Bug 1266101, part 1 - Remove various bits of dead code related to painting SVG text. r=heycam 2016-04-21 14:39:30 +01:00
Seth Fowler 0847460298 Bug 1261554 (Part 1) - Prepare for implementing in-displayport visibility tracking. r=mstange 2016-04-21 01:21:58 -07:00
CJKu 644959b4eb Bug 1231643 - Part 1. Create skia-A8-surface for mask composition when backendtype of the source DrawTarget is CG; r=mstange
MozReview-Commit-ID: J0oIhhTowk7

--HG--
extra : rebase_source : 0825caa3824a369d4a59a2ed8dc1c877bb4b0509
2016-04-19 10:55:20 +08:00
Ting-Yu Lin 2792ab700c Bug 1264837 Part 45 - Remove SVGViewFrameBase. r=dholbert
MozReview-Commit-ID: HynJLTOM7ic

--HG--
extra : rebase_source : cace67ef5b04fff01be3f77cb1037bb4ced1d1c1
2016-04-18 15:57:01 +08:00
Ting-Yu Lin 0890d2766a Bug 1264837 Part 44 - Remove SVGTextFrameBase. r=dholbert
MozReview-Commit-ID: J6Kcpqm3ot8

--HG--
extra : rebase_source : 9ffb2804ff3950fe4e93f252a4536dc85f75a292
2016-04-18 15:54:36 +08:00
Ting-Yu Lin 9429decf03 Bug 1264837 Part 43 - Remove SVGFEUnstyledLeafFrameBase. r=dholbert
MozReview-Commit-ID: JORpKHrdiRW

--HG--
extra : rebase_source : 0a5b41ba129309e10606bca9e5997a5c76bd2fe6
2016-04-18 15:52:31 +08:00
Ting-Yu Lin f17395df8b Bug 1264837 Part 42 - Remove SVGFELeafFrameBase. r=dholbert
MozReview-Commit-ID: H40idRvWopf

--HG--
extra : rebase_source : b13c255342473ef0df78fcf60c4df823b468cb12
2016-04-18 15:50:08 +08:00
Ting-Yu Lin edcf624a82 Bug 1264837 Part 41 - Remove SVGFEImageFrameBase. r=dholbert
MozReview-Commit-ID: Dvff6q8ESvs

--HG--
extra : rebase_source : f24408a767982fc7898ae10761d6df6b49f56cb1
2016-04-18 15:49:07 +08:00
Ting-Yu Lin e306f86380 Bug 1264837 Part 40 - Remove SVGFEContainerFrameBase. r=dholbert
MozReview-Commit-ID: HOISrUkVbdt

--HG--
extra : rebase_source : b4e2fc7563674537b9d13bdbd412a35d85c0bf21
2016-04-18 15:47:37 +08:00
Ting-Yu Lin 8b871e4c4f Bug 1264837 Part 39 - Remove nsSVGUseFrameBase. r=dholbert
MozReview-Commit-ID: CJoLvBLPsIp

--HG--
extra : rebase_source : efcdb546f9c6b9f3c295c61c867ff4d007c8796b
2016-04-18 15:46:09 +08:00
Ting-Yu Lin f1b3bc79b9 Bug 1264837 Part 38 - Remove nsSVGSwitchFrameBase. r=dholbert
MozReview-Commit-ID: K7LxDjF7XHY

--HG--
extra : rebase_source : 7ea2e05ab0b8ac77c6e2d5a2b28745cf2047e06d
2016-04-18 15:43:07 +08:00
Ting-Yu Lin e5872bf0fb Bug 1264837 Part 37 - Remove nsSVGStopFrameBase. r=dholbert
MozReview-Commit-ID: 9rukuVgOrMm

--HG--
extra : rebase_source : 67a6b4ac31277e552a9d8f09ae142c1e2dd6069a
2016-04-18 15:42:05 +08:00
Ting-Yu Lin de476c597f Bug 1264837 Part 36 - Remove nsSVGPatternFrameBase. r=dholbert
MozReview-Commit-ID: 73NKQiyorGS

--HG--
extra : rebase_source : aa9ef59b7b2ece3a04b88e718e88eab187ad256f
2016-04-18 15:40:29 +08:00
Ting-Yu Lin 40eb55de27 Bug 1264837 Part 35 - Remove nsSVGPathGeometryFrameBase. r=dholbert
MozReview-Commit-ID: 65TI0SnEXax

--HG--
extra : rebase_source : 94a5f99dc750e344c632f3ceac93e55370bae076
2016-04-18 15:38:47 +08:00
Ting-Yu Lin 1ee3684650 Bug 1264837 Part 34 - Remove nsSVGPaintServerFrameBase. r=dholbert
MozReview-Commit-ID: JV6YsHX8VMV

--HG--
extra : rebase_source : 7fc23a88cb46eefd373a08898fbedfaa40c346fb
2016-04-18 15:36:49 +08:00
Ting-Yu Lin 1f0bced733 Bug 1264837 Part 33 - Remove nsSVGOuterSVGAnonChildFrameBase. r=dholbert
MozReview-Commit-ID: 4hnGGYnAjDh

--HG--
extra : rebase_source : d40a06b4d23d4aa1a5a3314cafc54e3f93712311
2016-04-18 15:34:12 +08:00
Ting-Yu Lin 58668ec6f6 Bug 1264837 Part 32 - Remove nsSVGOuterSVGFrameBase. r=dholbert
MozReview-Commit-ID: qFKf1Da8Cn

--HG--
extra : rebase_source : 27725a6a456de8383bd2869f568dfc2668c3b3fd
2016-04-18 15:32:11 +08:00
Ting-Yu Lin 39914e42eb Bug 1264837 Part 31 - Remove nsSVGMaskFrameBase. r=dholbert
MozReview-Commit-ID: DMAj31tSGhv

--HG--
extra : rebase_source : 1c6a0619d6149f739a59aa99e79dda0b2f7fac1c
2016-04-18 15:30:09 +08:00