Commit Graph

869 Commits

Author SHA1 Message Date
Daniel Holbert
44e185e9b6 Bug 1084500 part 1: Refactor ComputeBackgroundAnchorPoint to take a Position & use a per-component helper method. r=seth 2014-10-22 13:03:18 -07:00
Jonathan Watt
3b52cf43ad Bug 1086708 - Rename the snapping variant of NSRectToRect to NSRectToSnappedRect. r=mattwoodrow 2014-10-22 12:29:06 +01:00
Jonathan Watt
c899cfa487 Bug 477504 - Snap to device pixels any CSS border edges that are painted as a polygon. r=mats 2014-10-22 10:48:37 +01:00
Rik Cabanier
b17588d536 Bug 591600 - CSS gradients should work on premultiplied colors. r=mstange 2014-10-22 08:13:56 +02:00
Jonathan Watt
737ed37340 Bug 1085167, part 2 - Get rid of nsRenderingContext's DeviceContext and any need for it to know about app-units-per-device-pixel. r=mattwoodrow 2014-10-20 10:55:49 +01:00
Jonathan Watt
9aa7a6ddf9 Bug 1085167, part 1 - Feed the appUnitPerDevPixel value through to nsCSSRendering::DrawTableBorderSegment. r=mattwoodrow 2014-10-20 10:55:49 +01:00
Jonathan Watt
066c3125f2 Bug 1085165 - Get rid of the nsRenderingContext::SetColor() method. r=mattwoodrow 2014-10-20 10:55:49 +01:00
Jonathan Watt
89de4a6cbe Bug 1085160 - Port the code that uses nsRenderingContext::IntersectClip() to Moz2D. r=mattwoodrow 2014-10-20 10:55:48 +01:00
Jonathan Watt
5d42f29aa8 Bug 1085159 - Port the code that uses nsRenderingContext::DrawLine() to Moz2D. r=mattwoodrow 2014-10-20 10:55:48 +01:00
Jonathan Watt
40da0a5dbd Bug 1083753, part 2 - Port the code that uses nsRenderingContext::FillRect(nsRect) to Moz2D. r=mattwoodrow 2014-10-19 13:22:22 +01:00
Jonathan Watt
a85c726c1e Bug 1083557 - Port the code that uses nsRenderingContext::FillPolygon() to Moz2D. r=mattwoodrow 2014-10-17 15:06:34 +01:00
Jonathan Kew
1fb3cc52e6 Bug 1074735 pt 2 - Support drawing CSS text decorations (underline, overline, strikeout) on vertical text frames. r=smontagu 2014-10-08 10:32:55 +01:00
Carsten "Tomcat" Book
a20e1f5c44 Backed out changeset 32c4d5043b18 (bug 1074735) 2014-10-08 13:06:51 +02:00
Jonathan Kew
13f12b00ed Bug 1074735 pt 2 - Support drawing CSS text decorations (underline, overline, strikeout) on vertical text frames. r=smontagu 2014-10-08 10:32:55 +01:00
Jonathan Watt
6c0ad19795 Bug 1073972 - Get rid of gfxContext's FillRule enum in favor of Moz2D's. r=Bas 2014-09-29 14:15:19 +01:00
Jonathan Watt
fd864b4fa5 Bug 1073964 - Pass a const DrawTarget* through to nsSVGPaintServerFrame::GetPaintServerPattern so that it can create a pattern of the appropriate type. r=Bas 2014-09-29 14:15:19 +01:00
Jonathan Watt
a767b60ea2 Bug 1067977 - Rename nsContextBoxBlur's 'blur' member to make it possible to find and reason about the code. r=dholbert 2014-09-17 08:46:39 +01:00
Mats Palmgren
21b8c0bd79 Bug 1067088 - Use aBorderArea when not skipping any sides (e.g. ::first-letter), not the joined border area. r=roc 2014-09-17 00:36:57 +00:00
Jonathan Watt
4e11b5293f Bug 1067093 - Get rid of gfxContext::AntialiasMode in favor of Moz2D AntialiasMode. r=Bas 2014-09-15 12:10:30 +01:00
Jonathan Watt
2d95557d42 Bug 1064084, part 4 - Convert all consumers of gfxContext::IdentityMatrix() to use gfxContext::SetMatrix(). r=Bas 2014-09-11 07:57:39 +01:00
Jonathan Watt
96a5f5b9b8 Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
842e7d2157 Bug 1064056, part 2 - Convert nsRenderingContext::Translate() consumers to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:48:10 +01:00
Ting-Yu Lin
853221cb7b Bug 1064790 - Give S/SN/SF/SN meaningful names. r=bz
Also fix gfxRect usage in "PrintAsString" as Bug 641426 part 2 did.
2014-09-09 21:08:00 -04:00
Matt Woodrow
d03089f60a Bug 1056171 - Account for continuations when generating background clip areas. r=roc 2014-08-27 10:15:50 +12:00
Julian Seward
53b7cefd52 Bug 1051527 - BackgroundClipState::mHasRounded corners is used uninitialised. r=matt.woodrow. 2014-08-13 11:26:33 +02:00
Rik Cabanier
20467945e8 Bug 1042411 - ASSERTION: It is assumed the initial operator is OPERATOR_OVER, when it is restored later. r=roc 2014-07-28 16:44:00 +02:00
Matt Woodrow
49dc5e8efb Bug 1042423 - Part 5: Remove PaintBackgroundColor. r=roc 2014-07-23 17:23:38 +12:00
Matt Woodrow
9b1b9f6f36 Bug 1042423 - Part 4: Clip background display items using DisplayItemClip. r=roc 2014-07-23 17:22:17 +12:00
Matt Woodrow
166eef9dac Bug 1042423 - Part 1: Clean up GetBackgroundClip and make it public. r=roc 2014-07-23 17:20:39 +12:00
Matt Woodrow
dea1ed5912 Bug 1041893 - Stop tracking the clip direction in GetBackgroundClip since it has no effect. r=roc 2014-07-23 10:54:35 +12:00
Seth Fowler
fe8ad97303 Bug 1034209 (Part 1) - Replace the dead Image case in nsImageRenderer::Draw with the code used in DrawBackground. r=nrc 2014-07-21 17:59:23 -07:00
Seth Fowler
028abee6f7 Bug 1031576 (Part 2) - Use dynamic images in the implementation of -moz-element. r=nrc 2014-07-21 17:59:23 -07:00
Jonathan Watt
cd6ba4db18 Bug 933019, part 7 - Remove code for handling Thebes backed gfxContext from various files under layout/. r=Bas 2014-07-10 10:58:07 +01:00
Mats Palmgren
57f71caceb Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Phil Ringnalda
650df8d81e Back out 5 changesets (bug 1028460, bug 1031444) for somehow breaking asmjscache/test/test_cachingBasic.html on Android 2.2
Backed out changeset 0b5918ec6521 (bug 1031444)
Backed out changeset 663ff18cd4a1 (bug 1028460)
Backed out changeset ae01b3919c8c (bug 1028460)
Backed out changeset 316c8dfeca9b (bug 1028460)
Backed out changeset e237b2c61ea2 (bug 1028460)
2014-06-28 22:01:28 -07:00
Mats Palmgren
3949ce77fb Bug 1028460 - part 3, Change the return type for Get*SkipSides(). r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
5af8e6d9d0 Bug 1026641 - Put outline-style:auto rendering behind a pref and disable it by default. r=roc 2014-06-26 12:48:05 +00:00
Mats Palmgren
4f9712e3f7 Bug 1025669 - part 0, Add BaseMargin::ApplySkipSides, remove nsIFrame::Apply*SkipSides, and change call sites to use the former. r=roc 2014-06-24 17:52:19 +00:00
Jonathan Watt
f2402e81bb Bug 1027645 - Eliminate all nsRenderingContext::AppUnitsPerDevPixel() callers and all non-propagating nsRenderingContext::DeviceContext() callers. r=roc 2014-06-20 07:42:30 +01:00
Jonathan Watt
438237ecfc Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas 2014-06-17 18:35:51 +01:00
Benoit Girard
07fd74736e Bug 1024148 - Part 2: Merge nsDisplayOpacity into nsDisplayBackgroundColor. r=mattwoodrow 2014-06-14 11:10:45 -04:00
Mats Palmgren
c41563b8c9 Bug 427928 - part 2, Add NS_THEME_FOCUS_OUTLINE to support drawing a native themed focus outline. r=roc 2014-06-14 12:48:07 +00:00
Mats Palmgren
61466fe9d7 Bug 427928 - part 1, Treat outline:auto as outline:solid. r=roc 2014-06-14 12:48:07 +00:00
Phil Ringnalda
83a48cca6a Merge f-t to m-c 2014-05-31 20:31:07 -07:00
Victor Porof
298ca2ed1b Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Robert Longson
47ca17055d Bug 1016440 - Stop crashing when failing to allocate draw targets. r=jwatt 2014-05-31 11:26:04 +01:00
Markus Stange
348c2a6e1a Bug 1012797 - Speed up rendering of linear gradients when only painting the uniform color beyond the gradient edge. r=roc 2014-05-28 16:14:42 +02:00
Mats Palmgren
b21590e338 Bug 988653 - Fix 'border-image' layout for fragmented boxes and add support for both box-decoration-break:clone/slice. r=cam 2014-05-05 17:55:55 +00:00
Mats Palmgren
24bc6b404a Bug 613659 - Add a Restore() method to Restore the current gfxContext if any. r=roc 2014-05-05 17:55:55 +00:00
Mats Palmgren
84ab21ee78 Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar 2014-05-05 17:55:54 +00:00