Commit Graph

978 Commits

Author SHA1 Message Date
Xidorn Quan
1cfc0298d4 Bug 1266621 part 5 - Convert border-color to store complex color. r=heycam
MozReview-Commit-ID: 19sl9f3EVgt
2016-09-27 20:16:35 +10:00
Xidorn Quan
793cd1a575 Bug 1266621 part 3 - Convert outline-color to store complex color. r=heycam
MozReview-Commit-ID: 70tre2pYqi3
2016-09-27 20:44:19 +10:00
Iris Hsiao
964f6c9477 Merge mozilla-central to mozilla-inbound 2016-09-26 19:08:19 +08:00
Edwin Flores
5bf1d3dfea Bug 1304704 - Add fudge factor to asserts in ClampColorStops() - r=mstange 2016-09-26 09:54:13 +01:00
cku
c3e19fa31e Bug 1304011 - Part 7. Fix several coding convention violations. r=mstange
MozReview-Commit-ID: BYhiQnlfR3a
2016-09-18 23:16:35 +08:00
cku
7e71fe8b33 Bug 1275826 - Part 2. Remove a unsed parameter in PrepareImageLayer. r=mstange
MozReview-Commit-ID: GqZaLcS0Ksj
2016-09-05 19:00:34 +08:00
cku
8c6421ec66 Bug 1275826 - Part 1. Determine composition mode base on layer index and image type. r=mstange
MozReview-Commit-ID: 3rVotKORxWV
2016-09-05 18:17:25 +08:00
Nicholas Nethercote
887efe04d5 Bug 1299727 - Rename NS_WARN_IF_FALSE as NS_WARNING_ASSERTION. r=erahm.
The new name makes the sense of the condition much clearer. E.g. compare:

  NS_WARN_IF_FALSE(!rv.Failed());

with:

  NS_WARNING_ASSERTION(!rv.Failed());

The new name also makes it clearer that it only has effect in debug builds,
because that's standard for assertions.
2016-09-01 15:01:16 +10:00
Wes Kocher
e079662c3f Merge inbound to central, a=merge 2016-08-26 16:20:50 -07:00
Ryan VanderMeulen
0e4c1b03d5 Merge m-c to inbound. a=merge 2016-08-26 09:39:29 -04:00
tlin@mozilla.com
ac64370cdb Bug 1295084 Part 4 - Rename Position::PositionCoord to Position::Coord. r=dholbert 2016-08-25 09:59:51 +00:00
tlin@mozilla.com
299b487db0 Bug 1295084 Part 3 - Move nsStyleImageLayers::Position to mozilla::Position. r=dholbert 2016-08-25 09:59:51 +00:00
Andi-Bogdan Postelnicu
90c9ac0f85 Bug 1276630 - initialize member variables |frame|, |layer| and removed default-initialization for |paintFlags| and |compositionOp|. r=dbaron
MozReview-Commit-ID: 1T1FHQp3S8t
2016-05-31 11:07:00 +03:00
Ravi Shankar
181d48792f Bug 1297982 - Replace NS_STYLE_BOX_DECORATION_BREAK_* with enum class; r=xidorn
MozReview-Commit-ID: 9Cli68UpKdz
2016-08-26 12:44:32 +05:30
Julian Seward
8a15e40498 Bug 1296678 - Uninitialised value use in nsDisplayBackgroundImage::IsNonEmptyFixedImage. r=botond. 2016-08-26 09:20:58 +02:00
Edwin Flores
1060bfe9a6 Bug 1291528 - Don't use fast path in nsCSSRendering::PaintGradient if source rect is empty - r=mstange 2016-08-17 09:26:11 +01:00
Edwin Flores
845af4b13e Bug 1291528 - Fix gradient scaling in nsCSSRendering::PaintGradient - r=mstange 2016-08-17 09:26:11 +01:00
Sebastian Hengst
37024f78ee Backed out changeset adc1960091eb (bug 1291528) 2016-08-09 16:55:59 +02:00
Edwin Flores
9e0f3b13b9 Bug 1291528 - Fix gradient scaling in nsCSSRendering::PaintGradient - r=mstange 2016-08-09 12:58:00 +01:00
Emilio Cobos Álvarez
7a245cf103 Bug 1290335: Hoist frame-construction logic in RestyleManager to static members in RestyleManagerBase. r=heycam
MozReview-Commit-ID: BqywJXZ0CYU
2016-08-03 15:11:15 -07:00
Kevin Chen
a78d1f8251 Bug 1285320 - Part 2: Purge border-image cache when hypothetical SVG viewport changes, if using SVG image with no aspect ratio. r=dholbert 2016-07-31 20:24:00 -04:00
Ethan Lin
c5e406e588 Bug 1289276 - Add gfxPlatform::CreateSimilarSoftwareDrawTarget to unify software fallback backend. r=mstange 2016-07-28 18:32:00 -04:00
Edwin Flores
db7f97c65f Bug 1274624 - Speed up tiled axis-aligned linear gradient painting - r=mstange 2016-07-27 16:57:53 +01:00
Ethan Lin
a44f6bc537 Bug 1285857 - Switch to SKIA from D2D1 when rendering mask image with luminance mode. r=mstange 2016-07-14 23:09:00 +02:00
Ethan Lin
6a8e3e17ee Bug 720531 - Part 2. Implement rendering of border-image-repeat: space. r=dbaron 2016-07-15 03:37:00 +02:00
Xidorn Quan
59559943c3 Bug 1286889 - Handle ruby text container as line container in InlineBackgroundData. r=jfkthame
MozReview-Commit-ID: G8a0iW4K3YM
2016-07-19 13:32:47 +10:00
Kevin Chen
6bfdadbc8d Bug 1264809 - (Part 2) Preserve scale ratio if SVG dosen't have viewport size and viewBox. r=dholbert 2016-07-01 02:27:00 +02:00
Brad Werth
69ccb7e3db Bug 1243559 - Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron 2016-06-21 13:17:11 -07:00
Phil Ringnalda
ae1f6b874d Back out changeset 0bb00282a4c2 (bug 1243559) for widespread SVG assertion failures
CLOSED TREE
2016-06-22 18:45:08 -07:00
Brad Werth
665cd94da6 Bug 1243559 - Removes static casts from calls to FrameProperties::Get, ::Set, and ::Remove, and forces callers to use the type associated with the property. r=dbaron 2016-06-21 13:17:11 -07:00
Jonathan Watt
e89ad81ef6 Bug 1279929 - Stop using gfxContext device offsets on the temporary gfxContext in nsImageRenderer::Draw. r=mstange 2016-06-13 16:34:51 +01:00
Tooru Fujisawa
3fe90003b9 Bug 382721 - Part 9: Warn about too large dotted/dashed corner. r=jrmuizel 2016-06-10 13:10:03 +09:00
Tooru Fujisawa
befe9f3c3e Bug 382721 - Part 7: Render only dirty area for dotted side and dotted/dashed corner. r=jrmuizel 2016-06-10 13:10:03 +09:00
Carsten "Tomcat" Book
42952606a3 Backed out changeset ddf602c6e885 (bug 382721) 2016-06-10 15:38:33 +02:00
Carsten "Tomcat" Book
fae8d4f944 Backed out changeset c3f66208fe85 (bug 382721) 2016-06-10 15:38:30 +02:00
Tooru Fujisawa
2df3dab24a Bug 382721 - Part 9: Warn about too large dotted/dashed corner. r=jrmuizel 2016-06-10 13:10:03 +09:00
Tooru Fujisawa
d24d26fa69 Bug 382721 - Part 7: Render only dirty area for dotted side and dotted/dashed corner. r=jrmuizel 2016-06-10 13:10:03 +09:00
Nicholas Nethercote
a41e57a9b1 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.
2016-06-07 09:39:56 +10:00
Andi-Bogdan Postelnicu
e8d78bc100 Bug 1278214 - ensure operation result is floating point. r=mats
MozReview-Commit-ID: AwIH4G2GlPv
2016-06-06 17:14:37 +03:00
Ethan Lin
213dcdd788 Bug 889964 - Part 1. Fix the calculation of border-image: round. r=dbaron
---
 layout/base/nsCSSRendering.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
