Commit graph

963 commits

Author SHA1 Message Date
Edwin Flores
57383e5cb5 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
5b5759985b Bug 1291528 - Fix gradient scaling in nsCSSRendering::PaintGradient - r=mstange 2016-08-17 09:26:11 +01:00
Sebastian Hengst
f887eec24a Backed out changeset adc1960091eb (bug 1291528) 2016-08-09 16:55:59 +02:00
Edwin Flores
8289246c56 Bug 1291528 - Fix gradient scaling in nsCSSRendering::PaintGradient - r=mstange 2016-08-09 12:58:00 +01:00
Emilio Cobos Álvarez
95abaaa872 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
dc9ffec776 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
3a8eda58a3 Bug 1289276 - Add gfxPlatform::CreateSimilarSoftwareDrawTarget to unify software fallback backend. r=mstange 2016-07-28 18:32:00 -04:00
Edwin Flores
c8d8179468 Bug 1274624 - Speed up tiled axis-aligned linear gradient painting - r=mstange 2016-07-27 16:57:53 +01:00
Ethan Lin
8baceda97e 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
bb4033a27b Bug 720531 - Part 2. Implement rendering of border-image-repeat: space. r=dbaron 2016-07-15 03:37:00 +02:00
Xidorn Quan
e609d5f37f Bug 1286889 - Handle ruby text container as line container in InlineBackgroundData. r=jfkthame
MozReview-Commit-ID: G8a0iW4K3YM

--HG--
extra : source : 8c0c6607de39226a6cfc21ee75c9db4a5d69a906
2016-07-19 13:32:47 +10:00
Kevin Chen
f90480e301 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
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
Jonathan Watt
916ef92d75 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
6ed032640e Bug 382721 - Part 9: Warn about too large dotted/dashed corner. r=jrmuizel 2016-06-10 13:10:03 +09:00
Tooru Fujisawa
325b404e5c 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
776001bc91 Backed out changeset ddf602c6e885 (bug 382721)
--HG--
extra : rebase_source : f16ded5c5cae19f300161ee4df348b753d7263ec
2016-06-10 15:38:33 +02:00
Carsten "Tomcat" Book
d612b10610 Backed out changeset c3f66208fe85 (bug 382721)
--HG--
extra : rebase_source : 45a93822af369dc9b1c4c2d733fa6a7e81064499
2016-06-10 15:38:30 +02:00
Tooru Fujisawa
5fd0e1df86 Bug 382721 - Part 9: Warn about too large dotted/dashed corner. r=jrmuizel 2016-06-10 13:10:03 +09:00
Tooru Fujisawa
d453deaf6e 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
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
Andi-Bogdan Postelnicu
274aa5bef2 Bug 1278214 - ensure operation result is floating point. r=mats
MozReview-Commit-ID: AwIH4G2GlPv

--HG--
extra : rebase_source : 405f3f1122c565e3fb8655122aaa5e08a2a974e6
2016-06-06 17:14:37 +03:00
Ethan Lin
2b7a5e9fca 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
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
Ethan Lin
094e16eac7 Bug 1275957 - Part 1. Apply space property to gradient. r=mstange 2016-06-02 02:09:00 +02:00
Ethan Lin
3b1413d449 Bug 1275966 - Part 1. Fix wrong rendering of background-repeat:space. r=mstange 2016-05-28 06:23:00 +02:00
Ethan Lin
6710f05dd7 Bug 548372 - Part2. background-repeat round/space rendering. r=mstange 2016-05-25 02:29:00 +02: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
Matt Woodrow
daea81cf90 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
8b1468cc35 Backed out changeset 51922d1ebfa1 (bug 1251644) for android reftest failures on a CLOSED TREE 2016-05-10 08:51:31 +02:00
Matt Woodrow
f74cbd822c Bug 1251644 - Snap object-contain fit if we were going to reduce the size by less than one css pixel. r=seth
--HG--
extra : rebase_source : 1ee6fbfbed92c16f4fb21535455af3737c02d9f8
2016-05-10 13:25:20 +12:00
Botond Ballo
992cbd5b93 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

--HG--
extra : rebase_source : 0cfd2c2a7926210775b6a1beff69ba32f2a10d6c
2016-04-25 17:20:13 -04:00
Botond Ballo
76d7859745 Bug 735857 - Factor out a helper function nsLayoutUtils::IsTransformed(). r=mstange
MozReview-Commit-ID: 4AJUVDLAYrc

--HG--
extra : rebase_source : a84cda133f64388c496e035f018d27fb197001ee
2016-04-25 14:21:24 -04:00
Lee Salzman
81e6150f5c Bug 1244918 - avoid using Infs for line start and end when painting gradients. r=mstange 2016-04-23 20:54:07 -04:00
Bobby Holley
37c8b13e17 Bug 1266249 - Remove mHasCachedOutline. r=dbaron 2016-04-21 17:44:32 -07:00
CJKu
2afb6ec588 Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
MozReview-Commit-ID: HQHBe7OioWs
2016-04-14 16:28:07 +08:00
Carsten "Tomcat" Book
48bbe10c12 Backed out changeset 6a2e62e8c861 (bug 759568) 2016-04-14 08:57:41 +02:00
CJKu
3edbcce808 Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
MozReview-Commit-ID: HQHBe7OioWs
2016-04-14 12:45:38 +08:00
Milan Sreckovic
e0b2b9e425 Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
MozReview-Commit-ID: rHhLEDZEQt

--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Sebastian Hengst
c9828de0c3 Backed out changeset e64951d74d2a (bug 759568) 2016-04-12 17:55:44 +02:00
CJKu
70f4e828d2 Bug 759568 - Part 2. Render background-clip:text; r=jfkthame
MozReview-Commit-ID: HQHBe7OioWs
2016-04-12 21:58:22 +08:00
Jonathan Watt
9480920b04 Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku 2016-03-31 12:46:32 +01:00
Cameron McCormack
0718df89c3 Bug 1261754 - Part 8: Move box-shadow from nsStyleBorder to a new nsStyleEffects struct. r=dholbert 2016-04-12 15:52:42 +10:00
Matt Woodrow
46ff4c4fc7 Bug 852754 - Part 1: Share the code for limiting scale factors to all image types. r=mstange 2016-04-07 18:52:35 +12:00
Tobias Schneider
62cefcead8 Bug 1209273 - Part 2: Force printing background if color-adjust: exact. r=dbaron 2016-03-08 09:44:00 -05:00
Carsten "Tomcat" Book
f0e5f9de55 Backed out changeset 11f8ba2d1e85 (bug 1209273) 2016-04-01 11:57:56 +02:00
Tobias Schneider
f8e31827b6 Bug 1209273 - Part 2 - Force printing background if color-adjust: exact. r=dbaron 2016-03-08 09:44:00 +01:00
Carsten "Tomcat" Book
d544ab27c4 Backed out changeset 231e5d92a129 (bug 1209273)
--HG--
extra : rebase_source : 41c4948ea3fdc58639f6c679d1a983a94aa773a4
2016-03-30 15:19:13 +02:00