2016-06-04 18:36:49 -07:00
Jonathan Watt
fa7b69b631 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
Ethan Lin
005fa0580d Bug 1275957 - Part 1. Apply space property to gradient. r=mstange 2016-06-02 02:09:00 +02:00
Ethan Lin
648dae171b Bug 1275966 - Part 1. Fix wrong rendering of background-repeat:space. r=mstange 2016-05-28 06:23:00 +02:00
Ethan Lin
4d1f215f4f Bug 548372 - Part2. background-repeat round/space rendering. r=mstange 2016-05-25 02:29:00 +02:00
CJKu
d98715621d Bug 1228280 - Part 1. Change the parameter of nsCSSRendering::PaintBackground;
MozReview-Commit-ID: 41KgAlkx9oZ
2016-05-19 15:43:20 +08:00
Matt Woodrow
374b51b953 Bug 1251644 - Snap object-contain fit if we were going to reduce the size by less than one css pixel. r=seth 2016-04-07 18:51:45 +12:00
Carsten "Tomcat" Book
9657b17de9 Backed out changeset 51922d1ebfa1 (bug 1251644) for android reftest failures on a CLOSED TREE 2016-05-10 08:51:31 +02:00
Matt Woodrow
96119fcdc0 Bug 1251644 - Snap object-contain fit if we were going to reduce the size by less than one css pixel. r=seth 2016-05-10 13:25:20 +12:00
Botond Ballo
779ab3c925 Bug 735857 - Treat background-attachment:fixed as background-attachment:scroll if it's on a non-root element affected by a transform. r=mstange
MozReview-Commit-ID: 1lnQoD98xv3
2016-04-25 17:20:13 -04:00
Botond Ballo
df67cdab6d Bug 735857 - Factor out a helper function nsLayoutUtils::IsTransformed(). r=mstange
MozReview-Commit-ID: 4AJUVDLAYrc
2016-04-25 14:21:24 -04:00